Skip to content

Poll Data DTO Reference ​

The NjoguAmos\Waha\Dto\PollData represents a poll configuration.

name → string ​

The poll question.

options → array ​

Array of poll option strings.

multipleAnswers → bool ​

Whether the poll allows multiple answers. Default: false.

Released under the MIT License.