toggle menu
trixnity-core
4.3.0
common
switch theme
search in API
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
@
SerialName
(
value
=
"avatar_url"
)
val
avatarUrl
:
String
?
=
null
display
Name
Link copied to clipboard
@
SerialName
(
value
=
"displayname"
)
val
displayName
:
String
?
=
null
is
Currently
Active
Link copied to clipboard
@
SerialName
(
value
=
"currently_active"
)
val
isCurrentlyActive
:
Boolean
?
=
null
last
Active
Ago
Link copied to clipboard
@
SerialName
(
value
=
"last_active_ago"
)
val
lastActiveAgo
:
Long
?
=
null
presence
Link copied to clipboard
@
SerialName
(
value
=
"presence"
)
val
presence
:
Presence
status
Message
Link copied to clipboard
@
SerialName
(
value
=
"status_msg"
)
val
statusMessage
:
String
?
=
null