Skip to main content
Version: 3.0.0

🔑 Send a Audio by Id

Send a audio to the specified phone number using uploaded media.

await whatsapp.sendAudioById(
phoneNumber : 'PHONE_NUMBER',
mediaId : 'media_id',
);
paramtyperequireddescription
phoneNumberStringyesPhone number with county code and plus.
mediaIdStringyesUploaded audio's media id