struct
PublicRoomsResponse from the GET /_matrix/client/r0/publicRooms
& POST /_matrix/client/r0/publicRooms
endpoints.
Public variables
- std::vector<PublicRoomsChunk> chunk
- Required. A paginated chunk of public rooms.
- std::string next_batch
- A pagination token for the response. The absence of this token means there are no more results to fetch and the client should stop paginating.
- std::string prev_batch
- A pagination token that allows fetching previous results. The absence of this token means there are no results before this batch, i.e. this is the first batch.
- std::optional<size_t> total_room_count_estimate
- An estimate on the total number of public rooms, if the server has an estimate.