Telegram Multi Actions icon

Telegram Multi Actions

Send all Telegram content types (text, media, video note, sticker, location, poll, dice, etc.) via Grammy. Supports URL, file_id, and n8n binary. Optional Redis rate limit, retry on 429, separate output for 403 (user blocked bot).

Send Photo

AI-generated

Summary

Send a photo to a Telegram chat using a URL, Telegram file ID, or n8n binary data. Optionally add a caption, caption entities, spoiler marking, reply markup, or a reply target.

Inputs

  • Bot Token (required) — Telegram bot token; defaults to the incoming item's access_token or token.
  • Chat ID (required) — Destination chat ID; defaults to the incoming item's chatId or channel.external_id.
  • Media Source — Choose URL or File ID (default) or Binary Data.
  • Media (URL or File ID) — Photo URL or Telegram file_id when Media Source is URL or File ID; defaults to the incoming item's media[0].url or url.
  • Binary Property — Name of the incoming item's binary property containing the photo; defaults to data when Media Source is Binary Data.
  • Caption — Optional photo caption; defaults to the incoming item's caption or text.
  • Caption Entities — Optional JSON array of Telegram message entities for formatting the caption; defaults to the incoming item's entities.
  • Has Spoiler — Mark the photo as a spoiler; defaults to false.
  • Reply Markup — Optional JSON Telegram reply markup, such as a keyboard; defaults to the incoming item's reply_markup.
  • Reply to Message ID — Optional Telegram message ID to reply to; values greater than zero are sent to Telegram.
  • Use Redis Rate Limit — Enable per-bot Redis throttling; requires a Redis credential and defaults to false.

Output shape

Three outputs: Success returns one Telegram Message object per successfully sent photo; User Blocked (403) carries the original item's JSON plus error details for 403 responses; Error carries the original item's JSON plus error details for other failures when n8n Continue On Fail is enabled.

The node retries eligible Telegram 429 responses up to three times when a retry_after value is available. Without Continue On Fail, non-403 errors are thrown. Items retain pairing to their input item.

Links

Discussion