Interface
APIWebhook
Webhook from GET /channels/{id}/webhooks (includes token) or GET /webhooks/{id} (no token).
Properties
avatar
?: string | nullWebhook avatar hash.
channel_id
: SnowflakeChannel the webhook posts to.
guild_id
: SnowflakeGuild containing the webhook.
id
: SnowflakeWebhook ID.
name
: stringWebhook display name.
token
: stringWebhook token (present when listing channel webhooks).
type
?: WebhookTypeWebhook type (audit-log / some list responses).
user
: APIUserUser who created the webhook.