WebhookExecuteOptions

interface WebhookExecuteOptions

Message fields accepted when executing a webhook, including per-request identity overrides.

exported from lib.weeble.d

Extends:

Properties

Property

Type

Description

allowedMentions?

AllowedMentions

Mention parsing rules for this message.

attachments?

Attachment[]

Existing attachments to keep or include.

avatarUrl?

string

Override the webhook avatar for this execution.

components?

Component[]

Components to include with the message.

content?

string

Message content.

embeds?

EmbedLike[]

Embeds to include with the message.

files?

AttachmentInput[]

New files to upload.

flags?

number

Discord bitfield flags. Set IS_COMPONENTS_V2 for Components V2 layouts; Discord then rejects content and embeds , and the flag cannot be removed later.

poll?

PollCreateOptions

Poll to create with the message.

reply?

MessageReference

Message reference used to create a reply.

stickerIds?

string[]

Sticker IDs to attach to the message.

tts?

boolean

Whether to send the message using text-to-speech.

username?

string

Override the webhook username for this execution.