libQuotient
A Qt library for building matrix clients
Quotient::GetNotificationsJob::Notification Struct Reference

#include <notifications.h>

Public Attributes

QVector< QVariant > actions
 
EventPtr event
 The Event object for the event that triggered the notification. More...
 
bool read
 
QString roomId
 The ID of the room in which the event was posted. More...
 
qint64 ts
 
QString profileTag {}
 The profile tag of the rule that matched this event. More...
 

Detailed Description

Definition at line 18 of file notifications.h.

Member Data Documentation

◆ actions

QVector<QVariant> Quotient::GetNotificationsJob::Notification::actions

The action(s) to perform when the conditions for this rule are met. See Push Rules: API.

Definition at line 21 of file notifications.h.

◆ event

EventPtr Quotient::GetNotificationsJob::Notification::event

The Event object for the event that triggered the notification.

Definition at line 24 of file notifications.h.

◆ profileTag

QString Quotient::GetNotificationsJob::Notification::profileTag {}

The profile tag of the rule that matched this event.

Definition at line 38 of file notifications.h.

◆ read

bool Quotient::GetNotificationsJob::Notification::read

Indicates whether the user has sent a read receipt indicating that they have read this message.

Definition at line 28 of file notifications.h.

◆ roomId

QString Quotient::GetNotificationsJob::Notification::roomId

The ID of the room in which the event was posted.

Definition at line 31 of file notifications.h.

◆ ts

qint64 Quotient::GetNotificationsJob::Notification::ts

The unix timestamp at which the event notification was sent, in milliseconds.

Definition at line 35 of file notifications.h.


The documentation for this struct was generated from the following file: