export interface RESTPostAPIWebhookWithTokenJSONBody
See also: https://discord.com/developers/docs/resources/webhook#execute-webhook
optionalAPIAllowedMentions | undefined allowed_mentions? :
Allowed mentions for the message
See also: https://discord.com/developers/docs/resources/channel#allowed-mentions-object
optionalRESTAPIAttachment[] | undefined attachments? :
Attachment objects with filename and description
optionalAPIMessageTopLevelComponent[] | undefined components? :
The components to include with the messageApplication-owned webhooks can always send components. Non-application-owned webhooks cannot send interactive components, and the components
field will be ignored unless they set the with_components
query param.
See also: https://discord.com/developers/docs/components/reference
Embedded rich
content
See also: https://discord.com/developers/docs/resources/channel#embed-object
optionalMessageFlags | undefined flags? :
Message flags combined as a bitfield
optionalRESTAPIPoll | undefined poll? :
A poll!
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