Class Webhook

Represents a Guild or channel webhook.

Hierarchy

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 | number

Item ID

ownerID: string

ID of the webhook's owner.

token: null | string

Token of the webhook.

username: string

Username of the webhook.

Methods