Skip to content

Commit f766f4d

Browse files
Raise the roof
1 parent 7f99239 commit f766f4d

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: "Raised Component Limits"
3+
date: "2025-04-29"
4+
topics:
5+
- "User Apps"
6+
- "HTTP API"
7+
- "Interactions"
8+
---
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.
11+
12+
#### What's New
13+
14+
- **Total components**: The limit for total components in a message has been increased to 40.
15+
- **Top-level components**: There is no longer a limit on top level components in a message (previously it was 10).
16+
17+
#### Developer Resources
18+
19+
- Check out our [Component Reference](/docs/components/reference) for detailed specifications on all available components.
20+
- Learn how to build rich message layouts with components with [Using Message Components](/docs/components/using-message-components).

docs/components/reference.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ To use these components, you need to send the [message flag](/docs/resources/mes
1515
- The `content` and `embeds` fields will no longer work but you'll be able to use [Text Display](/docs/components/reference#text-display) and [Container](/docs/components/reference#container) as replacements
1616
- Attachments won't show by default - they must be exposed through components
1717
- The `poll` and `stickers` fields are disabled
18-
- Messages currently allow up to 10 top-level components and 30 total components
18+
- Messages allow up to 40 total components
1919

2020
:::info
2121
[Legacy component behavior](/docs/components/reference#legacy-message-component-behavior) will continue to work but provide less flexibility and control over the message layout.
@@ -1172,6 +1172,10 @@ Before the introduction of the `IS_COMPONENTS_V2` flag ([see changelog](/docs/ch
11721172

11731173
Apps using this Legacy Message Component behavior will continue to work as expected, but it is recommended to use the new `IS_COMPONENTS_V2` flag for new apps or features as they offer more options for layout and customization.
11741174

1175+
:::info
1176+
Legacy messages allow up to 5 action rows as top-level components
1177+
:::
1178+
11751179
Legacy Message Component Example
11761180

11771181
```json

0 commit comments

Comments
 (0)