mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 05:34:42 +01:00
Update libtgvoipbot
This commit is contained in:
parent
cebab3a803
commit
ad80ae3942
@ -26,6 +26,12 @@ if (class_exists(API::class)) {
|
||||
|
||||
class MyEventHandler extends SimpleEventHandler
|
||||
{
|
||||
// !!! Change this to your username! !!!
|
||||
private const ADMIN = 'danogentili';
|
||||
public function getReportPeers(): array
|
||||
{
|
||||
return self::ADMIN;
|
||||
}
|
||||
#[FilterCommand('start')]
|
||||
public function startCmd(Incoming&Message $message): void
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user