trixnity
Toggle table of contents
5.2.0-SNAPSHOT.CI-20260302.101522
common
Target filter
common
Switch theme
Search in API
Skip to content
trixnity
trixnity-core
/
de.connect2x.trixnity.core.model.events.m
/
PresenceDataUnitContent
/
PresenceUpdate
Presence
Update
@
Serializable
data
class
PresenceUpdate
(
val
presence
:
Presence
,
val
userId
:
UserId
,
val
lastActiveAgo
:
Long
,
val
isCurrentlyActive
:
Boolean
?
=
null
,
val
statusMessage
:
String
?
=
null
)
Members
Constructors
Presence
Update
Link copied to clipboard
constructor
(
presence
:
Presence
,
userId
:
UserId
,
lastActiveAgo
:
Long
,
isCurrentlyActive
:
Boolean
?
=
null
,
statusMessage
:
String
?
=
null
)
Properties
is
Currently
Active
Link copied to clipboard
@
SerialName
(
value
=
"currently_active"
)
val
isCurrentlyActive
:
Boolean
?
last
Active
Ago
Link copied to clipboard
@
SerialName
(
value
=
"last_active_ago"
)
val
lastActiveAgo
:
Long
presence
Link copied to clipboard
@
SerialName
(
value
=
"presence"
)
val
presence
:
Presence
status
Message
Link copied to clipboard
@
SerialName
(
value
=
"status_msg"
)
val
statusMessage
:
String
?
user
Id
Link copied to clipboard
@
SerialName
(
value
=
"user_id"
)
val
userId
:
UserId