Telegram Bot icon

Telegram Bot

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

Actions101

File → Get File

AI-generated

Summary

Requests file metadata from Telegram for a specific file identifier.

Inputs

  • file_id (required) — File identifier to get info about

Output shape

a single record

Returns metadata such as file size, download URL, and file type. The URL is valid for 1 hour.

Examples

Example 1: Retrieving details for a downloaded photo file

Uses the file_id from a previous 'Send Photo' node execution.

Links

Discussion