Skip to main content
Module

x/discord_api_types/v8.ts>RESTPatchAPIWebhookJSONBody

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

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

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

Properties

optional
name: string | undefined

The default name of the webhook

optional
avatar: string | null | undefined

Image for the default webhook avatar

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

optional
channel_id: Snowflake | undefined

The new channel id this webhook should be moved to