libkazv
|
The format used for events when they are returned from API endpoints such as /sync
, where the room_id
is implied elsewhere in the response.
More...
#include <client_event_without_room_id.hpp>
Public Attributes | |
std::string | eventId |
The globally unique identifier for this event. More... | |
std::string | type |
The type of the event. More... | |
std::string | sender |
Contains the fully-qualified ID of the user who sent this event. More... | |
std::int_fast64_t | originServerTs |
Timestamp (in milliseconds since the unix epoch) on originating homeserver when this event was sent. More... | |
JsonWrap | content |
The body of this event, as created by the client which sent it. More... | |
std::optional< std::string > | stateKey |
Present if, and only if, this event is a state event. More... | |
std::optional< UnsignedData > | unsignedData |
Contains optional extra information about the event. More... | |
The format used for events when they are returned from API endpoints such as /sync
, where the room_id
is implied elsewhere in the response.
JsonWrap Kazv::Api::ClientEventWithoutRoomID::content |
The body of this event, as created by the client which sent it.
std::string Kazv::Api::ClientEventWithoutRoomID::eventId |
The globally unique identifier for this event.
std::int_fast64_t Kazv::Api::ClientEventWithoutRoomID::originServerTs |
Timestamp (in milliseconds since the unix epoch) on originating homeserver when this event was sent.
std::string Kazv::Api::ClientEventWithoutRoomID::sender |
Contains the fully-qualified ID of the user who sent this event.
std::optional<std::string> Kazv::Api::ClientEventWithoutRoomID::stateKey |
Present if, and only if, this event is a state event.
The key making this piece of state unique in the room. Note that it is often an empty string.
State keys starting with an @
are reserved for referencing user IDs, such as room members. With the exception of a few events, state events set with a given user's ID as the state key MUST only be set by that user.
std::string Kazv::Api::ClientEventWithoutRoomID::type |
The type of the event.
std::optional<UnsignedData> Kazv::Api::ClientEventWithoutRoomID::unsignedData |
Contains optional extra information about the event.