Preview environment

interface MessageEditOptions

extends

Omit<BaseMessageOptions, 'content'>
export interface MessageEditOptions extends Omit<BaseMessageOptions, 'content'>

Options that can be passed to edit a message.

optional
attachments? : readonly (Attachment | MessageEditAttachmentData)[]

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

optional
content? : string | null

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