ReceiveRoomMessagesOptions

data class ReceiveRoomMessagesOptions(val socket: SocketManager?, val roomName: String, val updateMessages: (List<Message>) -> Unit)

Options for receiving room messages.

Constructors

Link copied to clipboard
constructor(socket: SocketManager?, roomName: String, updateMessages: (List<Message>) -> Unit)

Properties

Link copied to clipboard

The name of the room for which messages are to be retrieved

Link copied to clipboard

The socket connection to communicate with the server

Link copied to clipboard

Callback to update the message list with retrieved messages