WebhookMessageOptions
Defined in: packages/rest/src/webhook.ts:18
A webhook message for send() and editMessage(), in Discord’s wire names.
Properties
Section titled “Properties”allowed_mentions?
Section titled “allowed_mentions?”
optionalallowed_mentions?:AllowedMentions
Defined in: packages/rest/src/webhook.ts:29
avatar_url?
Section titled “avatar_url?”
optionalavatar_url?:string
Defined in: packages/rest/src/webhook.ts:21
components?
Section titled “components?”
optionalcomponents?: (APIMessageComponent| {toJSON:APIMessageComponent; })[]
Defined in: packages/rest/src/webhook.ts:24
content?
Section titled “content?”
optionalcontent?:string
Defined in: packages/rest/src/webhook.ts:19
embeds?
Section titled “embeds?”Defined in: packages/rest/src/webhook.ts:23
files?
Section titled “files?”
optionalfiles?:RESTFileAttachment[]
Defined in: packages/rest/src/webhook.ts:26
Uploaded as multipart form data.
flags?
Section titled “flags?”
optionalflags?:number
Defined in: packages/rest/src/webhook.ts:27
thread_id?
Section titled “thread_id?”
optionalthread_id?:string
Defined in: packages/rest/src/webhook.ts:28
optionaltts?:boolean
Defined in: packages/rest/src/webhook.ts:22
username?
Section titled “username?”
optionalusername?:string
Defined in: packages/rest/src/webhook.ts:20