mirror of
https://github.com/danog/TelegramApiServer.git
synced 2024-11-26 20:04:45 +01:00
Websocket EventHandler move
This commit is contained in:
parent
eb289abf6e
commit
d76d61712b
@ -4,7 +4,6 @@ namespace TelegramApiServer;
|
|||||||
|
|
||||||
use Amp\Loop;
|
use Amp\Loop;
|
||||||
use danog\MadelineProto;
|
use danog\MadelineProto;
|
||||||
use TelegramApiServer\EventHandlers\EventHandler;
|
|
||||||
|
|
||||||
class Client
|
class Client
|
||||||
{
|
{
|
||||||
|
@ -9,7 +9,7 @@ use Amp\Promise;
|
|||||||
use Amp\Success;
|
use Amp\Success;
|
||||||
use Amp\Websocket\Server\Websocket;
|
use Amp\Websocket\Server\Websocket;
|
||||||
use TelegramApiServer\Client;
|
use TelegramApiServer\Client;
|
||||||
use TelegramApiServer\EventHandlers\EventHandler;
|
use TelegramApiServer\EventHandler;
|
||||||
use function Amp\call;
|
use function Amp\call;
|
||||||
|
|
||||||
class EventsController extends Websocket
|
class EventsController extends Websocket
|
||||||
|
@ -1,10 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace TelegramApiServer\EventHandlers;
|
namespace TelegramApiServer;
|
||||||
|
|
||||||
use danog\MadelineProto\CombinedEventHandler;
|
use danog\MadelineProto\CombinedEventHandler;
|
||||||
use danog\MadelineProto\Logger;
|
use danog\MadelineProto\Logger;
|
||||||
use TelegramApiServer\Client;
|
|
||||||
|
|
||||||
class EventHandler extends CombinedEventHandler
|
class EventHandler extends CombinedEventHandler
|
||||||
{
|
{
|
Loading…
Reference in New Issue
Block a user