UserPresence

@Serializable
data class UserPresence(val presence: Presence, val lastUpdate: Instant, val lastActive: Instant? = null, val isCurrentlyActive: Boolean? = null, val statusMessage: String? = null)

Constructors

Link copied to clipboard
constructor(presence: Presence, lastUpdate: Instant, lastActive: Instant? = null, isCurrentlyActive: Boolean? = null, statusMessage: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val lastActive: Instant? = null

The instant, when the server marked the user as active.

Link copied to clipboard
val lastUpdate: Instant

The instant, when the last update of the UserPresence arrived from sync.

Link copied to clipboard
val presence: Presence
Link copied to clipboard
val statusMessage: String? = null