Preview environment

interface WebhookMessageCreateOptions

extends

Omit<MessageCreateOptions, 'nonce' | 'reply' | 'stickers'>
export interface WebhookMessageCreateOptions extends Omit<MessageCreateOptions, 'nonce' | 'reply' | 'stickers'>

Options that can be passed into send.

optional
appliedTags? : readonly Snowflake[]

The tags to apply to the created thread (only available if the webhook is in a forum channel)

optional
avatarURL? : string

Avatar URL override for the message

flags : MessageFlags

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

optional
threadId? : Snowflake

The id of the thread in the channel to send to. For interaction webhooks, this property is ignored

optional
threadName? : string

Name of the thread to create (only available if the webhook is in a forum channel)

tts : boolean

Whether the message should be spoken aloud

optional
username? : string

Username override for the message (default: this.name)