libQuotient
A Qt library for building matrix clients
|
#include <push_condition.h>
Public Attributes | |
QString | kind |
QString | key {} |
QString | pattern {} |
QString | is {} |
QVariant | value {} |
Definition at line 9 of file push_condition.h.
QString Quotient::PushCondition::is {} |
Required for room_member_count
conditions. A decimal integer optionally prefixed by one of, ==, <, >, >= or <=. A prefix of < matches rooms where the member count is strictly less than the given number and so forth. If no prefix is present, this parameter defaults to ==.
Definition at line 31 of file push_condition.h.
QString Quotient::PushCondition::key {} |
Required for event_match
, event_property_is
and event_property_contains
conditions. The dot-separated field of the event to match.
Required for sender_notification_permission
conditions. The field in the power level event the user needs a minimum power level for. Fields must be specified under the notifications
property in the power level event's content
.
Definition at line 21 of file push_condition.h.
QString Quotient::PushCondition::kind |
The kind of condition to apply. See conditions for more information on the allowed kinds and how they work.
Definition at line 12 of file push_condition.h.
QString Quotient::PushCondition::pattern {} |
Required for event_match
conditions. The glob-style pattern to match against.
Definition at line 25 of file push_condition.h.
QVariant Quotient::PushCondition::value {} |
Required for event_property_is
and event_property_contains
conditions. A non-compound canonical JSON value to match against.
Definition at line 36 of file push_condition.h.