Skip to content

WebhookMessageOptions

Defined in: packages/rest/src/webhook.ts:18

A webhook message for send() and editMessage(), in Discord’s wire names.

optional allowed_mentions?: AllowedMentions

Defined in: packages/rest/src/webhook.ts:29


optional avatar_url?: string

Defined in: packages/rest/src/webhook.ts:21


optional components?: (APIMessageComponent | { toJSON: APIMessageComponent; })[]

Defined in: packages/rest/src/webhook.ts:24


optional content?: string

Defined in: packages/rest/src/webhook.ts:19


optional embeds?: (APIEmbed | { toJSON: APIEmbed; })[]

Defined in: packages/rest/src/webhook.ts:23


optional files?: RESTFileAttachment[]

Defined in: packages/rest/src/webhook.ts:26

Uploaded as multipart form data.


optional flags?: number

Defined in: packages/rest/src/webhook.ts:27


optional thread_id?: string

Defined in: packages/rest/src/webhook.ts:28


optional tts?: boolean

Defined in: packages/rest/src/webhook.ts:22


optional username?: string

Defined in: packages/rest/src/webhook.ts:20