export interface APIWebhook
https://discord.com/developers/docs/resources/webhook#webhook-object
externalSnowflake channel_id :
The channel id this webhook is for
optionalexternalSnowflake guild_id? :
The guild id this webhook is for
externalSnowflake id :
The id of the webhook
optionalexternalAPIPartialChannel source_channel? :
The channel that this webhook is following (returned for Channel Follower Webhooks)
optionalexternalAPIPartialGuild source_guild? :
The guild of the channel that this webhook is following (returned for Channel Follower Webhooks)
optionalexternalstring token? :
The secure token of the webhook (returned for Incoming Webhooks)
externalWebhookType type :
The type of the webhookSee https://discord.com/developers/docs/resources/webhook#webhook-object-webhook-types
optionalexternalstring url? :
The url used for executing the webhook (returned by the webhooks OAuth2 flow)
optionalexternalAPIUser 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