Event

Types

Link copied to clipboard
sealed class Conversation : Event
Link copied to clipboard
sealed class FeatureConfig : Event
Link copied to clipboard
sealed class Federation : Event
Link copied to clipboard
sealed class Team : Event
Link copied to clipboard
data class Unknown(val id: String, val unknownType: String, val cause: String? = null) : Event
Link copied to clipboard
sealed class User : Event
Link copied to clipboard
sealed class UserProperty : Event

Properties

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