Skip to main content
Version: 0.37.112

APIPoll

Index

Properties

allow_multiselect

allow_multiselect: boolean

Whether a user can select multiple answers

@default

false

answers

answers: APIPollAnswer[]

Each of the answers available in the poll, up to 10

expiry

expiry: string

The time when the poll ends (IS08601 timestamp)

layout_type

layout_type: Default

The layout type of the poll

@default

PollLayoutType.Default

question

question: APIPollMedia

The question of the poll

optionalresults

results?: APIPollResults

The results of the poll