Actions7
- Media Actions
- Message Actions
- Moderation Actions
Media → Download Media
AI-generatedSummary
Downloads the media attached to a Telegram message identified by chat ID and message ID. Returns the input item’s message details with the downloaded file in the media binary property, or routes items for messages without media to the No Media output.
Inputs
- Chat ID (required) — Telegram chat ID; defaults to the incoming item’s
chatId. - Message ID (required) — Positive message ID of the message to check and download.
Output shape
Items are split across two outputs: Success items contain the downloaded file as binary property media; No Media items contain JSON status and error fields without binary data.
For a message with media, JSON includes
messageId,chatId,date,text,hasMedia, andmediaType, preserving those values from the input when present and otherwise using the requested IDs or Telegram media metadata. If no media is found, the item goes to No Media withhasMedia: falseandstatus: "No Media". Download timeout errors are retried up to four attempts; other errors fail the item unless Continue On Fail is enabled.