libkazv
Kazv::Api::PostPusherJob::PusherData Struct Reference

A dictionary of information for the pusher implementation itself. More...

#include <pusher.hpp>

Public Attributes

std::optional< std::string > url
 Required if kind is http. More...
 
std::optional< std::string > format
 The format to send notifications in to Push Gateways if the kind is http. More...
 

Detailed Description

A dictionary of information for the pusher implementation itself.

If kind is http, this should contain url which is the URL to use to send notifications to.

Member Data Documentation

◆ format

std::optional<std::string> Kazv::Api::PostPusherJob::PusherData::format

The format to send notifications in to Push Gateways if the kind is http.

The details about what fields the homeserver should send to the push gateway are defined in the Push Gateway Specification. Currently the only format available is 'event_id_only'.

◆ url

std::optional<std::string> Kazv::Api::PostPusherJob::PusherData::url

Required if kind is http.

The URL to use to send notifications to. MUST be an HTTPS URL with a path of /_matrix/push/v1/notify.


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