OptionalcaptionCaption for the image (optional) Text that will be displayed with the image
Chat ID to send message to Format: phone@c.us for individual chats, groupId@g.us for groups
OptionalconfigOptional request configuration override Allows overriding session, timeout, retry settings for this specific request
Image file data (base64 or URL) Can be a URL (http/https) or base64-encoded image data with data URI scheme
Optionalreply_Message ID to reply to (optional) If provided, the image will be sent as a reply to the specified message
Image message parameters
Parameters for sending an image message using sendImage() or safeSendImage().
Example