Skip to main content
Module

x/discord_api_types/v8.ts>RESTPostAPIChannelWebhookJSONBody

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface RESTPostAPIChannelWebhookJSONBody
Deprecated
Deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

import { type RESTPostAPIChannelWebhookJSONBody } from "https://deno.land/x/discord_api_types@0.37.82/v8.ts";

Properties

name: string

Name of the webhook (1-80 characters)

optional
avatar: string | null | undefined

Image for the default webhook avatar

See https://discord.com/developers/docs/reference#image-data