Telegram - Get file action

The Get file action retrieves metadata about a file stored on the servers in Telegram.

CHAIN INTO DOWNLOAD FILE

This action returns file metadata, including the file path, which is valid for at least one hour. Use the output of this action as input for the Download file action to fetch the file's actual bytes and keep the API token on the server side.

Input

Input fieldDescription
File IDEnter the file identifier to get information about.

Output

Output fieldDescription
File IDThe file identifier, usable to download or reuse the file.
File unique IDThe file identifier that's the same over time and for different bots. Can't be used to download or reuse the file.
File sizeThe file size, if known. Measured in bytes.
File pathThe file's path on Telegram's servers. Use this with the Download file action.

Last updated: