mtx::events::account_data::FullyRead struct

The fully read marker for this user / m.fully_read.

The history for a given room may be split into three sections: messages the user has read (or indicated they aren't interested in them), messages the user might have read some but not others, and messages the user hasn't seen yet. The "fully read marker" (also known as a "read marker") marks the last event of the first section, whereas the user's read receipt marks the last event of the second section.

Public variables

std::string event_id
Required. The event the user's read marker is located at in the room.

Friends

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