Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message.

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 (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.

See sendVoice official docs for a list of supported parameters and other info.

Language
Click Try It! to start a request and see the response here!