include/mtx/events.hpp file

Basetypes for events. Content is defined elsewhere.

Namespaces

namespace mtx
Top level namespace for mtxclient.
namespace mtx::events
Namespace for all events.

Classes

template<class Content>
struct mtx::events::Event
The basic set of fields all events must have.
template<class Content>
struct mtx::events::DeviceEvent
Extension of the Event type for device events.
struct mtx::events::UnsignedData
Additional server provided data for this event.
template<class Content>
struct mtx::events::RoomEvent
RoomEvent.
template<class Content>
struct mtx::events::StateEvent
Extension of the RoomEvent.
template<class Content>
struct mtx::events::RedactionEvent
Extension of the RoomEvent.
template<class Content>
struct mtx::events::EncryptedEvent
Extension of the RoomEvent.
template<class Content>
struct mtx::events::EphemeralEvent
An ephemeral event like typing or read receipts.