libkazv
Kazv::Api::InitialSyncJob::PaginationChunk Struct Reference

The pagination chunk for this room. More...

#include <old_sync.hpp>

Public Attributes

std::string end
 A token which correlates to the end of chunk. More...
 
EventList chunk
 If the user is a member of the room this will be a list of the most recent messages for this room. More...
 
std::optional< std::string > start
 A token which correlates to the start of chunk. More...
 

Detailed Description

The pagination chunk for this room.

Member Data Documentation

◆ chunk

EventList Kazv::Api::InitialSyncJob::PaginationChunk::chunk

If the user is a member of the room this will be a list of the most recent messages for this room.

If the user has left the room this will be the messages that preceded them leaving. This array will consist of at most limit elements.

◆ end

std::string Kazv::Api::InitialSyncJob::PaginationChunk::end

A token which correlates to the end of chunk.

Can be passed to /rooms/<room_id>/messages to retrieve later events.

◆ start

std::optional<std::string> Kazv::Api::InitialSyncJob::PaginationChunk::start

A token which correlates to the start of chunk.

Can be passed to /rooms/<room_id>/messages to retrieve earlier events.

If no earlier events are available, this property may be omitted from the response.


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