Skip to main content
Version: 4.0.0

🔑 Send Image by ID

Send an image to the specified phone number using uploaded media.

await whatsapp.sendImageById(
phoneNumber : 'RECIPIENT_NUMBER',
imageId : 'media_id',
caption : 'Sample Image.',
);
paramtyperequireddescription
phoneNumberStringyesPhone number with country code.
imageIdStringyesUploaded media ID
captionStringnoA caption with image