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; not returned when fetching by ID without token).
type
?: WebhookTypeWebhook type (present on audit-log webhook entries and some list responses).
user
: APIUserUser who created the webhook.