Skip to main content
Version: v2.10.2 (current)

Interface: DiscordPacket

Represents a raw Discord WebSocket packet structure used to communicate with the Discord Gateway through the .send() function.

Property Type Description Optional
opnumberThe opcode for the payload.
danyThe data for the payload.
tstringThe event name for the payload.
snumberThe sequence number for the payload.