Skip to main content
Module

x/natico/mod.ts>IncomingWebhook

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

Properties

id: string

The id of the webhook

The type of the webhook

optional
guildId: string

The guild id this webhook is for

channelId: string

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)

name: string | null

The default name of the webhook

avatar: string | null

The default user avatar hash of the webhook

optional
token: string

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

applicationId: string | null

The bot/OAuth2 application that created this webhook

optional
sourceGuild: Partial<Guild>

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

optional
sourceChannel: Partial<Channel>

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)