export interface APIWebhook
https://discord.com/developers/docs/resources/webhook#webhook-object
Snowflake channel_id :
The channel id this webhook is for
optionalSnowflake guild_id? :
The guild id this webhook is for
Snowflake id :
The id of the webhook
optionalAPIPartialChannel source_channel? :
The channel that this webhook is following (returned for Channel Follower Webhooks)
optionalAPIPartialGuild source_guild? :
The guild of the channel that this webhook is following (returned for Channel Follower Webhooks)
optionalstring token? :
The secure token of the webhook (returned for Incoming Webhooks)
WebhookType type :
The type of the webhookSee https://discord.com/developers/docs/resources/webhook#webhook-object-webhook-types
optionalstring url? :
The url used for executing the webhook (returned by the webhooks OAuth2 flow)
optionalAPIUser user? :
The user this webhook was created by (not returned when getting a webhook with its token)See https://discord.com/developers/docs/resources/user#user-object