Skip to content

Commit 0d68d20

Browse files
Documented component limits
1 parent fece8cd commit 0d68d20

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/change-log/2025-04-22-components-v2.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@ We've created guides to help you implement these new features:
4848

4949
[Legacy component behavior](/docs/components/reference#legacy-message-component-behavior) will continue to work as before, so your existing integrations won't break. However, when using the Components V2 flag, you'll need to adapt to a few changes:
5050

51-
- 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)
51+
- 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
5252
- Attachments need to be exposed through components to be visible
5353
- The `poll` and `stickers` fields are disabled
54+
- A max of 10 top-level components and 30 total components in a message
5455

5556
#### Developer Resources
5657

docs/components/reference.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ This document serves as a comprehensive reference for all available components.
1212

1313
To use these components, you need to send the [message flag](/docs/resources/message#message-object-message-flags) `1 << 15` (IS_COMPONENTS_V2) which can be sent on a per-message basis. This enables the new components system with the following changes:
1414

15-
- 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)
15+
- 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+
- A max of 10 top-level components and 30 total components in a message
1819

1920
:::info
2021
[Legacy component behavior](/docs/components/reference#legacy-message-component-behavior) will continue to work but provide less flexibility and control over the message layout.
@@ -872,7 +873,7 @@ Don't hardcode `components` to contain only text components. We may add other co
872873
]
873874
```
874875

875-
![Example of a Section showing a fake game chagnelog and a thumbnail](images/components/section.png)
876+
![Example of a Section showing a fake game changelog and a thumbnail](images/components/section.png)
876877

877878
## Text Display
878879

0 commit comments

Comments
 (0)