interface APIPoll
extends
APIBasePollAPIPollDefaultsexport interface APIPoll extends APIBasePoll, APIPollDefaultsSee also: https://discord.com/developers/docs/resources/poll#poll-object-poll-object-structure
allow_multiselect : boolean = false
Whether a user can select multiple answers
Inherited from: v10/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 = PollLayoutType.Default
The layout type of the poll
Inherited from: v10/APIPollDefaults
optionalresults? : APIPollResults
The results of the poll