Skip to content

PollData ​

typedef · Source

Represents the data for a poll. Type: Object

Properties ​

question ​

question: PollQuestionMedia

The question for the poll

answers ​

answers: Array<PollAnswerData>

The answers for the poll

duration ​

duration: number

The duration in hours for the poll

allowMultiselect ​

allowMultiselect: boolean

Whether the poll allows multiple answers

layoutType ​

optional

layoutType: PollLayoutType

The layout type for the poll

Unofficial software. Not affiliated with or supported by Discord.