telegram_get_file_info
Retrieve file metadata, file_path, file_size, and a direct download URL for files stored on Telegram servers by providing the file ID.
Instructions
Get metadata and download path for a file stored on Telegram servers.
Returns the file_path needed to construct the download URL: https://api.telegram.org/file/bot/<file_path>
Args: params (GetFileInput): file_id of the Telegram file.
Returns: str: JSON with File object including file_path, file_size, and download_url.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |