mtx::events::state::Tombstone struct

Content for the m.room.tombstone event.

A state event signifying that a room has been upgraded to a different room version, and that clients should go there.

Public variables

std::string body
Required. A server-defined message.
std::string replacement_room
Required. The new room the client should be visiting.

Friends

void from_json(const nlohmann::json& obj, Tombstone& content)
Deserialization method needed by nlohmann::json.
void to_json(nlohmann::json& obj, const Tombstone& content)
Serialization method needed by nlohmann::json.