15 explicit RoomKeyEvent(
const QString& algorithm,
const QString& roomId,
16 const QString& sessionId,
const QString& sessionKey)
17 : Event(basicJson(TypeId, {
18 {
"algorithm"_L1, algorithm },
19 {
"room_id"_L1, roomId },
20 {
"session_id"_L1, sessionId },
21 {
"session_key"_L1, sessionKey },
28 QByteArray sessionKey()
const
30 return contentPart<QString>(
"session_key"_L1).toLatin1();
#define QUO_CONTENT_GETTER(PartType_, PartName_)
Define an inline method obtaining a content part.
#define QUO_EVENT(CppType_, MatrixType_)
Supply event metatype information in (specific) event types.