Deprecated
API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.
import { type RESTPostAPIWebhookWithTokenJSONBody } from "https://deno.land/x/discord_api_types@0.37.18/rest/v8/mod.ts";
deprecated
definition: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ content?: string; username?: string; avatar_url?: string; tts?: boolean; embeds?: APIEmbed[]; allowed_mentions?: APIAllowedMentions; components?: APIActionRowComponent<APIMessageActionRowComponent>[]; attachments?: (Pick<APIAttachment, "id" | "description"> & Partial<Pick<APIAttachment, "filename">>)[]; flags?: MessageFlags; }>