mirror of
https://github.com/appleboy/telegram-action.git
synced 2026-05-14 02:42:44 +00:00
docs: update
This commit is contained in:
@@ -6,8 +6,10 @@
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
Send custom message as blow
|
||||||
|
|
||||||
```
|
```
|
||||||
action "Post message to Telegram" {
|
action "Send Custom Message" {
|
||||||
uses = "appleboy/telegram-action@master"
|
uses = "appleboy/telegram-action@master"
|
||||||
secrets = [
|
secrets = [
|
||||||
"TELEGRAM_TOKEN",
|
"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
|
## Secrets
|
||||||
|
|
||||||
Getting started with [Telegram Bot API](https://core.telegram.org/bots/api).
|
Getting started with [Telegram Bot API](https://core.telegram.org/bots/api).
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 56 KiB |
Reference in New Issue
Block a user