interface APIPoll
extends
APIBasePollAPIPollDefaultsexport interface APIPoll extends APIBasePoll, APIPollDefaults
See also: https://discord.com/developers/docs/resources/poll#poll-object-poll-object-structure
boolean = false allow_multiselect :
Whether a user can select multiple answers
Inherited from: APIPollDefaults
APIPollAnswer[] answers :
Each of the answers available in the poll, up to 10
string expiry :
The time when the poll ends (IS08601 timestamp)
PollLayoutType = PollLayoutType.Default layout_type :
The layout type of the poll
Inherited from: APIPollDefaults
optionalAPIPollResults results? :
The results of the poll