Telegram Message
Sends a message (and a picture, if you choose one) to a Telegram chat from your bot. Make a bot with @BotFather to get its token, start a chat with it (or add it to a group), and use that chat's ID. Continues on Success or Failed.
In the editor, press Space on the canvas to add a step, then open Actions > Web, or type its name. In Simple mode it's under Show all, and search finds it.
Settings
Bot token
Text RequiredFrom @BotFather, e.g. 123456:ABC-DEF... Stored as a password: anyone who has it can use your bot.
Chat ID
Text RequiredThe chat's number (a group's starts with -), or @channelname for a channel the bot posts in.
Message
TextUp to 4096 characters (1024 with a picture). ${variables} are filled in.
Format
A choiceSend silently
On or offArrives without a sound.
Picture
A file pathOptional: a PNG or JPEG sent with the message as its caption.
Time limit (ms)
A duration More options0 waits as long as it takes.
Where it continues
- Success: Continues here when the answer has a 2xx status.
- Failed: Continues here when it fails; the reason is in the run log.
Outputs
Values the step gives to the steps after it. In the Graph view, drag a wire from an output to another step's field.
| Output | Gives | What it is |
|---|---|---|
| Status | Code | The HTTP status Telegram answered (200 when it worked); 0 when there was no answer. |
| Error | Text | Why it failed; empty on success. |
Good to know
- Fields marked as passwords keep their value in the Windows password vault, never in the macro.