Skip to main content

DiscordGatewayPayload

@discordeno/botDocs


Documentation / @discordeno/bot / DiscordGatewayPayload

Interface: DiscordGatewayPayload

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

Properties

d

d: unknown

Event data

Defined in

packages/types/dist/types/discord.d.ts:2669


op

op: number

opcode for the payload

Defined in

packages/types/dist/types/discord.d.ts:2667


s

s: null | number

Sequence number, used for resuming sessions and heartbeats

Defined in

packages/types/dist/types/discord.d.ts:2671


t

t: null | GatewayEventNames

The event name for this payload

Defined in

packages/types/dist/types/discord.d.ts:2673