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
|
||||
|
||||
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