Blocks a user for a given amount of time (or forever)
user to block
how long to block the user (in seconds)
Adds a chat event type to the list of ignored types
event type
Checks if a user is blocked
user to check
Checks if an event type is ignored
event type
A promise when the user succesfully joins this room
A promise when the user succesfully leaves this room
event type
The message to send
A promise with the message that was sent
Unblocks users
users to unblock
Removes an event type from the list of ignored types
event type
Connects to the chatroom websocket, and watches for new events
A promise that completes when the webscocket connection is successfull.
Generated using TypeDoc
Represents a chatroom