typealias WebSocketShardEventsMap

export declare type WebSocketShardEventsMap = {
    [WebSocketShardEvents.Debug]: [payload: {
        message: string;
    }];
    [WebSocketShardEvents.Hello]: [];
    [WebSocketShardEvents.Ready]: [];
    [WebSocketShardEvents.Resumed]: [];
    [WebSocketShardEvents.Dispatch]: [payload: {
        data: GatewayDispatchPayload;
    }];
};

Union Members

{ [WebSocketShardEvents.Debug]: [payload: { message: string; }]; [WebSocketShardEvents.Hello]: []; [WebSocketShardEvents.Ready]: []; [WebSocketShardEvents.Resumed]: []; [WebSocketShardEvents.Dispatch]: [payload: { data: GatewayDispatchPayload; }]; }