Class RawEncryptedContent
- java.lang.Object
-
- io.github.ma1uta.matrix.event.content.RoomEncryptedContent
-
- io.github.ma1uta.matrix.event.encrypted.RawEncryptedContent
-
- All Implemented Interfaces:
EventContent
public class RawEncryptedContent extends RoomEncryptedContent
Raw message for unknown messages.
-
-
Constructor Summary
Constructors Constructor Description RawEncryptedContent(Object content, String algorithm)
-
Method Summary
Modifier and Type Method Description String
getAlgorithm()
Required.Object
getProps()
-
Methods inherited from class io.github.ma1uta.matrix.event.content.RoomEncryptedContent
getDeviceId, getSenderKey, getSessionId, setDeviceId, setSenderKey, setSessionId
-
-
-
-
Method Detail
-
getProps
public Object getProps()
-
getAlgorithm
public String getAlgorithm()
Description copied from class:RoomEncryptedContent
Required. The encryption algorithm used to encrypt this event. The value of this field determines which other properties will be present. One of: ["m.olm.v1.curve25519-aes-sha2", "m.megolm.v1.aes-sha2"].- Specified by:
getAlgorithm
in classRoomEncryptedContent
- Returns:
- algorithm.
-
-