Send Message

telegram.send_message
ActionChat & messagingconnection required

Calls the Telegram Bot API sendMessage with the connection's token.

Send a message to a Telegram chat, channel or user via a bot.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Telegram
Secret shape
the bot token, or {"token": "…"}
Resolved by
config.connection_id, else node.connection_id

Configuration

4 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
chat_id
Numeric chat id, or @channelusername.
stringYes———
text
Message text. Supports {{ }} expressions.
stringYes———
parse_mode
Formatting: MarkdownV2 or HTML.
stringNo—one of "", "MarkdownV2", "HTML"—
disable_web_page_preview
Suppress link previews.
booleanNo———

Output

One shape.

sent

FieldTypeExample
ok
booleantrue
message_id
Id of the sent message.
number—
chat_id
Chat the message landed in.
string—
{
  "chat_id": "",
  "message_id": 0,
  "ok": true
}

Notes

  • The bot must have been started by the user (or added to the group/channel) before it can message them — Telegram error 'chat not found' / 'bot was blocked' otherwise.

See Send Message run in a workflow.

In a technical demo we add the Telegram connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.