Skip to main content
Version: Next

APIPoll

Hierarchy

Index

Properties

inheritedallow_multiselect

allow_multiselect: boolean

Whether a user can select multiple answers

@defaultValue

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)

inheritedlayout_type

layout_type: PollLayoutType

The layout type of the poll

@defaultValue

PollLayoutType.Default

inheritedquestion

question: APIPollMedia

The question of the poll

optionalresults

results?: APIPollResults

The results of the poll