struct
#include <include/mtx/events/encryption.hpp>
Encryption Content of the m.room.encryption
event.
A client can enable encryption to a room by sending this event.
Public variables
- std::string algorithm
- Defines which encryption algorithm should be used for encryption. Currently only m.megolm.v1-aes-sha2 is permitted.
- uint64_t rotation_period_ms
- How long the session should be used before changing it. 604800000 (a week) is the recommended default.
- uint64_t rotation_period_msgs
- How many messages should be sent before changing the session. 100 is the recommended default.