Use this method to send general files. On success, the sent Message is returned. Bots can currently send files of any type of up to 50 MB in size, this limit may be changed in the future.
Request
- Base URL: https://api.telegram.org/bot<bot_token>
- URL: https://api.telegram.org/bot<bot_token>/sendDocument
- Auth: none declared
Request body
Response
Telegram API response
Changes
- info
added the new optional request property
///////(media type: application/json) - info
added the new optional request property
///////(media type: multipart/form-data) - info
added the new optional request property
////////////(media type: application/json) - info
added the new optional request property
////////////(media type: multipart/form-data) - info
added the optional property
/////////to the response with the status - info
added the optional property
////////////to the response with the status - info
added the optional property
////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
////////////to the response with the status - info
added the optional property
/////////to the response with the status - info
added the optional property
///////////////////to the response with the status - info
added the optional property
/////////////////////to the response with the status - info
added the optional property
///////////////////to the response with the status - info
added the optional property
///////////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
/////////////////////to the response with the status - info
added the optional property
///////////////////to the response with the status - info
added the optional property
///////////////////to the response with the status - info
added the optional property
/////////////////to the response with the status - info
added the optional property
/////////////////to the response with the status - info
added the optional property
///////////////////to the response with the status - info
added the optional property
///////////////////to the response with the status - info
added the optional property
/////////////////////to the response with the status - info
added the optional property
///////////////////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
/////////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
////////////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
////////////to the response with the status - info
added the optional property
////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
////////////to the response with the status - info
added the optional property
////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
/////////to the response with the status
- info