Actions41
- Chat Actions
- Contact Actions
- Custom Request Actions
- File Actions
- Group Actions
- Login Actions
- Message Actions
- User Actions
File → Download File
AI-generatedSummary
Downloads a Telegram file from the server to the local system using its unique file identifier.
Inputs
- file_id (required) — Identifier of the file to download.
Output shape
A single item containing the downloaded file data.
Files are downloaded synchronously with a priority of 16. The downloaded file data is returned in the item output.
Examples
Example 1: Download a received photo attachment.
Set File ID to the unique identifier of the photo from a previous 'Get Messages' node.
Example 2: Retrieve a document sent by another user.
Set File ID to the unique identifier of the document from a previous 'Get Messages' node.