trixnity-core
Toggle table of contents
4.13.3
common
Platform filter
common
Switch theme
Search in API
trixnity-core
trixnity-core
/
net.folivo.trixnity.core.model.events.m.room
/
EncryptedMessageEventContent
/
MegolmEncryptedMessageEventContent
Megolm
Encrypted
Message
Event
Content
@
Serializable
data
class
MegolmEncryptedMessageEventContent
(
val
ciphertext
:
String
,
val
senderKey
:
KeyValue.Curve25519KeyValue
?
=
null
,
val
deviceId
:
String
?
=
null
,
val
sessionId
:
String
,
val
relatesTo
:
RelatesTo
?
=
null
,
val
mentions
:
Mentions
?
=
null
,
val
externalUrl
:
String
?
=
null
)
:
EncryptedMessageEventContent
Members
Constructors
Megolm
Encrypted
Message
Event
Content
Link copied to clipboard
constructor
(
ciphertext
:
String
,
senderKey
:
KeyValue.Curve25519KeyValue
?
=
null
,
deviceId
:
String
?
=
null
,
sessionId
:
String
,
relatesTo
:
RelatesTo
?
=
null
,
mentions
:
Mentions
?
=
null
,
externalUrl
:
String
?
=
null
)
Properties
algorithm
Link copied to clipboard
@
SerialName
(
value
=
"algorithm"
)
open
override
val
algorithm
:
EncryptionAlgorithm.Megolm
ciphertext
Link copied to clipboard
@
SerialName
(
value
=
"ciphertext"
)
val
ciphertext
:
String
device
Id
Link copied to clipboard
@
SerialName
(
value
=
"device_id"
)
val
deviceId
:
String
?
=
null
external
Url
Link copied to clipboard
@
SerialName
(
value
=
"external_url"
)
open
override
val
externalUrl
:
String
?
=
null
mentions
Link copied to clipboard
@
SerialName
(
value
=
"m.mentions"
)
open
override
val
mentions
:
Mentions
?
=
null
relates
To
Link copied to clipboard
@
SerialName
(
value
=
"m.relates_to"
)
open
override
val
relatesTo
:
RelatesTo
?
=
null
sender
Key
Link copied to clipboard
@
SerialName
(
value
=
"sender_key"
)
val
senderKey
:
KeyValue.Curve25519KeyValue
?
=
null
session
Id
Link copied to clipboard
@
SerialName
(
value
=
"session_id"
)
val
sessionId
:
String