interface APIPoll

external
export interface APIPoll

See also: https://discord.com/developers/docs/resources/poll#poll-object-poll-object-structure

external
allow_multiselect : boolean = false

Whether a user can select multiple answers

external
answers : APIPollAnswer[]

Each of the answers available in the poll, up to 10

external
expiry : string

The time when the poll ends (IS08601 timestamp)

external
layout_type : PollLayoutType = PollLayoutType.Default

The layout type of the poll

external
question : APIPollMedia

The question of the poll

optionalexternal
results? : APIPollResults

The results of the poll