GatewayOpcodes
constGatewayOpcodes:object
Defined in: packages/ws/src/opcodes.ts:2
Discord Gateway opcodes.
Type Declaration
Section titled “Type Declaration”Dispatch
Section titled “Dispatch”
readonlyDispatch:0=0
Heartbeat
Section titled “Heartbeat”
readonlyHeartbeat:1=1
HeartbeatAck
Section titled “HeartbeatAck”
readonlyHeartbeatAck:11=11
readonlyHello:10=10
Identify
Section titled “Identify”
readonlyIdentify:2=2
InvalidSession
Section titled “InvalidSession”
readonlyInvalidSession:9=9
PresenceUpdate
Section titled “PresenceUpdate”
readonlyPresenceUpdate:3=3
Reconnect
Section titled “Reconnect”
readonlyReconnect:7=7
RequestGuildMembers
Section titled “RequestGuildMembers”
readonlyRequestGuildMembers:8=8
Resume
Section titled “Resume”
readonlyResume:6=6
VoiceStateUpdate
Section titled “VoiceStateUpdate”
readonlyVoiceStateUpdate:4=4