struct
#include <include/mtx/requests.hpp>
PusherData Information about a pusher.
Public variables
- std::string 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. - std::string 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'.
- std::optional<nlohmann::json> default_payload
- Push gateway specific data.