DiscordApplicationWebhook
Documentation / @discordeno/bot / DiscordApplicationWebhook
Interface: DiscordApplicationWebhook
Defined in: packages/types/dist/types/discord.d.ts:704
Properties
application_id
application_id:
null
|string
Defined in: packages/types/dist/types/discord.d.ts:724
The bot/OAuth2 application that created this webhook
avatar
avatar:
null
|string
Defined in: packages/types/dist/types/discord.d.ts:722
The default user avatar hash of the webhook
channel_id?
optional
channel_id:null
|string
Defined in: packages/types/dist/types/discord.d.ts:716
The channel id this webhook is for
guild_id?
optional
guild_id:null
|string
Defined in: packages/types/dist/types/discord.d.ts:714
The guild id this webhook is for
id
id:
string
Defined in: packages/types/dist/types/discord.d.ts:712
The id of the webhook
name
name:
null
|string
Defined in: packages/types/dist/types/discord.d.ts:720
The default name of the webhook
source_channel?
optional
source_channel:Partial
<DiscordChannel
>
Defined in: packages/types/dist/types/discord.d.ts:728
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
source_guild?
optional
source_guild:Partial
<DiscordGuild
>
Defined in: packages/types/dist/types/discord.d.ts:726
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
token?
optional
token:string
Defined in: packages/types/dist/types/discord.d.ts:708
The secure token of the webhook (returned for Incoming Webhooks)
type
type:
Application
Defined in: packages/types/dist/types/discord.d.ts:706
The type of the webhook
url?
optional
url:string
Defined in: packages/types/dist/types/discord.d.ts:710
The url used for executing the webhook (returned by the webhooks OAuth2 flow)
user?
optional
user:DiscordUser
Defined in: packages/types/dist/types/discord.d.ts:718
The user this webhook was created by (not returned when getting a webhook with its token)