Bot

Upload a file

Uploads bot media using multipart/form-data and returns a reusable bot file.

post/bot{token}/uploadFile

Path parameters

tokenstring required

Required bot token included in the URL path.

Headers

authorizationstring

Optional bot token using the Bearer scheme. When supplied, it takes precedence over the token in the URL.

Response

BotGetFileSuccess

oktrue required

Always true for a successful request.

Changes