Skip to content

Class: PrivateChatroomSocket

Uses the private-chatroom_${chatroomId} Pusher channel. Contains events directly related to the chatroom, e.g, banned words, chat modes (slow, follower, etc), etc.

Full list of events listed on PrivateChatroomEventEmitters.

Extends

Methods

disconnect()

disconnect(chatroomId): Promise<void>

Parameters

ParameterType
chatroomIdstring | number

Returns

Promise<void>

ws/private-chatroom/private-chatroom.socket.ts:90


listen()

listen(chatroomId): Promise<void>

Parameters

ParameterType
chatroomIdstring | number

Returns

Promise<void>

ws/private-chatroom/private-chatroom.socket.ts:35


Generated using typedoc-plugin-markdown and TypeDoc