logo
Available on crate features client or server only.
Expand description

Endpoints for push notifications.

Modules

DELETE /_matrix/client/*/pushrules/{scope}/{kind}/{ruleId}
GET /_matrix/client/*/notifications
GET /_matrix/client/*/pushers
GET /_matrix/client/*/pushrules/{scope}/{kind}/{ruleId}
GET /_matrix/client/*/pushrules/{scope}/{kind}/{ruleId}/actions
GET /_matrix/client/*/pushrules/{scope}/{kind}/{ruleId}/enabled
GET /_matrix/client/*/pushrules/
GET /_matrix/client/*/pushrules/global/
POST /_matrix/client/*/pushers/set
PUT /_matrix/client/*/pushrules/{scope}/{kind}/{ruleId}
PUT /_matrix/client/*/pushrules/{scope}/{kind}/{ruleId}/actions
PUT /_matrix/client/*/pushrules/{scope}/{kind}/{ruleId}/enabled

Structs

An error that happens when PushRule cannot be converted into ConditionalPushRule
An error that happens when PushRule cannot be converted into PatternedPushRule
Like SimplePushRule, but may represent any kind of push rule thanks to pattern and conditions being optional.

Enums

Which kind a pusher is.
The kinds of push rules that are available.