Apply fixes from StyleCI
This commit is contained in:
parent
70a85cb6be
commit
dddad90616
@ -106,7 +106,9 @@ var_dump($id = $MadelineProto->request_call('@danogentili', [
|
||||
|
||||
],
|
||||
]));
|
||||
while (!$start) $MadelineProto->get_updates();
|
||||
while (!$start) {
|
||||
$MadelineProto->get_updates();
|
||||
}
|
||||
$controller = $MadelineProto->get_call($id)['controller'];
|
||||
$samplerate = 48000;
|
||||
$period = 1 / $samplerate;
|
||||
@ -127,7 +129,6 @@ while (!$start) $MadelineProto->get_updates();
|
||||
var_dump('sent 960 frames');
|
||||
}
|
||||
|
||||
|
||||
while ($MadelineProto->call_status($id) !== \danog\MadelineProto\MTProto::READY) {
|
||||
$MadelineProto->get_updates();
|
||||
}
|
||||
@ -199,7 +200,6 @@ $mention = $MadelineProto->get_info(getenv('TEST_USERNAME')); // Returns an arra
|
||||
$mention = $mention['user_id']; // Selects only the numeric user id
|
||||
$media = [];
|
||||
|
||||
|
||||
// Sticker
|
||||
$inputFile = $MadelineProto->upload('tests/lel.webp');
|
||||
$media['sticker'] = ['_' => 'inputMediaUploadedDocument', 'file' => $inputFile, 'mime_type' => mime_content_type('tests/lel.webp'), 'caption' => 'test', 'attributes' => [['_' => 'documentAttributeSticker', 'alt' => 'LEL', 'stickerset' => ['_' => 'inputStickerSetEmpty']]]];
|
||||
|
Loading…
x
Reference in New Issue
Block a user