Class Webhook

Represents a Guild or channel webhook.

Hierarchy

Constructors

Properties

_createdAt: number

Timestamp of the webhook's creation.

_deletedAt: null | number

Timestamp of the webhook's deletion, if deleted.

channelID: string

ID of the channel, where the webhook comes from.

client: Client

Bot's client.

createdBy: string

ID of the webhook's owner.

guildID: string

ID of the guild, where the webhook comes from.

id: string | number

Item ID

token: null | string

Token of the webhook.

username: string

Username of the webhook.

Accessors

Methods