struct
ReceiptRead notifications / m.receipt
These receipts are a form of acknowledgement of an event. This module defines a single acknowledgement: m.read which indicates that the user has read up to a given event.
Public types
- enum ReceiptType { Read, ReadPrivate }
- The type of read receipt, currently public or private.
Public variables
- std::map<std::string, std::map<ReceiptType, Receipts>> receipts
- The mapping of event ID to a collection of receipts for this event ID. The event ID is the ID of the event being acknowledged and not an ID for the receipt itself.
Friends
Enum documentation
enum mtx:: events:: ephemeral:: Receipt:: ReceiptType
The type of read receipt, currently public or private.
Enumerators | |
---|---|
Read |
A public read receipt (m.read) |
ReadPrivate |
A private read receipt (MSC2285) |