Skip to main content
Module

x/natico/discordeno_deps.ts>DiscordenoWebhook

A powerful and customizable framework for Discordeno
Latest
interface DiscordenoWebhook
import { type DiscordenoWebhook } from "https://deno.land/x/natico@4.0.0-pre.4/discordeno_deps.ts";

Properties

id: bigint

The id of the webhook

The type of the webhook

optional
guildId: bigint

The guild id this webhook is for

optional
channelId: bigint

The channel id this webhook is for

optional
user: DiscordenoUser

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: bigint

The default user avatar hash of the webhook

optional
token: string

The secure token of the webhook (returned for Incomming Webhooks)

optional
applicationId: bigint

The bot/OAuth2 application that created this webhook

optional
sourceGuild: { id: bigint; name: string; icon?: bigint; }

The guild of the channel that this webhook is following (returned for Channel Follower Webhooks)

optional
sourceChannel: { id: bigint; name: string; }

The channel that this webhook is following (returned for Channel Follower Webhooks)

optional
url: string

The url used for executing the webhook (returned by the webhooks OAuth2 flow)