mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-11 15:48:18 +01:00
18 lines
325 B
PHP
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;
|
|
}
|
|
}
|