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
layoutType: PollLayoutType
The layout type for the poll