trixnity-core
3.10.0
common
trixnity-core
/
net.folivo.trixnity.core.model.events.m.room
/
EncryptedEventContent
/
MegolmEncryptedEventContent
Megolm
Encrypted
Event
Content
@
Serializable
data
class
MegolmEncryptedEventContent
(
val
ciphertext
:
String
,
val
senderKey
:
Key.Curve25519Key
?
=
null
,
val
deviceId
:
String
?
=
null
,
val
sessionId
:
String
,
val
relatesTo
:
RelatesTo
?
=
null
,
val
mentions
:
Mentions
?
=
null
)
:
EncryptedEventContent
Members
Constructors
Megolm
Encrypted
Event
Content
Link copied to clipboard
constructor
(
ciphertext
:
String
,
senderKey
:
Key.Curve25519Key
?
=
null
,
deviceId
:
String
?
=
null
,
sessionId
:
String
,
relatesTo
:
RelatesTo
?
=
null
,
mentions
:
Mentions
?
=
null
)
Properties
algorithm
Link copied to clipboard
open
override
val
algorithm
:
EncryptionAlgorithm.Megolm
ciphertext
Link copied to clipboard
val
ciphertext
:
String
device
Id
Link copied to clipboard
val
deviceId
:
String
?
=
null
mentions
Link copied to clipboard
open
override
val
mentions
:
Mentions
?
=
null
relates
To
Link copied to clipboard
open
override
val
relatesTo
:
RelatesTo
?
=
null
sender
Key
Link copied to clipboard
val
senderKey
:
Key.Curve25519Key
?
=
null
session
Id
Link copied to clipboard
val
sessionId
:
String