pickrelated/Telegram Notification
Post a running deployment status message to a Telegram chat
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| bot-token | Telegram bot token (from @BotFather) | yes | — |
| chat-id | Target chat, group, channel or user ID | yes | — |
| status | Which update to perform: "start" sends the initial "deployment started" message; "step" appends a "<step-name> ✅" line to it; "done" appends a "done" line; "fail" appends a "[<step-name> ]fail ❌" line (step name included only if given). "done" and "fail" also send a short reply so the update notifies (edits alone never notify, per Telegram's API). | yes | — |
| step-name | Name of the step. Required when status is "step". Optional when status is "fail", to name which step failed. | no | "" |
| message-id | The message-id output from the "start" call. Required when status is "step", "done" or "fail". | no | "" |
| body | The body output from the previous call (the message text built up so far). Required when status is "step", "done" or "fail". | no | "" |
Outputs
| name | description |
|---|---|
| message-id | ID of the status message. Pass through to the next step call. |
| body | Current text of the status message. Pass through to the next step call. |