RESTAPIPollCreate
Hierarchy
- Omit<APIPoll, expiry | results>
- RESTAPIPollCreate
Index
Properties
allow_multiselect
Whether a user can select multiple answers
answers
Each of the answers available in the poll, up to 10
duration
Number of hours the poll should be open for, up to 7 days
layout_type
The layout type of the poll
question
The question of the poll
https://discord.com/developers/docs/resources/poll#poll-create-request-object-poll-create-request-object-structure