blob: fe61c16a5079c56e96acd66f078c571d1c5a5c16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?php
namespace Matrix\Enums;
enum PushConditionKind: string implements \JsonSerializable
{
case EVENT_MATCH = "event_match";
case EVENT_PROPERTY_CONTAINS = "event_property_contains";
case EVENT_PROPERTY_IS = "event_property_is";
case ROOM_MEMBER_COUNT = "room_member_count";
case SENDER_NOTIFICATION_PERMISSION = "sender_notification_permission";
public function jsonSerialize(): string
{
return $this->value;
}
}
|