interface RESTAPIPoll
extends
Omit<APIPoll, 'allow_multiselect' | 'answers' | 'expiry' | 'layout_type' | 'results'>Partial<Pick<APIPoll, 'allow_multiselect' | 'layout_type'>>external
export interface RESTAPIPoll extends Omit<APIPoll, 'allow_multiselect' | 'answers' | 'expiry' | 'layout_type' | 'results'>, Partial<Pick<APIPoll, 'allow_multiselect' | 'layout_type'>>
https://discord.com/developers/docs/resources/poll#poll-create-request-object-poll-create-request-object-structure
externalOmit<APIPollAnswer, 'answer_id'>[] answers :
Each of the answers available in the poll, up to 10
optionalexternalnumber duration? :
Number of hours the poll should be open for, up to 32 days 24