Telegram Censor icon

Telegram Censor

Telegram Auto-Censor: Detects & blurs nudity using NudeNet (100% local, free forever)

Actions7

Media → Download Media

AI-generated

Summary

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, and mediaType, 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 with hasMedia: false and status: "No Media". Download timeout errors are retried up to four attempts; other errors fail the item unless Continue On Fail is enabled.

Links

Discussion