DiscordIncomingWebhook
Documentation / @discordeno/bot / DiscordIncomingWebhook
Interface: DiscordIncomingWebhook
Defined in: packages/types/dist/types/discord.d.ts:678
Properties
application_id
application_id:
null
|string
Defined in: packages/types/dist/types/discord.d.ts:698
The bot/OAuth2 application that created this webhook
avatar
avatar:
null
|string
Defined in: packages/types/dist/types/discord.d.ts:696
The default user avatar hash of the webhook
channel_id
channel_id:
string
Defined in: packages/types/dist/types/discord.d.ts:690
The channel id this webhook is for
guild_id?
optional
guild_id:string
Defined in: packages/types/dist/types/discord.d.ts:688
The guild id this webhook is for
id
id:
string
Defined in: packages/types/dist/types/discord.d.ts:686
The id of the webhook
name
name:
null
|string
Defined in: packages/types/dist/types/discord.d.ts:694
The default name of the webhook
source_channel?
optional
source_channel:Partial
<DiscordChannel
>
Defined in: packages/types/dist/types/discord.d.ts:702
The channel that this webhook is following (returned for Channel Follower Webhooks)
source_guild?
optional
source_guild:Partial
<DiscordGuild
>
Defined in: packages/types/dist/types/discord.d.ts:700
The guild of the channel that this webhook is following (returned for Channel Follower Webhooks)
token?
optional
token:string
Defined in: packages/types/dist/types/discord.d.ts:682
The secure token of the webhook (returned for Incoming Webhooks)
type
type:
WebhookTypes
Defined in: packages/types/dist/types/discord.d.ts:680
The type of the webhook
url?
optional
url:string
Defined in: packages/types/dist/types/discord.d.ts:684
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:692
The user this webhook was created by (not returned when getting a webhook with its token)