Skip to main content

DiscordEventWebhookEventBody

@discordeno/bot


Documentation / @discordeno/bot / DiscordEventWebhookEventBody

Interface: DiscordEventWebhookEventBody

Defined in: packages/types/dist/types/discord.d.ts:3571

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

Properties

data?

optional data: DiscordEntitlement | DiscordEventWebhookApplicationAuthorizedBody

Defined in: packages/types/dist/types/discord.d.ts:3577

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


timestamp

timestamp: string

Defined in: packages/types/dist/types/discord.d.ts:3575

Timestamp of when the event occurred in ISO8601 format


type

type: DiscordWebhookEventType

Defined in: packages/types/dist/types/discord.d.ts:3573

Event type