Interface EditMessageOptions

interface EditMessageOptions {
    allowedMentions?: null | AllowedMentions;
    attachments?: null | MessageAttachment[];
    components?: null | MessageActionRow[];
    content?: null | string;
    embeds?: null | EmbedOptions[];
    files?: null | File[];
    flags?: null | number;
}

Hierarchy (view full)

Properties

allowedMentions?: null | AllowedMentions

An object that specifies the allowed mentions in this message.

attachments?: null | MessageAttachment[]

An array of partial attachments related to the sent files.

components?: null | MessageActionRow[]

An array of components to send. snake_case keys should be converted to camelCase, or passed through Util#rawMessageComponents.

content?: null | string

The content of the message.

embeds?: null | EmbedOptions[]

An array of embeds to send. snake_case keys should be converted to camelCase, or passed through Util#rawEmbeds.

files?: null | File[]

The files to send.

flags?: null | number

The flags to send with the message.