Skip to content

Message Video Data DTO Reference

The NjoguAmos\Waha\Dto\MessageVideoData represents a video message to be sent.

chatIdstring

The recipient's chat ID.

filearray

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

convertbool

Whether to convert the input file to the required format using ffmpeg before sending. Default: true.

reply_tostring or null

The ID of the message to reply to.

captionstring or null

Optional caption for the video.

asNotebool

Send as video note (aka instant or round video). Default: false.

Released under the MIT License.