mtx::events::state::Create struct

Content of the m.room.create event.

This is the first event in a room and cannot be changed. It acts as the root of all other events.

Public variables

std::optional<std::string> type
The room type, for example m.space for spaces.
bool federate
Whether users on other servers can join this room. Defaults to true if key does not exist.
std::string room_version
The version of the room. Defaults to "1" if the key does not exist.
std::optional<PreviousRoom> predecessor
A reference to the room this room replaces, if the previous room was upgraded.