libkazv
|
#include <push_condition.hpp>
Public Attributes | |
std::string | kind |
The kind of condition to apply. More... | |
std::optional< std::string > | key |
Required for event_match conditions. More... | |
std::optional< std::string > | pattern |
Required for event_match conditions. More... | |
std::optional< std::string > | is |
Required for room_member_count conditions. More... | |
std::optional<std::string> Kazv::Api::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 ==.
std::optional<std::string> Kazv::Api::PushCondition::key |
Required for event_match
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
.
std::string Kazv::Api::PushCondition::kind |
The kind of condition to apply.
See conditions for more information on the allowed kinds and how they work.
std::optional<std::string> Kazv::Api::PushCondition::pattern |
Required for event_match
conditions.
The glob-style pattern to match against.