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
/
PresenceEventContent
Presence
Event
Content
@
Serializable
data
class
PresenceEventContent
(
val
presence
:
Presence
,
val
avatarUrl
:
String
?
=
null
,
val
displayName
:
String
?
=
null
,
val
lastActiveAgo
:
Long
?
=
null
,
val
isCurrentlyActive
:
Boolean
?
=
null
,
val
statusMessage
:
String
?
=
null
)
:
EphemeralEventContent
See also
matrix spec
Members
Constructors
Presence
Event
Content
Link copied to clipboard
constructor
(
presence
:
Presence
,
avatarUrl
:
String
?
=
null
,
displayName
:
String
?
=
null
,
lastActiveAgo
:
Long
?
=
null
,
isCurrentlyActive
:
Boolean
?
=
null
,
statusMessage
:
String
?
=
null
)
Properties
avatar
Url
Link copied to clipboard
@
SerialName
(
value
=
"avatar_url"
)
val
avatarUrl
:
String
?
display
Name
Link copied to clipboard
@
SerialName
(
value
=
"displayname"
)
val
displayName
:
String
?
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
?