Telegram (Grammy) [Stage] icon

Telegram (Grammy) [Stage]

Send and manage Telegram messages, chats, and files via Grammy

Actions10

File → Get

AI-generated

Summary

Fetch a Telegram file by its file_id and return its metadata

Inputs

  • botToken (required) — Telegram bot token from input (e.g., {{ $json.access_token }})
  • fileId (required) — Telegram file_id from a message

Output shape

File metadata object (e.g., {file_id, file_unique_id, file_size, file_path, ...})

The object contains details about the file; no additional pagination or streaming.

Examples

Example 1: Download a photo from a message

Resource = File, Operation = Get, Bot Token = {{ $json.access_token }}, File ID =

Example 2: Obtain file path for further processing

Set Resource = File, Operation = Get File Path, provide Bot Token and File ID

Links

Discussion