Skip to main content
Version: 3.0.0

🔑 Send a Video by Id

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

whatsapp.sendVideoById(
phoneNumber : 'PHONE_NUMBER',
mediaId : 'media_id',
caption : 'My fav video.',
);
paramtyperequireddescription
phoneNumberStringyesPhone number with county code and plus.
mediaIdStringyesUploaded video's media id
captionStringnoA caption with video