. * * @author Daniil Gentili * @copyright 2016-2023 Daniil Gentili * @license https://opensource.org/licenses/AGPL-3.0 AGPLv3 * @link https://docs.madelineproto.xyz MadelineProto documentation */ 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; } }