mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-22 21:31:28 +01:00
Update docs
This commit is contained in:
parent
4148d58c42
commit
be6632083b
@ -435,6 +435,7 @@ Want to add your own open-source project to this list? [Click here!](https://doc
|
||||
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.toggleBotInAttachMenu.html" name="messages.toggleBotInAttachMenu">Enable or disable web bot attachment menu »: messages.toggleBotInAttachMenu</a>
|
||||
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.toggleSignatures.html" name="channels.toggleSignatures">Enable/disable message signatures in channels: channels.toggleSignatures</a>
|
||||
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.toggleTopPeers.html" name="contacts.toggleTopPeers">Enable/disable top peers: contacts.toggleTopPeers</a>
|
||||
* <a href="https://docs.madelineproto.xyz/PHP/danog/MadelineProto/API.html#htmlescape-string-what-string" name="htmlEscape">Escape string for MadelineProto's HTML entity converter: htmlEscape</a>
|
||||
* <a href="https://docs.madelineproto.xyz/PHP/danog/MadelineProto/API.html#markdownurlescape-string-what-string" name="markdownUrlEscape">Escape string for URL: markdownUrlEscape</a>
|
||||
* <a href="https://docs.madelineproto.xyz/PHP/danog/MadelineProto/API.html#markdowncodeescape-string-what-string" name="markdownCodeEscape">Escape string for markdown code section: markdownCodeEscape</a>
|
||||
* <a href="https://docs.madelineproto.xyz/PHP/danog/MadelineProto/API.html#markdowncodeblockescape-string-what-string" name="markdownCodeblockEscape">Escape string for markdown codeblock: markdownCodeblockEscape</a>
|
||||
|
@ -126,8 +126,8 @@
|
||||
"docs": "php tools/build_docs.php",
|
||||
"docs-fix": "tools/fix_docs.sh",
|
||||
"phpunit": "@php -dzend.assertions=1 ./vendor/bin/phpunit -c phpunit-noparallel.xml",
|
||||
"paratest": "@php -dzend.assertions=1 ./vendor/bin/paratest",
|
||||
"paratest-light": "@php -dzend.assertions=1 ./vendor/bin/paratest -c phpunit-light.xml",
|
||||
"paratest": "@php -dzend.assertions=1 ./vendor/bin/paratest -f",
|
||||
"paratest-light": "@php -dzend.assertions=1 ./vendor/bin/paratest -f -c phpunit-light.xml",
|
||||
"bin": "echo 'bin not installed'",
|
||||
"post-install-cmd": ["@composer bin all install --ansi"],
|
||||
"post-update-cmd": ["@composer bin all update --ansi"]
|
||||
|
2
docs
2
docs
@ -1 +1 @@
|
||||
Subproject commit d824948d8a8c38446bb322dc73b6dcb86e59d3c4
|
||||
Subproject commit 1530ed27ead3990e17be6fe0d8c3fb2a3adb8dd7
|
@ -23,10 +23,6 @@ use danog\MadelineProto\Stream\Transport\DefaultStream;
|
||||
use danog\MadelineProto\Stream\Transport\WssStream;
|
||||
use danog\MadelineProto\Stream\Transport\WsStream;
|
||||
use Generator;
|
||||
use LeProxy\LeProxy\LeProxyServer;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use React\EventLoop\Loop;
|
||||
use React\Socket\ServerInterface;
|
||||
use Throwable;
|
||||
|
||||
use function Amp\ByteStream\splitLines;
|
||||
|
@ -104,7 +104,7 @@ class FileIdTest extends MadelineTestCase
|
||||
|
||||
[$type, $fileIdStr, $uniqueFileIdStr] = $fullInfo;
|
||||
} else {
|
||||
$this->assertArrayHasKey($type, $res);
|
||||
$this->assertArrayHasKey($type, $res, json_encode($res));
|
||||
$res = $res[$type];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user