Bot
Get a file
Returns metadata and a short-lived download URL for a Bot-owned file or a file in a currently accessible message.
get/bot{token}/getFile
Path parameters
tokenstring required
Required bot token included in the URL path.
Query parameters
file_idstring required
Bot method parameter.
Headers
authorizationstring
Optional bot token using the Bearer scheme. When supplied, it takes precedence over the token in the URL.
Response
BotGetFileSuccess