Skip to main content

DiscordGatewayPayload

Documentation


Documentation / @discordeno/types / DiscordGatewayPayload

Interface: DiscordGatewayPayload

Defined in: discord/gateway.ts:282

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

Properties

d

d: unknown

Defined in: discord/gateway.ts:286

Event data


op

op: number

Defined in: discord/gateway.ts:284

opcode for the payload


s

s: number | null

Defined in: discord/gateway.ts:288

Sequence number, used for resuming sessions and heartbeats


t

t: GatewayDispatchEventNames | null

Defined in: discord/gateway.ts:290

The event name for this payload