Event

internal sealed class Event

Represents an event.

Inheritors

Types

Link copied to clipboard
internal sealed class Conversation : Event
Link copied to clipboard
internal sealed class FeatureConfig : Event
Link copied to clipboard
internal sealed class Federation : Event
Link copied to clipboard
internal sealed class Team : Event
Link copied to clipboard
internal data class Unknown(val id: String, val unknownType: String?, val cause: String? = null) : Event
Link copied to clipboard
internal sealed class User : Event
Link copied to clipboard
internal 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
internal abstract fun toLogMap(): Map<String, Any?>
Link copied to clipboard
internal open fun toLogString(): String