interface RESTPostAPIWebhookWithTokenJSONBody

external
export interface RESTPostAPIWebhookWithTokenJSONBody

https://discord.com/developers/docs/resources/webhook#execute-webhook

optionalexternal
allowed_mentions? : APIAllowedMentions | undefined

Allowed mentions for the messageSee https://discord.com/developers/docs/resources/channel#allowed-mentions-object

optionalexternal
applied_tags? : Snowflake[] | undefined

Array of tag ids to apply to the thread

optionalexternal
attachments? : RESTAPIAttachment[] | undefined

Attachment objects with filename and description

optionalexternal
avatar_url? : string | undefined

Override the default avatar of the webhook

The components to include with the messageRequires an application-owned webhookSee https://discord.com/developers/docs/interactions/message-components#component-object

optionalexternal
content? : string | undefined

The message contents (up to 2000 characters)

optionalexternal
embeds? : APIEmbed[] | undefined

Embedded rich contentSee https://discord.com/developers/docs/resources/channel#embed-object

optionalexternal
flags? : MessageFlags | undefined

Message flags combined as a bitfield

optionalexternal
poll? : RESTAPIPoll | undefined

A poll!

optionalexternal
thread_name? : string | undefined

Name of thread to createAvailable only if the webhook is in a forum channel and a thread is not specified in thread_id query parameter

optionalexternal
tts? : boolean | undefined

true if this is a TTS message

optionalexternal
username? : string | undefined

Override the default username of the webhook