Skip to main content

DiscordEventWebhookEvent

@discordeno/bot


Documentation / @discordeno/bot / DiscordEventWebhookEvent

Interface: DiscordEventWebhookEvent

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

https://discord.com/developers/docs/events/webhook-events#payload-structure

Properties

application_id

application_id: string

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

ID of your app


event?

optional event: DiscordEventWebhookEventBody

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

Event data payload


type

type: DiscordEventWebhookType

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

Type of webhook, either 0 for PING or 1 for webhook events


version

version: 1

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

Version scheme for the webhook event. Currently always 1