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