Skip to main content
Module

x/discord_api_types/v8.ts>RESTPostAPIWebhookWithTokenJSONBody

Up to date Discord API Typings, versioned by the API version
Go to Latest
type alias RESTPostAPIWebhookWithTokenJSONBody
Re-export
Deprecated
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.11/v8.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; }>