Skip to content

Commit cc70947

Browse files
author
spiral
authored
Message component options is optional :^) (#3875)
1 parent d49d34b commit cc70947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/interactions/Message_Components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The top-level `components` field is an array of [Action Row](#DOCS_INTERACTIONS_
2323
| label? | string | text that appears on the button, max 80 characters | [Buttons](#DOCS_INTERACTIONS_MESSAGE_COMPONENTS/buttons) |
2424
| emoji? | partial [emoji](#DOCS_RESOURCES_EMOJI/emoji-object) | `name`, `id`, and `animated` | [Buttons](#DOCS_INTERACTIONS_MESSAGE_COMPONENTS/buttons) |
2525
| url? | string | a url for link-style buttons | [Buttons](#DOCS_INTERACTIONS_MESSAGE_COMPONENTS/buttons) |
26-
| options | array of [select options](#DOCS_INTERACTIONS_MESSAGE_COMPONENTS/select-menu-object-select-option-structure) | the choices in the select, max 25 | [Select Menus](#DOCS_INTERACTIONS_MESSAGE_COMPONENTS/select-menus) |
26+
| options? | array of [select options](#DOCS_INTERACTIONS_MESSAGE_COMPONENTS/select-menu-object-select-option-structure) | the choices in the select, max 25 | [Select Menus](#DOCS_INTERACTIONS_MESSAGE_COMPONENTS/select-menus) |
2727
| placeholder? | string | custom placeholder text if nothing is selected, max 100 characters | [Select Menus](#DOCS_INTERACTIONS_MESSAGE_COMPONENTS/select-menus) |
2828
| min_values? | integer | the minimum number of items that must be chosen; default 1, min 0, max 25 | [Select Menus](#DOCS_INTERACTIONS_MESSAGE_COMPONENTS/select-menus) |
2929
| max_values? | integer | the maximum number of items that can be chosen; default 1, max 25 | [Select Menus](#DOCS_INTERACTIONS_MESSAGE_COMPONENTS/select-menus) |

0 commit comments

Comments
 (0)