Telegram Bot icon

Telegram Bot

Interact with the Telegram Bot API – send messages, manage chats, handle payments, and more

Actions101

Message → Send Animation

AI-generated

Summary

Sends an animation (GIF or video) to a Telegram chat via the Bot API's sendAnimation method. The animation can be supplied as a Telegram file ID, a public URL, or binary data from the current item. Optionally includes a caption, parse mode, reply markup, and additional sending options. Returns the sent Telegram Message object.

Inputs

  • chat_id (required) — Unique identifier for the target chat or username (@channelusername).
  • fileSource (required) — How to provide the animation: File ID, URL, or Binary Data.
  • fileId (required) — Telegram file ID of the animation. Required when File Source is File ID.
  • fileUrl (required) — URL of the animation. Required when File Source is URL.
  • binaryPropertyName (required) — Name of the binary property containing the animation. Required when File Source is Binary Data.
  • parse_mode — How to parse the caption text: None, Markdown, MarkdownV2, or HTML.
  • caption — Caption for the animation.
  • reply_markup — Inline keyboard, reply keyboard, or other reply markup as JSON. Note: the node only applies this when File Source is File ID or URL, not Binary Data.
  • additionalFields — Additional sending options.

Output shape

json

The node unwraps the Telegram API response and emits responseData.result. For sendAnimation, this is the sent Message object. If result is an array, each element becomes a separate output item.

Links

Discussion