Update example
This commit is contained in:
parent
aba1bf5512
commit
3db8e3e47a
@ -74,6 +74,14 @@ class MyEventHandler extends EventHandler
|
||||
{
|
||||
return [self::ADMIN];
|
||||
}
|
||||
/**
|
||||
* Called on startup, can contain async calls for initialization of the bot
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function onStart()
|
||||
{
|
||||
}
|
||||
/**
|
||||
* Handle updates from supergroups and channels
|
||||
*
|
||||
@ -202,4 +210,4 @@ You can use the `resetUpdateState` method to reset the update state and fetch al
|
||||
$MadelineProto->resetUpdateState();
|
||||
```
|
||||
|
||||
<a href="https://docs.madelineproto.xyz/docs/SETTINGS.html">Next section</a>
|
||||
<a href="https://docs.madelineproto.xyz/docs/SETTINGS.html">Next section</a>
|
||||
|
Loading…
Reference in New Issue
Block a user