Skip to main content

DiscordEventWebhookEventBody

@discordeno/bot


Documentation / @discordeno/bot / DiscordEventWebhookEventBody

Interface: DiscordEventWebhookEventBody

Defined in: packages/types/dist/types/discord/webhookEvents.d.ts:26

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

Properties

data?

optional data: DiscordEntitlement | DiscordEventWebhookApplicationAuthorizedBody

Defined in: packages/types/dist/types/discord/webhookEvents.d.ts:32

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


timestamp

timestamp: string

Defined in: packages/types/dist/types/discord/webhookEvents.d.ts:30

Timestamp of when the event occurred in ISO8601 format


type

type: DiscordWebhookEventType

Defined in: packages/types/dist/types/discord/webhookEvents.d.ts:28

Event type