Interface: DiscordPacket
Represents a raw Discord WebSocket packet structure used to communicate with the Discord Gateway through the
.send()function.
Property Type Description Optional opnumber The opcode for the payload. dany The data for the payload. tstring The event name for the payload. snumber The sequence number for the payload.