import { type RESTPostAPIChannelMessageJSONBody } from "https://deno.land/x/discord_api_types@0.37.55/rest/mod.ts";
Properties
optional
embeds: APIEmbed[] | undefinedEmbedded rich
content (up to 6000 characters)
See https://discord.com/developers/docs/resources/channel#embed-object
optional
allowed_mentions: APIAllowedMentions | undefinedAllowed mentions for a message
See https://discord.com/developers/docs/resources/channel#allowed-mentions-object
optional
message_reference: APIMessageReferenceSend | undefinedInclude to make your message a reply
optional
components: APIActionRowComponent<APIMessageActionRowComponent>[] | undefinedThe 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
optional
attachments: (Pick<APIAttachment, "id" | "description"> & Partial<Pick<APIAttachment, "filename">>)[] | undefinedAttachment objects with filename and description
optional
flags: MessageFlags | undefinedMessage flags combined as a bitfield