1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 03:34:42 +01:00

Update libtgvoipbot

This commit is contained in:
Daniil Gentili 2023-08-29 10:05:33 +02:00
parent cebab3a803
commit ad80ae3942

View File

@ -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
{