interface EditMessageOptions

export interface EditMessageOptions extends RESTPatchAPIChannelMessageJSONBody

optionalexternal
allowed_mentions? : APIAllowedMentions | null | undefined

Allowed mentions for the messageSee https://discord.com/developers/docs/resources/channel#allowed-mentions-object

Inherited from: RESTPatchAPIChannelMessageJSONBody

optionalexternal
attachments? : RESTAPIAttachment[] | undefined

Attached files to keepStarting 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

Inherited from: RESTPatchAPIChannelMessageJSONBody

The components to include with the messageSee https://discord.com/developers/docs/interactions/message-components#component-object

Inherited from: RESTPatchAPIChannelMessageJSONBody

optionalexternal
content? : string | null | undefined

The new message contents (up to 2000 characters)

Inherited from: RESTPatchAPIChannelMessageJSONBody

optionalexternal
embeds? : APIEmbed[] | null | undefined

Embedded rich content (up to 6000 characters)See https://discord.com/developers/docs/resources/channel#embed-object

Inherited from: RESTPatchAPIChannelMessageJSONBody

optional
files? : RawFile[]

optionalexternal
flags? : MessageFlags | null | undefined

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 modifyingSee https://discord.com/developers/docs/resources/channel#message-object-message-flags

Inherited from: RESTPatchAPIChannelMessageJSONBody