Skip to main content
Module

x/denord/mod.ts>Webhook

🗣 Discord API module
Latest
interface Webhook
import { type Webhook } from "https://deno.land/x/denord@0.1.0/mod.ts";

Properties

the id of the webhook

the type of the webhook

optional
guildId: GuildId

the guild id this webhook is for

channelId: ChannelId

the channel id this webhook is for

optional
user: User

the user this webhook was created by (not returned when getting a webhook with its token)

optional
name: string

the default name of the webhook

optional
avatar: string

the default avatar of the webhook

optional
token: string

the secure token of the webhook (returned for Incoming Webhooks)