Skip to content

APIWebhook

Package: @erinjs/types

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

Properties

NameTypeReadonlyOptionalDescription
avatarstring | nullNoNo
channel_idstringNoNo
guild_idstringNoNo
idstringNoNo
namestringNoNo
tokenstringNoYesPresent when listing channel webhooks; not returned when fetching by ID without token
userAPIUserPartialNoNo

Released under the Apache-2.0 License.