mirror of
https://github.com/appleboy/telegram-action.git
synced 2026-12-02 15:45:30 +09:00
docs: update
This commit is contained in:
1 parent
bd236a6c5a
commit
2eee0c6ce3
2 files changed
+17
-1
No files matched your search
@@ -6,8 +6,10 @@
|
||||
|
||||
## Usage
|
||||
|
||||
Send custom message as blow
|
||||
|
||||
```
|
||||
action "Post message to Telegram" {
|
||||
action "Send Custom Message" {
|
||||
uses = "appleboy/telegram-action@master"
|
||||
secrets = [
|
||||
"TELEGRAM_TOKEN",
|
||||
@@ -17,6 +19,20 @@ action "Post message to Telegram" {
|
||||
}
|
||||
```
|
||||
|
||||
Send the default message. Please remove args
|
||||
|
||||
```
|
||||
action "Send Default Message" {
|
||||
uses = "appleboy/telegram-action@master"
|
||||
secrets = [
|
||||
"TELEGRAM_TOKEN",
|
||||
"TELEGRAM_TO",
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
<img src="images/telegram-workflow.png">
|
||||
|
||||
## Secrets
|
||||
|
||||
Getting started with [Telegram Bot API](https://core.telegram.org/bots/api).
|
||||
|
||||
Reference in new issue
Block a user