1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 04:08:59 +01:00
This commit is contained in:
Daniil Gentili 2023-09-01 15:04:04 +02:00
parent 4290c569fd
commit 8379bd8fc4
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
6 changed files with 5 additions and 6 deletions

View File

@ -35,4 +35,4 @@ steps:
- TAG=${CI_COMMIT_TAG}
commands:
- apk add bash
- /bin/bash -e tests/test.sh
- tests/test.sh

View File

@ -347,7 +347,7 @@ Want to add your own open-source project to this list? [Click here!](https://doc
* <a href="https://docs.madelineproto.xyz/PHP/danog/MadelineProto/API.html#mtprototobotapi-array-data-array" name="MTProtoToBotAPI">Convert MTProto parameters to bot API parameters: MTProtoToBotAPI</a>
* <a href="https://docs.madelineproto.xyz/PHP/danog/MadelineProto/API.html#tdtotdcli-mixed-params-mixed" name="tdToTdcli">Convert TD parameters to tdcli: tdToTdcli</a>
* <a href="https://docs.madelineproto.xyz/PHP/danog/MadelineProto/API.html#tdtomtproto-array-params-array" name="tdToMTProto">Convert TD to MTProto parameters: tdToMTProto</a>
* <a href="https://docs.madelineproto.xyz/PHP/danog/MadelineProto/API.html#entitiestohtml-string-message-list-array-_-string-offset-int-length-int-entities-bool-allowtelegramtags-false-string" name="entitiesToHtml">Convert a message and a set of entities to HTML: entitiesToHtml</a>
* <a href="https://docs.madelineproto.xyz/PHP/danog/MadelineProto/API.html#entitiestohtml-string-message-list-danog-madelineproto-eventhandler-message-entities-messageentity-array-_-string-offset-int-length-int-entities-bool-allowtelegramtags-false-string" name="entitiesToHtml">Convert a message and a set of entities to HTML: entitiesToHtml</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.convertToGigagroup.html" name="channels.convertToGigagroup">Convert a supergroup to a gigagroup, when requested by channel suggestions: channels.convertToGigagroup</a>
* <a href="https://docs.madelineproto.xyz/PHP/danog/MadelineProto/API.html#fromsupergroup-int-id-int" name="fromSupergroup">Convert bot API channel ID to MTProto channel ID: fromSupergroup</a>
* <a href="https://docs.madelineproto.xyz/PHP/danog/MadelineProto/API.html#botapitomtproto-array-arguments-array" name="botAPIToMTProto">Convert bot API parameters to MTProto parameters: botAPIToMTProto</a>

View File

@ -71,7 +71,6 @@
"bamarni/composer-bin-plugin": "1.8.2",
"symfony/yaml": "^6.0",
"amphp/http-server": "^3",
"leproxy/leproxy": "^0.2.2",
"revolt/event-loop-adapter-react": "^1",
"dg/bypass-finals": "dev-master"
},

View File

@ -112,7 +112,7 @@ abstract class Media extends IpcCapable implements JsonSerializable
/**
* Get a readable amp stream with the file contents.
*
* @param ?(callable(float, float, float): void) $cb Progress callback
* @param (callable(float, float, float): void)|null $cb Progress callback
*/
public function getStream(?callable $cb = null, int $offset = 0, int $end = -1): ReadableStream
{

View File

@ -298,7 +298,6 @@ final class ConnectionContext
/**
* Get the inputClientProxy proxy MTProto object.
*
* @return array
*/
public function getInputClientProxy(): array|null
{

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -ex
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php
@ -10,3 +10,4 @@ apk add procps git unzip github-cli openssh
composer update
composer build
if [ "$(git diff)" != "" ]; then echo "Please run composer build!"; exit 1; fi