interface MessageEditOptions
extends
BaseMessageOptionsexport interface MessageEditOptions extends BaseMessageOptionsOptions that can be passed to edit a message.
optionalallowedMentions? : MessageMentionOptions
Which mentions should be parsed from the message content(see here for more details)
Inherited from: BaseMessageOptions
optionalattachments? : readonly (Attachment | JSONEncodable<APIAttachment>)[]
An array of attachments to keep.All attachments will be kept if omitted
optionalcomponents? : readonly ( | ActionRowData<JSONEncodable<APIComponentInMessageActionRow> | MessageActionRowComponentData> | APIMessageTopLevelComponent | JSONEncodable<APIActionRowComponent<APIComponentInActionRow>> | JSONEncodable<APIMessageTopLevelComponent> | TopLevelComponentData )[]
Action rows containing interactive components for the message (buttons, select menus) and othertop-level components.When using components v2, the flag MessageFlags.IsComponentsV2 needs to be setand content, embeds, stickers, and poll cannot be used.
Inherited from: BaseMessageOptions
The content for the message. This can only be null when editing a message.
Inherited from: BaseMessageOptions
optionalembeds? : readonly (APIEmbed | JSONEncodable<APIEmbed>)[]
The embeds for the message
Inherited from: BaseMessageOptions
optionalfiles? : readonly (Attachment | AttachmentPayload | BufferResolvable | RawFileEncodable | Stream)[]
The files to send with the message.
Inherited from: BaseMessageOptions
optionalflags? : BitFieldResolvable<Extract<MessageFlagsString, 'IsComponentsV2' | 'SuppressEmbeds'>, MessageFlags.IsComponentsV2 | MessageFlags.SuppressEmbeds> | undefined
Which flags to set for the messageOnly the MessageFlags.SuppressEmbeds flag can be modified.