mtx::responses::Notifications struct

Response from the GET /_matrix/client/r0/notifications endpoint.

The endpoint is used to paginate through the list of events that the user has been, or would have been notified about.

Public variables

std::vector<Notification> notifications
The token to supply in the from param of the next /notifications request in order to request more events. If this is absent, there are no more results. TODO: https://github.com/matrix-org/synapse/pull/3190.

Variable documentation

std::vector<Notification> mtx::responses::Notifications::notifications

The token to supply in the from param of the next /notifications request in order to request more events. If this is absent, there are no more results. TODO: https://github.com/matrix-org/synapse/pull/3190.

The list of events that triggered notifications.