mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-04 19:17:48 +01:00
This commit is contained in:
parent
eb48fe6da5
commit
90f3e689f3
@ -46,12 +46,12 @@ if (!$me['bot']) {
|
||||
$MadelineProto->channels->joinChannel(channel: '@MadelineProto');
|
||||
|
||||
try {
|
||||
$MadelineProto->messages->importChatInvite(hash: 'https://t.me/joinchat/Bgrajz6K-aJKu0IpGsLpBg');
|
||||
$MadelineProto->messages->importChatInvite(hash: 'https://t.me/+Por5orOjwgccnt2w');
|
||||
} catch (\danog\MadelineProto\RPCErrorException $e) {
|
||||
$MadelineProto->logger($e);
|
||||
}
|
||||
|
||||
$MadelineProto->messages->sendMessage(peer: 'https://t.me/joinchat/Bgrajz6K-aJKu0IpGsLpBg', message: 'Testing MadelineProto!');
|
||||
$MadelineProto->messages->sendMessage(peer: 'https://t.me/+Por5orOjwgccnt2w', message: 'Testing MadelineProto!');
|
||||
}
|
||||
$MadelineProto->echo('OK, done!');
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user