mtx::responses::KnockedRoom struct

A room that the user has knocked on.

Public functions

auto name() const -> std::string
Returns the name of the room.
auto avatar() const -> std::string
Returns the URL for the avatar of the room.

Public variables

std::vector<events::collections::StrippedEvents> knock_state
The state of a room that the user has knocked on. These state events may only have the sender, type, state_key and content keys present.