Madelineproto stop all process (stop Eventhandler)

197 views Asked by At

I spend lots of time to discover how i should to stop Eventhandler process but it didn't work

this is my code:

<?PHP
self::$MadelineProto = new API('session.madeline', $settings);
self::$MadelineProto->startAndLoop(Events::class);
// self::$MadelineProto->stop(); not working 
// self::$MadelineProto->logout(); not working
// self::$MadelineProto->auth->logOut(); not working

I tried to stop eventhandler process (Madelineproto)

0

There are 0 answers