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