MessageManager
interface MessageManager
Manages messaging functionality such as connecting to chat rooms, sending messages, and handling chat room events.
Inheritors
Functions
Link copied to clipboard
abstract fun deleteMessage(messageId: String, userCustomName: String, timestampReceivedAt: String? = null)
Deletes a message from the chat room.
Link copied to clipboard
Disconnects from the chat room.
Link copied to clipboard
abstract fun getChatHistory(beforeAt: String? = null, limit: Int? = null, afterAt: String? = null, fromOldest: Boolean? = null, types: Array<String>? = null)
Retrieves chat history from the chat room.
Link copied to clipboard
abstract fun getMessages(beforeAt: String? = null, limit: Int? = null, afterAt: String? = null, fromOldest: Boolean? = null, types: Array<String>? = null)
Retrieves messages from the chat room.
Link copied to clipboard
Mutes the chat room.
Link copied to clipboard
abstract fun pinMessage(messageId: String, text: String, userId: String, userDeviceId: String, userCustomName: String)
Pins a message in the chat room.
Link copied to clipboard
Publishes a countable custom message to the chat room.
Link copied to clipboard
Publishes a custom message to the chat room.
Link copied to clipboard
Publishes a message to the chat room.
Link copied to clipboard
Refreshes the chat room token.
Link copied to clipboard
Unblocks a previously blocked user in the chat room.
Link copied to clipboard
Unmutes the chat room.
Link copied to clipboard
Unpins a previously pinned message in the chat room.
Link copied to clipboard
Updates the current user's information in the chat room.
Link copied to clipboard
Updates viewer information in the chat room.