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/resources/channel.mdx
-27Lines changed: 0 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -510,33 +510,6 @@ Post a typing indicator for the specified channel, which expires after 10 second
510
510
511
511
Generally bots should **not** use this route. However, if a bot is responding to a command and expects the computation to take a few seconds, this endpoint may be called to let the user know that the bot is processing their message.
Pin a message in a channel. Requires the `MANAGE_MESSAGES` permission. Returns a 204 empty response on success. Fires a [Channel Pins Update](/docs/events/gateway-events#channel-pins-update) Gateway event.
522
-
523
-
:::warn
524
-
The max pinned messages is 50.
525
-
:::
526
-
527
-
:::info
528
-
This endpoint supports the `X-Audit-Log-Reason` header.
Unpin a message in a channel. Requires the `MANAGE_MESSAGES` permission. Returns a 204 empty response on success. Fires a [Channel Pins Update](/docs/events/gateway-events#channel-pins-update) Gateway event.
535
-
536
-
:::info
537
-
This endpoint supports the `X-Audit-Log-Reason` header.
Copy file name to clipboardExpand all lines: docs/resources/message.mdx
+72-3Lines changed: 72 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -267,8 +267,8 @@ One of [Application Command Interaction Metadata](/docs/resources/message#messag
267
267
| original_response_message_id? | snowflake | ID of the original response message, present only on [follow-up messages](/docs/interactions/receiving-and-responding)|
268
268
| target_user? |[user](/docs/resources/user#user-object) object | The user the command was run on, present only on [user command](/docs/interactions/application-commands#user-commands) interactions |
269
269
| target_message_id? | snowflake | The ID of the message the command was run on, present only on [message command](/docs/interactions/application-commands#message-commands) interactions. The original response message will also have `message_reference` and `referenced_message` pointing to this message. |
@@ -566,7 +566,7 @@ Embeds are deduplicated by URL. If a message contains multiple embeds with the
566
566
567
567
#### Embed Fields by Embed Type
568
568
569
-
Certain embed types are used to power special UIs. These embeds use [fields](/docs/resources/message#embed-object-embed-field-structure) to include additional data in key-value pairs. Below is a reference of possible embed fields for each of the following embed types.
569
+
Certain embed types are used to power special UIs. These embeds use [fields](/docs/resources/message#embed-object-embed-field-structure) to include additional data in key-value pairs. Below is a reference of possible embed fields for each of the following embed types.
570
570
571
571
###### Poll Result Embed Fields
572
572
@@ -737,6 +737,15 @@ user 125 in the content.
737
737
| total_months_subscribed | integer | the cumulative number of months that the user has been subscribed for |
738
738
| is_renewal | boolean | whether this notification is for a renewal rather than a new purchase |
Retrieves the list of pins in a channel. Requires the `VIEW_CHANNEL` permission. If the user is missing the `READ_MESSAGE_HISTORY` permission in the channel, then no pins will be returned.
Pin a message in a channel. Requires the `MANAGE_MESSAGES` permission. Fires a [Channel Pins Update](/docs/events/gateway-events#channel-pins-update) Gateway event.
995
+
996
+
:::info
997
+
This endpoint supports the `X-Audit-Log-Reason` header.
Unpin a message in a channel. Requires the `MANAGE_MESSAGES` permission. Returns a 204 empty response on success. Fires a [Channel Pins Update](/docs/events/gateway-events#channel-pins-update) Gateway event.
1004
+
1005
+
:::info
1006
+
This endpoint supports the `X-Audit-Log-Reason` header.
0 commit comments