DiscordApplicationWebhook
@discordeno/bot • Docs
Documentation / @discordeno/bot / DiscordApplicationWebhook
Interface: DiscordApplicationWebhook
Properties
application_id
application_id:
null
|string
The bot/OAuth2 application that created this webhook
Defined in
packages/types/dist/types/discord.d.ts:721
avatar
avatar:
null
|string
The default user avatar hash of the webhook
Defined in
packages/types/dist/types/discord.d.ts:719
channel_id?
optional
channel_id:null
|string
The channel id this webhook is for
Defined in
packages/types/dist/types/discord.d.ts:713
guild_id?
optional
guild_id:null
|string
The guild id this webhook is for
Defined in
packages/types/dist/types/discord.d.ts:711
id
id:
string
The id of the webhook
Defined in
packages/types/dist/types/discord.d.ts:709
name
name:
null
|string
The default name of the webhook
Defined in
packages/types/dist/types/discord.d.ts:717
source_channel?
optional
source_channel:Partial
<DiscordChannel
>
The channel that this webhook is following (returned for Channel Follower Webhooks), field will be absent if the webhook creator has since lost access to the guild where the followed channel resides
Defined in
packages/types/dist/types/discord.d.ts:725
source_guild?
optional
source_guild:Partial
<DiscordGuild
>
The guild of the channel that this webhook is following (returned for Channel Follower Webhooks), field will be absent if the webhook creator has since lost access to the guild where the followed channel resides
Defined in
packages/types/dist/types/discord.d.ts:723
token?
optional
token:string
The secure token of the webhook (returned for Incoming Webhooks)
Defined in
packages/types/dist/types/discord.d.ts:705
type
type:
Application
The type of the webhook
Defined in
packages/types/dist/types/discord.d.ts:703
url?
optional
url:string
The url used for executing the webhook (returned by the webhooks OAuth2 flow)
Defined in
packages/types/dist/types/discord.d.ts:707
user?
optional
user:DiscordUser
The user this webhook was created by (not returned when getting a webhook with its token)
Defined in
packages/types/dist/types/discord.d.ts:715