Skip to content

Commit 896f330

Browse files
committed
add top level
1 parent 2d912ff commit 896f330

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

docs/interactions/Message_Components.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -34,24 +34,24 @@ Components are a field on the [message object](#DOCS_RESOURCES_MESSAGE/message-o
3434

3535
###### Component Types
3636

37-
| Type | Name | Description | Version\* |
38-
|------|-------------------------|---------------------------------------------------|-----------|
39-
| 1 | Action Row | Container for other components | 1, 2 |
40-
| 2 | Button | Button object | 1, 2 |
41-
| 3 | String Select | Select menu for picking from defined text options | 1, 2 |
42-
| 4 | Text Input | Text input object | 1, 2 |
43-
| 5 | User Select | Select menu for users | 1, 2 |
44-
| 6 | Role Select | Select menu for roles | 1, 2 |
45-
| 7 | Mentionable Select | Select menu for mentionables (users *and* roles) | 1, 2 |
46-
| 8 | Channel Select | Select menu for channels | 1, 2 |
47-
| 9 | Section | Section component | 2 |
48-
| 10 | Text Display | Text display component | 2 |
49-
| 11 | Thumbnail | Thumbnail component for a section component | 2 |
50-
| 12 | Media Gallery | Media gallery component | 2 |
51-
| 13 | File | File display component | 2 |
52-
| 14 | Separator | Separator component | 2 |
53-
| 16 | Content Inventory Entry | Cannot be used by bots | 1, 2 |
54-
| 17 | Container | Container for other components | 2 |
37+
| Type | Name | Description | Version\* | Top Level |
38+
|------|-------------------------|---------------------------------------------------|-----------|-----------|
39+
| 1 | Action Row | Container for other components | 1, 2 | Yes |
40+
| 2 | Button | Button object | 1, 2 | No |
41+
| 3 | String Select | Select menu for picking from defined text options | 1, 2 | No |
42+
| 4 | Text Input | Text input object | 1, 2 | No |
43+
| 5 | User Select | Select menu for users | 1, 2 | No |
44+
| 6 | Role Select | Select menu for roles | 1, 2 | No |
45+
| 7 | Mentionable Select | Select menu for mentionables (users *and* roles) | 1, 2 | No |
46+
| 8 | Channel Select | Select menu for channels | 1, 2 | No |
47+
| 9 | Section | Section component | 2 | Yes |
48+
| 10 | Text Display | Text display component | 2 | Yes |
49+
| 11 | Thumbnail | Thumbnail component for a section component | 2 | No |
50+
| 12 | Media Gallery | Media gallery component | 2 | Yes |
51+
| 13 | File | File display component | 2 | Yes |
52+
| 14 | Separator | Separator component | 2 | Yes |
53+
| 16 | Content Inventory Entry | Cannot be used by bots | 1, 2 | Yes |
54+
| 17 | Container | Container for other components | 2 | Yes |
5555

5656
\* Using `v2` components requires setting the [message flag](#DOCS_RESOURCES_MESSAGE/message-object-message-flags) `1 << 15`. Setting the flag will disable the ability to set the `content` and `embeds` field and therefore will throw `Invalid Form Body` if either is sent.
5757

0 commit comments

Comments
 (0)