import { type RESTPostAPIWebhookWithTokenJSONBody } from "https://deno.land/x/discord_api_types@0.37.65/rest/v9/webhook.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