import { type APIWebhook } from "https://deno.land/x/discord_api_types@0.37.18/v10.ts";
Properties
id: Snowflake
The id of the webhook
type: WebhookType
The type of the webhook
See https://discord.com/developers/docs/resources/webhook#webhook-object-webhook-types
optional
guild_id: SnowflakeThe guild id this webhook is for
channel_id: Snowflake
The channel id this webhook is for
optional
user: 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
application_id: Snowflake | null
The bot/OAuth2 application that created this webhook
optional
source_guild: APIPartialGuildThe guild of the channel that this webhook is following (returned for Channel Follower Webhooks)
optional
source_channel: APIPartialChannelThe channel that this webhook is following (returned for Channel Follower Webhooks)