mtx::events::state::Avatar struct

Content of the m.room.avatar event.

A picture that is associated with the room. This can be displayed alongside the room information.

Public variables

mtx::common::ImageInfo image_info
Metadata about the image referred to in url.
std::string url
The URL to the image.

Friends

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