export interface APIWebhookSee also: https://discord.com/developers/docs/resources/webhook#webhook-object
channel_id : Snowflake
The channel id this webhook is for
optionalguild_id? : Snowflake
The guild id this webhook is for
id : Snowflake
The id of the webhook
optionalsource_channel? : APIPartialChannel
The channel that this webhook is following (returned for Channel Follower Webhooks)
optionalsource_guild? : APIPartialGuild
The guild of the channel that this webhook is following (returned for Channel Follower Webhooks)
optionaltoken? : string
The secure token of the webhook (returned for Incoming Webhooks)
type : WebhookType
The type of the webhook
See also: https://discord.com/developers/docs/resources/webhook#webhook-object-webhook-types
optionalurl? : string
The url used for executing the webhook (returned by the webhooks OAuth2 flow)
optionaluser? : APIUser
The user this webhook was created by (not returned when getting a webhook with its token)
See also: https://discord.com/developers/docs/resources/user#user-object