interface APIWebhookRe-exportimport { type APIWebhook } from "https://deno.land/x/discord_api_types@0.37.37/v10.ts"; https://discord.com/developers/docs/resources/webhook#webhook-object Propertiesid: SnowflakeThe id of the webhook type: WebhookTypeThe type of the webhook See https://discord.com/developers/docs/resources/webhook#webhook-object-webhook-types optionalguild_id: SnowflakeThe guild id this webhook is for channel_id: SnowflakeThe channel id this webhook is for optionaluser: APIUserThe 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 name: string | nullThe default name of the webhook avatar: string | nullThe default avatar of the webhook optionaltoken: stringThe secure token of the webhook (returned for Incoming Webhooks) application_id: Snowflake | nullThe bot/OAuth2 application that created this webhook optionalsource_guild: APIPartialGuildThe guild of the channel that this webhook is following (returned for Channel Follower Webhooks) optionalsource_channel: APIPartialChannelThe channel that this webhook is following (returned for Channel Follower Webhooks) optionalurl: stringThe url used for executing the webhook (returned by the webhooks OAuth2 flow)