Deprecated
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.11/rest/v8/channel.ts";
deprecated
definition: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ content?: string; nonce?: number | string; tts?: boolean; embeds?: APIEmbed[]; embed?: APIEmbed; allowed_mentions?: APIAllowedMentions; message_reference?: APIMessageReferenceSend; components?: APIActionRowComponent<APIMessageActionRowComponent>[]; sticker_ids?: [Snowflake] | [Snowflake, Snowflake] | [Snowflake, Snowflake, Snowflake]; attachments?: (Pick<APIAttachment, "id" | "description"> & Partial<Pick<APIAttachment, "filename">>)[]; flags?: MessageFlags; }>