Preview environment

interface PollData

export interface PollData

Represents the data for a poll.

allowMultiselect : boolean

Whether the poll allows multiple answers

answers : readonly PollAnswerData[]

The answers for the poll

duration : number

The duration in hours for the poll

optional
layoutType? : PollLayoutType

The layout type for the poll

The question for the poll