Hierarchy

  • IWebhookResponse

Properties

application_id: string

the bot/OAuth2 application that created this webhook

avatar: string

Avatar of the current webhook.

channel_id: string

ID of the channel this webhook belongs to. Snowflake

guild_id: string

ID of the guild this webhook belongs to. Snowflake

id: string

ID of the current webhook. Snowflake

name: string

Name of the current webhook.

source_channel?: {
    id: number;
    name: string;
}

partial channel object

Type declaration

  • id: number
  • name: string
source_guild?: {
    icon?: string;
    id: number;
    name: string;
}

partial guild object

Type declaration

  • Optional icon?: string
  • id: number
  • name: string
token: string

Secure token of the current webhook.

type: number

the type of the webhook

url?: string

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

user?: IUser

User that created this webhook.

Generated using TypeDoc