#include <include/mtx/events.hpp>
template<class Content>
EphemeralEvent struct
An ephemeral event like typing or read receipts.
Public variables
- Content content
- The fields in this object will vary depending on the type of event. When interacting with the REST API, this is the HTTP body.
- EventType type
- The type of event. This should be namespaced similar to Java package naming conventions e.g. 'com.example.subdomain.event.type'.
- std::string room_id
- The room this was sent in. May not always be present.