libkazv
Kazv::Api::GetSpaceHierarchyJob::StrippedChildStateEvent Struct Reference

Paginates over the space tree in a depth-first manner to locate child rooms of a given space. More...

#include <space_hierarchy.hpp>

Inheritance diagram for Kazv::Api::GetSpaceHierarchyJob::StrippedChildStateEvent:
Collaboration diagram for Kazv::Api::GetSpaceHierarchyJob::StrippedChildStateEvent:

Public Attributes

std::int_fast64_t originServerTs
 The origin_server_ts for the event. More...
 

Additional Inherited Members

- Public Types inherited from Kazv::Event
enum  DecryptionStatus { NotDecrypted , Decrypted }
 
- Public Member Functions inherited from Kazv::Event
 Event ()
 
 Event (JsonWrap j)
 
std::string id () const
 returns the id of this event More...
 
std::string sender () const
 
Timestamp originServerTs () const
 
std::string type () const
 
std::string stateKey () const
 
bool isState () const
 
JsonWrap content () const
 
JsonWrap raw () const
 returns the decrypted json More...
 
JsonWrap originalJson () const
 returns the original json we fetched, probably encrypted. More...
 
JsonWrap decryptedJson () const
 
bool encrypted () const
 
bool decrypted () const
 
Event setDecryptedJson (JsonWrap decryptedJson, DecryptionStatus decrypted) const
 internal. only to be called from inside the client. More...
 
bool redacted () const
 returns whether this event has been redacted. More...
 
std::string replyingTo () const
 Get the event id this event is replying to. More...
 
std::pair< std::string, std::string > relationship () const
 Get the relationship that this event contains. More...
 
JsonWrap mRelatesTo () const
 Get the m.relates_to object in the event. More...
 
template<class Archive >
void serialize (Archive &ar, std::uint32_t const)
 
- Static Public Member Functions inherited from Kazv::Event
static Event fromSync (Event e, std::string roomId)
 
- Static Public Attributes inherited from Kazv::Event
static const JsonWrap notYetDecryptedEvent
 

Detailed Description

Paginates over the space tree in a depth-first manner to locate child rooms of a given space.

Where a child room is unknown to the local server, federation is used to fill in the details. The servers listed in the via array should be contacted to attempt to fill in missing rooms.

Only m.space.child state events of the room are considered. Invalid child rooms and parent events are not covered by this endpoint.

Member Data Documentation

◆ originServerTs

std::int_fast64_t Kazv::Api::GetSpaceHierarchyJob::StrippedChildStateEvent::originServerTs

The origin_server_ts for the event.


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