Update docs
This commit is contained in:
parent
319f29dbb5
commit
d9adbbb25c
@ -60,6 +60,10 @@ class EventHandler extends \danog\MadelineProto\EventHandler
|
|||||||
{
|
{
|
||||||
\danog\MadelineProto\Logger::log("Received an update of type ".$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
|
||||||
|
}
|
||||||
public function onUpdateNewChannelMessage($update)
|
public function onUpdateNewChannelMessage($update)
|
||||||
{
|
{
|
||||||
yield $this->onUpdateNewMessage($update);
|
yield $this->onUpdateNewMessage($update);
|
||||||
@ -142,9 +146,9 @@ class EventHandler extends \danog\MadelineProto\CombinedEventHandler
|
|||||||
{
|
{
|
||||||
\danog\MadelineProto\Logger::log("Received an update of type ".$update['_']);
|
\danog\MadelineProto\Logger::log("Received an update of type ".$update['_']);
|
||||||
}
|
}
|
||||||
public function onLoop()
|
public function onUpdateSomethingElse($update, $session)
|
||||||
{
|
{
|
||||||
\danog\MadelineProto\Logger::log("Working...");
|
// See the docs for a full list of updates: http://docs.madelineproto.xyz/API_docs/types/Update.html
|
||||||
}
|
}
|
||||||
public function onUpdateNewChannelMessage($update, $session)
|
public function onUpdateNewChannelMessage($update, $session)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user