Create a new SpectrumLobby
the rsi lobby info
Create a new SpectrumLobby
the rsi lobby info
used internally to store the rsi community info
used internally to store the rsi lobby info
Our message listener
instance of RSI Spectrum ws
instance of RSI api
Sets a function to be called everytime a new TextMessage is received in this lobby. /!\ to receive any messages you need to be subscribed to this lobby
the function to callback on messages
Builds and return the expected subscribtion ws message for this channel
the message that can be sent to the ws to subscribe to this channel
Tells the broadcaster to stop sending the messages from this lobby to the callback. Does not unSubscribe from the channel on its own.
Sends a plain text message to the lobby
the text to send
the role id to take (color of the post)
A promise on the rsi api call
Sends a text messages with an embeded link
the text to send
the role id to take (color of the post)
information on the created post
Subscribe a lobby will subscribe to its ws event and broadcast presence It is needed to subscribe to a channel to get any update from it (new message/reaction...)
Generated using TypeDoc
Used internal to represent a spectrum text lobby
SpectrumLobby