Skip to main content

DiscordEventWebhookEvent

@discordeno/bot


Documentation / @discordeno/bot / DiscordEventWebhookEvent

Interface: DiscordEventWebhookEvent

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

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

Properties

application_id

application_id: string

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

ID of your app


event?

optional event: DiscordEventWebhookEventBody

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

Event data payload


type

type: DiscordWebhookEventType

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

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


version

version: 1

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

Version scheme for the webhook event. Currently always 1