Webhook
Documentation / @discordeno/bot / Webhook
Interface: Webhook
Defined in: transformers/types.ts:2071
Properties
applicationId?
optionalapplicationId?:bigint
Defined in: transformers/types.ts:2091
The bot/OAuth2 application that created this webhook
avatar?
optionalavatar?:bigint
Defined in: transformers/types.ts:2089
The default user avatar hash of the webhook
channelId?
optionalchannelId?:bigint
Defined in: transformers/types.ts:2083
The channel id this webhook is for
guildId?
optionalguildId?:bigint
Defined in: transformers/types.ts:2081
The guild id this webhook is for
id
id:
bigint
Defined in: transformers/types.ts:2079
The id of the webhook
name?
optionalname?:string
Defined in: transformers/types.ts:2087
The default name of the webhook
sourceChannel?
optionalsourceChannel?:Partial<Channel>
Defined in: transformers/types.ts:2095
The channel that this webhook is following (returned for Channel Follower Webhooks)
sourceGuild?
optionalsourceGuild?:Partial<Guild>
Defined in: transformers/types.ts:2093
The guild of the channel that this webhook is following (returned for Channel Follower Webhooks)
token?
optionaltoken?:string
Defined in: transformers/types.ts:2075
The secure token of the webhook (returned for Incoming Webhooks)
type
type:
WebhookTypes
Defined in: transformers/types.ts:2073
The type of the webhook
url?
optionalurl?:string
Defined in: transformers/types.ts:2077
The url used for executing the webhook (returned by the webhooks OAuth2 flow)
user?
optionaluser?:User
Defined in: transformers/types.ts:2085
The user this webhook was created by (not returned when getting a webhook with its token)