Skip to content

Message Poll Vote Data DTO Reference

The NjoguAmos\Waha\Dto\MessagePollVoteData represents a vote on a poll.

chatIdstring

The chat ID where the poll exists.

pollMessageIdstring

The ID of the poll message.

votesarray

Array of arrays containing the poll options to vote for. Example: [["Awesome!"]].

pollServerIdint or null

Only for Channels - server message ID (if known).

Released under the MIT License.