libkazv
|
This returns the full state for this user, with an optional limit on the number of messages per room to return. More...
#include <old_sync.hpp>
Public Attributes | |
std::string | roomId |
The ID of this room. More... | |
std::string | membership |
The user's membership state in this room. More... | |
JsonWrap | invite |
The invite event if membership is invite More... | |
std::optional< PaginationChunk > | messages |
The pagination chunk for this room. More... | |
EventList | state |
If the user is a member of the room this will be the current state of the room as a list of events. More... | |
std::optional< std::string > | visibility |
Whether this room is visible to the /publicRooms API or not. More... | |
EventList | accountData |
The private data that this user has attached to this room. More... | |
This returns the full state for this user, with an optional limit on the number of messages per room to return.
This endpoint was deprecated in r0 of this specification. Clients should instead call the /sync
endpoint with no since
parameter. See the migration guide.
EventList Kazv::Api::InitialSyncJob::RoomInfo::accountData |
The private data that this user has attached to this room.
JsonWrap Kazv::Api::InitialSyncJob::RoomInfo::invite |
The invite event if membership
is invite
std::string Kazv::Api::InitialSyncJob::RoomInfo::membership |
The user's membership state in this room.
std::optional<PaginationChunk> Kazv::Api::InitialSyncJob::RoomInfo::messages |
The pagination chunk for this room.
std::string Kazv::Api::InitialSyncJob::RoomInfo::roomId |
The ID of this room.
EventList Kazv::Api::InitialSyncJob::RoomInfo::state |
If the user is a member of the room this will be the current state of the room as a list of events.
If the user has left the room this will be the state of the room when they left it.
std::optional<std::string> Kazv::Api::InitialSyncJob::RoomInfo::visibility |
Whether this room is visible to the /publicRooms
API or not.
"