Skip to main content

DiscordGatewayPayload

@discordeno/bot


Documentation / @discordeno/bot / DiscordGatewayPayload

Interface: DiscordGatewayPayload

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

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

Properties

d

d: unknown

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

Event data


op

op: number

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

opcode for the payload


s

s: null | number

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

Sequence number, used for resuming sessions and heartbeats


t

t: null | GatewayEventNames

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

The event name for this payload