mirror of
https://github.com/danog/TelegramApiServer.git
synced 2024-11-30 04:19:13 +01:00
setEventHandler update.
This commit is contained in:
parent
f238aa2151
commit
7acf384d50
@ -486,9 +486,9 @@ class ApiExtensions
|
||||
});
|
||||
}
|
||||
|
||||
public function setEventHandler(): void
|
||||
public function setEventHandler(): Promise
|
||||
{
|
||||
$this->madelineProto->setEventHandler(EventHandler::class);
|
||||
return call(fn() => yield $this->madelineProto->setEventHandler(EventHandler::class));
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user