struct
#include <include/mtx/events/encrypted.hpp>
RoomKey Content of the m.room_key
event.
Public variables
- std::string algorithm
- Required. The encryption algorithm the key in this event is to be used with.
- std::string room_id
- Required. The room where the key is used.
- std::string session_id
- Required. The ID of the session that the key is for.
- std::string session_key
- Required. The key to be exchanged.
Variable documentation
std::string mtx:: events:: msg:: RoomKey:: algorithm
Required. The encryption algorithm the key in this event is to be used with.
Must be 'm.megolm.v1.aes-sha2'.