libkazv
Kazv::Api::InitialSyncJob::RoomInfo Struct Reference

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>

Collaboration diagram for Kazv::Api::InitialSyncJob::RoomInfo:

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< PaginationChunkmessages
 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...
 

Detailed Description

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.

Member Data Documentation

◆ accountData

EventList Kazv::Api::InitialSyncJob::RoomInfo::accountData

The private data that this user has attached to this room.

◆ invite

JsonWrap Kazv::Api::InitialSyncJob::RoomInfo::invite

The invite event if membership is invite

◆ membership

std::string Kazv::Api::InitialSyncJob::RoomInfo::membership

The user's membership state in this room.

◆ messages

std::optional<PaginationChunk> Kazv::Api::InitialSyncJob::RoomInfo::messages

The pagination chunk for this room.

◆ roomId

std::string Kazv::Api::InitialSyncJob::RoomInfo::roomId

The ID of this room.

◆ state

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.

◆ visibility

std::optional<std::string> Kazv::Api::InitialSyncJob::RoomInfo::visibility

Whether this room is visible to the /publicRooms API or not.

"


The documentation for this struct was generated from the following file: