Skip to content

Commit b6e5540

Browse files
committed
Remove outdated attachment url note
1 parent 81e6716 commit b6e5540

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/developers/docs/reference.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ Some endpoints support file attachments, indicated by the `files[n]` parameter.
421421
422422
All `files[n]` parameters must include a valid `Content-Disposition` subpart header with a `filename` and unique `name` parameter. Each file parameter must be uniquely named in the format `files[n]` such as `files[0]`, `files[1]`, or `files[42]`. The suffixed index `n` is the snowflake placeholder that can be used in the `attachments` field, which can be passed to the `payload_json` parameter (or [Callback Data Payloads](/developers/docs/interactions/receiving-and-responding#interaction-response-object-interaction-callback-data-structure)).
423423
424-
Images can also be referenced in embeds using the `attachment://filename` URL. The `filename` for these URLs must be ASCII alphanumeric with underscores, dashes, or dots. An example payload is provided below.
424+
Images can also be referenced in embeds using the `attachment://filename` URL. An example payload is provided below.
425425
426426
### Editing Message Attachments
427427

0 commit comments

Comments
 (0)