Skip to content

Commit 056406e

Browse files
authored
fix components v2 flag description (#7502)
* fix components v2 flag description * -
1 parent a160c3f commit 056406e

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

docs/resources/message.mdx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -133,21 +133,21 @@ Type `19` and `20` are only available in API v8 and above. In v6, they are repre
133133

134134
###### Message Flags
135135

136-
| Flag | Value | Description |
137-
|----------------------------------------|-----------|------------------------------------------------------------------------------------------------------------------|
138-
| CROSSPOSTED | `1 << 0` | this message has been published to subscribed channels (via Channel Following) |
139-
| IS_CROSSPOST | `1 << 1` | this message originated from a message in another channel (via Channel Following) |
140-
| SUPPRESS_EMBEDS | `1 << 2` | do not include any embeds when serializing this message |
141-
| SOURCE_MESSAGE_DELETED | `1 << 3` | the source message for this crosspost has been deleted (via Channel Following) |
142-
| URGENT | `1 << 4` | this message came from the urgent message system |
143-
| HAS_THREAD | `1 << 5` | this message has an associated thread, with the same id as the message |
144-
| EPHEMERAL | `1 << 6` | this message is only visible to the user who invoked the Interaction |
145-
| LOADING | `1 << 7` | this message is an Interaction Response and the bot is "thinking" |
146-
| FAILED_TO_MENTION_SOME_ROLES_IN_THREAD | `1 << 8` | this message failed to mention some roles and add their members to the thread |
147-
| SUPPRESS_NOTIFICATIONS | `1 << 12` | this message will not trigger push and desktop notifications |
148-
| IS_VOICE_MESSAGE | `1 << 13` | this message is a voice message |
149-
| HAS_SNAPSHOT | `1 << 14` | this message has a snapshot (via Message Forwarding) |
150-
| IS_COMPONENTS_V2 | `1 << 15` | this message allows you to create fully [component](/docs/components/reference#component-object) driven messages |
136+
| Flag | Value | Description |
137+
|----------------------------------------|-----------|-----------------------------------------------------------------------------------|
138+
| CROSSPOSTED | `1 << 0` | this message has been published to subscribed channels (via Channel Following) |
139+
| IS_CROSSPOST | `1 << 1` | this message originated from a message in another channel (via Channel Following) |
140+
| SUPPRESS_EMBEDS | `1 << 2` | do not include any embeds when serializing this message |
141+
| SOURCE_MESSAGE_DELETED | `1 << 3` | the source message for this crosspost has been deleted (via Channel Following) |
142+
| URGENT | `1 << 4` | this message came from the urgent message system |
143+
| HAS_THREAD | `1 << 5` | this message has an associated thread, with the same id as the message |
144+
| EPHEMERAL | `1 << 6` | this message is only visible to the user who invoked the Interaction |
145+
| LOADING | `1 << 7` | this message is an Interaction Response and the bot is "thinking" |
146+
| FAILED_TO_MENTION_SOME_ROLES_IN_THREAD | `1 << 8` | this message failed to mention some roles and add their members to the thread |
147+
| SUPPRESS_NOTIFICATIONS | `1 << 12` | this message will not trigger push and desktop notifications |
148+
| IS_VOICE_MESSAGE | `1 << 13` | this message is a voice message |
149+
| HAS_SNAPSHOT | `1 << 14` | this message has a snapshot (via Message Forwarding) |
150+
| IS_COMPONENTS_V2 | `1 << 15` | allows you to create fully [component](/docs/components/overview)-driven messages |
151151

152152
###### Example Message
153153

0 commit comments

Comments
 (0)