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/getFile

Query parameters

file_idstring required

Bot method parameter.

Headers

authorizationstring required

Required bot token using the Bearer scheme.

Response

BotGetFileSuccess

oktrue required

Always true for a successful request.

Changes