Newer
Older
#if __has_include(<nlohmann/json_fwd.hpp>)
#include <nlohmann/json_fwd.hpp>
#else
#include <nlohmann/json.hpp>
#include "mtx/events/common.hpp"
namespace mtx {
namespace events {
namespace msg {
//! Content of `m.room.message` with msgtype `m.video`.
/// @brief A description of the video or some kind of content description
/// for accessibility.
//! Encryption members. If present, they replace url.
std::optional<crypto::EncryptedFile> file;
from_json(const nlohmann::json &obj, Video &content);
to_json(nlohmann::json &obj, const Video &content);
} // namespace msg
} // namespace events
} // namespace mtx