mtx::events::state::Aliases struct

Content for the m.room.aliases event.

This event is sent by a homeserver directly to inform of changes to the list of aliases it knows about for that room. The state_key for this event is set to the homeserver which owns the room alias. The entire set of known aliases for the room is the union of all the m.room.aliases events, one for each homeserver.

Public variables

std::vector<std::string> aliases
A list of room aliases.

Friends

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