Skip to content

Commit

Permalink
Merge branch 'main' into member-banners
Browse files Browse the repository at this point in the history
  • Loading branch information
advaith1 committed Jul 16, 2024
2 parents 351ae43 + 86641ea commit bc881f6
Show file tree
Hide file tree
Showing 6 changed files with 166 additions and 73 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @discord/devrel
38 changes: 38 additions & 0 deletions docs/Change_Log.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
# Change Log

## Message Forwarding rollout

#### July 15, 2024

We are slowly rolling out the message forwarding feature to users. This feature allows callers to create a message using `message_reference.type = FORWARD` and have the API generate a `message_snapshot` for the sent message. The feature has [some limitations](#DOCS_RESOURCES_CHANNEL/message-reference-types) and the snapshot is a minimal version of a standard `MessageObject`, but does capture the core parts of a message.

The resulting message will look something like:
```json
{
"id": "1255957733279273083",
"message_reference": {
"type": 1, // Forward
...
}
"message_snapshots": [
{
"message": {

This comment has been minimized.

Copy link
@Hacospnv

Hacospnv Jul 17, 2024

#6986 I created a few files and then I did

"content": "original message",
"embeds": [...],
"attachments": [...],
...
}
}
],
...
}
```

We have applied stricter rate limits for this feature based on the following:
- number of forwards sent by the user
- total attachment size

###### API Updates since preview

This was [previously announced](https://discord.com/channels/613425648685547541/697138785317814292/1233463756160503859) but note that the final API has a few changes since the API was first previewed:
- [`message snapshot`](#DOCS_RESOURCES_CHANNEL/message-snapshot-object) objects don't include a `guild` field anymore since the `message_reference` already provides that information
- forwarded messages have a distinctive `message_reference` type of `FORWARD` now

## User-Installed Apps General Availability

#### June 27, 2024
Expand Down
2 changes: 1 addition & 1 deletion docs/interactions/Receiving_and_Responding.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ All options have names, and an option can either be a parameter and input value-
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.

> info
> 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.
> 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.
###### Message Interaction Structure

Expand Down
Loading

0 comments on commit bc881f6

Please sign in to comment.