1
0
mirror of https://github.com/danog/MadelineProto.git synced 2025-01-11 14:28:17 +01:00
MadelineProto/src/EventHandler/CommandType.php

17 lines
304 B
PHP
Raw Normal View History

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