Use this method to send audio files, if you want Telegram clients to display them in the music player. Your audio must be in the .MP3 or .M4A format. On success, the sent Message is returned. Bots can currently send audio files of up to 50 MB in size, this limit may be changed in the future.
For sending voice messages, use the sendVoice method instead.
Request
- Base URL: https://api.telegram.org/bot<bot_token>
- URL: https://api.telegram.org/bot<bot_token>/sendAudio
- 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