Websocket EventHandler move

This commit is contained in:
Alexander Pankratov 2020-01-12 22:31:14 +03:00
parent eb289abf6e
commit d76d61712b
3 changed files with 2 additions and 4 deletions

View File

@ -4,7 +4,6 @@ namespace TelegramApiServer;
use Amp\Loop;
use danog\MadelineProto;
use TelegramApiServer\EventHandlers\EventHandler;
class Client
{

View File

@ -9,7 +9,7 @@ use Amp\Promise;
use Amp\Success;
use Amp\Websocket\Server\Websocket;
use TelegramApiServer\Client;
use TelegramApiServer\EventHandlers\EventHandler;
use TelegramApiServer\EventHandler;
use function Amp\call;
class EventsController extends Websocket

View File

@ -1,10 +1,9 @@
<?php
namespace TelegramApiServer\EventHandlers;
namespace TelegramApiServer;
use danog\MadelineProto\CombinedEventHandler;
use danog\MadelineProto\Logger;
use TelegramApiServer\Client;
class EventHandler extends CombinedEventHandler
{