Class Webhook

Represents a Guild or channel webhook.

Hierarchy

  • Base<string>
    • Webhook

Constructors

Properties

channelID: string

ID of the channel, where the webhook comes from.

client: Client

Bot's client.

createdAt: Date

When the webhook was created.

deletedAt: null | Date

When the webhook was deleted.

guildID: string

ID of the guild, where the webhook comes from.

id: string

Item ID

ownerID: string

ID of the webhook's owner.

token: null | string

Token of the webhook.

username: string

Username of the webhook.

Methods