<?php

namespace App\Telegram\{{ namespace }};

use SergiX44\Nutgram\Nutgram;

class {{ name }}
{
    public function __invoke(Nutgram $bot, $next): void
    {
        if ($bot->user()?->id === 123456789) {
            return;
        }

        $next($bot);
    }
}
