interface
WebSocketShardEventsMap
export
interface
WebSocketShardEventsMap
Table of contents
Properties
closed
debug
dispatch
error
heartbeat
hello
ready
resumed
Properties
closed :
[{
code
:
number
; }]
debug :
[payload: {
message
:
string
; }]
dispatch :
[payload: {
data
:
GatewayDispatchPayload
; }]
error :
[payload: {
error
:
Error
; }]
heartbeat :
[payload: {
ackAt
:
number
;
heartbeatAt
:
number
;
latency
:
number
; }]
hello :
[]
ready :
[payload: {
data
:
GatewayReadyDispatchData
; }]
resumed :
[]