Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message. For this to work, your audio must be in an .OGG file encoded with OPUS, or in .MP3 format, or in .M4A format (other formats may be sent as Audio or Document). On success, the sent Message is returned. Bots can currently send voice messages 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>/sendVoice
- 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