interface MessageEditOptions

export interface MessageEditOptions extends BaseMessageOptions

Options that can be passed to edit a message.

optional
allowedMentions? : MessageMentionOptions

Which mentions should be parsed from the message content (see here for more details)

Inherited from: BaseMessageOptions

optional
attachments? : readonly (Attachment | JSONEncodable<APIAttachment>)[]

An array of attachments to keep. All attachments will be kept if omitted

Action rows containing interactive components for the message (buttons, select menus) and other top-level components. When using components v2, the flag MessageFlags needs to be set and content, embeds, stickers, and poll cannot be used.

Inherited from: BaseMessageOptions

optional
content? : string | null = ''

The content for the message. This can only be null when editing a message.

Inherited from: BaseMessageOptions

optional
embeds? : readonly (APIEmbed | JSONEncodable<APIEmbed>)[]

The embeds for the message

Inherited from: BaseMessageOptions

The files to send with the message.

Inherited from: BaseMessageOptions

Which flags to set for the message Only the MessageFlags flag can be modified.