Skip to main content
Version: 0.37.110

APIPoll

Index

Properties

allow_multiselect

allow_multiselect: boolean = ```ts false ```

Whether a user can select multiple answers

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 = Default

The layout type of the poll

question

question: APIPollMedia

The question of the poll

optionalresults

results?: APIPollResults

The results of the poll