Types

Link copied to clipboard
data class AccessUpdate(val id: String, val conversationId: <Error class: unknown class>, val access: Set<<Error class: unknown class>>, val accessRole: Set<<Error class: unknown class>>, val qualifiedFrom: <Error class: unknown class>) : Event.Conversation
Link copied to clipboard
data class CodeDeleted(val id: String, val conversationId: <Error class: unknown class>) : Event.Conversation
Link copied to clipboard
data class CodeUpdated(val id: String, val conversationId: <Error class: unknown class>, val key: String, val code: String, val uri: String?, val isPasswordProtected: Boolean) : Event.Conversation
Link copied to clipboard
data class ConversationMessageTimer(val id: String, val conversationId: <Error class: unknown class>, val messageTimer: Long?, val senderUserId: <Error class: unknown class>, val dateTime: <Error class: unknown class>) : Event.Conversation
Link copied to clipboard
data class ConversationProtocol(val id: String, val conversationId: <Error class: unknown class>, val protocol: <Error class: unknown class>, val senderUserId: <Error class: unknown class>) : Event.Conversation
Link copied to clipboard
data class ConversationReceiptMode(val id: String, val conversationId: <Error class: unknown class>, val receiptMode: <Error class: unknown class>, val senderUserId: <Error class: unknown class>) : Event.Conversation
Link copied to clipboard
data class DeletedConversation(val id: String, val conversationId: <Error class: unknown class>, val senderUserId: <Error class: unknown class>, val timestampIso: String) : Event.Conversation
Link copied to clipboard
Link copied to clipboard
data class MemberJoin(val id: String, val conversationId: <Error class: unknown class>, val addedBy: <Error class: unknown class>, val members: List<<Error class: unknown class>>, val dateTime: <Error class: unknown class>) : Event.Conversation
Link copied to clipboard
data class MemberLeave(val id: String, val conversationId: <Error class: unknown class>, val removedBy: <Error class: unknown class>, val removedList: List<<Error class: unknown class>>, val dateTime: <Error class: unknown class>, val reason: <Error class: unknown class>) : Event.Conversation
Link copied to clipboard
data class MLSWelcome(val id: String, val conversationId: <Error class: unknown class>, val senderUserId: <Error class: unknown class>, val message: String, val timestampIso: String = DateTimeUtil.currentIsoDateTimeString()) : Event.Conversation
Link copied to clipboard
data class NewConversation(val id: String, val conversationId: <Error class: unknown class>, val senderUserId: <Error class: unknown class>, val dateTime: <Error class: unknown class>, val conversation: <Error class: unknown class>) : Event.Conversation
Link copied to clipboard
data class NewMessage(val id: String, val conversationId: <Error class: unknown class>, val senderUserId: <Error class: unknown class>, val senderClientId: <Error class: unknown class>, val messageInstant: <Error class: unknown class>, val content: String, val encryptedExternalContent: <Error class: unknown class>?) : Event.Conversation
Link copied to clipboard
data class NewMLSMessage(val id: String, val conversationId: <Error class: unknown class>, val subconversationId: <Error class: unknown class>?, val senderUserId: <Error class: unknown class>, val messageInstant: <Error class: unknown class>, val content: String) : Event.Conversation
Link copied to clipboard
data class RenamedConversation(val id: String, val conversationId: <Error class: unknown class>, val conversationName: String, val senderUserId: <Error class: unknown class>, val dateTime: <Error class: unknown class>) : Event.Conversation
Link copied to clipboard
data class TypingIndicator(val id: String, val conversationId: <Error class: unknown class>, val senderUserId: <Error class: unknown class>, val timestampIso: String, val typingIndicatorMode: <Error class: unknown class>) : Event.Conversation

Properties

Link copied to clipboard
open val conversationId: <Error class: unknown class>
Link copied to clipboard
open val id: String

The ID of the event. As of Jan 2024, the ID used by the backend is not guaranteed to be unique, so comparing the full object might be necessary.

Functions

Link copied to clipboard
abstract fun toLogMap(): Map<String, Any?>
Link copied to clipboard
open fun toLogString(): String