messages

Sends an audio file to a chat

Sends an audio file to a chat

post/api/messages/sendAudio

Request body

tostring required

Recipient chat ID

filestring required

Audio file (path, URL, DataURL, or Base64)

filenamestring

Filename with extension

quotedMsgIdstring

Message ID

Response

Successful response

OR
boolean required

Changes

No recorded changes to this endpoint across all 2 revisions of this API.