Newer
Older
using json = nlohmann::json;
namespace mtx {
namespace events {
namespace msg {
struct Notice
{
// The notice text to send.
std::string body;
// Must be 'm.notice'.
std::string msgtype;
//! We only handle org.matrix.custom.html.
std::string format;
//! HTML formatted message.
std::string formatted_body;
// Relates to for rich replies
common::RelatesTo relates_to;