Package-level declarations

Types

Link copied to clipboard
actual class ChatConfigError : RtkError
expect class ChatConfigError : RtkError
actual class ChatConfigError : RtkError
Link copied to clipboard
Link copied to clipboard
actual sealed class ChatFileError : RtkError
expect sealed class ChatFileError : RtkError
actual sealed class ChatFileError : RtkError
Link copied to clipboard
Link copied to clipboard
open class ChatMessage(val userId: String, val displayName: String, val read: Boolean, val pluginId: String?, val type: ChatMessageType, val time: String, val createdAtMillis: Long, val targetUserIds: List<String>?)
Link copied to clipboard
Link copied to clipboard
actual sealed class ChatTextError : RtkError
expect sealed class ChatTextError : RtkError
actual sealed class ChatTextError : RtkError
Link copied to clipboard
Link copied to clipboard
class FileMessage(val userId: String, val displayName: String, val read: Boolean, val pluginId: String?, val name: String, val time: String, val createdAtMillis: Long, val link: String, val size: Long, val targetUserIds: List<String>?) : ChatMessage
Link copied to clipboard
class ImageMessage(val userId: String, val displayName: String, val read: Boolean, val pluginId: String?, val link: String, val time: String, val createdAtMillis: Long, val targetUserIds: List<String>?) : ChatMessage
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class TextMessage(val userId: String, val displayName: String, val read: Boolean, val pluginId: String?, val message: String, val time: String, val createdAtMillis: Long, val targetUserIds: List<String>?) : ChatMessage

Functions

Link copied to clipboard
Link copied to clipboard
fun RtkChat.sendFileMessage(fileUri: Uri, onResult: (ChatFileError?) -> Unit)
fun RtkChat.sendFileMessage(fileUri: Uri, peerIds: List<String>, onResult: (ChatFileError?) -> Unit)
fun RtkChat.sendFileMessage(fileUri: NSURL, onResult: (ChatFileError?) -> Unit)
fun RtkChat.sendFileMessage(fileUri: NSURL, peerIds: List<String>, onResult: (ChatFileError?) -> Unit)
Link copied to clipboard
fun RtkChat.sendImageMessage(imageUri: Uri, onResult: (ChatFileError?) -> Unit)
fun RtkChat.sendImageMessage(imageUri: Uri, peerIds: List<String>, onResult: (ChatFileError?) -> Unit)
fun RtkChat.sendImageMessage(imageUri: NSURL, onResult: (ChatFileError?) -> Unit)
fun RtkChat.sendImageMessage(imageUri: NSURL, peerIds: List<String>, onResult: (ChatFileError?) -> Unit)