libkazv
Kazv::Api::UnsignedData Struct Reference

Contains optional extra information about the event. More...

#include <client_event_without_room_id.hpp>

Collaboration diagram for Kazv::Api::UnsignedData:

Public Attributes

std::optional< std::int_fast64_t > age
 The time in milliseconds that has elapsed since the event was sent. This field is generated by the local homeserver, and may be incorrect if the local time on at least one of the two servers is out of sync, which can cause the age to either be negative or greater than it actually is. More...
 
JsonWrap redactedBecause
 The event that redacted this event, if any. More...
 
std::optional< std::string > transactionId
 The client-supplied transaction ID, for example, provided via PUT /_matrix/client/v3/rooms/{roomId}/send/{eventType}/{txnId}, if the client being given the event is the same one which sent it. More...
 
JsonWrap prevContent
 The previous content for this event. More...
 

Detailed Description

Contains optional extra information about the event.

Member Data Documentation

◆ age

std::optional<std::int_fast64_t> Kazv::Api::UnsignedData::age

The time in milliseconds that has elapsed since the event was sent. This field is generated by the local homeserver, and may be incorrect if the local time on at least one of the two servers is out of sync, which can cause the age to either be negative or greater than it actually is.

◆ prevContent

JsonWrap Kazv::Api::UnsignedData::prevContent

The previous content for this event.

This field is generated by the local homeserver, and is only returned if the event is a state event, and the client has permission to see the previous content.

◆ redactedBecause

JsonWrap Kazv::Api::UnsignedData::redactedBecause

The event that redacted this event, if any.

◆ transactionId

std::optional<std::string> Kazv::Api::UnsignedData::transactionId

The client-supplied transaction ID, for example, provided via PUT /_matrix/client/v3/rooms/{roomId}/send/{eventType}/{txnId}, if the client being given the event is the same one which sent it.


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