Remove onAny from examples
This commit is contained in:
parent
d9adbbb25c
commit
aa2c729ab5
@ -56,10 +56,6 @@ class EventHandler extends \danog\MadelineProto\EventHandler
|
||||
{
|
||||
parent::__construct($MadelineProto);
|
||||
}
|
||||
public function onAny($update)
|
||||
{
|
||||
\danog\MadelineProto\Logger::log("Received an update of type ".$update['_']);
|
||||
}
|
||||
public function onUpdateSomethingElse($update)
|
||||
{
|
||||
// See the docs for a full list of updates: http://docs.madelineproto.xyz/API_docs/types/Update.html
|
||||
@ -142,10 +138,6 @@ class EventHandler extends \danog\MadelineProto\CombinedEventHandler
|
||||
{
|
||||
parent::__construct($CombinedMadelineProto);
|
||||
}
|
||||
public function onAny($update, $session)
|
||||
{
|
||||
\danog\MadelineProto\Logger::log("Received an update of type ".$update['_']);
|
||||
}
|
||||
public function onUpdateSomethingElse($update, $session)
|
||||
{
|
||||
// See the docs for a full list of updates: http://docs.madelineproto.xyz/API_docs/types/Update.html
|
||||
|
Loading…
Reference in New Issue
Block a user