Send Chat Action

telegram.send_chat_action
ActionChat & messagingconnection required

Calls the Telegram API with the connection's credentials.

Show a 'typing…' or 'sending photo…' status in a Telegram chat.

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

3 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
The chat to send to: a numeric chat/user id, or an @channelusername.
stringYes———
action
The status to show, matched to what the bot is about to send.
stringYes—one of "typing", "upload_photo", "record_video", "upload_video", "record_voice", "upload_voice", "upload_document", "choose_sticker", "find_location", "record_video_note", "upload_video_note"—
message_thread_id
Topic id inside a forum supergroup; leave blank for the main thread.
integerNo—≥ 1—

Output

One shape.

result

FieldTypeExample
ok
True when Telegram accepted the call.
booleantrue
chat_id
Chat the status was shown in.
string—
action
The action that was broadcast.
stringtyping
{
  "action": "typing",
  "chat_id": "",
  "ok": true
}

Notes

  • chat_id is a numeric chat/user id or an @channelusername. A bot can only message a user who started it, or a group/channel it has been added to.
  • The bot token sits in the request URL, so it is redacted out of every error message and dry-run report these nodes produce.
  • Telegram answers HTTP 200 even for failures; the node reads the {'ok': …} envelope and raises on ok:false with Telegram's own description.
  • The status clears after 5 seconds or as soon as the bot sends a message, so use it only before a step that genuinely takes a while.
  • Channels are not supported by sendChatAction.

See Send Chat Action 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.