Skip to content

Commit d201669

Browse files
lytefastshaydewael
authored andcommitted
[docs] Message Forwards feature (discord#6818)
Add documentation for message forwards. A message forward gives users the ability to send a snapshot of a message in one channel to another channel. - snapshots are immutable, and do not receive updates from the original message (unlike replies) - similar to a REPLY message, a forward is created using a `message_reference` [DDevs #api-announcement](https://canary.discord.com/channels/613425648685547541/697138785317814292/1233463756160503859) - thread there # Examples ## Creates ```json { message_reference": { "type": 1, // FORWARD "message_id": "123456789012345678", "channel_id": "123456789012345678", "guild_id": "123456789012345678" }, } ``` ## Responses ```json { "author": { "id": 123456789012345678, }, "message_reference": { "type": 1, // FORWARD "message_id": "123456789012345678", "channel_id": "123456789012345678", "guild_id": "123456789012345678" }, "message_snapshots": [ { "content": "hello world", "embeds": [ // Embed objects ], "attachments": [ // Attachment objects ] } ] } ```
1 parent d33e799 commit d201669

File tree

3 files changed

+123
-70
lines changed

3 files changed

+123
-70
lines changed

docs/interactions/Receiving_and_Responding.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ All options have names, and an option can either be a parameter and input value-
153153
This is sent on the [message object](#DOCS_RESOURCES_CHANNEL/message-object) when the message is a response to an Interaction without an existing message.
154154

155155
> info
156-
> This means responses to [Message Components](#DOCS_INTERACTIONS_MESSAGE_COMPONENTS/) do not include this property, instead including a [message reference](#DOCS_RESOURCES_CHANNEL/message-reference-object-message-reference-structure) object as components _always_ exist on preexisting messages.
156+
> This means responses to [Message Components](#DOCS_INTERACTIONS_MESSAGE_COMPONENTS/) do not include this property, instead including a [message reference](#DOCS_RESOURCES_CHANNEL/message-reference-structure) object as components _always_ exist on preexisting messages.
157157
158158
###### Message Interaction Structure
159159

0 commit comments

Comments
 (0)