Skip to main content
Version: 0.37.90

RESTAPIPollCreate

Hierarchy

  • Omit<APIPoll, answers | expiry | results>
    • RESTAPIPollCreate

Index

Properties

allow_multiselect

allow_multiselect: boolean

Whether a user can select multiple answers

answers

answers: Omit<APIPollAnswer, answer_id>[]

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

duration

duration: number

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

layout_type

layout_type: Default

The layout type of the poll

question

question: APIPollMedia

The question of the poll