Class: ChatroomSocket
Uses the chatrooms.${chatroomId}.v2
Pusher channel. Contains events directly related to the chatroom, e.g, new messages, message deletions, polls, etc.
Full list of events listed on ChatroomEventEmitters.
Extends
Methods
disconnect()
disconnect(
chatroomId
):Promise
<void
>
Parameters
Parameter | Type |
---|---|
chatroomId | string | number |
Returns
Promise
<void
>
ws/chatroom/chatroom.socket.ts:88
listen()
listen(
chatroomId
):Promise
<void
>
Parameters
Parameter | Type |
---|---|
chatroomId | string | number |
Returns
Promise
<void
>
ws/chatroom/chatroom.socket.ts:32
Generated using typedoc-plugin-markdown and TypeDoc