Skip to content

Message Text Data DTO Reference

The NjoguAmos\Waha\Dto\MessageTextData represents a text message to be sent.

chatIdstring

The recipient's chat ID.

textstring

The message content.

linkPreviewbool

Whether to include link previews. Default: true.

linkPreviewHighQualitybool

Whether to use high-quality link previews. Default: true.

reply_tostring or null

The ID of the message to reply to.

mentionsarray or null

Optional array of IDs to mention in the message.

Released under the MIT License.