trixnity-core
3.10.0
common
trixnity-core
/
net.folivo.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
val
avatarUrl
:
String
?
=
null
display
Name
Link copied to clipboard
val
displayName
:
String
?
=
null
is
Currently
Active
Link copied to clipboard
val
isCurrentlyActive
:
Boolean
?
=
null
last
Active
Ago
Link copied to clipboard
val
lastActiveAgo
:
Long
?
=
null
presence
Link copied to clipboard
val
presence
:
Presence
status
Message
Link copied to clipboard
val
statusMessage
:
String
?
=
null