interface InteractionContent {
    allowedMentions?: AllowedMentions;
    attachments?: MessageAttachment[];
    components?: MessageActionRow[];
    content?: string;
    embeds?: EmbedOptions[];
    files?: File[];
    flags?: number;
    tts?: boolean;
}

Hierarchy

  • Pick<ExecuteWebhookOptions, "tts" | "content" | "embeds" | "allowedMentions" | "flags" | "components" | "attachments" | "files">
    • InteractionContent

Properties

allowedMentions?: AllowedMentions

An object that specifies the allowed mentions in this message.

attachments?: MessageAttachment[]

An array of partial attachments related to the sent files.

components?: MessageActionRow[]

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

content?: string

The content of the message.

embeds?: EmbedOptions[]

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

files?: File[]

The files to send.

flags?: number

The flags to send with the message.

tts?: boolean

If the message should be spoken aloud.