DiscordEventWebhookEventBody
Documentation / @discordeno/types / DiscordEventWebhookEventBody
Interface: DiscordEventWebhookEventBody
Defined in: discord/webhookEvents.ts:32
https://docs.discord.com/developers/events/webhook-events#event-body-object
Properties
data?
optionaldata?:DiscordEntitlement|DiscordEventWebhookApplicationAuthorizedBody|DiscordEventWebhookApplicationDeauthorizedBody|DiscordSocialSDKLobbyMessage|DiscordEventWebhookLobbyMessageUpdateBody|DiscordEventWebhookLobbyMessageDeleteBody|DiscordSocialSDKMessage|DiscordSocialSDKPassthroughMessage
Defined in: discord/webhookEvents.ts:38
Data for the event. The shape depends on the event type
timestamp
timestamp:
string
Defined in: discord/webhookEvents.ts:36
Timestamp of when the event occurred in ISO8601 format
type
type:
DiscordWebhookEventType
Defined in: discord/webhookEvents.ts:34
Event type