Interface

APIWebhook

Webhook from GET /channels/{id}/webhooks (includes token) or GET /webhooks/{id} (no token).

Properties

NameTypeDescription
avatar?string | nullWebhook avatar hash.
channel_idSnowflakeChannel the webhook posts to.
guild_idSnowflakeGuild containing the webhook.
idSnowflakeWebhook ID.
namestringWebhook display name.
tokenstringWebhook token (present when listing channel webhooks).
type?WebhookTypeWebhook type (audit-log / some list responses).
userAPIUserUser who created the webhook.