libkazv
Kazv::Api::GetNotificationsJob::Notification Struct Reference

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

#include <notifications.hpp>

Collaboration diagram for Kazv::Api::GetNotificationsJob::Notification:

Public Attributes

immer::array< Variantactions
 The action(s) to perform when the conditions for this rule are met. More...
 
Event event
 The Event object for the event that triggered the notification. More...
 
bool read
 Indicates whether the user has sent a read receipt indicating that they have read this message. More...
 
std::string roomId
 The ID of the room in which the event was posted. More...
 
std::int_fast64_t ts
 The unix timestamp at which the event notification was sent, in milliseconds. More...
 
std::optional< std::string > profileTag
 The profile tag of the rule that matched this event. More...
 

Detailed Description

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

Member Data Documentation

◆ actions

immer::array<Variant> Kazv::Api::GetNotificationsJob::Notification::actions

The action(s) to perform when the conditions for this rule are met.

See Push Rules: API.

◆ event

Event Kazv::Api::GetNotificationsJob::Notification::event

The Event object for the event that triggered the notification.

◆ profileTag

std::optional<std::string> Kazv::Api::GetNotificationsJob::Notification::profileTag

The profile tag of the rule that matched this event.

◆ read

bool Kazv::Api::GetNotificationsJob::Notification::read

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

◆ roomId

std::string Kazv::Api::GetNotificationsJob::Notification::roomId

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

◆ ts

std::int_fast64_t Kazv::Api::GetNotificationsJob::Notification::ts

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


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