Skip to main content
Version: 3.0.0

🔑 Send a Image by Id

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

await whatsapp.sendImageById(
phoneNumber : 'PHONE_NUMBER',
mediaId : 'media_id',
caption : 'My fav photo.',
);
paramtyperequireddescription
phoneNumberStringyesPhone number with county code and plus.
mediaIdStringyesUpload media id
captionStringnoA caption with image