Skip to main content
Module

x/discord_api_types/v10.ts>RESTPostAPIChannelMessageJSONBody

Up to date Discord API Typings, versioned by the API version
Go to Latest
type alias RESTPostAPIChannelMessageJSONBody
import { type RESTPostAPIChannelMessageJSONBody } from "https://deno.land/x/discord_api_types@0.37.11/v10.ts";
definition: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ content?: string; nonce?: number | string; tts?: boolean; embeds?: 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; }>