mtx::responses::Notification struct

Description for a notification.

Public variables

std::vector<mtx::pushrules::actions::Action> actions
The action to perform when the conditions for this rule are met.
mtx::events::collections::TimelineEvents event
The Event object for the event that triggered the notification.
bool read
Indicates whether the user has sent a read receipt indicating that they have read this message.
std::string profile_tag
The profile tag of the rule that matched this event.
std::string room_id
The ID of the room in which the event was posted.
uint64_t ts
The unix timestamp at which the event notification was sent, in milliseconds.