Skip to content

Commit

Permalink
document them (#6968)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodentman87 authored Jul 2, 2024
1 parent 43170f8 commit ff7a1ae
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/resources/Poll.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ The main difference is that the request has `duration` which eventually becomes

###### Poll Create Request Object Structure

| Field | Type | Description |
|-------------------|-----------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------|
| question | [Poll Media Object](#DOCS_RESOURCES_POLL/poll-media-object-poll-media-object-structure) | The question of the poll. Only `text` is supported. |
| answers | List of [Poll Answer Objects](#DOCS_RESOURCES_POLL/poll-answer-object-poll-answer-object-structure) | Each of the answers available in the poll, up to 10 |
| duration | integer | Number of hours the poll should be open for, up to 32 days |
| allow_multiselect | boolean | Whether a user can select multiple answers |
| layout_type? | integer | The [layout type](#DOCS_RESOURCES_POLL/layout-type) of the poll. Defaults to... DEFAULT! |
| Field | Type | Description |
|--------------------|-----------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------|
| question | [Poll Media Object](#DOCS_RESOURCES_POLL/poll-media-object-poll-media-object-structure) | The question of the poll. Only `text` is supported. |
| answers | List of [Poll Answer Objects](#DOCS_RESOURCES_POLL/poll-answer-object-poll-answer-object-structure) | Each of the answers available in the poll, up to 10 |
| duration? | integer | Number of hours the poll should be open for, up to 32 days. Defaults to 24 |
| allow_multiselect? | boolean | Whether a user can select multiple answers. Defaults to false |
| layout_type? | integer | The [layout type](#DOCS_RESOURCES_POLL/layout-type) of the poll. Defaults to... DEFAULT! |

### Layout Type

Expand Down

0 comments on commit ff7a1ae

Please sign in to comment.