Skip to content

Commit ff7a1ae

Browse files
authored
document them (#6968)
1 parent 43170f8 commit ff7a1ae

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/resources/Poll.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ The main difference is that the request has `duration` which eventually becomes
3131

3232
###### Poll Create Request Object Structure
3333

34-
| Field | Type | Description |
35-
|-------------------|-----------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------|
36-
| question | [Poll Media Object](#DOCS_RESOURCES_POLL/poll-media-object-poll-media-object-structure) | The question of the poll. Only `text` is supported. |
37-
| 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 |
38-
| duration | integer | Number of hours the poll should be open for, up to 32 days |
39-
| allow_multiselect | boolean | Whether a user can select multiple answers |
40-
| layout_type? | integer | The [layout type](#DOCS_RESOURCES_POLL/layout-type) of the poll. Defaults to... DEFAULT! |
34+
| Field | Type | Description |
35+
|--------------------|-----------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------|
36+
| question | [Poll Media Object](#DOCS_RESOURCES_POLL/poll-media-object-poll-media-object-structure) | The question of the poll. Only `text` is supported. |
37+
| 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 |
38+
| duration? | integer | Number of hours the poll should be open for, up to 32 days. Defaults to 24 |
39+
| allow_multiselect? | boolean | Whether a user can select multiple answers. Defaults to false |
40+
| layout_type? | integer | The [layout type](#DOCS_RESOURCES_POLL/layout-type) of the poll. Defaults to... DEFAULT! |
4141

4242
### Layout Type
4343

0 commit comments

Comments
 (0)