IChatController

interface IChatController

Properties

Link copied to clipboard
abstract val channels: List<ChatChannel>
Link copied to clipboard

Functions

Link copied to clipboard
abstract suspend fun getMessagesPaginated(timestamp: Long, size: Int, offset: Int, reversed: Boolean, channelId: String?): Result<GetMessagesResult, String>
Link copied to clipboard
abstract suspend fun loadChatMessages()
Link copied to clipboard
abstract suspend fun sendFileMessage(fileUri: Uri)
abstract suspend fun sendFileMessage(filePath: String)
Link copied to clipboard
abstract suspend fun sendImageMessage(imageUri: Uri)
abstract suspend fun sendImageMessage(imagePath: String)
Link copied to clipboard
abstract suspend fun sendMessage(message: String)
Link copied to clipboard
abstract fun setRoomUUID(uuid: String)