Bot
Get a file
Changed onReturns metadata and a short-lived download URL for a Bot-owned file or a file in a currently accessible message. Pass chat_id and message_id of that message; the file_id-only form is legacy.
get/bot/getFile
Request
- Base URLhttps://api.inline.chat
- Authnone required
Query parameters
file_idstring required
Bot method parameter.
chat_idstring
A positive decimal Inline chat identifier
Example:123456789
Bot method parameter.
message_idstring
A positive decimal Inline message identifier
Example:123456789
Bot method parameter.
Headers
authorizationstring required
Required bot token using the Bearer scheme.
Response
BotGetFileSuccess
Changes
- info
added the non-success response with the status
- info
- info
added the new optional
queryrequest parameterchat_id - info
added the new optional
queryrequest parametermessage_id
- info