[][src]Module ruma_events::push_rules

Types for the the m.push_rules event.

Structs

ConditionalPushRule

Like PushRule, but with an additional conditions field.

EventMatchCondition

A push condition that matches a glob pattern match on a field of the event.

PatternedPushRule

Like PushRule, but with an additional pattern field.

PushRule

A push rule is a single rule that states under what conditions an event should be passed onto a push gateway and how the notification should be presented.

PushRulesEvent

Describes all push rules for a user.

PushRulesEventContent

The payload for PushRulesEvent.

RoomMemberCountCondition

A push condition that matches the current number of members in the room.

Ruleset

A push ruleset scopes a set of rules according to some criteria.

SenderNotificationPermissionCondition

A push condition that takes into account the current power levels in the room, ensuring the sender of the event has high enough power to trigger the notification.

Enums

Action

An action affects if and how a notification is delivered for a matching event.

PushCondition

A condition that must apply for an associated push rule's action to be taken.

Tweak

Values for the set_tweak action.