interface RESTAPIPoll

external
export interface RESTAPIPoll extends APIBasePoll, Partial<APIPollDefaults>

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

external
answers : APIBasePollAnswer[]

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

optionalexternal
duration? : number = 24

Number of hours the poll should be open for, up to 32 days