Skip to content

Message Image Data DTO Reference

The NjoguAmos\Waha\Dto\MessageImageData represents an image message to be sent.

chatIdstring

The recipient's chat ID.

filearray

The image file. Can be a remote file (['url' => '...']) or a binary file (['mimetype' => '...', 'data' => '...']).

reply_tostring or null

The ID of the message to reply to.

captionstring or null

Optional caption for the image.

Released under the MIT License.