mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 07:34:41 +01:00
:^)
This commit is contained in:
commit
289006323f
@ -66,7 +66,6 @@ if ($MadelineProto === false) {
|
||||
for ($x = 0; $x < $argv[2]; $x++) {
|
||||
$MadelineProto->request_call($argv[1]);
|
||||
$MadelineProto->get_updates_difference();
|
||||
|
||||
echo 'Wrote '.\danog\MadelineProto\Serialization::serialize('calls.madeline', $MadelineProto).' bytes'.PHP_EOL;
|
||||
echo 'Wrote '.\danog\MadelineProto\Serialization::serialize('session.madeline', $MadelineProto).' bytes'.PHP_EOL;
|
||||
}
|
||||
$MadelineProto->messages->sendMessage(['peer' => $argv[1], 'message' => '[Powered by MadelineProto](https://github.com/danog/MadelineProto)', 'parse_mode' => 'markdown']);
|
||||
|
@ -552,6 +552,7 @@ trait AuthKeyHandler
|
||||
|
||||
return $res['id'];
|
||||
}
|
||||
|
||||
public function request_call($user)
|
||||
{
|
||||
$user = $this->get_info($user)['InputUser'];
|
||||
|
Loading…
Reference in New Issue
Block a user