APIPoll

export interface APIPoll extends APIBasePoll, APIPollDefaults
export interface APIPoll extends APIBasePoll, APIPollDefaults
allow_multiselect:boolean
Whether a user can select multiple answers
Default value
false
Inherited from APIPollDefaults
answers:APIPollAnswer[]
Each of the answers available in the poll, up to 10
expiry:string
The time when the poll ends (IS08601 timestamp)
layout_type:PollLayoutType
The layout type of the poll
Default value
PollLayoutType.Default
Inherited from APIPollDefaults
question:APIPollMedia
The question of the poll
Inherited from APIBasePoll
The results of the poll