Skip to main content

DiscordEventWebhookEventBody

@discordeno/botDocs


Documentation / @discordeno/bot / DiscordEventWebhookEventBody

Interface: DiscordEventWebhookEventBody

https://discord.com/developers/docs/events/webhook-events#event-body-object

Properties

data?

optional data: DiscordEntitlement | DiscordEventWebhookApplicationAuthorizedBody

Data for the event. The shape depends on the event type

Defined in

packages/types/dist/types/discord.d.ts:3572


timestamp

timestamp: string

Timestamp of when the event occurred in ISO8601 format

Defined in

packages/types/dist/types/discord.d.ts:3570


type

type: DiscordWebhookEventType

Event type

Defined in

packages/types/dist/types/discord.d.ts:3568