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
/
DirectToDeviceDataUnitContent
Direct
To
Device
Data
Unit
Content
@
Serializable
data
class
DirectToDeviceDataUnitContent
(
val
messageId
:
String
,
val
messages
:
Map
<
UserId
,
Map
<
String
,
JsonObject
>
>
,
val
sender
:
UserId
,
val
type
:
String
)
:
EphemeralDataUnitContent
See also
matrix spec
Members
Constructors
Direct
To
Device
Data
Unit
Content
Link copied to clipboard
constructor
(
messageId
:
String
,
messages
:
Map
<
UserId
,
Map
<
String
,
JsonObject
>
>
,
sender
:
UserId
,
type
:
String
)
Properties
message
Id
Link copied to clipboard
@
SerialName
(
value
=
"message_id"
)
val
messageId
:
String
messages
Link copied to clipboard
@
SerialName
(
value
=
"messages"
)
val
messages
:
Map
<
UserId
,
Map
<
String
,
JsonObject
>
>
sender
Link copied to clipboard
@
SerialName
(
value
=
"sender"
)
val
sender
:
UserId
type
Link copied to clipboard
@
SerialName
(
value
=
"type"
)
val
type
:
String