[][src]Module ruma_client_api::r0::push

Endpoints for push notifications.

Modules

delete_pushrule

DELETE /_matrix/client/r0/pushrules/{scope}/{kind}/{ruleId}

get_notifications

GET /_matrix/client/r0/notifications

get_pushers

GET /_matrix/client/r0/pushers

get_pushrule

GET /_matrix/client/r0/pushrules/{scope}/{kind}/{ruleId}

get_pushrule_actions

GET /_matrix/client/r0/pushrules/{scope}/{kind}/{ruleId}/actions

get_pushrule_enabled

GET /_matrix/client/r0/pushrules/{scope}/{kind}/{ruleId}/enabled

get_pushrules_all

GET /_matrix/client/r0/pushrules/

get_pushrules_global_scope

GET /_matrix/client/r0/pushrules/global/

set_pusher

POST /_matrix/client/r0/pushers/set

set_pushrule

PUT /_matrix/client/r0/pushrules/{scope}/{kind}/{ruleId}

set_pushrule_actions

PUT /_matrix/client/r0/pushrules/{scope}/{kind}/{ruleId}/actions

set_pushrule_enabled

PUT /_matrix/client/r0/pushrules/{scope}/{kind}/{ruleId}/enabled

Structs

PushRule

A push rule

Pusher

Defines a pusher

PusherData

Information for the pusher implementation itself.

Enums

Action

This represents the different actions that should be taken when a rule is matched, and controls how notifications are delivered to the client.

PushCondition

A condition for a push rule

PushFormat

A special format that the homeserver should use when sending notifications to a Push Gateway. Currently, only "event_id_only" is supported as of Push Gateway API r0.1.1

PusherKind

Which kind a pusher is

RuleKind

The kinds of push rules that are available

TweakKind

The different kinds of tweaks available