1
0
mirror of https://github.com/danog/MadelineProto.git synced 2025-01-11 15:48:18 +01:00
MadelineProto/src/EventHandler/CommandType.php
2023-07-14 20:15:04 +02:00

18 lines
325 B
PHP

<?php declare(strict_types=1);
namespace danog\MadelineProto\EventHandler;
use JsonSerializable;
enum CommandType: string implements JsonSerializable
{
case SLASH = '/';
case DOT = '.';
case BANG = '!';
/** @internal */
public function jsonSerialize(): mixed
{
return $this->value;
}
}