RESTPatchAPIChannelMessageJSONBody
Index
Properties
optionalallowed_mentions
Allowed mentions for the message
optionalattachments
Attached files to keep
Starting with API v10, the attachments
array must contain all attachments that should be present after edit, including retained and new attachments provided in the request body.
See https://discord.com/developers/docs/resources/message#attachment-object-attachment-structure
optionalcomponents
The components to include with the message
optionalcontent
The new message contents (up to 2000 characters)
optionalembed
Embedded rich
content
optionalembeds
Embedded rich
content (up to 6000 characters)
optionalflags
Edit the flags of a message (only SUPPRESS_EMBEDS
can currently be set/unset)
When specifying flags, ensure to include all previously set flags/bits in addition to ones that you are modifying
See https://discord.com/developers/docs/resources/message#message-object-message-flags
https://discord.com/developers/docs/resources/message#edit-message