RESTPostAPIWebhookWithTokenJSONBody
Index
Properties
optionalallowed_mentions
Allowed mentions for the message
See https://discord.com/developers/docs/resources/channel#allowed-mentions-object
optionalapplied_tags
Array of tag ids to apply to the thread
optionalattachments
Attachment objects with filename and description
optionalavatar_url
Override the default avatar of the webhook
optionalcomponents
The components to include with the message
Requires an application-owned webhook
See https://discord.com/developers/docs/interactions/message-components#component-object
optionalcontent
The message contents (up to 2000 characters)
optionalembeds
Embedded rich
content
See https://discord.com/developers/docs/resources/channel#embed-object
optionalflags
Message flags combined as a bitfield
optionalpoll
A poll!
optionalthread_name
Name of thread to create
Available only if the webhook is in a forum channel and a thread is not specified in RESTPostAPIWebhookWithTokenQuery.thread_id query parameter
optionaltts
true
if this is a TTS message
optionalusername
Override the default username of the webhook
https://discord.com/developers/docs/resources/webhook#execute-webhook