You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/change-log/2025-04-29-component-limits.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,12 +7,13 @@ topics:
7
7
- "Interactions"
8
8
---
9
9
10
-
We're removing the top level component limit and raising the limit on components in messages to 40 when using the [`IS_COMPONENTS_V2` message flag](/docs/resources/message#message-object-message-flags)! Legacy messages have not changed and continue to allow up to 5 action rows.
10
+
We're removing the top level component limit and raising the limit on number of components in a message to 40 when using the [`IS_COMPONENTS_V2` message flag](/docs/resources/message#message-object-message-flags)! We're also removing the limit on the number of components in a [Container Component](/docs/components/reference#container). Legacy messages have not changed and continue to allow up to 5 action rows.
11
11
12
12
#### What's New
13
13
14
14
-**Total components**: The limit for total components in a message has been increased to 40.
15
15
-**Top-level components**: There is no longer a limit on top level components in a message (previously it was 10).
16
+
-**[Container Component](/docs/components/reference#container)**: There is no longer a limit on the number of components in a Container Component (previously it was 10).
Copy file name to clipboardExpand all lines: docs/components/reference.mdx
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1080,7 +1080,7 @@ To use this component, you need to send the [message flag](/docs/resources/messa
1080
1080
1081
1081
## Container
1082
1082
1083
-
A Container is a top-level layout component that holds up to 10 components. Containers are visually distinct from surrounding components and have an optional customizable color bar.
1083
+
A Container is a top-level layout component. Containers are visually distinct from surrounding components and have an optional customizable color bar.
1084
1084
1085
1085
Containers are only available in messages.
1086
1086
@@ -1090,13 +1090,13 @@ To use this component, you need to send the [message flag](/docs/resources/messa
| id? | integer | Optional identifier for component |
1097
-
| components | array of components |Up to 10 components of the type [action row](/docs/components/reference#action-row), [text display](/docs/components/reference#text-display), [section](/docs/components/reference#section), [media gallery](/docs/components/reference#media-gallery), [separator](/docs/components/reference#separator), or [file](/docs/components/reference#file)|
1098
-
| accent_color? | ?integer | Color for the accent on the container as RGB from `0x000000` to `0xFFFFFF`|
1099
-
| spoiler? | boolean | Whether the container should be a spoiler (or blurred out). Defaults to `false`. |
| id? | integer | Optional identifier for component |
1097
+
| components | array of components |Components of the type [action row](/docs/components/reference#action-row), [text display](/docs/components/reference#text-display), [section](/docs/components/reference#section), [media gallery](/docs/components/reference#media-gallery), [separator](/docs/components/reference#separator), or [file](/docs/components/reference#file)|
1098
+
| accent_color? | ?integer | Color for the accent on the container as RGB from `0x000000` to `0xFFFFFF`|
1099
+
| spoiler? | boolean | Whether the container should be a spoiler (or blurred out). Defaults to `false`. |
0 commit comments