import { type RESTPostAPIWebhookWithTokenJSONBody } from "https://deno.land/x/discord_api_types@0.37.81/v10.ts";
Properties
optional
embeds: APIEmbed[] | undefinedEmbedded rich
content
See https://discord.com/developers/docs/resources/channel#embed-object
optional
allowed_mentions: APIAllowedMentions | undefinedAllowed mentions for the message
See https://discord.com/developers/docs/resources/channel#allowed-mentions-object
optional
components: APIActionRowComponent<APIMessageActionRowComponent>[] | undefinedThe components to include with the message
Requires an application-owned webhook
See https://discord.com/developers/docs/interactions/message-components#component-object
optional
attachments: RESTAPIAttachment[] | undefinedAttachment objects with filename and description
optional
flags: MessageFlags | undefinedMessage flags combined as a bitfield
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
optional
applied_tags: Snowflake[] | undefinedArray of tag ids to apply to the thread
optional
poll: RESTAPIPollCreate | undefinedA poll!