Interface ExecuteWebhookOptions

Hierarchy

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

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.

avatarURL?: string

The url of an avatar to use.

An array of components to send. Convert snake_case keys to camelCase.

content?: string

The content of the message.

An array of embeds to send. Convert snake_case keys to camelCase.

files?: File[]

The files to send.

flags?: number

The flags to send with the message.

threadID?: string

The id of the thread to send the message to.

threadName?: string

The name of the thread to create (forum channels).

tts?: boolean

If the message should be spoken aloud.

username?: string

The username to use.

wait?: boolean

If the created message should be returned.