API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.
import { type RESTPostAPIChannelMessageJSONBody } from "https://deno.land/x/discord_api_types@0.37.100/rest/v8/mod.ts";
Properties
Embedded rich
content (up to 6000 characters)
See https://discord.com/developers/docs/resources/channel#embed-object
Embedded rich
content
See https://discord.com/developers/docs/resources/channel#embed-object
Allowed mentions for a message
See https://discord.com/developers/docs/resources/channel#allowed-mentions-object
Include to make your message a reply
See https://discord.com/developers/docs/resources/channel#message-object-message-reference-structure
The components to include with the message
See https://discord.com/developers/docs/interactions/message-components#component-object
IDs of up to 3 stickers in the server to send in the message
See https://discord.com/developers/docs/resources/sticker#sticker-object
Attachment objects with filename and description
Message flags combined as a bitfield