diff --git a/docs/PHP/danog/MadelineProto/API.md b/docs/PHP/danog/MadelineProto/API.md index 555f2311..ca609e05 100644 --- a/docs/PHP/danog/MadelineProto/API.md +++ b/docs/PHP/danog/MadelineProto/API.md @@ -14,8 +14,6 @@ Main API wrapper for MadelineProto. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Constants * `danog\MadelineProto\API::RELEASE`: Release version. @@ -224,6 +222,8 @@ Parameters: * `$eventHandler`: `string` Event handler class name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `startAndLoopMulti(\danog\MadelineProto\API[] $instances, string[]|string $eventHandler): void` @@ -235,6 +235,8 @@ Parameters: * `$eventHandler`: `string[]|string` Event handler(s) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `startAndLoopAsync(string $eventHandler): \Generator` @@ -250,6 +252,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `MTProtoToBotAPI(array $data): \Amp\Promise` @@ -265,6 +269,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `MTProtoToTd(mixed $params): \Amp\Promise` @@ -280,6 +286,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `MTProtoToTdcli(mixed $params): \Amp\Promise` @@ -295,6 +303,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `acceptCall(array $call): \Amp\Promise` @@ -310,6 +320,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `acceptSecretChat(array $params): \Amp\Promise` @@ -325,6 +337,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `acceptTos(): \Amp\Promise` @@ -336,6 +350,8 @@ Accept terms of service update. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `addUser(array $user): \Amp\Promise` @@ -351,6 +367,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `after(\Generator|\Promise $a, \Generator|\Promise $b): \Amp\Promise` @@ -369,6 +387,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `all((\Generator|\Promise)[] $promises): \Amp\Promise` @@ -386,6 +406,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `any((\Promise|\Generator)[] $promises): \Amp\Promise` @@ -403,6 +425,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `arr(mixed $params): array` @@ -413,6 +437,8 @@ Parameters: * `$params`: `mixed` Params +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `base64urlDecode(string $data): string` @@ -423,6 +449,8 @@ Parameters: * `$data`: `string` Data to decode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `base64urlEncode(string $data): string` @@ -433,6 +461,8 @@ Parameters: * `$data`: `string` Data to encode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `botAPIToMTProto(array $arguments): \Amp\Promise` @@ -448,6 +478,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `botLogin(string $token): \Amp\Promise` @@ -463,6 +495,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `call(\Generator|\Promise|mixed $promise): \Amp\Promise` @@ -489,6 +523,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `callFork(\Generator|\Promise $promise, ?\Generator|\Promise $actual, string $file): \Amp\Promise|mixed` @@ -508,6 +544,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `callForkDefer(\Generator|\Promise $promise): void` @@ -524,6 +562,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `callStatus(int $id): mixed` @@ -543,6 +583,8 @@ int|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `checkTos(): \Amp\Promise` @@ -554,6 +596,8 @@ Check for terms of service update. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `cleanup(): \Amp\Promise` @@ -565,6 +609,8 @@ Cleanup memory and session file. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `closeConnection(string $message): void` @@ -575,6 +621,8 @@ Parameters: * `$message`: `string` Message +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `complete2faLogin(string $password): \Amp\Promise` @@ -590,6 +638,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `completeCall(array $params): \Amp\Promise` @@ -605,6 +655,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `completePhoneLogin(string $code): \Amp\Promise` @@ -620,6 +672,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `completeSignup(string $first_name, string $last_name): \Amp\Promise` @@ -636,6 +690,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `confirmCall(array $params): \Amp\Promise` @@ -651,6 +707,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `connectToAllDcs(bool $reconnectAll): \Amp\Promise` @@ -666,6 +724,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `declineTos(): \Amp\Promise` @@ -677,6 +737,8 @@ THIS WILL DELETE YOUR ACCOUNT! +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `discardCall(array $call, array $reason, array $rating, bool $need_debug): \Amp\Promise` @@ -695,6 +757,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `discardSecretChat(int $chat): \Amp\Promise` @@ -710,6 +774,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToBrowser(array|string $messageMedia, callable $cb): \Amp\Promise` @@ -726,6 +792,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToCallable(mixed $messageMedia, callable|\danog\MadelineProto\FileCallbackInterface $callable, callable $cb, bool $seekable, int $offset, int $end, int $part_size): \Amp\Promise` @@ -754,6 +822,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToDir(mixed $messageMedia, string|\danog\MadelineProto\FileCallbackInterface $dir, callable $cb): \Amp\Promise` @@ -776,6 +846,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToFile(mixed $messageMedia, string|\danog\MadelineProto\FileCallbackInterface $file, callable $cb): \Amp\Promise Downloaded file path` @@ -800,6 +872,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToResponse(array|string $messageMedia, \ServerRequest $request, callable $cb): \Amp\Promise Returned response` @@ -825,6 +899,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToStream(mixed $messageMedia, mixed|\danog\MadelineProto\FileCallbackInterface $stream, callable $cb, int $offset, int $end): \Amp\Promise` @@ -849,6 +925,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `echo(string $string): \Amp\Promise` @@ -864,6 +942,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `end(array $what): mixed` @@ -874,6 +954,8 @@ Parameters: * `$what`: `array` Array +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `exportAuthorization(): \Amp\Promise` @@ -889,6 +971,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `extractBotAPIFile(array $info): ?array` @@ -899,6 +983,8 @@ Parameters: * `$info`: `array` Bot API message object +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `fileGetContents(string $url): \Amp\Promise` @@ -918,6 +1004,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `first((\Promise|\Generator)[] $promises): \Amp\Promise` @@ -935,6 +1023,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `flock(string $file, int $operation, float $polling, ?\Promise $token, ?callable $failureCb): \Amp\Promise` @@ -956,6 +1046,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `fromSupergroup(int $id): float|int` @@ -966,6 +1058,8 @@ Parameters: * `$id`: `int` Bot API channel ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `fullChatLastUpdated(mixed $id): \Amp\Promise` @@ -981,6 +1075,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `fullGetSelf(): \Amp\Promise` @@ -992,6 +1088,8 @@ Get info about the logged-in user, not cached. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `genVectorHash(array $ints): \int Vector hash` @@ -1004,6 +1102,8 @@ Parameters: Return value: Vector hash +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getAllMethods(): mixed` @@ -1019,6 +1119,8 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getAuthorization(): mixed` @@ -1034,6 +1136,8 @@ int|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCachedConfig(): mixed` @@ -1049,6 +1153,8 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCall(int $call): mixed` @@ -1068,6 +1174,8 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCdnConfig(string $datacenter): \Amp\Promise` @@ -1083,6 +1191,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getConfig(array $config, array $options): \Amp\Promise` @@ -1099,6 +1209,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDNSClient(): mixed` @@ -1115,6 +1227,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDataCenterConnections(): mixed` @@ -1131,12 +1245,16 @@ array<\danog\MadelineProto\DataCenterConnection>|\Amp\Promise` @@ -1175,6 +1295,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getEventHandler(): mixed` @@ -1191,6 +1313,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getExtensionFromLocation(mixed $location, string $default): string` @@ -1202,6 +1326,8 @@ Parameters: * `$default`: `string` Default extension +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getExtensionFromMime(string $mime): string` @@ -1212,6 +1338,8 @@ Parameters: * `$mime`: `string` MIME type +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFileInfo(mixed $constructor): \Amp\Promise` @@ -1227,6 +1355,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFolderId(mixed $id): ?int` @@ -1237,6 +1367,8 @@ Parameters: * `$id`: `mixed` Object +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFullDialogs(bool $force): \Amp\Promise` @@ -1252,6 +1384,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFullInfo(mixed $id): \Amp\Promise FullInfo object` @@ -1274,6 +1408,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getHTTPClient(): mixed` @@ -1290,6 +1426,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getHint(): mixed` @@ -1305,6 +1443,8 @@ string|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getId(mixed $id): int` @@ -1315,6 +1455,8 @@ Parameters: * `$id`: `mixed` Peer +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getInfo(mixed $id, bool $recursive): \Amp\Promise Info object` @@ -1339,12 +1481,16 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getLogger()` Get logger. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMethodNamespaces(): mixed` @@ -1360,6 +1506,8 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMethodsNamespaced(): mixed` @@ -1375,6 +1523,8 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromBuffer(string $buffer): string` @@ -1385,6 +1535,8 @@ Parameters: * `$buffer`: `string` Buffer +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromExtension(string $extension, string $default): string` @@ -1396,6 +1548,8 @@ Parameters: * `$default`: `string` Default mime type +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromFile(string $file): string` @@ -1406,6 +1560,8 @@ Parameters: * `$file`: `string` File +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPropicInfo(mixed $messageMedia): \Amp\Promise` @@ -1425,12 +1581,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPsrLogger()` Get PSR logger. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPwrChat(mixed $id): \Amp\Promise Chat object` @@ -1448,6 +1608,8 @@ Return value: Chat object +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSecretChat(array|int $chat): mixed` @@ -1467,12 +1629,16 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSelf(): array|bool` Get info about the logged-in user, cached. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSettings(): mixed` @@ -1489,6 +1655,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTL(): mixed` @@ -1505,6 +1673,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getVar(object $obj, string $var): mixed` @@ -1516,6 +1686,8 @@ Parameters: * `$var`: `string` Attribute name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWebTemplate(): mixed` @@ -1531,6 +1703,8 @@ string|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasAllAuth(): mixed` @@ -1546,6 +1720,8 @@ bool|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasEventHandler(): mixed` @@ -1561,6 +1737,8 @@ bool|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasReportPeers(): mixed` @@ -1576,6 +1754,8 @@ bool|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasSecretChat(array|int $chat): mixed` @@ -1595,6 +1775,8 @@ bool|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasVar(object $obj, string $var): bool` @@ -1606,6 +1788,8 @@ Parameters: * `$var`: `string` Attribute name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `importAuthorization(mixed $authorization): \Amp\Promise` @@ -1621,6 +1805,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `inflateStripped(string $stripped): \string JPG payload` @@ -1633,6 +1819,8 @@ Parameters: Return value: JPG payload +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `initSelfRestart(): mixed` @@ -1648,12 +1836,16 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isAltervista(): bool` Whether this is altervista. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isArrayOrAlike(mixed $var): bool` @@ -1664,6 +1856,8 @@ Parameters: * `$var`: `mixed` Value to check +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isIpc(): mixed` @@ -1679,6 +1873,8 @@ bool|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isSupergroup(int $id): bool` @@ -1689,6 +1885,8 @@ Parameters: * `$id`: `int` Bot API ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `logger(string $param, int $level, string $file): mixed` @@ -1710,6 +1908,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `logout(): \Amp\Promise` @@ -1721,6 +1921,8 @@ Log out currently logged in user. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `loop(callable|null $callback): \Amp\Promise` @@ -1736,6 +1938,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `loopFork(): \Amp\Promise` @@ -1747,6 +1951,8 @@ Start MadelineProto's update handling loop in background. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `markdownEscape(string $hwat): string` @@ -1757,6 +1963,8 @@ Parameters: * `$hwat`: `string` String to escape +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `mbStrSplit(string $text, int $length): array` @@ -1768,6 +1976,8 @@ Parameters: * `$length`: `int` Length +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `mbStrlen(string $text): float|int` @@ -1778,6 +1988,8 @@ Parameters: * `$text`: `string` Text +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `mbSubstr(string $text, int $offset, ?int $length): string` @@ -1790,6 +2002,8 @@ Parameters: * `$length`: `?int` Length +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodCall(string $method, array|\Generator $args, array $aargs): \Amp\Promise` @@ -1812,6 +2026,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodCallWrite(string $method, array|\Generator $args, array $aargs): \Amp\Promise` @@ -1834,6 +2050,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodEscape(string $method): string` @@ -1844,6 +2062,8 @@ Parameters: * `$method`: `string` Method name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packDouble(float $value): string` @@ -1854,6 +2074,8 @@ Parameters: * `$value`: `float` Value to convert +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packSignedInt(int $value): string` @@ -1864,6 +2086,8 @@ Parameters: * `$value`: `int` Value to convert +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packSignedLong(int $value): string` @@ -1874,6 +2098,8 @@ Parameters: * `$value`: `int` Value to convert +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packUnsignedInt(int $value): string` @@ -1884,6 +2110,8 @@ Parameters: * `$value`: `int` Value +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `peerIsset(mixed $id): \Amp\Promise` @@ -1903,6 +2131,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `phoneLogin(string $number, int $sms_type): \Amp\Promise` @@ -1919,6 +2149,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `posmod(int $a, int $b): \int Modulo` @@ -1933,6 +2165,8 @@ Parameters: Return value: Modulo +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `random(int $length): \string Random string` @@ -1945,6 +2179,8 @@ Parameters: Return value: Random string +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `randomInt(int $modulus): int` @@ -1955,6 +2191,8 @@ Parameters: * `$modulus`: `int` Modulus +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `readLine(string $prompt): \Amp\Promise` @@ -1970,6 +2208,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rekey(int $chat): \Amp\Promise` @@ -1985,6 +2225,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `report(string $message, string $parseMode): \Amp\Promise` @@ -2001,6 +2243,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `requestCall(mixed $user): \Amp\Promise` @@ -2016,6 +2260,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `requestSecretChat(mixed $user): \Amp\Promise` @@ -2031,6 +2277,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `resetUpdateState(): mixed` @@ -2046,6 +2294,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `resolveUsername(string $username): \Amp\Promise` @@ -2061,12 +2311,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `restart(): void` Restart update loop. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rethrow(\Throwable $e, string $file): void` @@ -2083,6 +2337,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rleDecode(string $string): string` @@ -2093,6 +2349,8 @@ Parameters: * `$string`: `string` Data to decode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rleEncode(string $string): string` @@ -2103,6 +2361,8 @@ Parameters: * `$string`: `string` Data to encode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `secretChatStatus(int $chat): mixed` @@ -2122,12 +2382,16 @@ int|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `serializeAll(): void` Serialize all instances. CALLED ONLY ON SHUTDOWN. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setCallback(callable $callback): mixed` @@ -2147,6 +2411,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setEventHandler(class-string<\danog\MadelineProto\EventHandler> $eventHandler): \Amp\Promise` @@ -2163,6 +2429,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setNoop(): mixed` @@ -2178,6 +2446,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setReportPeers(int|string $userOrId): \Amp\Promise` @@ -2193,6 +2463,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setVar(object $obj, string $var, mixed $val): void` @@ -2205,6 +2477,8 @@ Parameters: * `$val`: `mixed` Attribute value +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setWebTemplate(string $template): mixed` @@ -2224,6 +2498,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setWebhook(string $hook_url, string $pem_path): mixed` @@ -2244,6 +2520,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setupLogger(): mixed` @@ -2259,6 +2537,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `sleep(int|float $time): \Amp\Promise` @@ -2274,6 +2554,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `some((\Promise|\Generator)[] $promises): \Amp\Promise` @@ -2291,6 +2573,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `start(): \Amp\Promise` @@ -2302,12 +2586,16 @@ Log in to telegram (via CLI or web). +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `stop(): void` Stop update loop. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `tdToMTProto(array $params): \Amp\Promise` @@ -2323,6 +2611,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `tdToTdcli(mixed $params): mixed` @@ -2333,6 +2623,8 @@ Parameters: * `$params`: `mixed` Parameters +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `tdcliToTd(array $params, array $key): mixed` @@ -2353,6 +2645,8 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `timeout(\Generator|\Promise $promise, int $timeout): \Amp\Promise` @@ -2371,6 +2665,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `timeoutWithDefault(\Promise|\Generator $promise, int $timeout, mixed $default): \Amp\Promise<\TReturn>|\Promise<\TReturnAlt>` @@ -2403,6 +2699,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `toCamelCase(string $input): string` @@ -2413,6 +2711,8 @@ Parameters: * `$input`: `string` String +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `toSnakeCase(string $input): string` @@ -2423,6 +2723,8 @@ Parameters: * `$input`: `string` String +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `toSupergroup(int $id): float|int` @@ -2433,6 +2735,8 @@ Parameters: * `$id`: `int` MTProto channel ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `typeEscape(string $type): string` @@ -2443,6 +2747,8 @@ Parameters: * `$type`: `string` String to escape +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackDouble(string $value): float` @@ -2453,6 +2759,8 @@ Parameters: * `$value`: `string` Value to unpack +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackFileId(string $fileId): mixed` @@ -2472,6 +2780,8 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackSignedInt(string $value): int` @@ -2482,6 +2792,8 @@ Parameters: * `$value`: `string` base256 int +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackSignedLong(string $value): int` @@ -2492,6 +2804,8 @@ Parameters: * `$value`: `string` base256 long +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackSignedLongString(string $value): string` @@ -2502,6 +2816,8 @@ Parameters: * `$value`: `string` base256 long +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unsetEventHandler(bool $disableUpdateHandling): mixed` @@ -2521,6 +2837,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `update2fa(array $params): \Amp\Promise` @@ -2536,6 +2854,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `updateSettings(\danog\MadelineProto\SettingsAbstract $settings): \Amp\Promise` @@ -2552,6 +2872,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `upload(\danog\MadelineProto\FileCallbackInterface|string|array $file, string $fileName, callable $cb, bool $encrypted): \Amp\Promise` @@ -2575,6 +2897,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadEncrypted(\danog\MadelineProto\FileCallbackInterface|string|array $file, string $fileName, callable $cb): \Amp\Promise` @@ -2597,6 +2921,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromCallable(mixed $callable, int $size, string $mime, string $fileName, callable $cb, bool $seekable, bool $encrypted): \Amp\Promise` @@ -2623,6 +2949,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromStream(mixed $stream, int $size, string $mime, string $fileName, callable $cb, bool $encrypted): \Amp\Promise` @@ -2647,6 +2975,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromTgfile(mixed $media, callable $cb, bool $encrypted): \Amp\Promise` @@ -2668,6 +2998,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromUrl(string|\danog\MadelineProto\FileCallbackInterface $url, int $size, string $fileName, callable $cb, bool $encrypted): \Amp\Promise` @@ -2692,6 +3024,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `wait(\Generator|\Promise $promise, bool $ignoreSignal): mixed` @@ -2709,6 +3043,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `async(bool $async): void` @@ -2719,12 +3055,16 @@ Parameters: * `$async`: `bool` Whether to enable or disable async +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `init(): void` Blockingly init. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `initAsynchronously(): \Generator` @@ -2736,12 +3076,16 @@ Asynchronously init. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `inited(): bool` Check if we've already inited. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `forceInit(bool $inited): void` @@ -2752,16 +3096,24 @@ Parameters: * `$inited`: `bool` Whether to mark the instance as inited or deinited +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWebAPITemplate(): string` Get web API login HTML template string. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setWebAPITemplate(): void` Set web API login HTML template string. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Coroutine.md b/docs/PHP/danog/MadelineProto/Coroutine.md index 4c5560f9..c4ce50db 100644 --- a/docs/PHP/danog/MadelineProto/Coroutine.md +++ b/docs/PHP/danog/MadelineProto/Coroutine.md @@ -18,8 +18,6 @@ value is sent into the generator, while a failure reason is thrown into the gene asynchronous code can be written without callbacks and be structured like synchronous code. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `fail(\Throwable $reason): void` * `offsetGet(mixed $offset): \Amp\Promise` @@ -43,6 +41,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetGet(mixed $offset): \Amp\Promise` @@ -58,28 +58,40 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTrace(): array` Get current stack trace for running coroutine. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFrame(): array` Get current execution frame. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `jsonSerialize(): string` Obtain. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `onResolve()` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Db/DbArray.md b/docs/PHP/danog/MadelineProto/Db/DbArray.md index 0383aa6f..d0b81394 100644 --- a/docs/PHP/danog/MadelineProto/Db/DbArray.md +++ b/docs/PHP/danog/MadelineProto/Db/DbArray.md @@ -14,8 +14,6 @@ DB array interface. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getArrayCopy(): \Amp\Promise` * `isset(string|int $key): \Amp\Promise` @@ -42,6 +40,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isset(string|int $key): \Amp\Promise` @@ -61,6 +61,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetGet(string|int $index): \Amp\Promise` @@ -81,6 +83,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetSet(string|int $index, mixed $value): void` @@ -101,6 +105,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetUnset(string|int $index): \Amp\Promise` @@ -116,6 +122,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `count(): \Amp\Promise` @@ -127,12 +135,16 @@ Count number of elements. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getIterator()` Get iterator. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getInstance(string $table, null|\danog\MadelineProto\Db\DbType|array $value, \danog\MadelineProto\Settings\DatabaseAbstract $settings): \Amp\Promise` @@ -151,4 +163,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Db/DbPropertiesFactory.md b/docs/PHP/danog/MadelineProto/Db/DbPropertiesFactory.md index d41e54cd..9e5d75e5 100644 --- a/docs/PHP/danog/MadelineProto/Db/DbPropertiesFactory.md +++ b/docs/PHP/danog/MadelineProto/Db/DbPropertiesFactory.md @@ -14,10 +14,10 @@ This factory class initializes the correct database backend for MadelineProto. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Constants * `danog\MadelineProto\Db\DbPropertiesFactory::TYPE_ARRAY`: Indicates a simple K-V array stored in a database backend. Values can be objects or other arrays, but when lots of nesting is required, it's best to split the array into multiple arrays. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Db/DbPropertiesTrait.md b/docs/PHP/danog/MadelineProto/Db/DbPropertiesTrait.md index 6acb1655..181282b1 100644 --- a/docs/PHP/danog/MadelineProto/Db/DbPropertiesTrait.md +++ b/docs/PHP/danog/MadelineProto/Db/DbPropertiesTrait.md @@ -18,7 +18,7 @@ You will have to define a `$dbProperties` static array property, with a list of - +## Properties +* `$dbProperties`: `array` --- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Properties -* `$dbProperties`: `array` \ No newline at end of file +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Db/Driver/Mysql.md b/docs/PHP/danog/MadelineProto/Db/Driver/Mysql.md index d9b69a86..d9c1e007 100644 --- a/docs/PHP/danog/MadelineProto/Db/Driver/Mysql.md +++ b/docs/PHP/danog/MadelineProto/Db/Driver/Mysql.md @@ -14,8 +14,6 @@ MySQL driver wrapper. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getConnection(string $host, int $port, string $user, string $password, string $db, int $maxConnections, int $idleTimeout): \Generator<\Amp\Mysql\Pool>` @@ -41,4 +39,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Db/Driver/Postgres.md b/docs/PHP/danog/MadelineProto/Db/Driver/Postgres.md index 3bc5b957..28857a53 100644 --- a/docs/PHP/danog/MadelineProto/Db/Driver/Postgres.md +++ b/docs/PHP/danog/MadelineProto/Db/Driver/Postgres.md @@ -14,8 +14,6 @@ Postgres driver wrapper. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getConnection(string $host, int $port, string $user, string $password, string $db, int $maxConnections, int $idleTimeout): \Generator<\Amp\Postgres\Pool>` @@ -41,4 +39,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Db/Driver/Redis.md b/docs/PHP/danog/MadelineProto/Db/Driver/Redis.md index e504c0d2..aee0b26f 100644 --- a/docs/PHP/danog/MadelineProto/Db/Driver/Redis.md +++ b/docs/PHP/danog/MadelineProto/Db/Driver/Redis.md @@ -14,8 +14,6 @@ Redis driver wrapper. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getConnection(string $host, int $port, string $user, string $password, string $db, int $maxConnections, int $idleTimeout): \Generator` @@ -46,4 +44,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Db/DriverArray.md b/docs/PHP/danog/MadelineProto/Db/DriverArray.md index 0b77f424..4db972fb 100644 --- a/docs/PHP/danog/MadelineProto/Db/DriverArray.md +++ b/docs/PHP/danog/MadelineProto/Db/DriverArray.md @@ -14,8 +14,6 @@ Array caching trait. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getArrayCopy(): \Amp\Promise` * `isset(string|int $key): \Amp\Promise` @@ -42,6 +40,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isset(string|int $key): \Amp\Promise` @@ -61,6 +61,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetGet(string|int $index): \Amp\Promise` @@ -81,6 +83,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetSet(string|int $index, mixed $value): void` @@ -101,6 +105,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetUnset(string|int $index): \Amp\Promise` @@ -116,6 +122,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `count(): \Amp\Promise` @@ -127,12 +135,16 @@ Count number of elements. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getIterator()` Get iterator. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getInstance(string $table, null|\danog\MadelineProto\Db\DbType|array $value, \danog\MadelineProto\Settings\DatabaseAbstract $settings): \Amp\Promise` @@ -151,4 +163,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Db/MemoryArray.md b/docs/PHP/danog/MadelineProto/Db/MemoryArray.md index 4a10822b..1aa79f23 100644 --- a/docs/PHP/danog/MadelineProto/Db/MemoryArray.md +++ b/docs/PHP/danog/MadelineProto/Db/MemoryArray.md @@ -14,8 +14,6 @@ Memory database backend. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Constants * `danog\MadelineProto\Db\MemoryArray::STD_PROP_LIST`: @@ -43,4 +41,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Db/MysqlArray.md b/docs/PHP/danog/MadelineProto/Db/MysqlArray.md index 63ce89f9..aadb8f8e 100644 --- a/docs/PHP/danog/MadelineProto/Db/MysqlArray.md +++ b/docs/PHP/danog/MadelineProto/Db/MysqlArray.md @@ -14,8 +14,6 @@ MySQL database backend. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `initStartup(): \Generator` * `isset( $key): \Promise true if the offset exists, otherwise false` @@ -37,6 +35,8 @@ Initialize on startup. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isset( $key): \Promise true if the offset exists, otherwise false` @@ -49,6 +49,8 @@ Parameters: Return value: true if the offset exists, otherwise false +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetSet(string|int $index, $value)` @@ -62,6 +64,8 @@ The index to set for. * `$value`: `` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetUnset(string|int $index): \Amp\Promise` @@ -79,6 +83,8 @@ The offset to unset. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `count(): \Promise The number of elements or public properties in the associated array or object, respectively.` @@ -89,6 +95,8 @@ Count elements. Return value: The number of elements or public properties in the associated array or object, respectively. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `initConnection(\danog\MadelineProto\Settings\Database\Mysql $settings): \Generator` @@ -105,6 +113,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getInstance(string $table, \danog\MadelineProto\Db\DbArray|array|null $value, \danog\MadelineProto\Settings\Database\DatabaseAbstract $settings): \Amp\Promise` @@ -128,4 +138,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Db/PostgresArray.md b/docs/PHP/danog/MadelineProto/Db/PostgresArray.md index 89abcd42..c0095417 100644 --- a/docs/PHP/danog/MadelineProto/Db/PostgresArray.md +++ b/docs/PHP/danog/MadelineProto/Db/PostgresArray.md @@ -14,8 +14,6 @@ Postgres database backend. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `initStartup(): \Generator` * `initConnection(\danog\MadelineProto\Settings\Database\Postgres $settings): \Generator` @@ -38,6 +36,8 @@ Initialize on startup. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `initConnection(\danog\MadelineProto\Settings\Database\Postgres $settings): \Generator` @@ -54,6 +54,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetSet(string $index, $value)` @@ -67,6 +69,8 @@ The index to set for. * `$value`: `` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isset( $key): \Promise true if the offset exists, otherwise false` @@ -79,6 +83,8 @@ Parameters: Return value: true if the offset exists, otherwise false +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetUnset(string $index): \Amp\Promise` @@ -96,6 +102,8 @@ The offset to unset. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getArrayCopy(): \Amp\Promise` @@ -107,6 +115,8 @@ Get array copy. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `count(): \Promise The number of elements or public properties in the associated array or object, respectively.` @@ -117,6 +127,8 @@ Count elements. Return value: The number of elements or public properties in the associated array or object, respectively. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getInstance(string $table, \danog\MadelineProto\Db\DbArray|array|null $value, \danog\MadelineProto\Settings\Database\DatabaseAbstract $settings): \Amp\Promise` @@ -140,4 +152,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Db/RedisArray.md b/docs/PHP/danog/MadelineProto/Db/RedisArray.md index 42fedaf2..a23d5b81 100644 --- a/docs/PHP/danog/MadelineProto/Db/RedisArray.md +++ b/docs/PHP/danog/MadelineProto/Db/RedisArray.md @@ -14,8 +14,6 @@ Redis database backend. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `initStartup(): \Generator` * `initConnection(\danog\MadelineProto\Settings\Database\Redis $settings): \Generator` @@ -38,6 +36,8 @@ Initialize on startup. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `initConnection(\danog\MadelineProto\Settings\Database\Redis $settings): \Generator` @@ -54,6 +54,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetSet(string $index, $value)` @@ -67,6 +69,8 @@ The index to set for. * `$value`: `` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isset( $key): \Promise true if the offset exists, otherwise false` @@ -79,6 +83,8 @@ Parameters: Return value: true if the offset exists, otherwise false +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetUnset(string $index): \Amp\Promise` @@ -96,6 +102,8 @@ The offset to unset. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getArrayCopy(): \Amp\Promise` @@ -107,6 +115,8 @@ Get array copy. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `count(): \Promise The number of elements or public properties in the associated array or object, respectively.` @@ -117,6 +127,8 @@ Count elements. Return value: The number of elements or public properties in the associated array or object, respectively. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getInstance(string $table, \danog\MadelineProto\Db\DbArray|array|null $value, \danog\MadelineProto\Settings\Database\DatabaseAbstract $settings): \Amp\Promise` @@ -140,4 +152,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Db/SqlArray.md b/docs/PHP/danog/MadelineProto/Db/SqlArray.md index 88a27287..e210fc98 100644 --- a/docs/PHP/danog/MadelineProto/Db/SqlArray.md +++ b/docs/PHP/danog/MadelineProto/Db/SqlArray.md @@ -14,8 +14,6 @@ Generic SQL database backend. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getInstance(string $table, \danog\MadelineProto\Db\DbArray|array|null $value, \danog\MadelineProto\Settings\Database\DatabaseAbstract $settings): \Amp\Promise` * `getArrayCopy(): \Amp\Promise` @@ -49,6 +47,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getArrayCopy(): \Amp\Promise` @@ -65,6 +65,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isset(string|int $key): \Amp\Promise` @@ -84,6 +86,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetGet(string|int $index): \Amp\Promise` @@ -104,6 +108,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetSet(string|int $index, mixed $value): void` @@ -124,6 +130,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetUnset(string|int $index): \Amp\Promise` @@ -139,6 +147,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `count(): \Amp\Promise` @@ -150,10 +160,16 @@ Count number of elements. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getIterator()` Get iterator. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/EventHandler.md b/docs/PHP/danog/MadelineProto/EventHandler.md index f452e40a..8eb5dd00 100644 --- a/docs/PHP/danog/MadelineProto/EventHandler.md +++ b/docs/PHP/danog/MadelineProto/EventHandler.md @@ -14,8 +14,6 @@ Event handler. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getReportPeers(): array|string|int` * `getAPI(): \danog\MadelineProto\MTProto` @@ -197,6 +195,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get peers where to send error reports. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getAPI(): \danog\MadelineProto\MTProto` @@ -208,6 +208,8 @@ Get API instance. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `MTProtoToBotAPI(array $data): \Amp\Promise` @@ -223,6 +225,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `MTProtoToTd(mixed $params): \Amp\Promise` @@ -238,6 +242,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `MTProtoToTdcli(mixed $params): \Amp\Promise` @@ -253,6 +259,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `acceptCall(array $call): \Amp\Promise` @@ -268,6 +276,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `acceptSecretChat(array $params): \Amp\Promise` @@ -283,6 +293,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `acceptTos(): \Amp\Promise` @@ -294,6 +306,8 @@ Accept terms of service update. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `addUser(array $user): \Amp\Promise` @@ -309,6 +323,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `after(\Generator|\Promise $a, \Generator|\Promise $b): \Amp\Promise` @@ -327,6 +343,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `all((\Generator|\Promise)[] $promises): \Amp\Promise` @@ -344,6 +362,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `any((\Promise|\Generator)[] $promises): \Amp\Promise` @@ -361,6 +381,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `arr(mixed $params): array` @@ -371,6 +393,8 @@ Parameters: * `$params`: `mixed` Params +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `base64urlDecode(string $data): string` @@ -381,6 +405,8 @@ Parameters: * `$data`: `string` Data to decode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `base64urlEncode(string $data): string` @@ -391,6 +417,8 @@ Parameters: * `$data`: `string` Data to encode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `botAPIToMTProto(array $arguments): \Amp\Promise` @@ -406,6 +434,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `botLogin(string $token): \Amp\Promise` @@ -421,6 +451,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `call(\Generator|\Promise|mixed $promise): \Amp\Promise` @@ -447,6 +479,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `callFork(\Generator|\Promise $promise, ?\Generator|\Promise $actual, string $file): \Amp\Promise|mixed` @@ -466,6 +500,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `callForkDefer(\Generator|\Promise $promise): void` @@ -482,6 +518,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `callStatus(int $id): mixed` @@ -501,6 +539,8 @@ int|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `checkTos(): \Amp\Promise` @@ -512,6 +552,8 @@ Check for terms of service update. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `cleanup(): \Amp\Promise` @@ -523,6 +565,8 @@ Cleanup memory and session file. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `closeConnection(string $message): void` @@ -533,6 +577,8 @@ Parameters: * `$message`: `string` Message +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `complete2faLogin(string $password): \Amp\Promise` @@ -548,6 +594,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `completeCall(array $params): \Amp\Promise` @@ -563,6 +611,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `completePhoneLogin(string $code): \Amp\Promise` @@ -578,6 +628,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `completeSignup(string $first_name, string $last_name): \Amp\Promise` @@ -594,6 +646,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `confirmCall(array $params): \Amp\Promise` @@ -609,6 +663,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `connectToAllDcs(bool $reconnectAll): \Amp\Promise` @@ -624,6 +680,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `declineTos(): \Amp\Promise` @@ -635,6 +693,8 @@ THIS WILL DELETE YOUR ACCOUNT! +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `discardCall(array $call, array $reason, array $rating, bool $need_debug): \Amp\Promise` @@ -653,6 +713,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `discardSecretChat(int $chat): \Amp\Promise` @@ -668,6 +730,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToBrowser(array|string $messageMedia, callable $cb): \Amp\Promise` @@ -684,6 +748,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToCallable(mixed $messageMedia, callable|\danog\MadelineProto\FileCallbackInterface $callable, callable $cb, bool $seekable, int $offset, int $end, int $part_size): \Amp\Promise` @@ -712,6 +778,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToDir(mixed $messageMedia, string|\danog\MadelineProto\FileCallbackInterface $dir, callable $cb): \Amp\Promise` @@ -734,6 +802,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToFile(mixed $messageMedia, string|\danog\MadelineProto\FileCallbackInterface $file, callable $cb): \Amp\Promise Downloaded file path` @@ -758,6 +828,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToResponse(array|string $messageMedia, \ServerRequest $request, callable $cb): \Amp\Promise Returned response` @@ -783,6 +855,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToStream(mixed $messageMedia, mixed|\danog\MadelineProto\FileCallbackInterface $stream, callable $cb, int $offset, int $end): \Amp\Promise` @@ -807,6 +881,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `echo(string $string): \Amp\Promise` @@ -822,6 +898,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `end(array $what): mixed` @@ -832,6 +910,8 @@ Parameters: * `$what`: `array` Array +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `exportAuthorization(): \Amp\Promise` @@ -847,6 +927,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `extractBotAPIFile(array $info): ?array` @@ -857,6 +939,8 @@ Parameters: * `$info`: `array` Bot API message object +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `fileGetContents(string $url): \Amp\Promise` @@ -876,6 +960,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `first((\Promise|\Generator)[] $promises): \Amp\Promise` @@ -893,6 +979,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `flock(string $file, int $operation, float $polling, ?\Promise $token, ?callable $failureCb): \Amp\Promise` @@ -914,6 +1002,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `fromSupergroup(int $id): float|int` @@ -924,6 +1014,8 @@ Parameters: * `$id`: `int` Bot API channel ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `fullChatLastUpdated(mixed $id): \Amp\Promise` @@ -939,6 +1031,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `fullGetSelf(): \Amp\Promise` @@ -950,6 +1044,8 @@ Get info about the logged-in user, not cached. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `genVectorHash(array $ints): \int Vector hash` @@ -962,6 +1058,8 @@ Parameters: Return value: Vector hash +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getAllMethods(): mixed` @@ -977,6 +1075,8 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getAuthorization(): mixed` @@ -992,6 +1092,8 @@ int|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCachedConfig(): mixed` @@ -1007,6 +1109,8 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCall(int $call): mixed` @@ -1026,6 +1130,8 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCdnConfig(string $datacenter): \Amp\Promise` @@ -1041,6 +1147,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getConfig(array $config, array $options): \Amp\Promise` @@ -1057,6 +1165,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDNSClient(): mixed` @@ -1073,6 +1183,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDataCenterConnections(): mixed` @@ -1089,12 +1201,16 @@ array<\danog\MadelineProto\DataCenterConnection>|\Amp\Promise` @@ -1133,6 +1251,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getEventHandler(): mixed` @@ -1149,6 +1269,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getExtensionFromLocation(mixed $location, string $default): string` @@ -1160,6 +1282,8 @@ Parameters: * `$default`: `string` Default extension +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getExtensionFromMime(string $mime): string` @@ -1170,6 +1294,8 @@ Parameters: * `$mime`: `string` MIME type +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFileInfo(mixed $constructor): \Amp\Promise` @@ -1185,6 +1311,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFolderId(mixed $id): ?int` @@ -1195,6 +1323,8 @@ Parameters: * `$id`: `mixed` Object +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFullDialogs(bool $force): \Amp\Promise` @@ -1210,6 +1340,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFullInfo(mixed $id): \Amp\Promise FullInfo object` @@ -1232,6 +1364,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getHTTPClient(): mixed` @@ -1248,6 +1382,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getHint(): mixed` @@ -1263,6 +1399,8 @@ string|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getId(mixed $id): int` @@ -1273,6 +1411,8 @@ Parameters: * `$id`: `mixed` Peer +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getInfo(mixed $id, bool $recursive): \Amp\Promise Info object` @@ -1297,12 +1437,16 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getLogger()` Get logger. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMethodNamespaces(): mixed` @@ -1318,6 +1462,8 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMethodsNamespaced(): mixed` @@ -1333,6 +1479,8 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromBuffer(string $buffer): string` @@ -1343,6 +1491,8 @@ Parameters: * `$buffer`: `string` Buffer +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromExtension(string $extension, string $default): string` @@ -1354,6 +1504,8 @@ Parameters: * `$default`: `string` Default mime type +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromFile(string $file): string` @@ -1364,6 +1516,8 @@ Parameters: * `$file`: `string` File +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPropicInfo(mixed $messageMedia): \Amp\Promise` @@ -1383,12 +1537,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPsrLogger()` Get PSR logger. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPwrChat(mixed $id): \Amp\Promise Chat object` @@ -1406,6 +1564,8 @@ Return value: Chat object +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSecretChat(array|int $chat): mixed` @@ -1425,12 +1585,16 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSelf(): array|bool` Get info about the logged-in user, cached. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSettings(): mixed` @@ -1447,6 +1611,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTL(): mixed` @@ -1463,6 +1629,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getVar(object $obj, string $var): mixed` @@ -1474,6 +1642,8 @@ Parameters: * `$var`: `string` Attribute name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWebTemplate(): mixed` @@ -1489,6 +1659,8 @@ string|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasAllAuth(): mixed` @@ -1504,6 +1676,8 @@ bool|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasEventHandler(): mixed` @@ -1519,6 +1693,8 @@ bool|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasReportPeers(): mixed` @@ -1534,6 +1710,8 @@ bool|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasSecretChat(array|int $chat): mixed` @@ -1553,6 +1731,8 @@ bool|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasVar(object $obj, string $var): bool` @@ -1564,6 +1744,8 @@ Parameters: * `$var`: `string` Attribute name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `importAuthorization(mixed $authorization): \Amp\Promise` @@ -1579,6 +1761,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `inflateStripped(string $stripped): \string JPG payload` @@ -1591,6 +1775,8 @@ Parameters: Return value: JPG payload +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `initSelfRestart(): mixed` @@ -1606,12 +1792,16 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isAltervista(): bool` Whether this is altervista. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isArrayOrAlike(mixed $var): bool` @@ -1622,6 +1812,8 @@ Parameters: * `$var`: `mixed` Value to check +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isIpc(): mixed` @@ -1637,6 +1829,8 @@ bool|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isSupergroup(int $id): bool` @@ -1647,6 +1841,8 @@ Parameters: * `$id`: `int` Bot API ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `logger(string $param, int $level, string $file): mixed` @@ -1668,6 +1864,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `logout(): \Amp\Promise` @@ -1679,6 +1877,8 @@ Log out currently logged in user. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `loop(callable|null $callback): \Amp\Promise` @@ -1694,6 +1894,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `loopFork(): \Amp\Promise` @@ -1705,6 +1907,8 @@ Start MadelineProto's update handling loop in background. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `markdownEscape(string $hwat): string` @@ -1715,6 +1919,8 @@ Parameters: * `$hwat`: `string` String to escape +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `mbStrSplit(string $text, int $length): array` @@ -1726,6 +1932,8 @@ Parameters: * `$length`: `int` Length +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `mbStrlen(string $text): float|int` @@ -1736,6 +1944,8 @@ Parameters: * `$text`: `string` Text +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `mbSubstr(string $text, int $offset, ?int $length): string` @@ -1748,6 +1958,8 @@ Parameters: * `$length`: `?int` Length +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodCall(string $method, array|\Generator $args, array $aargs): \Amp\Promise` @@ -1770,6 +1982,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodCallWrite(string $method, array|\Generator $args, array $aargs): \Amp\Promise` @@ -1792,6 +2006,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodEscape(string $method): string` @@ -1802,6 +2018,8 @@ Parameters: * `$method`: `string` Method name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packDouble(float $value): string` @@ -1812,6 +2030,8 @@ Parameters: * `$value`: `float` Value to convert +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packSignedInt(int $value): string` @@ -1822,6 +2042,8 @@ Parameters: * `$value`: `int` Value to convert +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packSignedLong(int $value): string` @@ -1832,6 +2054,8 @@ Parameters: * `$value`: `int` Value to convert +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packUnsignedInt(int $value): string` @@ -1842,6 +2066,8 @@ Parameters: * `$value`: `int` Value +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `peerIsset(mixed $id): \Amp\Promise` @@ -1861,6 +2087,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `phoneLogin(string $number, int $sms_type): \Amp\Promise` @@ -1877,6 +2105,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `posmod(int $a, int $b): \int Modulo` @@ -1891,6 +2121,8 @@ Parameters: Return value: Modulo +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `random(int $length): \string Random string` @@ -1903,6 +2135,8 @@ Parameters: Return value: Random string +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `randomInt(int $modulus): int` @@ -1913,6 +2147,8 @@ Parameters: * `$modulus`: `int` Modulus +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `readLine(string $prompt): \Amp\Promise` @@ -1928,6 +2164,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rekey(int $chat): \Amp\Promise` @@ -1943,6 +2181,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `report(string $message, string $parseMode): \Amp\Promise` @@ -1959,6 +2199,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `requestCall(mixed $user): \Amp\Promise` @@ -1974,6 +2216,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `requestSecretChat(mixed $user): \Amp\Promise` @@ -1989,6 +2233,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `resetUpdateState(): mixed` @@ -2004,6 +2250,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `resolveUsername(string $username): \Amp\Promise` @@ -2019,12 +2267,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `restart(): void` Restart update loop. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rethrow(\Throwable $e, string $file): void` @@ -2041,6 +2293,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rleDecode(string $string): string` @@ -2051,6 +2305,8 @@ Parameters: * `$string`: `string` Data to decode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rleEncode(string $string): string` @@ -2061,6 +2317,8 @@ Parameters: * `$string`: `string` Data to encode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `secretChatStatus(int $chat): mixed` @@ -2080,12 +2338,16 @@ int|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `serializeAll(): void` Serialize all instances. CALLED ONLY ON SHUTDOWN. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setCallback(callable $callback): mixed` @@ -2105,6 +2367,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setEventHandler(class-string<\danog\MadelineProto\EventHandler> $eventHandler): \Amp\Promise` @@ -2121,6 +2385,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setNoop(): mixed` @@ -2136,6 +2402,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setReportPeers(int|string $userOrId): \Amp\Promise` @@ -2151,6 +2419,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setVar(object $obj, string $var, mixed $val): void` @@ -2163,6 +2433,8 @@ Parameters: * `$val`: `mixed` Attribute value +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setWebTemplate(string $template): mixed` @@ -2182,6 +2454,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setWebhook(string $hook_url, string $pem_path): mixed` @@ -2202,6 +2476,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setupLogger(): mixed` @@ -2217,6 +2493,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `sleep(int|float $time): \Amp\Promise` @@ -2232,6 +2510,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `some((\Promise|\Generator)[] $promises): \Amp\Promise` @@ -2249,6 +2529,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `start(): \Amp\Promise` @@ -2260,12 +2542,16 @@ Log in to telegram (via CLI or web). +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `stop(): void` Stop update loop. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `tdToMTProto(array $params): \Amp\Promise` @@ -2281,6 +2567,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `tdToTdcli(mixed $params): mixed` @@ -2291,6 +2579,8 @@ Parameters: * `$params`: `mixed` Parameters +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `tdcliToTd(array $params, array $key): mixed` @@ -2311,6 +2601,8 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `timeout(\Generator|\Promise $promise, int $timeout): \Amp\Promise` @@ -2329,6 +2621,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `timeoutWithDefault(\Promise|\Generator $promise, int $timeout, mixed $default): \Amp\Promise<\TReturn>|\Promise<\TReturnAlt>` @@ -2361,6 +2655,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `toCamelCase(string $input): string` @@ -2371,6 +2667,8 @@ Parameters: * `$input`: `string` String +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `toSnakeCase(string $input): string` @@ -2381,6 +2679,8 @@ Parameters: * `$input`: `string` String +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `toSupergroup(int $id): float|int` @@ -2391,6 +2691,8 @@ Parameters: * `$id`: `int` MTProto channel ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `typeEscape(string $type): string` @@ -2401,6 +2703,8 @@ Parameters: * `$type`: `string` String to escape +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackDouble(string $value): float` @@ -2411,6 +2715,8 @@ Parameters: * `$value`: `string` Value to unpack +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackFileId(string $fileId): mixed` @@ -2430,6 +2736,8 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackSignedInt(string $value): int` @@ -2440,6 +2748,8 @@ Parameters: * `$value`: `string` base256 int +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackSignedLong(string $value): int` @@ -2450,6 +2760,8 @@ Parameters: * `$value`: `string` base256 long +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackSignedLongString(string $value): string` @@ -2460,6 +2772,8 @@ Parameters: * `$value`: `string` base256 long +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unsetEventHandler(bool $disableUpdateHandling): mixed` @@ -2479,6 +2793,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `update2fa(array $params): \Amp\Promise` @@ -2494,6 +2810,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `updateSettings(\danog\MadelineProto\SettingsAbstract $settings): \Amp\Promise` @@ -2510,6 +2828,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `upload(\danog\MadelineProto\FileCallbackInterface|string|array $file, string $fileName, callable $cb, bool $encrypted): \Amp\Promise` @@ -2533,6 +2853,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadEncrypted(\danog\MadelineProto\FileCallbackInterface|string|array $file, string $fileName, callable $cb): \Amp\Promise` @@ -2555,6 +2877,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromCallable(mixed $callable, int $size, string $mime, string $fileName, callable $cb, bool $seekable, bool $encrypted): \Amp\Promise` @@ -2581,6 +2905,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromStream(mixed $stream, int $size, string $mime, string $fileName, callable $cb, bool $encrypted): \Amp\Promise` @@ -2605,6 +2931,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromTgfile(mixed $media, callable $cb, bool $encrypted): \Amp\Promise` @@ -2626,6 +2954,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromUrl(string|\danog\MadelineProto\FileCallbackInterface $url, int $size, string $fileName, callable $cb, bool $encrypted): \Amp\Promise` @@ -2650,6 +2980,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `wait(\Generator|\Promise $promise, bool $ignoreSignal): mixed` @@ -2667,6 +2999,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `async(bool $async): void` @@ -2677,12 +3011,16 @@ Parameters: * `$async`: `bool` Whether to enable or disable async +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `init(): void` Blockingly init. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `initAsynchronously(): \Generator` @@ -2694,12 +3032,16 @@ Asynchronously init. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `inited(): bool` Check if we've already inited. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `forceInit(bool $inited): void` @@ -2710,4 +3052,8 @@ Parameters: * `$inited`: `bool` Whether to mark the instance as inited or deinited +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Exception.md b/docs/PHP/danog/MadelineProto/Exception.md index bab7d2db..421144f5 100644 --- a/docs/PHP/danog/MadelineProto/Exception.md +++ b/docs/PHP/danog/MadelineProto/Exception.md @@ -14,8 +14,6 @@ Basic exception. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `extension(string $extensionName): self` * `exceptionErrorHandler(): false` @@ -35,18 +33,24 @@ Parameters: * `$extensionName`: `string` Extension name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `exceptionErrorHandler(): false` ExceptionErrorHandler. Error handler +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `exceptionHandler(): void` ExceptionErrorHandler. Error handler +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `updateTLTrace(array $trace): void` @@ -57,12 +61,16 @@ Parameters: * `$trace`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTLTrace(): string` Get TL trace. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setTLTrace(string $tlTrace): void` @@ -73,6 +81,8 @@ Parameters: * `$tlTrace`: `string` TL trace +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `prettifyTL(string $init, array $trace): void` @@ -84,4 +94,8 @@ Parameters: * `$trace`: `array` Async trace +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/FileCallback.md b/docs/PHP/danog/MadelineProto/FileCallback.md index 49d3aab8..fdbfdd61 100644 --- a/docs/PHP/danog/MadelineProto/FileCallback.md +++ b/docs/PHP/danog/MadelineProto/FileCallback.md @@ -14,8 +14,6 @@ File callback interface. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getFile(): mixed` @@ -25,4 +23,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get file. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/FileCallbackInterface.md b/docs/PHP/danog/MadelineProto/FileCallbackInterface.md index d55995e0..8c6fae6e 100644 --- a/docs/PHP/danog/MadelineProto/FileCallbackInterface.md +++ b/docs/PHP/danog/MadelineProto/FileCallbackInterface.md @@ -14,8 +14,6 @@ File callback interface. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getFile(): mixed` @@ -25,4 +23,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get file. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Files/Server.md b/docs/PHP/danog/MadelineProto/Files/Server.md index 49315409..1a1a371b 100644 --- a/docs/PHP/danog/MadelineProto/Files/Server.md +++ b/docs/PHP/danog/MadelineProto/Files/Server.md @@ -13,6 +13,5 @@ MadelineProto fileserver. - --- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). \ No newline at end of file +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Logger.md b/docs/PHP/danog/MadelineProto/Logger.md index 00c5d9f9..9ef8c73b 100644 --- a/docs/PHP/danog/MadelineProto/Logger.md +++ b/docs/PHP/danog/MadelineProto/Logger.md @@ -14,8 +14,6 @@ Logger class. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Constants * `danog\MadelineProto\Logger::LEVEL_ULTRA_VERBOSE`: Ultra verbose level. @@ -59,6 +57,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `log(mixed $param, int $level): void` @@ -70,6 +70,8 @@ Parameters: * `$level`: `int` Logging level +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `logger(mixed $param, int $level, string $file): void` @@ -82,6 +84,8 @@ Parameters: * `$file`: `string` File that originated the message +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPsrLogger(): \Psr\Log\LoggerInterface` @@ -93,4 +97,8 @@ Get PSR logger. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Lua.md b/docs/PHP/danog/MadelineProto/Lua.md index 6421a086..da5dc6ee 100644 --- a/docs/PHP/danog/MadelineProto/Lua.md +++ b/docs/PHP/danog/MadelineProto/Lua.md @@ -14,8 +14,6 @@ Lua interface. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `tdcliFunction(): \Generator|int` @@ -30,4 +28,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/MTProto.md b/docs/PHP/danog/MadelineProto/MTProto.md index 02b3a57e..3e1bfdd9 100644 --- a/docs/PHP/danog/MadelineProto/MTProto.md +++ b/docs/PHP/danog/MadelineProto/MTProto.md @@ -14,8 +14,6 @@ Manages all of the mtproto stuff. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Constants * `danog\MadelineProto\MTProto::RELEASE`: Release version. @@ -177,12 +175,16 @@ Serialize session, returning object to serialize to db. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `serializeAll(): void` Serialize all instances. CALLED ONLY ON SHUTDOWN. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `cleanup(): \Generator` @@ -194,6 +196,8 @@ Cleanup memory and session file. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `logger(string $param, int $level, string $file): void` @@ -206,18 +210,24 @@ Parameters: * `$file`: `string` File where the message originated +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMethodNamespaces(): array` Get TL namespaces. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMethodsNamespaced(): array` Get namespaced methods (method => namespace). +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTL(): \danog\MadelineProto\TL\TL` @@ -229,18 +239,24 @@ Get TL serializer. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getLogger()` Get logger. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPsrLogger()` Get PSR logger. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getHTTPClient(): \Amp\Http\Client\HttpClient` @@ -252,6 +268,8 @@ Get async HTTP client. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDNSClient(): \Amp\Dns\Resolver` @@ -263,6 +281,8 @@ Get async DNS client. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `fileGetContents(string $url): \Generator` @@ -283,6 +303,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDataCenterConnections(): \danog\MadelineProto\DataCenterConnection[]` @@ -294,18 +316,24 @@ Get all datacenter connections. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDataCenterId(): int|string` Get main DC ID. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isIpc(): bool` Whether we're an IPC client instance. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `updateSettings(\danog\MadelineProto\SettingsAbstract $settings): \Generator` @@ -322,6 +350,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSettings(): \danog\MadelineProto\Settings` @@ -333,18 +363,24 @@ Return current settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setupLogger(): void` Setup logger. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasAllAuth(): bool` Checks whether all datacenters are authorized. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `connectToAllDcs(bool $reconnectAll): \Generator` @@ -360,12 +396,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `resetUpdateState(): void` Reset the update state and fetch all updates from the beginning. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCdnConfig(string $datacenter): \Generator` @@ -381,12 +421,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCachedConfig(): array` Get cached server-side config. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getConfig(array $config, array $options): \Generator` @@ -403,12 +447,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSelf(): array|bool` Get info about the logged-in user, cached. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `fullGetSelf(): \Generator` @@ -420,24 +468,32 @@ Get info about the logged-in user, not cached. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getAuthorization(): int` Get authorization info. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getHint(): string` Get current password hint. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasReportPeers(): bool` Check if has report peers. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setReportPeers(int|string $userOrId): \Generator` @@ -453,6 +509,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `report(string $message, string $parseMode): \Generator` @@ -469,42 +527,56 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getAllMethods(): array` Get full list of MTProto and API methods. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMethodCallbacks(): array` Called right before serialization of method starts. Pass the method name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMethodBeforeCallbacks(): array` Called right before serialization of method starts. Pass the method name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getConstructorCallbacks(): array` Called right after deserialization of object, passing the final object. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getConstructorBeforeCallbacks(): array` Called right before deserialization of object. Pass only the constructor name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getConstructorSerializeCallbacks(): array` Called right before serialization of constructor. Passed the object, will return a modified version. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTypeMismatchCallbacks(): array` @@ -512,12 +584,16 @@ Called if objects of the specified type cannot be serialized. Passed the unserializable object, will try to convert it to an object of the proper type. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `init(): void` Blockingly init. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `initAsynchronously(): \Generator` @@ -529,12 +605,16 @@ Asynchronously init. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `inited(): bool` Check if we've already inited. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `forceInit(bool $inited): void` @@ -545,6 +625,8 @@ Parameters: * `$inited`: `bool` Whether to mark the instance as inited or deinited +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodCall(string $method, array|\Generator $args, array $aargs): mixed` @@ -566,6 +648,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodCallAsyncRead(string $method, array|\Generator $args, array $aargs): \Generator` @@ -587,6 +671,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodCallAsyncWrite(string $method, array|\Generator $args, array $aargs): \Generator` @@ -608,6 +694,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `toSupergroup(int $id): float|int` @@ -618,6 +706,8 @@ Parameters: * `$id`: `int` MTProto channel ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `fromSupergroup(int $id): float|int` @@ -628,6 +718,8 @@ Parameters: * `$id`: `int` Bot API channel ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isSupergroup(int $id): bool` @@ -638,6 +730,8 @@ Parameters: * `$id`: `int` Bot API ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `addUser(array $user): \Generator` @@ -653,6 +747,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `peerIsset(mixed $id): \Generator` @@ -673,6 +769,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFolderId(mixed $id): ?int` @@ -683,6 +781,8 @@ Parameters: * `$id`: `mixed` Object +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getId(mixed $id): int` @@ -693,6 +793,8 @@ Parameters: * `$id`: `mixed` Peer +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getInfo(mixed $id, bool $recursive): \Generator Info object` @@ -717,6 +819,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `fullChatLastUpdated(mixed $id): \Generator` @@ -732,6 +836,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFullInfo(mixed $id): \Generator FullInfo object` @@ -755,6 +861,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPwrChat(mixed $id): \Generator Chat object` @@ -772,6 +880,8 @@ Return value: Chat object +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `resolveUsername(string $username): \Generator` @@ -787,6 +897,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromUrl(string|\danog\MadelineProto\FileCallbackInterface $url, int $size, string $fileName, callable $cb, bool $encrypted): \Generator` @@ -814,6 +926,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromCallable(mixed $callable, int $size, string $mime, string $fileName, callable $cb, bool $seekable, bool $encrypted): \Generator` @@ -841,6 +955,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromTgfile(mixed $media, callable $cb, bool $encrypted): \Generator` @@ -863,6 +979,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFileInfo(mixed $constructor): \Generator` @@ -878,6 +996,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPropicInfo(mixed $messageMedia): \Generator` @@ -897,6 +1017,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `extractBotAPIFile(array $info): ?array` @@ -907,6 +1029,8 @@ Parameters: * `$info`: `array` Bot API message object +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDownloadInfo(mixed $messageMedia): \Generator` @@ -926,6 +1050,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToDir(mixed $messageMedia, string|\danog\MadelineProto\FileCallbackInterface $dir, callable $cb): \Generator` @@ -951,6 +1077,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToFile(mixed $messageMedia, string|\danog\MadelineProto\FileCallbackInterface $file, callable $cb): \Generator Downloaded file path` @@ -978,6 +1106,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToCallable(mixed $messageMedia, callable|\danog\MadelineProto\FileCallbackInterface $callable, callable $cb, bool $seekable, int $offset, int $end, int $part_size): \Generator` @@ -1007,6 +1137,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToBrowser(array|string $messageMedia, callable $cb): \Generator` @@ -1023,6 +1155,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToStream(mixed $messageMedia, mixed|\danog\MadelineProto\FileCallbackInterface $stream, callable $cb, int $offset, int $end): \Generator` @@ -1049,6 +1183,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToResponse(array|string $messageMedia, \ServerRequest $request, callable $cb): \Generator Returned response` @@ -1074,6 +1210,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadEncrypted(\danog\MadelineProto\FileCallbackInterface|string|array $file, string $fileName, callable $cb): \Generator` @@ -1100,6 +1238,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `upload(\danog\MadelineProto\FileCallbackInterface|string|array $file, string $fileName, callable $cb, bool $encrypted): \Generator` @@ -1127,6 +1267,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromStream(mixed $stream, int $size, string $mime, string $fileName, callable $cb, bool $encrypted): \Generator` @@ -1153,6 +1295,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `acceptSecretChat(array $params): \Generator` @@ -1168,6 +1312,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `requestSecretChat(mixed $user): \Generator` @@ -1183,6 +1329,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rekey(int $chat): \Generator` @@ -1198,6 +1346,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `secretChatStatus(int $chat): \int One of MTProto::SECRET_EMPTY, MTProto::SECRET_REQUESTED, MTProto::SECRET_READY` @@ -1210,6 +1360,8 @@ Parameters: Return value: One of MTProto::SECRET_EMPTY, MTProto::SECRET_REQUESTED, MTProto::SECRET_READY +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSecretChat(array|int $chat): array` @@ -1220,6 +1372,8 @@ Parameters: * `$chat`: `array|int` Secret chat ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasSecretChat(array|int $chat): bool` @@ -1230,6 +1384,8 @@ Parameters: * `$chat`: `array|int` Secret chat ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `discardSecretChat(int $chat): \Generator` @@ -1245,6 +1401,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `mbStrlen(string $text): float|int` @@ -1255,6 +1413,8 @@ Parameters: * `$text`: `string` Text +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `mbSubstr(string $text, int $offset, ?int $length): string` @@ -1267,6 +1427,8 @@ Parameters: * `$length`: `?int` Length +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `mbStrSplit(string $text, int $length): array` @@ -1278,6 +1440,8 @@ Parameters: * `$length`: `int` Length +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `MTProtoToBotAPI(array $data): \Generator` @@ -1293,6 +1457,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `botAPIToMTProto(array $arguments): \Generator` @@ -1308,6 +1474,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackFileId(string $fileId): \array Unpacked file ID` @@ -1320,6 +1488,8 @@ Parameters: Return value: Unpacked file ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `tdcliToTd(array $params, array $key): array` @@ -1331,6 +1501,8 @@ Parameters: * `$key`: `array` Key +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `tdToMTProto(array $params): \Generator` @@ -1346,6 +1518,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `MTProtoToTdcli(mixed $params): \Generator` @@ -1361,6 +1535,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `MTProtoToTd(mixed $params): \Generator` @@ -1376,6 +1552,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `tdToTdcli(mixed $params): mixed` @@ -1386,6 +1564,8 @@ Parameters: * `$params`: `mixed` Parameters +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `requestCall(mixed $user): \Generator` @@ -1401,6 +1581,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `acceptCall(array $call): \Generator` @@ -1416,6 +1598,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `confirmCall(array $params): \Generator` @@ -1431,6 +1615,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `completeCall(array $params): \Generator` @@ -1446,6 +1632,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `callStatus(int $id): int` @@ -1456,6 +1644,8 @@ Parameters: * `$id`: `int` Call ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCall(int $call): array` @@ -1466,6 +1656,8 @@ Parameters: * `$call`: `int` Call ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `discardCall(array $call, array $reason, array $rating, bool $need_debug): \Generator` @@ -1484,6 +1676,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDialogs(bool $force): \Generator` @@ -1504,6 +1698,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFullDialogs(bool $force): \Generator` @@ -1519,6 +1715,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setEventHandler(class-string<\danog\MadelineProto\EventHandler> $eventHandler): \Generator` @@ -1535,6 +1733,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unsetEventHandler(bool $disableUpdateHandling): void` @@ -1545,6 +1745,8 @@ Parameters: * `$disableUpdateHandling`: `bool` Whether to also disable internal update handling (will cause errors, otherwise will simply use the NOOP handler) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getEventHandler(): \danog\MadelineProto\EventHandler` @@ -1556,12 +1758,16 @@ Get event handler. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasEventHandler(): bool` Check if an event handler instance is present. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setWebhook(string $hook_url, string $pem_path): void` @@ -1573,6 +1779,8 @@ Parameters: * `$pem_path`: `string` PEM path for self-signed certificate +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setCallback(callable $callback): void` @@ -1583,6 +1791,8 @@ Parameters: * `$callback`: `callable` Callback +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `logout(): \Generator` @@ -1594,6 +1804,8 @@ Log out currently logged in user. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `botLogin(string $token): \Generator` @@ -1609,6 +1821,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `phoneLogin(string $number, int $sms_type): \Generator` @@ -1625,6 +1839,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `completePhoneLogin(string $code): \Generator` @@ -1640,6 +1856,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `importAuthorization(mixed $authorization): \Generator` @@ -1655,6 +1873,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `exportAuthorization(): \Generator` @@ -1670,6 +1890,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `completeSignup(string $first_name, string $last_name): \Generator` @@ -1686,6 +1908,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `complete2faLogin(string $password): \Generator` @@ -1701,6 +1925,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `update2fa(array $params): \Generator` @@ -1716,12 +1942,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `initSelfRestart(): void` Initialize self-restart hack. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `loop(callable|null $callback): \Generator` @@ -1737,18 +1967,24 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `stop(): void` Stop update loop. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `restart(): void` Restart update loop. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `loopFork(): \Amp\Promise` @@ -1760,6 +1996,8 @@ Start MadelineProto's update handling loop in background. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `closeConnection(string $message): void` @@ -1770,12 +2008,16 @@ Parameters: * `$message`: `string` Message +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setNoop(): void` Set NOOP update handler, ignoring all updates. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `start(): \Generator` @@ -1787,12 +2029,16 @@ Log in to telegram (via CLI or web). +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWebTemplate(): string` Get web template. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setWebTemplate(string $template): void` @@ -1803,6 +2049,8 @@ Parameters: * `$template`: `string` Template +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `checkTos(): \Generator` @@ -1814,6 +2062,8 @@ Check for terms of service update. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `acceptTos(): \Generator` @@ -1825,6 +2075,8 @@ Accept terms of service update. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `declineTos(): \Generator` @@ -1836,4 +2088,8 @@ THIS WILL DELETE YOUR ACCOUNT! +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/MTProtoTools/CombinedUpdatesState.md b/docs/PHP/danog/MadelineProto/MTProtoTools/CombinedUpdatesState.md index 6d176488..e189c36c 100644 --- a/docs/PHP/danog/MadelineProto/MTProtoTools/CombinedUpdatesState.md +++ b/docs/PHP/danog/MadelineProto/MTProtoTools/CombinedUpdatesState.md @@ -14,8 +14,6 @@ Stores multiple update states. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `get(int $channel, array $init): \danog\MadelineProto\MTProtoTools\UpdatesState|\danog\MadelineProto\MTProtoTools\UpdatesState[]` * `remove(int $channel): void` @@ -38,6 +36,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `remove(int $channel): void` @@ -48,6 +48,8 @@ Parameters: * `$channel`: `int` Channel whose state should be removed +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `has(int $channel): bool` @@ -58,6 +60,8 @@ Parameters: * `$channel`: `int` Channel ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `syncLoading(int $channel, bool|null $set): bool` @@ -69,4 +73,8 @@ Parameters: * `$set`: `bool|null` Busy flag to set before returning +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/MTProtoTools/ResponseInfo.md b/docs/PHP/danog/MadelineProto/MTProtoTools/ResponseInfo.md index 375fb76f..973c27d7 100644 --- a/docs/PHP/danog/MadelineProto/MTProtoTools/ResponseInfo.md +++ b/docs/PHP/danog/MadelineProto/MTProtoTools/ResponseInfo.md @@ -14,8 +14,6 @@ Obtain response information for file to server. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `parseHeaders(string $method, array $headers, array $messageMedia): self` * `getCodeExplanation(): string` @@ -36,12 +34,16 @@ Parameters: * `$messageMedia`: `array` Media info +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCodeExplanation(): string` Get explanation for HTTP code. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `shouldServe(): \bool Whether to serve file` @@ -50,6 +52,8 @@ Whether to serve file. Return value: Whether to serve file +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getServeRange(): \array HTTP serving range` @@ -58,6 +62,8 @@ Get serving range. Return value: HTTP serving range +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCode(): \int HTTP response code` @@ -66,6 +72,8 @@ Get HTTP response code. Return value: HTTP response code +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getHeaders(): \array Header array` @@ -74,4 +82,8 @@ Get header array. Return value: Header array +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/MyTelegramOrgWrapper.md b/docs/PHP/danog/MadelineProto/MyTelegramOrgWrapper.md index c9248367..67340fd8 100644 --- a/docs/PHP/danog/MadelineProto/MyTelegramOrgWrapper.md +++ b/docs/PHP/danog/MadelineProto/MyTelegramOrgWrapper.md @@ -14,8 +14,6 @@ Wrapper for my.telegram.org. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `login(string $number): \Generator` * `completeLogin(string $password): \Generator` @@ -41,6 +39,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `completeLogin(string $password): \Generator` @@ -56,12 +56,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `loggedIn(): bool` Whether we are logged in. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasApp(): \Generator` @@ -73,6 +77,8 @@ Check if an app was already created. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getApp(): \Generator` @@ -84,6 +90,8 @@ Get the currently created app. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `createApp(array $settings): \Generator` @@ -99,6 +107,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `async(bool $async): void` @@ -109,6 +119,8 @@ Parameters: * `$async`: `bool` Async +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `loop(callable $callable): mixed` @@ -119,4 +131,8 @@ Parameters: * `$callable`: `callable` Callable +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/PTSException.md b/docs/PHP/danog/MadelineProto/PTSException.md index 996a4924..c82f274d 100644 --- a/docs/PHP/danog/MadelineProto/PTSException.md +++ b/docs/PHP/danog/MadelineProto/PTSException.md @@ -14,8 +14,6 @@ Internal error indicating a problem with Telegram's servers. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `updateTLTrace(array $trace): void` * `getTLTrace(): string` @@ -32,12 +30,16 @@ Parameters: * `$trace`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTLTrace(): string` Get TL trace. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setTLTrace(string $tlTrace): void` @@ -48,6 +50,8 @@ Parameters: * `$tlTrace`: `string` TL trace +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `prettifyTL(string $init, array $trace): void` @@ -59,4 +63,8 @@ Parameters: * `$trace`: `array` Async trace +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/PsrLogger.md b/docs/PHP/danog/MadelineProto/PsrLogger.md index cfd5b591..b115b669 100644 --- a/docs/PHP/danog/MadelineProto/PsrLogger.md +++ b/docs/PHP/danog/MadelineProto/PsrLogger.md @@ -14,8 +14,6 @@ PSR-3 wrapper for MadelineProto's Logger. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `log(mixed $level, string $message, array $context): void` * `emergency(string $message, array $context): void` @@ -39,6 +37,8 @@ Parameters: * `$context`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `emergency(string $message, array $context): void` @@ -50,6 +50,8 @@ Parameters: * `$context`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `alert(string $message, array $context): void` @@ -62,6 +64,8 @@ Parameters: * `$context`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `critical(string $message, array $context): void` @@ -73,6 +77,8 @@ Parameters: * `$context`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `error(string $message, array $context): void` @@ -85,6 +91,8 @@ Parameters: * `$context`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `warning(string $message, array $context): void` @@ -97,6 +105,8 @@ Parameters: * `$context`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `notice(string $message, array $context): void` @@ -108,6 +118,8 @@ Parameters: * `$context`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `info(string $message, array $context): void` @@ -119,6 +131,8 @@ Parameters: * `$context`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `debug(string $message, array $context): void` @@ -130,4 +144,8 @@ Parameters: * `$context`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/RPCErrorException.md b/docs/PHP/danog/MadelineProto/RPCErrorException.md index 83a68127..9b942e2a 100644 --- a/docs/PHP/danog/MadelineProto/RPCErrorException.md +++ b/docs/PHP/danog/MadelineProto/RPCErrorException.md @@ -14,8 +14,6 @@ Indicates an error returned by Telegram's API. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getLocalization(): string` * `setLocalization(string $localization): void` @@ -30,6 +28,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get localized error name. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setLocalization(string $localization): void` @@ -40,6 +40,8 @@ Parameters: * `$localization`: `string` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `updateTLTrace(array $trace): void` @@ -50,12 +52,16 @@ Parameters: * `$trace`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTLTrace(): string` Get TL trace. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setTLTrace(string $tlTrace): void` @@ -66,6 +72,8 @@ Parameters: * `$tlTrace`: `string` TL trace +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `prettifyTL(string $init, array $trace): void` @@ -77,4 +85,8 @@ Parameters: * `$trace`: `array` Async trace +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/ResponseException.md b/docs/PHP/danog/MadelineProto/ResponseException.md index c0106bab..ceda7d71 100644 --- a/docs/PHP/danog/MadelineProto/ResponseException.md +++ b/docs/PHP/danog/MadelineProto/ResponseException.md @@ -13,6 +13,5 @@ Indicates an error thrown when an unexpected response is received from telegram' - --- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). \ No newline at end of file +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/SecurityException.md b/docs/PHP/danog/MadelineProto/SecurityException.md index 302eaa24..d3a340de 100644 --- a/docs/PHP/danog/MadelineProto/SecurityException.md +++ b/docs/PHP/danog/MadelineProto/SecurityException.md @@ -13,6 +13,5 @@ Indicates a security error. - --- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). \ No newline at end of file +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Settings.md b/docs/PHP/danog/MadelineProto/Settings.md index fee04c7e..19b3e881 100644 --- a/docs/PHP/danog/MadelineProto/Settings.md +++ b/docs/PHP/danog/MadelineProto/Settings.md @@ -14,8 +14,6 @@ Settings class used for configuring MadelineProto. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `parseFromLegacy(\danog\MadelineProto\SettingsAbstract|array $settings): \danog\MadelineProto\SettingsAbstract` * `mergeArray(array $settings): void` @@ -68,6 +66,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `mergeArray(array $settings): void` @@ -78,6 +78,8 @@ Parameters: * `$settings`: `array` Settings +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `merge(\danog\MadelineProto\SettingsAbstract $settings): void` @@ -93,18 +95,24 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDefaultDc(): int` Get default DC ID. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDefaultDcParams(): array` Get default DC params. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setDefaultDc(int $dc): self` @@ -115,6 +123,8 @@ Parameters: * `$dc`: `int` DC ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getAppInfo(): \danog\MadelineProto\Settings\AppInfo` @@ -126,6 +136,8 @@ Get app information. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setAppInfo(\danog\MadelineProto\Settings\AppInfo $appInfo): self` @@ -141,6 +153,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getAuth(): \danog\MadelineProto\Settings\Auth` @@ -152,6 +166,8 @@ Get cryptography settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setAuth(\danog\MadelineProto\Settings\Auth $auth): self` @@ -167,6 +183,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getConnection(): \danog\MadelineProto\Settings\Connection` @@ -178,6 +196,8 @@ Get connection settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setConnection(\danog\MadelineProto\Settings\Connection $connection): self` @@ -193,6 +213,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFiles(): \danog\MadelineProto\Settings\Files` @@ -204,6 +226,8 @@ Get file management settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setFiles(\danog\MadelineProto\Settings\Files $files): self` @@ -219,6 +243,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getLogger(): \danog\MadelineProto\Settings\Logger` @@ -230,6 +256,8 @@ Get logger settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setLogger(\danog\MadelineProto\Settings\Logger $logger): self` @@ -245,6 +273,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPeer(): \danog\MadelineProto\Settings\Peer` @@ -256,6 +286,8 @@ Get peer database settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setPeer(\danog\MadelineProto\Settings\Peer $peer): self` @@ -271,6 +303,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPwr(): \danog\MadelineProto\Settings\Pwr` @@ -282,6 +316,8 @@ Get PWRTelegram settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setPwr(\danog\MadelineProto\Settings\Pwr $pwr): self` @@ -297,6 +333,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getRpc(): \danog\MadelineProto\Settings\RPC` @@ -308,6 +346,8 @@ Get RPC settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setRpc(\danog\MadelineProto\Settings\RPC $rpc): self` @@ -323,6 +363,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSecretChats(): \danog\MadelineProto\Settings\SecretChats` @@ -334,6 +376,8 @@ Get secret chat settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setSecretChats(\danog\MadelineProto\Settings\SecretChats $secretChats): self` @@ -349,6 +393,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSerialization(): \danog\MadelineProto\Settings\Serialization` @@ -360,6 +406,8 @@ Get serialization settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setSerialization(\danog\MadelineProto\Settings\Serialization $serialization): self` @@ -375,6 +423,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSchema(): \danog\MadelineProto\Settings\TLSchema` @@ -386,6 +436,8 @@ Get TL schema settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setSchema(\danog\MadelineProto\Settings\TLSchema $schema): self` @@ -401,6 +453,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDb(): \danog\MadelineProto\Settings\DatabaseAbstract` @@ -412,6 +466,8 @@ Get database settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setDb(\danog\MadelineProto\Settings\DatabaseAbstract $db): self` @@ -427,6 +483,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getIpc(): \danog\MadelineProto\Settings\Ipc` @@ -438,6 +496,8 @@ Get IPC server settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setIpc(\danog\MadelineProto\Settings\Ipc $ipc): self` @@ -453,6 +513,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTemplates(): \danog\MadelineProto\Settings\Templates` @@ -464,6 +526,8 @@ Get template settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setTemplates(\danog\MadelineProto\Settings\Templates $templates): self` @@ -479,10 +543,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Settings/AppInfo.md b/docs/PHP/danog/MadelineProto/Settings/AppInfo.md index 6fb4e720..4ef7ead7 100644 --- a/docs/PHP/danog/MadelineProto/Settings/AppInfo.md +++ b/docs/PHP/danog/MadelineProto/Settings/AppInfo.md @@ -14,8 +14,6 @@ App information. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `hasApiInfo(): bool` * `getApiId(): int` @@ -40,12 +38,16 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Check if the settings have API ID/hash information. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getApiId(): int` Get API ID. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setApiId(int $apiId): self` @@ -56,12 +58,16 @@ Parameters: * `$apiId`: `int` API ID. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getApiHash(): string` Get API hash. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setApiHash(string $apiHash): self` @@ -72,12 +78,16 @@ Parameters: * `$apiHash`: `string` API hash. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDeviceModel(): string` Get device model. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setDeviceModel(string $deviceModel): self` @@ -88,12 +98,16 @@ Parameters: * `$deviceModel`: `string` Device model. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSystemVersion(): string` Get system version. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setSystemVersion(string $systemVersion): self` @@ -104,12 +118,16 @@ Parameters: * `$systemVersion`: `string` System version. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getAppVersion(): string` Get app version. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setAppVersion(string $appVersion): self` @@ -120,12 +138,16 @@ Parameters: * `$appVersion`: `string` App version. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getLangCode(): string` Get language code. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setLangCode(string $langCode): self` @@ -136,12 +158,16 @@ Parameters: * `$langCode`: `string` Language code. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getLangPack(): string` Get language pack. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setLangPack(string $langPack): self` @@ -152,10 +178,16 @@ Parameters: * `$langPack`: `string` Language pack. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Settings/Auth.md b/docs/PHP/danog/MadelineProto/Settings/Auth.md index bff87f3f..cf05ae80 100644 --- a/docs/PHP/danog/MadelineProto/Settings/Auth.md +++ b/docs/PHP/danog/MadelineProto/Settings/Auth.md @@ -14,8 +14,6 @@ Cryptography settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getRsaKeys(): array` * `setRsaKeys(array $rsaKeys): self` @@ -33,6 +31,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get MTProto public keys array. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setRsaKeys(array $rsaKeys): self` @@ -43,12 +43,16 @@ Parameters: * `$rsaKeys`: `array` MTProto public keys array. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDefaultTempAuthKeyExpiresIn(): int` Get validity period of the binding of temporary and permanent keys. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setDefaultTempAuthKeyExpiresIn(int $defaultTempAuthKeyExpiresIn): self` @@ -59,12 +63,16 @@ Parameters: * `$defaultTempAuthKeyExpiresIn`: `int` Validity period of the binding of temporary and permanent keys. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPfs(): bool` Get whether to use PFS. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setPfs(bool $pfs): self` @@ -75,12 +83,16 @@ Parameters: * `$pfs`: `bool` Whether to use PFS +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMaxAuthTries(): int` Get max tries for generating auth key. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setMaxAuthTries(int $maxAuthTries): self` @@ -91,10 +103,16 @@ Parameters: * `$maxAuthTries`: `int` Max tries for generating auth key +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Settings/Connection.md b/docs/PHP/danog/MadelineProto/Settings/Connection.md index b3da8ed7..67514352 100644 --- a/docs/PHP/danog/MadelineProto/Settings/Connection.md +++ b/docs/PHP/danog/MadelineProto/Settings/Connection.md @@ -14,8 +14,6 @@ Connection settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getProtocol(): string` * `setProtocol(class-string<\danog\MadelineProto\Stream\MTProtoBufferInterface> $protocol): self` @@ -59,6 +57,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get protocol identifier. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setProtocol(class-string<\danog\MadelineProto\Stream\MTProtoBufferInterface> $protocol): self` @@ -74,12 +74,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getIpv6(): bool` Get whether to use ipv6. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setIpv6(bool $ipv6): self` @@ -90,12 +94,16 @@ Parameters: * `$ipv6`: `bool` Whether to use ipv6 +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSslSubdomains(): array` Get subdomains of web.telegram.org for https protocol. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setSslSubdomains(array $sslSubdomains): self` @@ -106,12 +114,16 @@ Parameters: * `$sslSubdomains`: `array` Subdomains of web.telegram.org for https protocol. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMinMediaSocketCount(): int` Get minimum media socket count. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setMinMediaSocketCount(int $minMediaSocketCount): self` @@ -122,12 +134,16 @@ Parameters: * `$minMediaSocketCount`: `int` Minimum media socket count. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMaxMediaSocketCount(): int` Get maximum media socket count. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setMaxMediaSocketCount(int $maxMediaSocketCount): self` @@ -138,12 +154,16 @@ Parameters: * `$maxMediaSocketCount`: `int` Maximum media socket count. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getRobinPeriod(): int` Get robin period (seconds). +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setRobinPeriod(int $robinPeriod): self` @@ -154,18 +174,24 @@ Parameters: * `$robinPeriod`: `int` Robin period (seconds). +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDefaultDc(): int` Get default DC ID. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDefaultDcParams(): array` Get default DC params. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setDefaultDc(int $defaultDc): self` @@ -176,6 +202,8 @@ Parameters: * `$defaultDc`: `int` Default DC ID. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getProxies(): array` @@ -191,6 +219,8 @@ array, array> +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `addProxy(class-string<\danog\MadelineProto\Stream\StreamInterface> $proxy, array $extra): self` @@ -207,6 +237,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setProxy(array $proxies): self` @@ -217,12 +249,16 @@ Parameters: * `$proxies`: `array` Proxies +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `clearProxies(): self` Clear proxies. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `removeProxy(string $proxy, array $extra): self` @@ -234,12 +270,16 @@ Parameters: * `$extra`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getObfuscated(): bool` Get whether to use the obfuscated protocol. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setObfuscated(bool $obfuscated): self` @@ -250,12 +290,16 @@ Parameters: * `$obfuscated`: `bool` Whether to use the obfuscated protocol. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTestMode(): bool` Get whether we're in test mode. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setTestMode(bool $testMode): self` @@ -266,6 +310,8 @@ Parameters: * `$testMode`: `bool` Whether we're in test mode. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTransport(): class-string<\danog\MadelineProto\Stream\RawStreamInterface>` @@ -277,6 +323,8 @@ Get transport identifier. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setTransport(class-string<\danog\MadelineProto\Stream\RawStreamInterface> $transport): self` @@ -292,12 +340,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getRetry(): bool` Get whether to retry connection. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setRetry(bool $retry): self` @@ -308,12 +360,16 @@ Parameters: * `$retry`: `bool` Whether to retry connection. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTimeout(): int` Get connection timeout. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setTimeout(int $timeout): self` @@ -324,12 +380,16 @@ Parameters: * `$timeout`: `int` Connection timeout. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getUseDoH(): bool` Get whether to use DNS over HTTPS. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setUseDoH(bool $useDoH): self` @@ -340,12 +400,16 @@ Parameters: * `$useDoH`: `bool` Whether to use DNS over HTTPS +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getBindTo(): ?string` Get bind on specific address and port. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setBindTo(?string $bindTo): self` @@ -356,10 +420,16 @@ Parameters: * `$bindTo`: `?string` Bind on specific address and port. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Settings/Database/DatabaseAbstract.md b/docs/PHP/danog/MadelineProto/Settings/Database/DatabaseAbstract.md index 1a59fea7..1e60126d 100644 --- a/docs/PHP/danog/MadelineProto/Settings/Database/DatabaseAbstract.md +++ b/docs/PHP/danog/MadelineProto/Settings/Database/DatabaseAbstract.md @@ -14,8 +14,6 @@ Base class for database backends. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getKey(): string` * `getCacheTtl(): int` @@ -34,12 +32,16 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get DB key. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCacheTtl(): int` Get for how long to keep records in memory after last read, for cached backends. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setCacheTtl(int|string $cacheTtl): self` @@ -50,12 +52,16 @@ Parameters: * `$cacheTtl`: `int|string` For how long to keep records in memory after last read, for cached backends. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPassword(): string` Get password. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setPassword(string $password): self` @@ -66,18 +72,24 @@ Parameters: * `$password`: `string` Password. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDatabase(): string|int` Get database name/ID. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getUri(): string` Get database URI. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setDatabase(int|string $database): self` @@ -88,6 +100,8 @@ Parameters: * `$database`: `int|string` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setUri(string $uri): self` @@ -98,10 +112,16 @@ Parameters: * `$uri`: `string` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Settings/Database/Memory.md b/docs/PHP/danog/MadelineProto/Settings/Database/Memory.md index a48fb690..9917da9c 100644 --- a/docs/PHP/danog/MadelineProto/Settings/Database/Memory.md +++ b/docs/PHP/danog/MadelineProto/Settings/Database/Memory.md @@ -14,8 +14,6 @@ Memory backend settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getCleanup(): bool` * `setCleanup(bool $cleanup): self` @@ -27,6 +25,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get whether to cleanup the memory before serializing. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setCleanup(bool $cleanup): self` @@ -37,10 +37,16 @@ Parameters: * `$cleanup`: `bool` Whether to cleanup the memory before serializing. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Settings/Database/Mysql.md b/docs/PHP/danog/MadelineProto/Settings/Database/Mysql.md index f7961fa6..0b116911 100644 --- a/docs/PHP/danog/MadelineProto/Settings/Database/Mysql.md +++ b/docs/PHP/danog/MadelineProto/Settings/Database/Mysql.md @@ -14,8 +14,6 @@ MySQL backend settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getMaxConnections(): int` * `setMaxConnections(int $maxConnections): self` @@ -40,6 +38,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get maximum connection limit. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setMaxConnections(int $maxConnections): self` @@ -50,12 +50,16 @@ Parameters: * `$maxConnections`: `int` Maximum connection limit. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getIdleTimeout(): int` Get idle timeout. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setIdleTimeout(int $idleTimeout): self` @@ -66,12 +70,16 @@ Parameters: * `$idleTimeout`: `int` Idle timeout. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDatabase(): string` Get database name. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setDatabase(string $database): self` @@ -82,12 +90,16 @@ Parameters: * `$database`: `string` Database name. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getUsername(): string` Get username. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setUsername(string $username): self` @@ -98,12 +110,16 @@ Parameters: * `$username`: `string` Username. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getUri(): string` Get database URI. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setUri(string $uri): self` @@ -114,18 +130,24 @@ Parameters: * `$uri`: `string` Database URI. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getKey(): string` Get DB key. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCacheTtl(): int` Get for how long to keep records in memory after last read, for cached backends. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setCacheTtl(int|string $cacheTtl): self` @@ -136,12 +158,16 @@ Parameters: * `$cacheTtl`: `int|string` For how long to keep records in memory after last read, for cached backends. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPassword(): string` Get password. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setPassword(string $password): self` @@ -152,10 +178,16 @@ Parameters: * `$password`: `string` Password. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Settings/Database/Postgres.md b/docs/PHP/danog/MadelineProto/Settings/Database/Postgres.md index c4c7e667..54b33355 100644 --- a/docs/PHP/danog/MadelineProto/Settings/Database/Postgres.md +++ b/docs/PHP/danog/MadelineProto/Settings/Database/Postgres.md @@ -14,8 +14,6 @@ Postgres backend settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getMaxConnections(): int` * `setMaxConnections(int $maxConnections): self` @@ -40,6 +38,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get maximum connection limit. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setMaxConnections(int $maxConnections): self` @@ -50,12 +50,16 @@ Parameters: * `$maxConnections`: `int` Maximum connection limit. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getIdleTimeout(): int` Get idle timeout. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setIdleTimeout(int $idleTimeout): self` @@ -66,12 +70,16 @@ Parameters: * `$idleTimeout`: `int` Idle timeout. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDatabase(): string` Get database name. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setDatabase(string $database): self` @@ -82,12 +90,16 @@ Parameters: * `$database`: `string` Database name. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getUsername(): string` Get username. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setUsername(string $username): self` @@ -98,12 +110,16 @@ Parameters: * `$username`: `string` Username. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getUri(): string` Get database URI. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setUri(string $uri): self` @@ -114,18 +130,24 @@ Parameters: * `$uri`: `string` Database URI. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getKey(): string` Get DB key. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCacheTtl(): int` Get for how long to keep records in memory after last read, for cached backends. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setCacheTtl(int|string $cacheTtl): self` @@ -136,12 +158,16 @@ Parameters: * `$cacheTtl`: `int|string` For how long to keep records in memory after last read, for cached backends. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPassword(): string` Get password. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setPassword(string $password): self` @@ -152,10 +178,16 @@ Parameters: * `$password`: `string` Password. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Settings/Database/Redis.md b/docs/PHP/danog/MadelineProto/Settings/Database/Redis.md index cc45bf4f..6938b88d 100644 --- a/docs/PHP/danog/MadelineProto/Settings/Database/Redis.md +++ b/docs/PHP/danog/MadelineProto/Settings/Database/Redis.md @@ -14,8 +14,6 @@ Redis backend settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getDatabase(): int` * `setDatabase(int $database): self` @@ -34,6 +32,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get database number. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setDatabase(int $database): self` @@ -44,12 +44,16 @@ Parameters: * `$database`: `int` Database number. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getUri(): string` Get database URI. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setUri(string $uri): self` @@ -60,18 +64,24 @@ Parameters: * `$uri`: `string` Database URI. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getKey(): string` Get DB key. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCacheTtl(): int` Get for how long to keep records in memory after last read, for cached backends. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setCacheTtl(int|string $cacheTtl): self` @@ -82,12 +92,16 @@ Parameters: * `$cacheTtl`: `int|string` For how long to keep records in memory after last read, for cached backends. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPassword(): string` Get password. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setPassword(string $password): self` @@ -98,10 +112,16 @@ Parameters: * `$password`: `string` Password. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Settings/Database/SqlAbstract.md b/docs/PHP/danog/MadelineProto/Settings/Database/SqlAbstract.md index 6174b9c0..74e38e26 100644 --- a/docs/PHP/danog/MadelineProto/Settings/Database/SqlAbstract.md +++ b/docs/PHP/danog/MadelineProto/Settings/Database/SqlAbstract.md @@ -14,8 +14,6 @@ Generic db backend settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getMaxConnections(): int` * `setMaxConnections(int $maxConnections): self` @@ -40,6 +38,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get maximum connection limit. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setMaxConnections(int $maxConnections): self` @@ -50,12 +50,16 @@ Parameters: * `$maxConnections`: `int` Maximum connection limit. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getIdleTimeout(): int` Get idle timeout. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setIdleTimeout(int $idleTimeout): self` @@ -66,12 +70,16 @@ Parameters: * `$idleTimeout`: `int` Idle timeout. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDatabase(): string` Get database name. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setDatabase(string $database): self` @@ -82,12 +90,16 @@ Parameters: * `$database`: `string` Database name. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getUsername(): string` Get username. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setUsername(string $username): self` @@ -98,12 +110,16 @@ Parameters: * `$username`: `string` Username. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getUri(): string` Get database URI. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setUri(string $uri): self` @@ -114,18 +130,24 @@ Parameters: * `$uri`: `string` Database URI. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getKey(): string` Get DB key. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCacheTtl(): int` Get for how long to keep records in memory after last read, for cached backends. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setCacheTtl(int|string $cacheTtl): self` @@ -136,12 +158,16 @@ Parameters: * `$cacheTtl`: `int|string` For how long to keep records in memory after last read, for cached backends. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPassword(): string` Get password. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setPassword(string $password): self` @@ -152,10 +178,16 @@ Parameters: * `$password`: `string` Password. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Settings/DatabaseAbstract.md b/docs/PHP/danog/MadelineProto/Settings/DatabaseAbstract.md index 8ae01a19..88ccda62 100644 --- a/docs/PHP/danog/MadelineProto/Settings/DatabaseAbstract.md +++ b/docs/PHP/danog/MadelineProto/Settings/DatabaseAbstract.md @@ -14,8 +14,6 @@ Base class for storage backends. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `hasChanged(): bool` @@ -25,4 +23,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Settings/Files.md b/docs/PHP/danog/MadelineProto/Settings/Files.md index 145dade9..71aa4e97 100644 --- a/docs/PHP/danog/MadelineProto/Settings/Files.md +++ b/docs/PHP/danog/MadelineProto/Settings/Files.md @@ -14,8 +14,6 @@ File management settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getAllowAutomaticUpload(): bool` * `setAllowAutomaticUpload(bool $allowAutomaticUpload): self` @@ -33,6 +31,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get allow automatic upload of files from file paths present in constructors? +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setAllowAutomaticUpload(bool $allowAutomaticUpload): self` @@ -43,12 +43,16 @@ Parameters: * `$allowAutomaticUpload`: `bool` Allow automatic upload of files from file paths present in constructors? +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getUploadParallelChunks(): int` Get upload parallel chunk count. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setUploadParallelChunks(int $uploadParallelChunks): self` @@ -59,12 +63,16 @@ Parameters: * `$uploadParallelChunks`: `int` Upload parallel chunk count +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDownloadParallelChunks(): int` Get download parallel chunk count. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setDownloadParallelChunks(int $downloadParallelChunks): self` @@ -75,12 +83,16 @@ Parameters: * `$downloadParallelChunks`: `int` Download parallel chunk count +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getReportBrokenMedia(): bool` Get whether to report undownloadable media to TSF. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setReportBrokenMedia(bool $reportBrokenMedia): self` @@ -91,10 +103,16 @@ Parameters: * `$reportBrokenMedia`: `bool` Whether to report undownloadable media to TSF +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Settings/Ipc.md b/docs/PHP/danog/MadelineProto/Settings/Ipc.md index 9aacc423..1f3b0d9a 100644 --- a/docs/PHP/danog/MadelineProto/Settings/Ipc.md +++ b/docs/PHP/danog/MadelineProto/Settings/Ipc.md @@ -14,8 +14,6 @@ IPC server settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getSlow(): bool` * `setSlow(bool $slow): self` @@ -27,6 +25,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get WARNING: this will cause slow startup if enabled. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setSlow(bool $slow): self` @@ -37,10 +37,16 @@ Parameters: * `$slow`: `bool` WARNING: this will cause slow startup if enabled. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Settings/Logger.md b/docs/PHP/danog/MadelineProto/Settings/Logger.md index bfc3063f..596e552b 100644 --- a/docs/PHP/danog/MadelineProto/Settings/Logger.md +++ b/docs/PHP/danog/MadelineProto/Settings/Logger.md @@ -14,8 +14,6 @@ Logger settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getType()` * `setType(): self` @@ -33,18 +31,24 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get $type Logger type. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setType(): self` Set $type Logger type. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getExtra(): null|callable|string` Get extra parameter for logger. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setExtra(null|callable|string $extra): self` @@ -55,24 +59,32 @@ Parameters: * `$extra`: `null|callable|string` Extra parameter for logger. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getLevel()` Get logging level. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setLevel(): self` Set logging level. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMaxSize(): int` Get maximum filesize for logger, in case of file logging. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setMaxSize(int $maxSize): self` @@ -83,10 +95,16 @@ Parameters: * `$maxSize`: `int` Maximum filesize for logger, in case of file logging. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Settings/Peer.md b/docs/PHP/danog/MadelineProto/Settings/Peer.md index 23ed6b81..964fbb66 100644 --- a/docs/PHP/danog/MadelineProto/Settings/Peer.md +++ b/docs/PHP/danog/MadelineProto/Settings/Peer.md @@ -14,8 +14,6 @@ Peer database settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getFullInfoCacheTime(): int` * `setFullInfoCacheTime(int $fullInfoCacheTime): self` @@ -31,6 +29,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get cache time for full peer information (seconds). +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setFullInfoCacheTime(int $fullInfoCacheTime): self` @@ -41,12 +41,16 @@ Parameters: * `$fullInfoCacheTime`: `int` Cache time for full peer information (seconds). +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFullFetch(): bool` Get should madeline fetch the full member list of every group it meets? +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setFullFetch(bool $fullFetch): self` @@ -57,12 +61,16 @@ Parameters: * `$fullFetch`: `bool` Should madeline fetch the full member list of every group it meets? +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCacheAllPeersOnStartup(): bool` Get whether to cache all peers on startup for userbots. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setCacheAllPeersOnStartup(bool $cacheAllPeersOnStartup): self` @@ -73,10 +81,16 @@ Parameters: * `$cacheAllPeersOnStartup`: `bool` Whether to cache all peers on startup for userbots. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Settings/Pwr.md b/docs/PHP/danog/MadelineProto/Settings/Pwr.md index 5358a04c..34cde4b2 100644 --- a/docs/PHP/danog/MadelineProto/Settings/Pwr.md +++ b/docs/PHP/danog/MadelineProto/Settings/Pwr.md @@ -14,8 +14,6 @@ PWRTelegram settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getRequests(): bool` * `setRequests(bool $requests): self` @@ -29,6 +27,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get whether to try resolving usernames using PWRTelegram DB. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setRequests(bool $requests): self` @@ -39,12 +39,16 @@ Parameters: * `$requests`: `bool` Whether to try resolving usernames using PWRTelegram DB. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDbToken(): string` Get DB token. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setDbToken(string $dbToken): self` @@ -55,10 +59,16 @@ Parameters: * `$dbToken`: `string` DB token. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Settings/RPC.md b/docs/PHP/danog/MadelineProto/Settings/RPC.md index b31aad9c..a42ae3e2 100644 --- a/docs/PHP/danog/MadelineProto/Settings/RPC.md +++ b/docs/PHP/danog/MadelineProto/Settings/RPC.md @@ -14,8 +14,6 @@ RPC settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getRpcTimeout(): int` * `setRpcTimeout(int $rpcTimeout): self` @@ -37,6 +35,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get RPC timeout. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setRpcTimeout(int $rpcTimeout): self` @@ -47,12 +47,16 @@ Parameters: * `$rpcTimeout`: `int` RPC timeout. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFloodTimeout(): int` Get flood timeout: if FLOOD_WAIT_ time is bigger than this, throw exception instead of waiting asynchronously. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setFloodTimeout(int $floodTimeout): self` @@ -63,12 +67,16 @@ Parameters: * `$floodTimeout`: `int` Flood timeout: if FLOOD_WAIT_ time is bigger than this, throw exception instead of waiting asynchronously +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getLimitIncoming(): int` Get maximum number of messages to be stored in the incoming queue. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setLimitIncoming(int $limitIncoming): self` @@ -79,12 +87,16 @@ Parameters: * `$limitIncoming`: `int` Maximum number of messages to be stored in the incoming queue +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getLimitOutgoing(): int` Get maximum number of messages to be stored in the outgoing queue. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setLimitOutgoing(int $limitOutgoing): self` @@ -95,12 +107,16 @@ Parameters: * `$limitOutgoing`: `int` Maximum number of messages to be stored in the outgoing queue +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getLimitCallQueue(): int` Get maximum number of messages to consider when using call queues. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setLimitCallQueue(int $limitCallQueue): self` @@ -111,12 +127,16 @@ Parameters: * `$limitCallQueue`: `int` Maximum number of messages to consider when using call queues +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getGzipEncodeIfGt(): int` Get encode payload with GZIP if bigger than. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setGzipEncodeIfGt(int $gzipEncodeIfGt): self` @@ -127,10 +147,16 @@ Parameters: * `$gzipEncodeIfGt`: `int` Encode payload with GZIP if bigger than +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Settings/SecretChats.md b/docs/PHP/danog/MadelineProto/Settings/SecretChats.md index c71f6c4b..076fe242 100644 --- a/docs/PHP/danog/MadelineProto/Settings/SecretChats.md +++ b/docs/PHP/danog/MadelineProto/Settings/SecretChats.md @@ -14,8 +14,6 @@ Secret chat settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getAccept(): bool|int[]` * `setAccept(bool|int[] $accept): self` @@ -27,6 +25,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get boolean or array of IDs. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setAccept(bool|int[] $accept): self` @@ -37,10 +37,16 @@ Parameters: * `$accept`: `bool|int[]` Boolean or array of IDs +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Settings/Serialization.md b/docs/PHP/danog/MadelineProto/Settings/Serialization.md index ad0b767e..74b39abc 100644 --- a/docs/PHP/danog/MadelineProto/Settings/Serialization.md +++ b/docs/PHP/danog/MadelineProto/Settings/Serialization.md @@ -14,8 +14,6 @@ Serialization settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getInterval(): int` * `setInterval(int $interval): self` @@ -27,6 +25,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get serialization interval, in seconds. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setInterval(int $interval): self` @@ -37,10 +37,16 @@ Parameters: * `$interval`: `int` Serialization interval, in seconds. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Settings/TLSchema.md b/docs/PHP/danog/MadelineProto/Settings/TLSchema.md index fc495612..a6fe3801 100644 --- a/docs/PHP/danog/MadelineProto/Settings/TLSchema.md +++ b/docs/PHP/danog/MadelineProto/Settings/TLSchema.md @@ -14,8 +14,6 @@ TL schema settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `needsUpgrade(): bool` * `upgrade(): void` @@ -37,18 +35,24 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Returns whether the TL parser should re-parse the TL schemes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `upgrade(): void` Signal that scheme was re-parsed. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getLayer(): int` Get TL layer version. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setLayer(int $layer): self` @@ -59,12 +63,16 @@ Parameters: * `$layer`: `int` TL layer version. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMTProtoSchema(): string` Get MTProto schema path. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setMTProtoSchema(string $MTProtoSchema): self` @@ -75,12 +83,16 @@ Parameters: * `$MTProtoSchema`: `string` MTProto schema path. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getAPISchema(): string` Get API schema path. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setAPISchema(string $APISchema): self` @@ -91,12 +103,16 @@ Parameters: * `$APISchema`: `string` API schema path. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSecretSchema(): string` Get secret schema path. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setSecretSchema(string $secretSchema): self` @@ -107,12 +123,16 @@ Parameters: * `$secretSchema`: `string` Secret schema path. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getOther(): array` Get the value of other. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setOther(array $other): self` @@ -123,10 +143,16 @@ Parameters: * `$other`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Settings/Templates.md b/docs/PHP/danog/MadelineProto/Settings/Templates.md index 46b69f48..92a87215 100644 --- a/docs/PHP/danog/MadelineProto/Settings/Templates.md +++ b/docs/PHP/danog/MadelineProto/Settings/Templates.md @@ -14,8 +14,6 @@ Web and CLI template settings for login. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getHtmlTemplate(): string` * `setHtmlTemplate(string $htmlTemplate): self` @@ -27,6 +25,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get web template used for querying app information. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setHtmlTemplate(string $htmlTemplate): self` @@ -37,10 +37,16 @@ Parameters: * `$htmlTemplate`: `string` Web template used for querying app information. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Shutdown.md b/docs/PHP/danog/MadelineProto/Shutdown.md index ad89b52e..f573654b 100644 --- a/docs/PHP/danog/MadelineProto/Shutdown.md +++ b/docs/PHP/danog/MadelineProto/Shutdown.md @@ -14,8 +14,6 @@ Class that controls script shutdown. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `shutdown(): void` * `addCallback(callable $callback, null|string $id): int|\string The callback ID` @@ -27,6 +25,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Function to be called on shutdown. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `addCallback(callable $callback, null|string $id): int|\string The callback ID` @@ -40,6 +40,8 @@ Parameters: Return value: The callback ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `removeCallback(null|string|int $id): \bool true if the callback was removed correctly, false otherwise` @@ -52,4 +54,8 @@ Parameters: Return value: true if the callback was removed correctly, false otherwise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/StrTools.md b/docs/PHP/danog/MadelineProto/StrTools.md index 513fa754..4fb4e00d 100644 --- a/docs/PHP/danog/MadelineProto/StrTools.md +++ b/docs/PHP/danog/MadelineProto/StrTools.md @@ -14,8 +14,6 @@ Some tools. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `toCamelCase(string $input): string` * `toSnakeCase(string $input): string` @@ -38,6 +36,8 @@ Parameters: * `$input`: `string` String +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `toSnakeCase(string $input): string` @@ -48,6 +48,8 @@ Parameters: * `$input`: `string` String +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `markdownEscape(string $hwat): string` @@ -58,6 +60,8 @@ Parameters: * `$hwat`: `string` String to escape +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `typeEscape(string $type): string` @@ -68,6 +72,8 @@ Parameters: * `$type`: `string` String to escape +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodEscape(string $method): string` @@ -78,6 +84,8 @@ Parameters: * `$method`: `string` Method name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromExtension(string $extension, string $default): string` @@ -89,6 +97,8 @@ Parameters: * `$default`: `string` Default mime type +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getExtensionFromMime(string $mime): string` @@ -99,6 +109,8 @@ Parameters: * `$mime`: `string` MIME type +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getExtensionFromLocation(mixed $location, string $default): string` @@ -110,6 +122,8 @@ Parameters: * `$default`: `string` Default extension +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromFile(string $file): string` @@ -120,6 +134,8 @@ Parameters: * `$file`: `string` File +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromBuffer(string $buffer): string` @@ -130,4 +146,8 @@ Parameters: * `$buffer`: `string` Buffer +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/TL/Conversion/Exception.md b/docs/PHP/danog/MadelineProto/TL/Conversion/Exception.md index b79fd07b..36690c0a 100644 --- a/docs/PHP/danog/MadelineProto/TL/Conversion/Exception.md +++ b/docs/PHP/danog/MadelineProto/TL/Conversion/Exception.md @@ -14,8 +14,6 @@ TL conversion exception. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `updateTLTrace(array $trace): void` * `getTLTrace(): string` @@ -32,12 +30,16 @@ Parameters: * `$trace`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTLTrace(): string` Get TL trace. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setTLTrace(string $tlTrace): void` @@ -48,6 +50,8 @@ Parameters: * `$tlTrace`: `string` TL trace +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `prettifyTL(string $init, array $trace): void` @@ -59,4 +63,8 @@ Parameters: * `$trace`: `array` Async trace +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/TL/Conversion/Extension.md b/docs/PHP/danog/MadelineProto/TL/Conversion/Extension.md index 1b475cde..f96388bc 100644 --- a/docs/PHP/danog/MadelineProto/TL/Conversion/Extension.md +++ b/docs/PHP/danog/MadelineProto/TL/Conversion/Extension.md @@ -14,8 +14,6 @@ Manages generation of extensions for files. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getMimeFromExtension(string $extension, string $default): string` * `getExtensionFromMime(string $mime): string` @@ -34,6 +32,8 @@ Parameters: * `$default`: `string` Default mime type +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getExtensionFromMime(string $mime): string` @@ -44,6 +44,8 @@ Parameters: * `$mime`: `string` MIME type +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getExtensionFromLocation(mixed $location, string $default): string` @@ -55,6 +57,8 @@ Parameters: * `$default`: `string` Default extension +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromFile(string $file): string` @@ -65,6 +69,8 @@ Parameters: * `$file`: `string` File +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromBuffer(string $buffer): string` @@ -75,4 +81,8 @@ Parameters: * `$buffer`: `string` Buffer +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/TL/Exception.md b/docs/PHP/danog/MadelineProto/TL/Exception.md index 8fecd0e4..091bf4f2 100644 --- a/docs/PHP/danog/MadelineProto/TL/Exception.md +++ b/docs/PHP/danog/MadelineProto/TL/Exception.md @@ -14,8 +14,6 @@ TL deserialization exception. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `updateTLTrace(array $trace): void` * `getTLTrace(): string` @@ -32,12 +30,16 @@ Parameters: * `$trace`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTLTrace(): string` Get TL trace. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setTLTrace(string $tlTrace): void` @@ -48,6 +50,8 @@ Parameters: * `$tlTrace`: `string` TL trace +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `prettifyTL(string $init, array $trace): void` @@ -59,4 +63,8 @@ Parameters: * `$trace`: `array` Async trace +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/TL/Types/Button.md b/docs/PHP/danog/MadelineProto/TL/Types/Button.md index 36daafb6..96827d01 100644 --- a/docs/PHP/danog/MadelineProto/TL/Types/Button.md +++ b/docs/PHP/danog/MadelineProto/TL/Types/Button.md @@ -14,8 +14,6 @@ Clickable button. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `click(bool $donotwait): mixed` * `jsonSerialize(): array` @@ -34,12 +32,16 @@ Parameters: * `$donotwait`: `bool` Whether to wait for the result of the method +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `jsonSerialize(): array` Serialize button. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetSet( $name, mixed $value): void` @@ -51,6 +53,8 @@ Parameters: * `$value`: `mixed` Value +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetGet( $name): mixed` @@ -61,6 +65,8 @@ Parameters: * `$name`: `` Field name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetUnset( $name): void` @@ -71,6 +77,8 @@ Parameters: * `$name`: `` Offset +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetExists( $name): bool` @@ -81,4 +89,8 @@ Parameters: * `$name`: `` Offset +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/TL/Types/Bytes.md b/docs/PHP/danog/MadelineProto/TL/Types/Bytes.md index 9a7e2836..69230a9d 100644 --- a/docs/PHP/danog/MadelineProto/TL/Types/Bytes.md +++ b/docs/PHP/danog/MadelineProto/TL/Types/Bytes.md @@ -14,8 +14,6 @@ Bytes wrapper. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `jsonSerialize(): array` * `offsetSet(int|null $offset, string $value): void` @@ -29,6 +27,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Obtain values for JSON-encoding. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetSet(int|null $offset, string $value): void` @@ -40,6 +40,8 @@ Parameters: * `$value`: `string` Char +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetGet(int $offset): string` @@ -50,6 +52,8 @@ Parameters: * `$offset`: `int` Name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetUnset(int $offset): void` @@ -60,6 +64,8 @@ Parameters: * `$offset`: `int` Offset +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetExists(int $offset): bool` @@ -70,4 +76,8 @@ Parameters: * `$offset`: `int` Offset +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/TON/API.md b/docs/PHP/danog/MadelineProto/TON/API.md index 25022c4b..cadca12e 100644 --- a/docs/PHP/danog/MadelineProto/TON/API.md +++ b/docs/PHP/danog/MadelineProto/TON/API.md @@ -14,8 +14,6 @@ TON API. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `after(\Generator|\Promise $a, \Generator|\Promise $b): \Amp\Promise` * `all((\Generator|\Promise)[] $promises): \Amp\Promise` @@ -97,6 +95,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `all((\Generator|\Promise)[] $promises): \Amp\Promise` @@ -114,6 +114,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `any((\Promise|\Generator)[] $promises): \Amp\Promise` @@ -131,6 +133,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `arr(mixed $params): array` @@ -141,6 +145,8 @@ Parameters: * `$params`: `mixed` Params +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `base64urlDecode(string $data): string` @@ -151,6 +157,8 @@ Parameters: * `$data`: `string` Data to decode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `base64urlEncode(string $data): string` @@ -161,6 +169,8 @@ Parameters: * `$data`: `string` Data to encode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `botAPItoMTProto(array $parameters): \Amp\Promise` @@ -176,6 +186,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `call(\Generator|\Promise|mixed $promise): \Amp\Promise` @@ -202,6 +214,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `callFork(\Generator|\Promise $promise, ?\Generator|\Promise $actual, string $file): \Amp\Promise|mixed` @@ -221,6 +235,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `callForkDefer(\Generator|\Promise $promise): void` @@ -237,6 +253,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `connect(string $config): \Amp\Promise` @@ -252,6 +270,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `echo(string $string): \Amp\Promise` @@ -267,6 +287,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `end(array $what): mixed` @@ -277,6 +299,8 @@ Parameters: * `$what`: `array` Array +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `first((\Promise|\Generator)[] $promises): \Amp\Promise` @@ -294,6 +318,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `flock(string $file, int $operation, float $polling, ?\Promise $token, ?callable $failureCb): \Amp\Promise` @@ -315,6 +341,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `genVectorHash(array $ints): \int Vector hash` @@ -327,6 +355,8 @@ Parameters: Return value: Vector hash +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getExtensionFromLocation(mixed $location, string $default): string` @@ -338,6 +368,8 @@ Parameters: * `$default`: `string` Default extension +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getExtensionFromMime(string $mime): string` @@ -348,6 +380,8 @@ Parameters: * `$mime`: `string` MIME type +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMethodNamespaces(): mixed` @@ -363,6 +397,8 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromBuffer(string $buffer): string` @@ -373,6 +409,8 @@ Parameters: * `$buffer`: `string` Buffer +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromExtension(string $extension, string $default): string` @@ -384,6 +422,8 @@ Parameters: * `$default`: `string` Default mime type +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromFile(string $file): string` @@ -394,6 +434,8 @@ Parameters: * `$file`: `string` File +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getVar(object $obj, string $var): mixed` @@ -405,6 +447,8 @@ Parameters: * `$var`: `string` Attribute name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasVar(object $obj, string $var): bool` @@ -416,6 +460,8 @@ Parameters: * `$var`: `string` Attribute name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `inflateStripped(string $stripped): \string JPG payload` @@ -428,12 +474,16 @@ Parameters: Return value: JPG payload +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isAltervista(): bool` Whether this is altervista. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isArrayOrAlike(mixed $var): bool` @@ -444,6 +494,8 @@ Parameters: * `$var`: `mixed` Value to check +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `logger(string $param, int $level, string $file): mixed` @@ -465,6 +517,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `loop(callable $func): \Amp\Promise` @@ -480,6 +534,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `markdownEscape(string $hwat): string` @@ -490,6 +546,8 @@ Parameters: * `$hwat`: `string` String to escape +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodCall(string $methodName, array $args): \Amp\Promise` @@ -506,6 +564,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodEscape(string $method): string` @@ -516,6 +576,8 @@ Parameters: * `$method`: `string` Method name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packDouble(float $value): string` @@ -526,6 +588,8 @@ Parameters: * `$value`: `float` Value to convert +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packSignedInt(int $value): string` @@ -536,6 +600,8 @@ Parameters: * `$value`: `int` Value to convert +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packSignedLong(int $value): string` @@ -546,6 +612,8 @@ Parameters: * `$value`: `int` Value to convert +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packUnsignedInt(int $value): string` @@ -556,6 +624,8 @@ Parameters: * `$value`: `int` Value +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `posmod(int $a, int $b): \int Modulo` @@ -570,6 +640,8 @@ Parameters: Return value: Modulo +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `random(int $length): \string Random string` @@ -582,6 +654,8 @@ Parameters: Return value: Random string +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `randomInt(int $modulus): int` @@ -592,6 +666,8 @@ Parameters: * `$modulus`: `int` Modulus +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `readLine(string $prompt): \Amp\Promise` @@ -607,6 +683,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rethrow(\Throwable $e, string $file): void` @@ -623,6 +701,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rleDecode(string $string): string` @@ -633,6 +713,8 @@ Parameters: * `$string`: `string` Data to decode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rleEncode(string $string): string` @@ -643,6 +725,8 @@ Parameters: * `$string`: `string` Data to encode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setVar(object $obj, string $var, mixed $val): void` @@ -655,6 +739,8 @@ Parameters: * `$val`: `mixed` Attribute value +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `sleep(int|float $time): \Amp\Promise` @@ -670,6 +756,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `some((\Promise|\Generator)[] $promises): \Amp\Promise` @@ -687,6 +775,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `timeout(\Generator|\Promise $promise, int $timeout): \Amp\Promise` @@ -705,6 +795,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `timeoutWithDefault(\Promise|\Generator $promise, int $timeout, mixed $default): \Amp\Promise<\TReturn>|\Promise<\TReturnAlt>` @@ -737,6 +829,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `toCamelCase(string $input): string` @@ -747,6 +841,8 @@ Parameters: * `$input`: `string` String +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `toSnakeCase(string $input): string` @@ -757,6 +853,8 @@ Parameters: * `$input`: `string` String +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `typeEscape(string $type): string` @@ -767,6 +865,8 @@ Parameters: * `$type`: `string` String to escape +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackDouble(string $value): float` @@ -777,6 +877,8 @@ Parameters: * `$value`: `string` Value to unpack +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackSignedInt(string $value): int` @@ -787,6 +889,8 @@ Parameters: * `$value`: `string` base256 int +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackSignedLong(string $value): int` @@ -797,6 +901,8 @@ Parameters: * `$value`: `string` base256 long +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackSignedLongString(string $value): string` @@ -807,6 +913,8 @@ Parameters: * `$value`: `string` base256 long +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `wait(\Generator|\Promise $promise, bool $ignoreSignal): mixed` @@ -824,6 +932,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `async(bool $async): void` @@ -834,12 +944,16 @@ Parameters: * `$async`: `bool` Whether to enable or disable async +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `init(): void` Blockingly init. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `initAsynchronously(): \Generator` @@ -851,12 +965,16 @@ Asynchronously init. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `inited(): bool` Check if we've already inited. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `forceInit(bool $inited): void` @@ -867,4 +985,8 @@ Parameters: * `$inited`: `bool` Whether to mark the instance as inited or deinited +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/Tools.md b/docs/PHP/danog/MadelineProto/Tools.md index 95b4faec..65f2da5e 100644 --- a/docs/PHP/danog/MadelineProto/Tools.md +++ b/docs/PHP/danog/MadelineProto/Tools.md @@ -14,8 +14,6 @@ Some tools. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `genVectorHash(array $ints): \int Vector hash` * `randomInt(int $modulus): int` @@ -80,6 +78,8 @@ Parameters: Return value: Vector hash +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `randomInt(int $modulus): int` @@ -90,6 +90,8 @@ Parameters: * `$modulus`: `int` Modulus +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `random(int $length): \string Random string` @@ -102,6 +104,8 @@ Parameters: Return value: Random string +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `posmod(int $a, int $b): \int Modulo` @@ -116,6 +120,8 @@ Parameters: Return value: Modulo +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackSignedInt(string $value): int` @@ -126,6 +132,8 @@ Parameters: * `$value`: `string` base256 int +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackSignedLong(string $value): int` @@ -136,6 +144,8 @@ Parameters: * `$value`: `string` base256 long +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackSignedLongString(string $value): string` @@ -146,6 +156,8 @@ Parameters: * `$value`: `string` base256 long +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packSignedInt(int $value): string` @@ -156,6 +168,8 @@ Parameters: * `$value`: `int` Value to convert +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packSignedLong(int $value): string` @@ -166,6 +180,8 @@ Parameters: * `$value`: `int` Value to convert +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packUnsignedInt(int $value): string` @@ -176,6 +192,8 @@ Parameters: * `$value`: `int` Value +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packDouble(float $value): string` @@ -186,6 +204,8 @@ Parameters: * `$value`: `float` Value to convert +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackDouble(string $value): float` @@ -196,6 +216,8 @@ Parameters: * `$value`: `string` Value to unpack +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `wait(\Generator|\Amp\Promise $promise, bool $ignoreSignal): mixed` @@ -213,6 +235,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `all((\Generator|\Amp\Promise)[] $promises): \Amp\Promise` @@ -229,6 +253,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `any((\Amp\Promise|\Generator)[] $promises): \Amp\Promise` @@ -245,6 +271,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `some((\Amp\Promise|\Generator)[] $promises): \Amp\Promise` @@ -261,6 +289,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `first((\Amp\Promise|\Generator)[] $promises): \Amp\Promise` @@ -277,6 +307,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `timeout(\Generator|\Amp\Promise $promise, int $timeout): \Amp\Promise` @@ -294,6 +326,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `timeoutWithDefault(\Amp\Promise|\Generator $promise, int $timeout, mixed $default): \Amp\Promise<\TReturn>|\Amp\Promise<\TReturnAlt>` @@ -325,6 +359,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `call(\Generator|\Amp\Promise|mixed $promise): \Amp\Promise` @@ -350,6 +386,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `callFork(\Generator|\Amp\Promise $promise, ?\Generator|\Amp\Promise $actual, string $file): \Amp\Promise|mixed` @@ -368,6 +406,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `callForkDefer(\Generator|\Amp\Promise $promise): void` @@ -384,6 +424,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rethrow(\Throwable $e, string $file): void` @@ -400,6 +442,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `after(\Generator|\Amp\Promise $a, \Generator|\Amp\Promise $b): \Amp\Promise` @@ -417,6 +461,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `flock(string $file, int $operation, float $polling, ?\Amp\Promise $token, ?callable $failureCb): \Amp\Promise` @@ -437,6 +483,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `sleep(int|float $time): \Amp\Promise` @@ -452,6 +500,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `readLine(string $prompt): \Amp\Promise` @@ -467,6 +517,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `echo(string $string): \Amp\Promise` @@ -482,6 +534,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isArrayOrAlike(mixed $var): bool` @@ -492,6 +546,8 @@ Parameters: * `$var`: `mixed` Value to check +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `arr(mixed $params): array` @@ -502,6 +558,8 @@ Parameters: * `$params`: `mixed` Params +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `base64urlDecode(string $data): string` @@ -512,6 +570,8 @@ Parameters: * `$data`: `string` Data to decode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `base64urlEncode(string $data): string` @@ -522,6 +582,8 @@ Parameters: * `$data`: `string` Data to encode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rleDecode(string $string): string` @@ -532,6 +594,8 @@ Parameters: * `$string`: `string` Data to decode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rleEncode(string $string): string` @@ -542,6 +606,8 @@ Parameters: * `$string`: `string` Data to encode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `inflateStripped(string $stripped): \string JPG payload` @@ -554,6 +620,8 @@ Parameters: Return value: JPG payload +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `end(array $what): mixed` @@ -564,12 +632,16 @@ Parameters: * `$what`: `array` Array +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isAltervista(): bool` Whether this is altervista. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasVar(object $obj, string $var): bool` @@ -581,6 +653,8 @@ Parameters: * `$var`: `string` Attribute name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getVar(object $obj, string $var): mixed` @@ -592,6 +666,8 @@ Parameters: * `$var`: `string` Attribute name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setVar(object $obj, string $var, mixed $val): void` @@ -604,6 +680,8 @@ Parameters: * `$val`: `mixed` Attribute value +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `toCamelCase(string $input): string` @@ -614,6 +692,8 @@ Parameters: * `$input`: `string` String +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `toSnakeCase(string $input): string` @@ -624,6 +704,8 @@ Parameters: * `$input`: `string` String +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `markdownEscape(string $hwat): string` @@ -634,6 +716,8 @@ Parameters: * `$hwat`: `string` String to escape +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `typeEscape(string $type): string` @@ -644,6 +728,8 @@ Parameters: * `$type`: `string` String to escape +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodEscape(string $method): string` @@ -654,6 +740,8 @@ Parameters: * `$method`: `string` Method name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromExtension(string $extension, string $default): string` @@ -665,6 +753,8 @@ Parameters: * `$default`: `string` Default mime type +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getExtensionFromMime(string $mime): string` @@ -675,6 +765,8 @@ Parameters: * `$mime`: `string` MIME type +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getExtensionFromLocation(mixed $location, string $default): string` @@ -686,6 +778,8 @@ Parameters: * `$default`: `string` Default extension +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromFile(string $file): string` @@ -696,6 +790,8 @@ Parameters: * `$file`: `string` File +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromBuffer(string $buffer): string` @@ -706,4 +802,8 @@ Parameters: * `$buffer`: `string` Buffer +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/VoIPServerConfig.md b/docs/PHP/danog/MadelineProto/VoIPServerConfig.md index d25780ea..53c01a1e 100644 --- a/docs/PHP/danog/MadelineProto/VoIPServerConfig.md +++ b/docs/PHP/danog/MadelineProto/VoIPServerConfig.md @@ -14,8 +14,6 @@ Manages storage of VoIP server config. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `update(array $config): void` * `get(): \array The settings` @@ -33,6 +31,8 @@ Parameters: * `$config`: `array` The settings +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `get(): \array The settings` @@ -41,6 +41,8 @@ Get shared call settings. Return value: The settings +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `updateDefault(array $configDefault): void` @@ -51,6 +53,8 @@ Parameters: * `$configDefault`: `array` The settings +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDefault(): \array The settings` @@ -59,10 +63,16 @@ Get default shared call settings. Return value: The settings +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFinal(): void` Get final settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/API.md b/docs/PHPInternal/danog/MadelineProto/API.md index db23ce7c..c71dcee1 100644 --- a/docs/PHPInternal/danog/MadelineProto/API.md +++ b/docs/PHPInternal/danog/MadelineProto/API.md @@ -14,8 +14,6 @@ Main API wrapper for MadelineProto. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Constants * `danog\MadelineProto\API::RELEASE`: Release version. @@ -224,6 +222,8 @@ Parameters: * `$eventHandler`: `string` Event handler class name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `startAndLoopMulti(\danog\MadelineProto\API[] $instances, string[]|string $eventHandler): void` @@ -235,6 +235,8 @@ Parameters: * `$eventHandler`: `string[]|string` Event handler(s) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `startAndLoopAsync(string $eventHandler): \Generator` @@ -250,6 +252,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `MTProtoToBotAPI(array $data): \Amp\Promise` @@ -265,6 +269,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `MTProtoToTd(mixed $params): \Amp\Promise` @@ -280,6 +286,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `MTProtoToTdcli(mixed $params): \Amp\Promise` @@ -295,6 +303,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `acceptCall(array $call): \Amp\Promise` @@ -310,6 +320,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `acceptSecretChat(array $params): \Amp\Promise` @@ -325,6 +337,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `acceptTos(): \Amp\Promise` @@ -336,6 +350,8 @@ Accept terms of service update. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `addUser(array $user): \Amp\Promise` @@ -351,6 +367,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `after(\Generator|\Promise $a, \Generator|\Promise $b): \Amp\Promise` @@ -369,6 +387,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `all((\Generator|\Promise)[] $promises): \Amp\Promise` @@ -386,6 +406,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `any((\Promise|\Generator)[] $promises): \Amp\Promise` @@ -403,6 +425,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `arr(mixed $params): array` @@ -413,6 +437,8 @@ Parameters: * `$params`: `mixed` Params +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `base64urlDecode(string $data): string` @@ -423,6 +449,8 @@ Parameters: * `$data`: `string` Data to decode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `base64urlEncode(string $data): string` @@ -433,6 +461,8 @@ Parameters: * `$data`: `string` Data to encode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `botAPIToMTProto(array $arguments): \Amp\Promise` @@ -448,6 +478,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `botLogin(string $token): \Amp\Promise` @@ -463,6 +495,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `call(\Generator|\Promise|mixed $promise): \Amp\Promise` @@ -489,6 +523,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `callFork(\Generator|\Promise $promise, ?\Generator|\Promise $actual, string $file): \Amp\Promise|mixed` @@ -508,6 +544,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `callForkDefer(\Generator|\Promise $promise): void` @@ -524,6 +562,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `callStatus(int $id): mixed` @@ -543,6 +583,8 @@ int|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `checkTos(): \Amp\Promise` @@ -554,6 +596,8 @@ Check for terms of service update. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `cleanup(): \Amp\Promise` @@ -565,6 +609,8 @@ Cleanup memory and session file. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `closeConnection(string $message): void` @@ -575,6 +621,8 @@ Parameters: * `$message`: `string` Message +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `complete2faLogin(string $password): \Amp\Promise` @@ -590,6 +638,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `completeCall(array $params): \Amp\Promise` @@ -605,6 +655,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `completePhoneLogin(string $code): \Amp\Promise` @@ -620,6 +672,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `completeSignup(string $first_name, string $last_name): \Amp\Promise` @@ -636,6 +690,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `confirmCall(array $params): \Amp\Promise` @@ -651,6 +707,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `connectToAllDcs(bool $reconnectAll): \Amp\Promise` @@ -666,6 +724,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `declineTos(): \Amp\Promise` @@ -677,6 +737,8 @@ THIS WILL DELETE YOUR ACCOUNT! +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `discardCall(array $call, array $reason, array $rating, bool $need_debug): \Amp\Promise` @@ -695,6 +757,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `discardSecretChat(int $chat): \Amp\Promise` @@ -710,6 +774,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToBrowser(array|string $messageMedia, callable $cb): \Amp\Promise` @@ -726,6 +792,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToCallable(mixed $messageMedia, callable|\danog\MadelineProto\FileCallbackInterface $callable, callable $cb, bool $seekable, int $offset, int $end, int $part_size): \Amp\Promise` @@ -754,6 +822,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToDir(mixed $messageMedia, string|\danog\MadelineProto\FileCallbackInterface $dir, callable $cb): \Amp\Promise` @@ -776,6 +846,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToFile(mixed $messageMedia, string|\danog\MadelineProto\FileCallbackInterface $file, callable $cb): \Amp\Promise Downloaded file path` @@ -800,6 +872,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToResponse(array|string $messageMedia, \ServerRequest $request, callable $cb): \Amp\Promise Returned response` @@ -825,6 +899,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToStream(mixed $messageMedia, mixed|\danog\MadelineProto\FileCallbackInterface $stream, callable $cb, int $offset, int $end): \Amp\Promise` @@ -849,6 +925,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `echo(string $string): \Amp\Promise` @@ -864,6 +942,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `end(array $what): mixed` @@ -874,6 +954,8 @@ Parameters: * `$what`: `array` Array +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `exportAuthorization(): \Amp\Promise` @@ -889,6 +971,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `extractBotAPIFile(array $info): ?array` @@ -899,6 +983,8 @@ Parameters: * `$info`: `array` Bot API message object +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `fileGetContents(string $url): \Amp\Promise` @@ -918,6 +1004,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `first((\Promise|\Generator)[] $promises): \Amp\Promise` @@ -935,6 +1023,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `flock(string $file, int $operation, float $polling, ?\Promise $token, ?callable $failureCb): \Amp\Promise` @@ -956,6 +1046,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `fromSupergroup(int $id): float|int` @@ -966,6 +1058,8 @@ Parameters: * `$id`: `int` Bot API channel ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `fullChatLastUpdated(mixed $id): \Amp\Promise` @@ -981,6 +1075,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `fullGetSelf(): \Amp\Promise` @@ -992,6 +1088,8 @@ Get info about the logged-in user, not cached. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `genVectorHash(array $ints): \int Vector hash` @@ -1004,6 +1102,8 @@ Parameters: Return value: Vector hash +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getAllMethods(): mixed` @@ -1019,6 +1119,8 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getAuthorization(): mixed` @@ -1034,6 +1136,8 @@ int|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCachedConfig(): mixed` @@ -1049,6 +1153,8 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCall(int $call): mixed` @@ -1068,6 +1174,8 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCdnConfig(string $datacenter): \Amp\Promise` @@ -1083,6 +1191,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getConfig(array $config, array $options): \Amp\Promise` @@ -1099,6 +1209,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDNSClient(): mixed` @@ -1115,6 +1227,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDataCenterConnections(): mixed` @@ -1131,12 +1245,16 @@ array<\danog\MadelineProto\DataCenterConnection>|\Amp\Promise` @@ -1175,6 +1295,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getEventHandler(): mixed` @@ -1191,6 +1313,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getExtensionFromLocation(mixed $location, string $default): string` @@ -1202,6 +1326,8 @@ Parameters: * `$default`: `string` Default extension +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getExtensionFromMime(string $mime): string` @@ -1212,6 +1338,8 @@ Parameters: * `$mime`: `string` MIME type +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFileInfo(mixed $constructor): \Amp\Promise` @@ -1227,6 +1355,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFolderId(mixed $id): ?int` @@ -1237,6 +1367,8 @@ Parameters: * `$id`: `mixed` Object +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFullDialogs(bool $force): \Amp\Promise` @@ -1252,6 +1384,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFullInfo(mixed $id): \Amp\Promise FullInfo object` @@ -1274,6 +1408,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getHTTPClient(): mixed` @@ -1290,6 +1426,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getHint(): mixed` @@ -1305,6 +1443,8 @@ string|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getId(mixed $id): int` @@ -1315,6 +1455,8 @@ Parameters: * `$id`: `mixed` Peer +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getInfo(mixed $id, bool $recursive): \Amp\Promise Info object` @@ -1339,12 +1481,16 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getLogger()` Get logger. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMethodNamespaces(): mixed` @@ -1360,6 +1506,8 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMethodsNamespaced(): mixed` @@ -1375,6 +1523,8 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromBuffer(string $buffer): string` @@ -1385,6 +1535,8 @@ Parameters: * `$buffer`: `string` Buffer +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromExtension(string $extension, string $default): string` @@ -1396,6 +1548,8 @@ Parameters: * `$default`: `string` Default mime type +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromFile(string $file): string` @@ -1406,6 +1560,8 @@ Parameters: * `$file`: `string` File +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPropicInfo(mixed $messageMedia): \Amp\Promise` @@ -1425,12 +1581,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPsrLogger()` Get PSR logger. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPwrChat(mixed $id): \Amp\Promise Chat object` @@ -1448,6 +1608,8 @@ Return value: Chat object +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSecretChat(array|int $chat): mixed` @@ -1467,12 +1629,16 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSelf(): array|bool` Get info about the logged-in user, cached. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSettings(): mixed` @@ -1489,6 +1655,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTL(): mixed` @@ -1505,6 +1673,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getVar(object $obj, string $var): mixed` @@ -1516,6 +1686,8 @@ Parameters: * `$var`: `string` Attribute name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWebTemplate(): mixed` @@ -1531,6 +1703,8 @@ string|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasAllAuth(): mixed` @@ -1546,6 +1720,8 @@ bool|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasEventHandler(): mixed` @@ -1561,6 +1737,8 @@ bool|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasReportPeers(): mixed` @@ -1576,6 +1754,8 @@ bool|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasSecretChat(array|int $chat): mixed` @@ -1595,6 +1775,8 @@ bool|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasVar(object $obj, string $var): bool` @@ -1606,6 +1788,8 @@ Parameters: * `$var`: `string` Attribute name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `importAuthorization(mixed $authorization): \Amp\Promise` @@ -1621,6 +1805,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `inflateStripped(string $stripped): \string JPG payload` @@ -1633,6 +1819,8 @@ Parameters: Return value: JPG payload +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `initSelfRestart(): mixed` @@ -1648,12 +1836,16 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isAltervista(): bool` Whether this is altervista. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isArrayOrAlike(mixed $var): bool` @@ -1664,6 +1856,8 @@ Parameters: * `$var`: `mixed` Value to check +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isIpc(): mixed` @@ -1679,6 +1873,8 @@ bool|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isSupergroup(int $id): bool` @@ -1689,6 +1885,8 @@ Parameters: * `$id`: `int` Bot API ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `logger(string $param, int $level, string $file): mixed` @@ -1710,6 +1908,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `logout(): \Amp\Promise` @@ -1721,6 +1921,8 @@ Log out currently logged in user. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `loop(callable|null $callback): \Amp\Promise` @@ -1736,6 +1938,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `loopFork(): \Amp\Promise` @@ -1747,6 +1951,8 @@ Start MadelineProto's update handling loop in background. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `markdownEscape(string $hwat): string` @@ -1757,6 +1963,8 @@ Parameters: * `$hwat`: `string` String to escape +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `mbStrSplit(string $text, int $length): array` @@ -1768,6 +1976,8 @@ Parameters: * `$length`: `int` Length +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `mbStrlen(string $text): float|int` @@ -1778,6 +1988,8 @@ Parameters: * `$text`: `string` Text +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `mbSubstr(string $text, int $offset, ?int $length): string` @@ -1790,6 +2002,8 @@ Parameters: * `$length`: `?int` Length +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodCall(string $method, array|\Generator $args, array $aargs): \Amp\Promise` @@ -1812,6 +2026,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodCallWrite(string $method, array|\Generator $args, array $aargs): \Amp\Promise` @@ -1834,6 +2050,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodEscape(string $method): string` @@ -1844,6 +2062,8 @@ Parameters: * `$method`: `string` Method name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packDouble(float $value): string` @@ -1854,6 +2074,8 @@ Parameters: * `$value`: `float` Value to convert +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packSignedInt(int $value): string` @@ -1864,6 +2086,8 @@ Parameters: * `$value`: `int` Value to convert +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packSignedLong(int $value): string` @@ -1874,6 +2098,8 @@ Parameters: * `$value`: `int` Value to convert +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packUnsignedInt(int $value): string` @@ -1884,6 +2110,8 @@ Parameters: * `$value`: `int` Value +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `peerIsset(mixed $id): \Amp\Promise` @@ -1903,6 +2131,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `phoneLogin(string $number, int $sms_type): \Amp\Promise` @@ -1919,6 +2149,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `posmod(int $a, int $b): \int Modulo` @@ -1933,6 +2165,8 @@ Parameters: Return value: Modulo +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `random(int $length): \string Random string` @@ -1945,6 +2179,8 @@ Parameters: Return value: Random string +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `randomInt(int $modulus): int` @@ -1955,6 +2191,8 @@ Parameters: * `$modulus`: `int` Modulus +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `readLine(string $prompt): \Amp\Promise` @@ -1970,6 +2208,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rekey(int $chat): \Amp\Promise` @@ -1985,6 +2225,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `report(string $message, string $parseMode): \Amp\Promise` @@ -2001,6 +2243,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `requestCall(mixed $user): \Amp\Promise` @@ -2016,6 +2260,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `requestSecretChat(mixed $user): \Amp\Promise` @@ -2031,6 +2277,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `resetUpdateState(): mixed` @@ -2046,6 +2294,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `resolveUsername(string $username): \Amp\Promise` @@ -2061,12 +2311,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `restart(): void` Restart update loop. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rethrow(\Throwable $e, string $file): void` @@ -2083,6 +2337,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rleDecode(string $string): string` @@ -2093,6 +2349,8 @@ Parameters: * `$string`: `string` Data to decode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rleEncode(string $string): string` @@ -2103,6 +2361,8 @@ Parameters: * `$string`: `string` Data to encode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `secretChatStatus(int $chat): mixed` @@ -2122,12 +2382,16 @@ int|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `serializeAll(): void` Serialize all instances. CALLED ONLY ON SHUTDOWN. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setCallback(callable $callback): mixed` @@ -2147,6 +2411,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setEventHandler(class-string<\danog\MadelineProto\EventHandler> $eventHandler): \Amp\Promise` @@ -2163,6 +2429,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setNoop(): mixed` @@ -2178,6 +2446,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setReportPeers(int|string $userOrId): \Amp\Promise` @@ -2193,6 +2463,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setVar(object $obj, string $var, mixed $val): void` @@ -2205,6 +2477,8 @@ Parameters: * `$val`: `mixed` Attribute value +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setWebTemplate(string $template): mixed` @@ -2224,6 +2498,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setWebhook(string $hook_url, string $pem_path): mixed` @@ -2244,6 +2520,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setupLogger(): mixed` @@ -2259,6 +2537,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `sleep(int|float $time): \Amp\Promise` @@ -2274,6 +2554,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `some((\Promise|\Generator)[] $promises): \Amp\Promise` @@ -2291,6 +2573,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `start(): \Amp\Promise` @@ -2302,12 +2586,16 @@ Log in to telegram (via CLI or web). +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `stop(): void` Stop update loop. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `tdToMTProto(array $params): \Amp\Promise` @@ -2323,6 +2611,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `tdToTdcli(mixed $params): mixed` @@ -2333,6 +2623,8 @@ Parameters: * `$params`: `mixed` Parameters +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `tdcliToTd(array $params, array $key): mixed` @@ -2353,6 +2645,8 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `timeout(\Generator|\Promise $promise, int $timeout): \Amp\Promise` @@ -2371,6 +2665,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `timeoutWithDefault(\Promise|\Generator $promise, int $timeout, mixed $default): \Amp\Promise<\TReturn>|\Promise<\TReturnAlt>` @@ -2403,6 +2699,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `toCamelCase(string $input): string` @@ -2413,6 +2711,8 @@ Parameters: * `$input`: `string` String +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `toSnakeCase(string $input): string` @@ -2423,6 +2723,8 @@ Parameters: * `$input`: `string` String +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `toSupergroup(int $id): float|int` @@ -2433,6 +2735,8 @@ Parameters: * `$id`: `int` MTProto channel ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `typeEscape(string $type): string` @@ -2443,6 +2747,8 @@ Parameters: * `$type`: `string` String to escape +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackDouble(string $value): float` @@ -2453,6 +2759,8 @@ Parameters: * `$value`: `string` Value to unpack +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackFileId(string $fileId): mixed` @@ -2472,6 +2780,8 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackSignedInt(string $value): int` @@ -2482,6 +2792,8 @@ Parameters: * `$value`: `string` base256 int +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackSignedLong(string $value): int` @@ -2492,6 +2804,8 @@ Parameters: * `$value`: `string` base256 long +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackSignedLongString(string $value): string` @@ -2502,6 +2816,8 @@ Parameters: * `$value`: `string` base256 long +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unsetEventHandler(bool $disableUpdateHandling): mixed` @@ -2521,6 +2837,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `update2fa(array $params): \Amp\Promise` @@ -2536,6 +2854,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `updateSettings(\danog\MadelineProto\SettingsAbstract $settings): \Amp\Promise` @@ -2552,6 +2872,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `upload(\danog\MadelineProto\FileCallbackInterface|string|array $file, string $fileName, callable $cb, bool $encrypted): \Amp\Promise` @@ -2575,6 +2897,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadEncrypted(\danog\MadelineProto\FileCallbackInterface|string|array $file, string $fileName, callable $cb): \Amp\Promise` @@ -2597,6 +2921,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromCallable(mixed $callable, int $size, string $mime, string $fileName, callable $cb, bool $seekable, bool $encrypted): \Amp\Promise` @@ -2623,6 +2949,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromStream(mixed $stream, int $size, string $mime, string $fileName, callable $cb, bool $encrypted): \Amp\Promise` @@ -2647,6 +2975,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromTgfile(mixed $media, callable $cb, bool $encrypted): \Amp\Promise` @@ -2668,6 +2998,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromUrl(string|\danog\MadelineProto\FileCallbackInterface $url, int $size, string $fileName, callable $cb, bool $encrypted): \Amp\Promise` @@ -2692,6 +3024,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `wait(\Generator|\Promise $promise, bool $ignoreSignal): mixed` @@ -2709,6 +3043,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `async(bool $async): void` @@ -2719,12 +3055,16 @@ Parameters: * `$async`: `bool` Whether to enable or disable async +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `init(): void` Blockingly init. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `initAsynchronously(): \Generator` @@ -2736,12 +3076,16 @@ Asynchronously init. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `inited(): bool` Check if we've already inited. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `forceInit(bool $inited): void` @@ -2752,16 +3096,24 @@ Parameters: * `$inited`: `bool` Whether to mark the instance as inited or deinited +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWebAPITemplate(): string` Get web API login HTML template string. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setWebAPITemplate(): void` Set web API login HTML template string. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/ApiWrappers/Start.md b/docs/PHPInternal/danog/MadelineProto/ApiWrappers/Start.md index a9799798..6240c6c6 100644 --- a/docs/PHPInternal/danog/MadelineProto/ApiWrappers/Start.md +++ b/docs/PHPInternal/danog/MadelineProto/ApiWrappers/Start.md @@ -13,6 +13,5 @@ Manages simple logging in and out. - --- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). \ No newline at end of file +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Async/AsyncConstruct.md b/docs/PHPInternal/danog/MadelineProto/Async/AsyncConstruct.md index f0693c35..7b6f0e26 100644 --- a/docs/PHPInternal/danog/MadelineProto/Async/AsyncConstruct.md +++ b/docs/PHPInternal/danog/MadelineProto/Async/AsyncConstruct.md @@ -14,8 +14,6 @@ Async constructor class. Manages asynchronous construction and wakeup of classes ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `init(): void` * `initAsynchronously(): \Generator` @@ -28,6 +26,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Blockingly init. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `initAsynchronously(): \Generator` @@ -39,12 +39,16 @@ Asynchronously init. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `inited(): bool` Check if we've already inited. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `forceInit(bool $inited): void` @@ -55,4 +59,8 @@ Parameters: * `$inited`: `bool` Whether to mark the instance as inited or deinited +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Connection.md b/docs/PHPInternal/danog/MadelineProto/Connection.md index 250cd83b..51a7167d 100644 --- a/docs/PHPInternal/danog/MadelineProto/Connection.md +++ b/docs/PHPInternal/danog/MadelineProto/Connection.md @@ -14,8 +14,6 @@ Connection class. Manages connection to Telegram datacenters ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `needReconnect(bool $needsReconnect): void` * `shouldReconnect(): bool` @@ -69,12 +67,16 @@ Parameters: * `$needsReconnect`: `bool` Whether the socket has to be reconnected +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `shouldReconnect(): bool` Whether this sockets needs to be reconnected. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `writing(bool $writing): void` @@ -85,6 +87,8 @@ Parameters: * `$writing`: `bool` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `reading(bool $reading): void` @@ -95,54 +99,72 @@ Parameters: * `$reading`: `bool` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `haveRead(): void` Tell the class that we have read a chunk of data from the socket. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getLastChunk(): float` Get the receive date of the latest chunk of data from the socket. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `httpReceived(): void` Indicate a received HTTP response. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `countHttpReceived(): int` Count received HTTP responses. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `httpSent(): void` Indicate a sent HTTP request. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `countHttpSent(): int` Count sent HTTP requests. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getID(): int` Get connection ID. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDatacenterID(): string` Get datacenter concatenated with connection ID. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCtx(): \danog\MadelineProto\Stream\ConnectionContext` @@ -154,24 +176,32 @@ Get connection context. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isHttp(): bool` Check if is an HTTP connection. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isMedia(): bool` Check if is a media connection. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isCDN(): bool` Check if is a CDN connection. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `connect(\danog\MadelineProto\Stream\ConnectionContext $ctx): \Generator` @@ -193,6 +223,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `sendMessage(array $message, bool $flush): \Generator` @@ -233,18 +265,24 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `flush(): void` Flush pending packets. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `pingHttpWaiter(): void` Resume HttpWaiter. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setExtra(\danog\MadelineProto\DataCenterConnection $extra, int $id): void` @@ -261,6 +299,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getExtra(): \danog\MadelineProto\MTProto` @@ -272,6 +312,8 @@ Get main instance. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getShared(): \danog\MadelineProto\DataCenterConnection` @@ -283,6 +325,8 @@ Get shared connection instance. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `disconnect(bool $temporary): void` @@ -293,6 +337,8 @@ Parameters: * `$temporary`: `bool` Whether the disconnection is temporary, triggered by the reconnect method +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `reconnect(): \Generator` @@ -304,30 +350,40 @@ Reconnect to DC. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getName(): string` Get name. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `resetSession(): void` Reset MTProto session. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `createSession(): void` Create MTProto session if needed. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `backupSession(): array` Backup eventual unsent messages before session deletion. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `ackOutgoingMessageId(string|int $message_id): bool` @@ -338,6 +394,8 @@ Parameters: * `$message_id`: `string|int` Message Id +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `gotResponseForOutgoingMessageId(string|int $message_id): bool` @@ -348,6 +406,8 @@ Parameters: * `$message_id`: `string|int` Message ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `ackIncomingMessageId(string|int $message_id): bool` @@ -358,18 +418,24 @@ Parameters: * `$message_id`: `string|int` Message ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasPendingCalls(): bool` Check if there are some pending calls. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPendingCalls(): array` Get all pending calls (also clear pending state requests). +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `handleReject(array $request, \Throwable $data): void` @@ -386,12 +452,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `handleResponse(): void` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodRecall(string $watcherId, array $args): void` @@ -403,6 +473,8 @@ Parameters: * `$args`: `array` Args +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodCallAsyncRead(string $method, array|\Generator $args, array $aargs): \Generator` @@ -424,6 +496,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodCallAsyncWrite(string $method, array|\Generator $args, array $aargs): \Generator` @@ -445,6 +519,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `objectCall(string $object, array $args, array $aargs): \Generator` @@ -462,6 +538,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `sendMsgsStateInfo(string|int $req_msg_id, array $msg_ids): \Generator` @@ -478,4 +556,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Coroutine.md b/docs/PHPInternal/danog/MadelineProto/Coroutine.md index 4c5560f9..c4ce50db 100644 --- a/docs/PHPInternal/danog/MadelineProto/Coroutine.md +++ b/docs/PHPInternal/danog/MadelineProto/Coroutine.md @@ -18,8 +18,6 @@ value is sent into the generator, while a failure reason is thrown into the gene asynchronous code can be written without callbacks and be structured like synchronous code. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `fail(\Throwable $reason): void` * `offsetGet(mixed $offset): \Amp\Promise` @@ -43,6 +41,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetGet(mixed $offset): \Amp\Promise` @@ -58,28 +58,40 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTrace(): array` Get current stack trace for running coroutine. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFrame(): array` Get current execution frame. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `jsonSerialize(): string` Obtain. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `onResolve()` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/DataCenter.md b/docs/PHPInternal/danog/MadelineProto/DataCenter.md index 0d240a63..a31b6f67 100644 --- a/docs/PHPInternal/danog/MadelineProto/DataCenter.md +++ b/docs/PHPInternal/danog/MadelineProto/DataCenter.md @@ -14,8 +14,6 @@ Manages datacenters. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `setDataCenterConnections(array $saved): void` * `setVoIPEndpoints(array $endpoints): void` @@ -47,6 +45,8 @@ Parameters: * `$saved`: `array` Saved auth array +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setVoIPEndpoints(array $endpoints): void` @@ -57,6 +57,8 @@ Parameters: * `$endpoints`: `array` Endpoints +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `dcConnect(string $dc_number, int $id): \Generator` @@ -73,6 +75,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `generateContexts(int $dc_number, string $uri, \Amp\Socket\ConnectContext $context): array` @@ -90,6 +94,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getAPI(): \danog\MadelineProto\MTProto` @@ -101,6 +107,8 @@ Get main API. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getHTTPClient(): \Amp\Http\Client\HttpClient` @@ -112,6 +120,8 @@ Get async HTTP client. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCookieJar(): \Amp\Http\Client\Cookie\CookieJar` @@ -123,6 +133,8 @@ Get async HTTP client cookies. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDNSClient(): \Amp\Dns\Resolver` @@ -134,6 +146,8 @@ Get DNS over HTTPS async DNS client. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getNonProxiedDNSClient(): \Amp\Dns\Resolver` @@ -145,6 +159,8 @@ Get non-proxied DNS over HTTPS async DNS client. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `fileGetContents(string $url): \Generator` @@ -165,6 +181,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getAuthConnection(string $dc): \danog\MadelineProto\Connection` @@ -180,6 +198,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getConnection(string $dc): \danog\MadelineProto\Connection` @@ -195,6 +215,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `waitGetConnection(string $dc): \Generator` @@ -216,6 +238,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDataCenterConnection(string $dc): \danog\MadelineProto\DataCenterConnection` @@ -231,6 +255,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDataCenterConnections(): array` @@ -242,6 +268,8 @@ Get all DataCenterConnection instances. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `has(string $dc): bool` @@ -252,6 +280,8 @@ Parameters: * `$dc`: `string` DC ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isHttp(string $datacenter): bool` @@ -262,6 +292,8 @@ Parameters: * `$datacenter`: `string` DC ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `byIPAddress(string $datacenter): bool` @@ -272,6 +304,8 @@ Parameters: * `$datacenter`: `string` DC ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDcs(bool $all): array` @@ -282,4 +316,8 @@ Parameters: * `$all`: `bool` Whether to get all possible DC IDs, or only connected ones +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/DataCenterConnection.md b/docs/PHPInternal/danog/MadelineProto/DataCenterConnection.md index 92b33878..a5793121 100644 --- a/docs/PHPInternal/danog/MadelineProto/DataCenterConnection.md +++ b/docs/PHPInternal/danog/MadelineProto/DataCenterConnection.md @@ -14,8 +14,6 @@ Datacenter connection. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Constants * `danog\MadelineProto\DataCenterConnection::READ_WEIGHT`: @@ -78,12 +76,16 @@ Parameters: * `$needsReconnect`: `bool` Whether the socket has to be reconnected +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `shouldReconnect(): bool` Whether this sockets needs to be reconnected. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getAuthKey(bool $temp): \danog\MadelineProto\MTProto\AuthKey` @@ -99,6 +101,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasAuthKey(bool $temp): bool` @@ -109,6 +113,8 @@ Parameters: * `$temp`: `bool` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setAuthKey(\danog\MadelineProto\MTProto\AuthKey|null $key, bool $temp): void` @@ -125,6 +131,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTempAuthKey(): \danog\MadelineProto\MTProto\TempAuthKey` @@ -136,6 +144,8 @@ Get temporary authorization key. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPermAuthKey(): \danog\MadelineProto\MTProto\PermAuthKey` @@ -147,18 +157,24 @@ Get permanent authorization key. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasTempAuthKey(): bool` Check if has temporary authorization key. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasPermAuthKey(): bool` Check if has permanent authorization key. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setTempAuthKey(\danog\MadelineProto\MTProto\TempAuthKey|null $key): void` @@ -174,6 +190,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setPermAuthKey(\danog\MadelineProto\MTProto\PermAuthKey|null $key): void` @@ -189,6 +207,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `bind(bool $pfs): void` @@ -199,18 +219,24 @@ Parameters: * `$pfs`: `bool` Whether to bind using PFS +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isBound(): bool` Check if auth keys are bound. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isAuthorized(): bool` Check if we are logged in. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `authorized(bool $authorized): void` @@ -221,6 +247,8 @@ Parameters: * `$authorized`: `bool` Whether we are authorized +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `link(string $dc): void` @@ -231,24 +259,32 @@ Parameters: * `$dc`: `string` Main DC ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `resetSession(): void` Reset MTProto sessions. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `createSession(): void` Create MTProto sessions if needed. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `flush(): void` Flush all pending packets. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCtx(): \danog\MadelineProto\Stream\ConnectionContext` @@ -260,12 +296,16 @@ Get connection context. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasCtx(): bool` Has connection context? +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `connect(\danog\MadelineProto\Stream\ConnectionContext $ctx, int $id): \Generator` @@ -283,6 +323,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `signalDisconnect(int $id): void` @@ -293,12 +335,16 @@ Parameters: * `$id`: `int` Connection ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `disconnect(): void` Close all connections to DC. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `reconnect(): \Generator` @@ -310,12 +356,16 @@ Reconnect to DC. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `restoreBackup(): void` Restore backed up messages. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getAuthConnection(): \danog\MadelineProto\Connection` @@ -327,6 +377,8 @@ Get connection for authorization. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasConnection(int $id): bool|int` @@ -337,6 +389,8 @@ Parameters: * `$id`: `int` Connection ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `waitGetConnection(): \Generator` @@ -354,6 +408,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getConnection(int $id): \danog\MadelineProto\Connection` @@ -369,12 +425,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `even(): void` Even out round robin values. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `reading(bool $reading, int $x): void` @@ -386,6 +446,8 @@ Parameters: * `$x`: `int` Connection ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `writing(bool $writing, int $x): void` @@ -397,6 +459,8 @@ Parameters: * `$x`: `int` Connection ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setExtra(\danog\MadelineProto\MTProto $API): void` @@ -412,6 +476,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getExtra(): \danog\MadelineProto\MTProto` @@ -423,30 +489,40 @@ Get main instance. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isHttp(): bool` Check if is an HTTP connection. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `byIPAddress(): bool` Check if is connected directly by IP address. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isMedia(): bool` Check if is a media connection. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isCDN(): bool` Check if is a CDN connection. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSettings(): \danog\MadelineProto\Settings\Connection` @@ -458,6 +534,8 @@ Get DC-specific settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getGenericSettings(): \danog\MadelineProto\Settings` @@ -469,10 +547,16 @@ Get global settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `jsonSerialize(): array` JSON serialize function. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Db/ArrayCacheTrait.md b/docs/PHPInternal/danog/MadelineProto/Db/ArrayCacheTrait.md index 03bcbeb7..fffd732b 100644 --- a/docs/PHPInternal/danog/MadelineProto/Db/ArrayCacheTrait.md +++ b/docs/PHPInternal/danog/MadelineProto/Db/ArrayCacheTrait.md @@ -13,6 +13,5 @@ Array caching trait. - --- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). \ No newline at end of file +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Db/DbArray.md b/docs/PHPInternal/danog/MadelineProto/Db/DbArray.md index 0383aa6f..d0b81394 100644 --- a/docs/PHPInternal/danog/MadelineProto/Db/DbArray.md +++ b/docs/PHPInternal/danog/MadelineProto/Db/DbArray.md @@ -14,8 +14,6 @@ DB array interface. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getArrayCopy(): \Amp\Promise` * `isset(string|int $key): \Amp\Promise` @@ -42,6 +40,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isset(string|int $key): \Amp\Promise` @@ -61,6 +61,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetGet(string|int $index): \Amp\Promise` @@ -81,6 +83,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetSet(string|int $index, mixed $value): void` @@ -101,6 +105,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetUnset(string|int $index): \Amp\Promise` @@ -116,6 +122,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `count(): \Amp\Promise` @@ -127,12 +135,16 @@ Count number of elements. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getIterator()` Get iterator. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getInstance(string $table, null|\danog\MadelineProto\Db\DbType|array $value, \danog\MadelineProto\Settings\DatabaseAbstract $settings): \Amp\Promise` @@ -151,4 +163,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Db/DbPropertiesFactory.md b/docs/PHPInternal/danog/MadelineProto/Db/DbPropertiesFactory.md index d41e54cd..9e5d75e5 100644 --- a/docs/PHPInternal/danog/MadelineProto/Db/DbPropertiesFactory.md +++ b/docs/PHPInternal/danog/MadelineProto/Db/DbPropertiesFactory.md @@ -14,10 +14,10 @@ This factory class initializes the correct database backend for MadelineProto. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Constants * `danog\MadelineProto\Db\DbPropertiesFactory::TYPE_ARRAY`: Indicates a simple K-V array stored in a database backend. Values can be objects or other arrays, but when lots of nesting is required, it's best to split the array into multiple arrays. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Db/DbPropertiesTrait.md b/docs/PHPInternal/danog/MadelineProto/Db/DbPropertiesTrait.md index 6acb1655..181282b1 100644 --- a/docs/PHPInternal/danog/MadelineProto/Db/DbPropertiesTrait.md +++ b/docs/PHPInternal/danog/MadelineProto/Db/DbPropertiesTrait.md @@ -18,7 +18,7 @@ You will have to define a `$dbProperties` static array property, with a list of - +## Properties +* `$dbProperties`: `array` --- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Properties -* `$dbProperties`: `array` \ No newline at end of file +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Db/Driver/Mysql.md b/docs/PHPInternal/danog/MadelineProto/Db/Driver/Mysql.md index d9b69a86..d9c1e007 100644 --- a/docs/PHPInternal/danog/MadelineProto/Db/Driver/Mysql.md +++ b/docs/PHPInternal/danog/MadelineProto/Db/Driver/Mysql.md @@ -14,8 +14,6 @@ MySQL driver wrapper. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getConnection(string $host, int $port, string $user, string $password, string $db, int $maxConnections, int $idleTimeout): \Generator<\Amp\Mysql\Pool>` @@ -41,4 +39,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Db/Driver/Postgres.md b/docs/PHPInternal/danog/MadelineProto/Db/Driver/Postgres.md index 3bc5b957..28857a53 100644 --- a/docs/PHPInternal/danog/MadelineProto/Db/Driver/Postgres.md +++ b/docs/PHPInternal/danog/MadelineProto/Db/Driver/Postgres.md @@ -14,8 +14,6 @@ Postgres driver wrapper. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getConnection(string $host, int $port, string $user, string $password, string $db, int $maxConnections, int $idleTimeout): \Generator<\Amp\Postgres\Pool>` @@ -41,4 +39,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Db/Driver/Redis.md b/docs/PHPInternal/danog/MadelineProto/Db/Driver/Redis.md index e504c0d2..aee0b26f 100644 --- a/docs/PHPInternal/danog/MadelineProto/Db/Driver/Redis.md +++ b/docs/PHPInternal/danog/MadelineProto/Db/Driver/Redis.md @@ -14,8 +14,6 @@ Redis driver wrapper. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getConnection(string $host, int $port, string $user, string $password, string $db, int $maxConnections, int $idleTimeout): \Generator` @@ -46,4 +44,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Db/DriverArray.md b/docs/PHPInternal/danog/MadelineProto/Db/DriverArray.md index 0b77f424..4db972fb 100644 --- a/docs/PHPInternal/danog/MadelineProto/Db/DriverArray.md +++ b/docs/PHPInternal/danog/MadelineProto/Db/DriverArray.md @@ -14,8 +14,6 @@ Array caching trait. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getArrayCopy(): \Amp\Promise` * `isset(string|int $key): \Amp\Promise` @@ -42,6 +40,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isset(string|int $key): \Amp\Promise` @@ -61,6 +61,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetGet(string|int $index): \Amp\Promise` @@ -81,6 +83,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetSet(string|int $index, mixed $value): void` @@ -101,6 +105,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetUnset(string|int $index): \Amp\Promise` @@ -116,6 +122,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `count(): \Amp\Promise` @@ -127,12 +135,16 @@ Count number of elements. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getIterator()` Get iterator. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getInstance(string $table, null|\danog\MadelineProto\Db\DbType|array $value, \danog\MadelineProto\Settings\DatabaseAbstract $settings): \Amp\Promise` @@ -151,4 +163,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Db/MemoryArray.md b/docs/PHPInternal/danog/MadelineProto/Db/MemoryArray.md index 4a10822b..1aa79f23 100644 --- a/docs/PHPInternal/danog/MadelineProto/Db/MemoryArray.md +++ b/docs/PHPInternal/danog/MadelineProto/Db/MemoryArray.md @@ -14,8 +14,6 @@ Memory database backend. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Constants * `danog\MadelineProto\Db\MemoryArray::STD_PROP_LIST`: @@ -43,4 +41,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Db/MysqlArray.md b/docs/PHPInternal/danog/MadelineProto/Db/MysqlArray.md index 63ce89f9..aadb8f8e 100644 --- a/docs/PHPInternal/danog/MadelineProto/Db/MysqlArray.md +++ b/docs/PHPInternal/danog/MadelineProto/Db/MysqlArray.md @@ -14,8 +14,6 @@ MySQL database backend. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `initStartup(): \Generator` * `isset( $key): \Promise true if the offset exists, otherwise false` @@ -37,6 +35,8 @@ Initialize on startup. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isset( $key): \Promise true if the offset exists, otherwise false` @@ -49,6 +49,8 @@ Parameters: Return value: true if the offset exists, otherwise false +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetSet(string|int $index, $value)` @@ -62,6 +64,8 @@ The index to set for. * `$value`: `` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetUnset(string|int $index): \Amp\Promise` @@ -79,6 +83,8 @@ The offset to unset. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `count(): \Promise The number of elements or public properties in the associated array or object, respectively.` @@ -89,6 +95,8 @@ Count elements. Return value: The number of elements or public properties in the associated array or object, respectively. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `initConnection(\danog\MadelineProto\Settings\Database\Mysql $settings): \Generator` @@ -105,6 +113,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getInstance(string $table, \danog\MadelineProto\Db\DbArray|array|null $value, \danog\MadelineProto\Settings\Database\DatabaseAbstract $settings): \Amp\Promise` @@ -128,4 +138,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Db/NullCache/MysqlArray.md b/docs/PHPInternal/danog/MadelineProto/Db/NullCache/MysqlArray.md index cc9184a1..84772cb8 100644 --- a/docs/PHPInternal/danog/MadelineProto/Db/NullCache/MysqlArray.md +++ b/docs/PHPInternal/danog/MadelineProto/Db/NullCache/MysqlArray.md @@ -14,8 +14,6 @@ MySQL database backend, no caching. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `initStartup(): \Generator` * `isset( $key): \Promise true if the offset exists, otherwise false` @@ -37,6 +35,8 @@ Initialize on startup. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isset( $key): \Promise true if the offset exists, otherwise false` @@ -49,6 +49,8 @@ Parameters: Return value: true if the offset exists, otherwise false +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetSet(string|int $index, $value)` @@ -62,6 +64,8 @@ The index to set for. * `$value`: `` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetUnset(string|int $index): \Amp\Promise` @@ -79,6 +83,8 @@ The offset to unset. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `count(): \Promise The number of elements or public properties in the associated array or object, respectively.` @@ -89,6 +95,8 @@ Count elements. Return value: The number of elements or public properties in the associated array or object, respectively. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `initConnection(\danog\MadelineProto\Settings\Database\Mysql $settings): \Generator` @@ -105,6 +113,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getInstance(string $table, \danog\MadelineProto\Db\DbArray|array|null $value, \danog\MadelineProto\Settings\Database\DatabaseAbstract $settings): \Amp\Promise` @@ -128,4 +138,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Db/NullCache/PostgresArray.md b/docs/PHPInternal/danog/MadelineProto/Db/NullCache/PostgresArray.md index 34f0a08b..e7423020 100644 --- a/docs/PHPInternal/danog/MadelineProto/Db/NullCache/PostgresArray.md +++ b/docs/PHPInternal/danog/MadelineProto/Db/NullCache/PostgresArray.md @@ -14,8 +14,6 @@ Postgres database backend, no caching. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `initStartup(): \Generator` * `initConnection(\danog\MadelineProto\Settings\Database\Postgres $settings): \Generator` @@ -38,6 +36,8 @@ Initialize on startup. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `initConnection(\danog\MadelineProto\Settings\Database\Postgres $settings): \Generator` @@ -54,6 +54,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetSet(string $index, $value)` @@ -67,6 +69,8 @@ The index to set for. * `$value`: `` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isset( $key): \Promise true if the offset exists, otherwise false` @@ -79,6 +83,8 @@ Parameters: Return value: true if the offset exists, otherwise false +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetUnset(string $index): \Amp\Promise` @@ -96,6 +102,8 @@ The offset to unset. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getArrayCopy(): \Amp\Promise` @@ -107,6 +115,8 @@ Get array copy. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `count(): \Promise The number of elements or public properties in the associated array or object, respectively.` @@ -117,6 +127,8 @@ Count elements. Return value: The number of elements or public properties in the associated array or object, respectively. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getInstance(string $table, \danog\MadelineProto\Db\DbArray|array|null $value, \danog\MadelineProto\Settings\Database\DatabaseAbstract $settings): \Amp\Promise` @@ -140,4 +152,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Db/NullCache/RedisArray.md b/docs/PHPInternal/danog/MadelineProto/Db/NullCache/RedisArray.md index bd4b79a7..9abe89fd 100644 --- a/docs/PHPInternal/danog/MadelineProto/Db/NullCache/RedisArray.md +++ b/docs/PHPInternal/danog/MadelineProto/Db/NullCache/RedisArray.md @@ -14,8 +14,6 @@ Redis database backend, no caching. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `initStartup(): \Generator` * `initConnection(\danog\MadelineProto\Settings\Database\Redis $settings): \Generator` @@ -38,6 +36,8 @@ Initialize on startup. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `initConnection(\danog\MadelineProto\Settings\Database\Redis $settings): \Generator` @@ -54,6 +54,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetSet(string $index, $value)` @@ -67,6 +69,8 @@ The index to set for. * `$value`: `` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isset( $key): \Promise true if the offset exists, otherwise false` @@ -79,6 +83,8 @@ Parameters: Return value: true if the offset exists, otherwise false +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetUnset(string $index): \Amp\Promise` @@ -96,6 +102,8 @@ The offset to unset. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getArrayCopy(): \Amp\Promise` @@ -107,6 +115,8 @@ Get array copy. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `count(): \Promise The number of elements or public properties in the associated array or object, respectively.` @@ -117,6 +127,8 @@ Count elements. Return value: The number of elements or public properties in the associated array or object, respectively. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getInstance(string $table, \danog\MadelineProto\Db\DbArray|array|null $value, \danog\MadelineProto\Settings\Database\DatabaseAbstract $settings): \Amp\Promise` @@ -140,4 +152,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Db/PostgresArray.md b/docs/PHPInternal/danog/MadelineProto/Db/PostgresArray.md index 89abcd42..c0095417 100644 --- a/docs/PHPInternal/danog/MadelineProto/Db/PostgresArray.md +++ b/docs/PHPInternal/danog/MadelineProto/Db/PostgresArray.md @@ -14,8 +14,6 @@ Postgres database backend. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `initStartup(): \Generator` * `initConnection(\danog\MadelineProto\Settings\Database\Postgres $settings): \Generator` @@ -38,6 +36,8 @@ Initialize on startup. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `initConnection(\danog\MadelineProto\Settings\Database\Postgres $settings): \Generator` @@ -54,6 +54,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetSet(string $index, $value)` @@ -67,6 +69,8 @@ The index to set for. * `$value`: `` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isset( $key): \Promise true if the offset exists, otherwise false` @@ -79,6 +83,8 @@ Parameters: Return value: true if the offset exists, otherwise false +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetUnset(string $index): \Amp\Promise` @@ -96,6 +102,8 @@ The offset to unset. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getArrayCopy(): \Amp\Promise` @@ -107,6 +115,8 @@ Get array copy. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `count(): \Promise The number of elements or public properties in the associated array or object, respectively.` @@ -117,6 +127,8 @@ Count elements. Return value: The number of elements or public properties in the associated array or object, respectively. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getInstance(string $table, \danog\MadelineProto\Db\DbArray|array|null $value, \danog\MadelineProto\Settings\Database\DatabaseAbstract $settings): \Amp\Promise` @@ -140,4 +152,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Db/RedisArray.md b/docs/PHPInternal/danog/MadelineProto/Db/RedisArray.md index 42fedaf2..a23d5b81 100644 --- a/docs/PHPInternal/danog/MadelineProto/Db/RedisArray.md +++ b/docs/PHPInternal/danog/MadelineProto/Db/RedisArray.md @@ -14,8 +14,6 @@ Redis database backend. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `initStartup(): \Generator` * `initConnection(\danog\MadelineProto\Settings\Database\Redis $settings): \Generator` @@ -38,6 +36,8 @@ Initialize on startup. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `initConnection(\danog\MadelineProto\Settings\Database\Redis $settings): \Generator` @@ -54,6 +54,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetSet(string $index, $value)` @@ -67,6 +69,8 @@ The index to set for. * `$value`: `` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isset( $key): \Promise true if the offset exists, otherwise false` @@ -79,6 +83,8 @@ Parameters: Return value: true if the offset exists, otherwise false +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetUnset(string $index): \Amp\Promise` @@ -96,6 +102,8 @@ The offset to unset. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getArrayCopy(): \Amp\Promise` @@ -107,6 +115,8 @@ Get array copy. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `count(): \Promise The number of elements or public properties in the associated array or object, respectively.` @@ -117,6 +127,8 @@ Count elements. Return value: The number of elements or public properties in the associated array or object, respectively. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getInstance(string $table, \danog\MadelineProto\Db\DbArray|array|null $value, \danog\MadelineProto\Settings\Database\DatabaseAbstract $settings): \Amp\Promise` @@ -140,4 +152,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Db/SqlArray.md b/docs/PHPInternal/danog/MadelineProto/Db/SqlArray.md index 88a27287..e210fc98 100644 --- a/docs/PHPInternal/danog/MadelineProto/Db/SqlArray.md +++ b/docs/PHPInternal/danog/MadelineProto/Db/SqlArray.md @@ -14,8 +14,6 @@ Generic SQL database backend. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getInstance(string $table, \danog\MadelineProto\Db\DbArray|array|null $value, \danog\MadelineProto\Settings\Database\DatabaseAbstract $settings): \Amp\Promise` * `getArrayCopy(): \Amp\Promise` @@ -49,6 +47,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getArrayCopy(): \Amp\Promise` @@ -65,6 +65,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isset(string|int $key): \Amp\Promise` @@ -84,6 +86,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetGet(string|int $index): \Amp\Promise` @@ -104,6 +108,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetSet(string|int $index, mixed $value): void` @@ -124,6 +130,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetUnset(string|int $index): \Amp\Promise` @@ -139,6 +147,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `count(): \Amp\Promise` @@ -150,10 +160,16 @@ Count number of elements. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getIterator()` Get iterator. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/EventHandler.md b/docs/PHPInternal/danog/MadelineProto/EventHandler.md index f45bd2c0..fb9f899a 100644 --- a/docs/PHPInternal/danog/MadelineProto/EventHandler.md +++ b/docs/PHPInternal/danog/MadelineProto/EventHandler.md @@ -14,8 +14,6 @@ Event handler. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getReportPeers(): array|string|int` * `getAPI(): \danog\MadelineProto\MTProto` @@ -197,6 +195,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get peers where to send error reports. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getAPI(): \danog\MadelineProto\MTProto` @@ -208,6 +208,8 @@ Get API instance. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `MTProtoToBotAPI(array $data): \Amp\Promise` @@ -223,6 +225,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `MTProtoToTd(mixed $params): \Amp\Promise` @@ -238,6 +242,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `MTProtoToTdcli(mixed $params): \Amp\Promise` @@ -253,6 +259,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `acceptCall(array $call): \Amp\Promise` @@ -268,6 +276,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `acceptSecretChat(array $params): \Amp\Promise` @@ -283,6 +293,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `acceptTos(): \Amp\Promise` @@ -294,6 +306,8 @@ Accept terms of service update. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `addUser(array $user): \Amp\Promise` @@ -309,6 +323,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `after(\Generator|\Promise $a, \Generator|\Promise $b): \Amp\Promise` @@ -327,6 +343,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `all((\Generator|\Promise)[] $promises): \Amp\Promise` @@ -344,6 +362,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `any((\Promise|\Generator)[] $promises): \Amp\Promise` @@ -361,6 +381,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `arr(mixed $params): array` @@ -371,6 +393,8 @@ Parameters: * `$params`: `mixed` Params +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `base64urlDecode(string $data): string` @@ -381,6 +405,8 @@ Parameters: * `$data`: `string` Data to decode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `base64urlEncode(string $data): string` @@ -391,6 +417,8 @@ Parameters: * `$data`: `string` Data to encode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `botAPIToMTProto(array $arguments): \Amp\Promise` @@ -406,6 +434,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `botLogin(string $token): \Amp\Promise` @@ -421,6 +451,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `call(\Generator|\Promise|mixed $promise): \Amp\Promise` @@ -447,6 +479,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `callFork(\Generator|\Promise $promise, ?\Generator|\Promise $actual, string $file): \Amp\Promise|mixed` @@ -466,6 +500,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `callForkDefer(\Generator|\Promise $promise): void` @@ -482,6 +518,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `callStatus(int $id): mixed` @@ -501,6 +539,8 @@ int|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `checkTos(): \Amp\Promise` @@ -512,6 +552,8 @@ Check for terms of service update. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `cleanup(): \Amp\Promise` @@ -523,6 +565,8 @@ Cleanup memory and session file. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `closeConnection(string $message): void` @@ -533,6 +577,8 @@ Parameters: * `$message`: `string` Message +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `complete2faLogin(string $password): \Amp\Promise` @@ -548,6 +594,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `completeCall(array $params): \Amp\Promise` @@ -563,6 +611,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `completePhoneLogin(string $code): \Amp\Promise` @@ -578,6 +628,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `completeSignup(string $first_name, string $last_name): \Amp\Promise` @@ -594,6 +646,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `confirmCall(array $params): \Amp\Promise` @@ -609,6 +663,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `connectToAllDcs(bool $reconnectAll): \Amp\Promise` @@ -624,6 +680,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `declineTos(): \Amp\Promise` @@ -635,6 +693,8 @@ THIS WILL DELETE YOUR ACCOUNT! +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `discardCall(array $call, array $reason, array $rating, bool $need_debug): \Amp\Promise` @@ -653,6 +713,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `discardSecretChat(int $chat): \Amp\Promise` @@ -668,6 +730,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToBrowser(array|string $messageMedia, callable $cb): \Amp\Promise` @@ -684,6 +748,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToCallable(mixed $messageMedia, callable|\danog\MadelineProto\FileCallbackInterface $callable, callable $cb, bool $seekable, int $offset, int $end, int $part_size): \Amp\Promise` @@ -712,6 +778,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToDir(mixed $messageMedia, string|\danog\MadelineProto\FileCallbackInterface $dir, callable $cb): \Amp\Promise` @@ -734,6 +802,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToFile(mixed $messageMedia, string|\danog\MadelineProto\FileCallbackInterface $file, callable $cb): \Amp\Promise Downloaded file path` @@ -758,6 +828,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToResponse(array|string $messageMedia, \ServerRequest $request, callable $cb): \Amp\Promise Returned response` @@ -783,6 +855,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToStream(mixed $messageMedia, mixed|\danog\MadelineProto\FileCallbackInterface $stream, callable $cb, int $offset, int $end): \Amp\Promise` @@ -807,6 +881,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `echo(string $string): \Amp\Promise` @@ -822,6 +898,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `end(array $what): mixed` @@ -832,6 +910,8 @@ Parameters: * `$what`: `array` Array +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `exportAuthorization(): \Amp\Promise` @@ -847,6 +927,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `extractBotAPIFile(array $info): ?array` @@ -857,6 +939,8 @@ Parameters: * `$info`: `array` Bot API message object +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `fileGetContents(string $url): \Amp\Promise` @@ -876,6 +960,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `first((\Promise|\Generator)[] $promises): \Amp\Promise` @@ -893,6 +979,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `flock(string $file, int $operation, float $polling, ?\Promise $token, ?callable $failureCb): \Amp\Promise` @@ -914,6 +1002,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `fromSupergroup(int $id): float|int` @@ -924,6 +1014,8 @@ Parameters: * `$id`: `int` Bot API channel ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `fullChatLastUpdated(mixed $id): \Amp\Promise` @@ -939,6 +1031,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `fullGetSelf(): \Amp\Promise` @@ -950,6 +1044,8 @@ Get info about the logged-in user, not cached. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `genVectorHash(array $ints): \int Vector hash` @@ -962,6 +1058,8 @@ Parameters: Return value: Vector hash +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getAllMethods(): mixed` @@ -977,6 +1075,8 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getAuthorization(): mixed` @@ -992,6 +1092,8 @@ int|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCachedConfig(): mixed` @@ -1007,6 +1109,8 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCall(int $call): mixed` @@ -1026,6 +1130,8 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCdnConfig(string $datacenter): \Amp\Promise` @@ -1041,6 +1147,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getConfig(array $config, array $options): \Amp\Promise` @@ -1057,6 +1165,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDNSClient(): mixed` @@ -1073,6 +1183,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDataCenterConnections(): mixed` @@ -1089,12 +1201,16 @@ array<\danog\MadelineProto\DataCenterConnection>|\Amp\Promise` @@ -1133,6 +1251,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getEventHandler(): mixed` @@ -1149,6 +1269,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getExtensionFromLocation(mixed $location, string $default): string` @@ -1160,6 +1282,8 @@ Parameters: * `$default`: `string` Default extension +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getExtensionFromMime(string $mime): string` @@ -1170,6 +1294,8 @@ Parameters: * `$mime`: `string` MIME type +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFileInfo(mixed $constructor): \Amp\Promise` @@ -1185,6 +1311,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFolderId(mixed $id): ?int` @@ -1195,6 +1323,8 @@ Parameters: * `$id`: `mixed` Object +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFullDialogs(bool $force): \Amp\Promise` @@ -1210,6 +1340,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFullInfo(mixed $id): \Amp\Promise FullInfo object` @@ -1232,6 +1364,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getHTTPClient(): mixed` @@ -1248,6 +1382,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getHint(): mixed` @@ -1263,6 +1399,8 @@ string|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getId(mixed $id): int` @@ -1273,6 +1411,8 @@ Parameters: * `$id`: `mixed` Peer +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getInfo(mixed $id, bool $recursive): \Amp\Promise Info object` @@ -1297,12 +1437,16 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getLogger()` Get logger. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMethodNamespaces(): mixed` @@ -1318,6 +1462,8 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMethodsNamespaced(): mixed` @@ -1333,6 +1479,8 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromBuffer(string $buffer): string` @@ -1343,6 +1491,8 @@ Parameters: * `$buffer`: `string` Buffer +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromExtension(string $extension, string $default): string` @@ -1354,6 +1504,8 @@ Parameters: * `$default`: `string` Default mime type +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromFile(string $file): string` @@ -1364,6 +1516,8 @@ Parameters: * `$file`: `string` File +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPropicInfo(mixed $messageMedia): \Amp\Promise` @@ -1383,12 +1537,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPsrLogger()` Get PSR logger. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPwrChat(mixed $id): \Amp\Promise Chat object` @@ -1406,6 +1564,8 @@ Return value: Chat object +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSecretChat(array|int $chat): mixed` @@ -1425,12 +1585,16 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSelf(): array|bool` Get info about the logged-in user, cached. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSettings(): mixed` @@ -1447,6 +1611,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTL(): mixed` @@ -1463,6 +1629,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getVar(object $obj, string $var): mixed` @@ -1474,6 +1642,8 @@ Parameters: * `$var`: `string` Attribute name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWebTemplate(): mixed` @@ -1489,6 +1659,8 @@ string|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasAllAuth(): mixed` @@ -1504,6 +1676,8 @@ bool|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasEventHandler(): mixed` @@ -1519,6 +1693,8 @@ bool|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasReportPeers(): mixed` @@ -1534,6 +1710,8 @@ bool|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasSecretChat(array|int $chat): mixed` @@ -1553,6 +1731,8 @@ bool|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasVar(object $obj, string $var): bool` @@ -1564,6 +1744,8 @@ Parameters: * `$var`: `string` Attribute name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `importAuthorization(mixed $authorization): \Amp\Promise` @@ -1579,6 +1761,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `inflateStripped(string $stripped): \string JPG payload` @@ -1591,6 +1775,8 @@ Parameters: Return value: JPG payload +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `initSelfRestart(): mixed` @@ -1606,12 +1792,16 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isAltervista(): bool` Whether this is altervista. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isArrayOrAlike(mixed $var): bool` @@ -1622,6 +1812,8 @@ Parameters: * `$var`: `mixed` Value to check +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isIpc(): mixed` @@ -1637,6 +1829,8 @@ bool|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isSupergroup(int $id): bool` @@ -1647,6 +1841,8 @@ Parameters: * `$id`: `int` Bot API ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `logger(string $param, int $level, string $file): mixed` @@ -1668,6 +1864,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `logout(): \Amp\Promise` @@ -1679,6 +1877,8 @@ Log out currently logged in user. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `loop(callable|null $callback): \Amp\Promise` @@ -1694,6 +1894,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `loopFork(): \Amp\Promise` @@ -1705,6 +1907,8 @@ Start MadelineProto's update handling loop in background. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `markdownEscape(string $hwat): string` @@ -1715,6 +1919,8 @@ Parameters: * `$hwat`: `string` String to escape +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `mbStrSplit(string $text, int $length): array` @@ -1726,6 +1932,8 @@ Parameters: * `$length`: `int` Length +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `mbStrlen(string $text): float|int` @@ -1736,6 +1944,8 @@ Parameters: * `$text`: `string` Text +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `mbSubstr(string $text, int $offset, ?int $length): string` @@ -1748,6 +1958,8 @@ Parameters: * `$length`: `?int` Length +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodCall(string $method, array|\Generator $args, array $aargs): \Amp\Promise` @@ -1770,6 +1982,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodCallWrite(string $method, array|\Generator $args, array $aargs): \Amp\Promise` @@ -1792,6 +2006,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodEscape(string $method): string` @@ -1802,6 +2018,8 @@ Parameters: * `$method`: `string` Method name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packDouble(float $value): string` @@ -1812,6 +2030,8 @@ Parameters: * `$value`: `float` Value to convert +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packSignedInt(int $value): string` @@ -1822,6 +2042,8 @@ Parameters: * `$value`: `int` Value to convert +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packSignedLong(int $value): string` @@ -1832,6 +2054,8 @@ Parameters: * `$value`: `int` Value to convert +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packUnsignedInt(int $value): string` @@ -1842,6 +2066,8 @@ Parameters: * `$value`: `int` Value +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `peerIsset(mixed $id): \Amp\Promise` @@ -1861,6 +2087,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `phoneLogin(string $number, int $sms_type): \Amp\Promise` @@ -1877,6 +2105,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `posmod(int $a, int $b): \int Modulo` @@ -1891,6 +2121,8 @@ Parameters: Return value: Modulo +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `random(int $length): \string Random string` @@ -1903,6 +2135,8 @@ Parameters: Return value: Random string +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `randomInt(int $modulus): int` @@ -1913,6 +2147,8 @@ Parameters: * `$modulus`: `int` Modulus +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `readLine(string $prompt): \Amp\Promise` @@ -1928,6 +2164,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rekey(int $chat): \Amp\Promise` @@ -1943,6 +2181,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `report(string $message, string $parseMode): \Amp\Promise` @@ -1959,6 +2199,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `requestCall(mixed $user): \Amp\Promise` @@ -1974,6 +2216,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `requestSecretChat(mixed $user): \Amp\Promise` @@ -1989,6 +2233,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `resetUpdateState(): mixed` @@ -2004,6 +2250,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `resolveUsername(string $username): \Amp\Promise` @@ -2019,12 +2267,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `restart(): void` Restart update loop. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rethrow(\Throwable $e, string $file): void` @@ -2041,6 +2293,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rleDecode(string $string): string` @@ -2051,6 +2305,8 @@ Parameters: * `$string`: `string` Data to decode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rleEncode(string $string): string` @@ -2061,6 +2317,8 @@ Parameters: * `$string`: `string` Data to encode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `secretChatStatus(int $chat): mixed` @@ -2080,12 +2338,16 @@ int|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `serializeAll(): void` Serialize all instances. CALLED ONLY ON SHUTDOWN. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setCallback(callable $callback): mixed` @@ -2105,6 +2367,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setEventHandler(class-string<\danog\MadelineProto\EventHandler> $eventHandler): \Amp\Promise` @@ -2121,6 +2385,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setNoop(): mixed` @@ -2136,6 +2402,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setReportPeers(int|string $userOrId): \Amp\Promise` @@ -2151,6 +2419,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setVar(object $obj, string $var, mixed $val): void` @@ -2163,6 +2433,8 @@ Parameters: * `$val`: `mixed` Attribute value +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setWebTemplate(string $template): mixed` @@ -2182,6 +2454,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setWebhook(string $hook_url, string $pem_path): mixed` @@ -2202,6 +2476,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setupLogger(): mixed` @@ -2217,6 +2493,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `sleep(int|float $time): \Amp\Promise` @@ -2232,6 +2510,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `some((\Promise|\Generator)[] $promises): \Amp\Promise` @@ -2249,6 +2529,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `start(): \Amp\Promise` @@ -2260,12 +2542,16 @@ Log in to telegram (via CLI or web). +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `stop(): void` Stop update loop. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `tdToMTProto(array $params): \Amp\Promise` @@ -2281,6 +2567,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `tdToTdcli(mixed $params): mixed` @@ -2291,6 +2579,8 @@ Parameters: * `$params`: `mixed` Parameters +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `tdcliToTd(array $params, array $key): mixed` @@ -2311,6 +2601,8 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `timeout(\Generator|\Promise $promise, int $timeout): \Amp\Promise` @@ -2329,6 +2621,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `timeoutWithDefault(\Promise|\Generator $promise, int $timeout, mixed $default): \Amp\Promise<\TReturn>|\Promise<\TReturnAlt>` @@ -2361,6 +2655,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `toCamelCase(string $input): string` @@ -2371,6 +2667,8 @@ Parameters: * `$input`: `string` String +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `toSnakeCase(string $input): string` @@ -2381,6 +2679,8 @@ Parameters: * `$input`: `string` String +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `toSupergroup(int $id): float|int` @@ -2391,6 +2691,8 @@ Parameters: * `$id`: `int` MTProto channel ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `typeEscape(string $type): string` @@ -2401,6 +2703,8 @@ Parameters: * `$type`: `string` String to escape +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackDouble(string $value): float` @@ -2411,6 +2715,8 @@ Parameters: * `$value`: `string` Value to unpack +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackFileId(string $fileId): mixed` @@ -2430,6 +2736,8 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackSignedInt(string $value): int` @@ -2440,6 +2748,8 @@ Parameters: * `$value`: `string` base256 int +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackSignedLong(string $value): int` @@ -2450,6 +2760,8 @@ Parameters: * `$value`: `string` base256 long +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackSignedLongString(string $value): string` @@ -2460,6 +2772,8 @@ Parameters: * `$value`: `string` base256 long +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unsetEventHandler(bool $disableUpdateHandling): mixed` @@ -2479,6 +2793,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `update2fa(array $params): \Amp\Promise` @@ -2494,6 +2810,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `updateSettings(\danog\MadelineProto\SettingsAbstract $settings): \Amp\Promise` @@ -2510,6 +2828,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `upload(\danog\MadelineProto\FileCallbackInterface|string|array $file, string $fileName, callable $cb, bool $encrypted): \Amp\Promise` @@ -2533,6 +2853,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadEncrypted(\danog\MadelineProto\FileCallbackInterface|string|array $file, string $fileName, callable $cb): \Amp\Promise` @@ -2555,6 +2877,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromCallable(mixed $callable, int $size, string $mime, string $fileName, callable $cb, bool $seekable, bool $encrypted): \Amp\Promise` @@ -2581,6 +2905,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromStream(mixed $stream, int $size, string $mime, string $fileName, callable $cb, bool $encrypted): \Amp\Promise` @@ -2605,6 +2931,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromTgfile(mixed $media, callable $cb, bool $encrypted): \Amp\Promise` @@ -2626,6 +2954,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromUrl(string|\danog\MadelineProto\FileCallbackInterface $url, int $size, string $fileName, callable $cb, bool $encrypted): \Amp\Promise` @@ -2650,6 +2980,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `wait(\Generator|\Promise $promise, bool $ignoreSignal): mixed` @@ -2667,6 +2999,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `async(bool $async): void` @@ -2677,12 +3011,16 @@ Parameters: * `$async`: `bool` Whether to enable or disable async +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `init(): void` Blockingly init. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `initAsynchronously(): \Generator` @@ -2694,12 +3032,16 @@ Asynchronously init. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `inited(): bool` Check if we've already inited. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `forceInit(bool $inited): void` @@ -2710,4 +3052,8 @@ Parameters: * `$inited`: `bool` Whether to mark the instance as inited or deinited +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Exception.md b/docs/PHPInternal/danog/MadelineProto/Exception.md index bab7d2db..421144f5 100644 --- a/docs/PHPInternal/danog/MadelineProto/Exception.md +++ b/docs/PHPInternal/danog/MadelineProto/Exception.md @@ -14,8 +14,6 @@ Basic exception. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `extension(string $extensionName): self` * `exceptionErrorHandler(): false` @@ -35,18 +33,24 @@ Parameters: * `$extensionName`: `string` Extension name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `exceptionErrorHandler(): false` ExceptionErrorHandler. Error handler +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `exceptionHandler(): void` ExceptionErrorHandler. Error handler +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `updateTLTrace(array $trace): void` @@ -57,12 +61,16 @@ Parameters: * `$trace`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTLTrace(): string` Get TL trace. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setTLTrace(string $tlTrace): void` @@ -73,6 +81,8 @@ Parameters: * `$tlTrace`: `string` TL trace +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `prettifyTL(string $init, array $trace): void` @@ -84,4 +94,8 @@ Parameters: * `$trace`: `array` Async trace +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/FileCallback.md b/docs/PHPInternal/danog/MadelineProto/FileCallback.md index 49d3aab8..fdbfdd61 100644 --- a/docs/PHPInternal/danog/MadelineProto/FileCallback.md +++ b/docs/PHPInternal/danog/MadelineProto/FileCallback.md @@ -14,8 +14,6 @@ File callback interface. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getFile(): mixed` @@ -25,4 +23,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get file. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/FileCallbackInterface.md b/docs/PHPInternal/danog/MadelineProto/FileCallbackInterface.md index d55995e0..8c6fae6e 100644 --- a/docs/PHPInternal/danog/MadelineProto/FileCallbackInterface.md +++ b/docs/PHPInternal/danog/MadelineProto/FileCallbackInterface.md @@ -14,8 +14,6 @@ File callback interface. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getFile(): mixed` @@ -25,4 +23,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get file. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Files/Server.md b/docs/PHPInternal/danog/MadelineProto/Files/Server.md index 49315409..1a1a371b 100644 --- a/docs/PHPInternal/danog/MadelineProto/Files/Server.md +++ b/docs/PHPInternal/danog/MadelineProto/Files/Server.md @@ -13,6 +13,5 @@ MadelineProto fileserver. - --- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). \ No newline at end of file +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Ipc/Client.md b/docs/PHPInternal/danog/MadelineProto/Ipc/Client.md index 05cdf05e..37a94834 100644 --- a/docs/PHPInternal/danog/MadelineProto/Ipc/Client.md +++ b/docs/PHPInternal/danog/MadelineProto/Ipc/Client.md @@ -14,8 +14,6 @@ IPC client. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `loop(callable $callback): \Generator` * `unreference(): void` @@ -55,18 +53,24 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unreference(): void` Unreference. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isIpc(): bool` Whether we're an IPC client instance. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromUrl(string|\danog\MadelineProto\FileCallbackInterface $url, int $size, string $fileName, callable $cb, bool $encrypted): \Generator` @@ -87,6 +91,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromCallable(mixed $callable, int $size, string $mime, string $fileName, callable $cb, bool $seekable, bool $encrypted): \Generator` @@ -115,6 +121,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromTgfile(mixed $media, callable $cb, bool $encrypted): \Generator` @@ -138,6 +146,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToDir(mixed $messageMedia, string|\danog\MadelineProto\FileCallbackInterface $dir, callable $cb): \Generator Downloaded file path` @@ -164,6 +174,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToFile(mixed $messageMedia, string|\danog\MadelineProto\FileCallbackInterface $file, callable $cb): \Generator Downloaded file path` @@ -190,6 +202,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToCallable(mixed $messageMedia, callable|\danog\MadelineProto\FileCallbackInterface $callable, callable $cb, bool $seekable, int $offset, int $end, int $part_size): \Generator` @@ -220,6 +234,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setEventHandler(mixed $params): void` @@ -230,6 +246,8 @@ Parameters: * `$params`: `mixed` Params +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getEventHandler(mixed $params): void` @@ -240,6 +258,8 @@ Parameters: * `$params`: `mixed` Params +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `logger(string $param, int $level, string $file): void` @@ -252,6 +272,8 @@ Parameters: * `$file`: `string` File where the message originated +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `disconnect(): \Generator` @@ -268,6 +290,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `start(): \Generator` @@ -279,12 +303,16 @@ Log in to telegram (via CLI or web). +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWebTemplate(): string` Get web template. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setWebTemplate(string $template): void` @@ -295,6 +323,8 @@ Parameters: * `$template`: `string` Template +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToBrowser(array|string $messageMedia, callable $cb): \Generator` @@ -311,6 +341,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToStream(mixed $messageMedia, mixed|\danog\MadelineProto\FileCallbackInterface $stream, callable $cb, int $offset, int $end): \Generator` @@ -337,6 +369,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToResponse(array|string $messageMedia, \ServerRequest $request, callable $cb): \Generator Returned response` @@ -362,6 +396,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadEncrypted(\danog\MadelineProto\FileCallbackInterface|string|array $file, string $fileName, callable $cb): \Generator` @@ -388,6 +424,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `upload(\danog\MadelineProto\FileCallbackInterface|string|array $file, string $fileName, callable $cb, bool $encrypted): \Generator` @@ -415,6 +453,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromStream(mixed $stream, int $size, string $mime, string $fileName, callable $cb, bool $encrypted): \Generator` @@ -441,4 +481,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Ipc/ClientAbstract.md b/docs/PHPInternal/danog/MadelineProto/Ipc/ClientAbstract.md index b926d493..5e87a1d8 100644 --- a/docs/PHPInternal/danog/MadelineProto/Ipc/ClientAbstract.md +++ b/docs/PHPInternal/danog/MadelineProto/Ipc/ClientAbstract.md @@ -14,8 +14,6 @@ IPC client. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `logger(string $param, int $level, string $file): void` * `disconnect(): \Generator` @@ -32,6 +30,8 @@ Parameters: * `$file`: `string` File where the message originated +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `disconnect(): \Generator` @@ -48,4 +48,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Ipc/IpcState.md b/docs/PHPInternal/danog/MadelineProto/Ipc/IpcState.md index 29fbf577..864efc1d 100644 --- a/docs/PHPInternal/danog/MadelineProto/Ipc/IpcState.md +++ b/docs/PHPInternal/danog/MadelineProto/Ipc/IpcState.md @@ -14,8 +14,6 @@ IPC state class. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getStartupTime(): float` * `getStartupId(): int` @@ -27,12 +25,16 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get startup time. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getStartupId(): int` Get startup ID. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getException(): ?\Throwable` @@ -44,4 +46,8 @@ Get exception. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Ipc/Server.md b/docs/PHPInternal/danog/MadelineProto/Ipc/Server.md index 82be46ed..70a03721 100644 --- a/docs/PHPInternal/danog/MadelineProto/Ipc/Server.md +++ b/docs/PHPInternal/danog/MadelineProto/Ipc/Server.md @@ -14,8 +14,6 @@ IPC server. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Constants * `danog\MadelineProto\Ipc\Server::SHUTDOWN`: Shutdown server. @@ -45,6 +43,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `startMe(\danog\MadelineProto\SessionPaths $session): \Amp\Promise` @@ -61,6 +61,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `waitShutdown(): \Amp\Promise` @@ -72,6 +74,8 @@ Wait for shutdown. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `loop(): \Generator` @@ -83,6 +87,8 @@ Main loop. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setSettings(\danog\MadelineProto\Settings\Ipc $settings): self` @@ -98,12 +104,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isRunning(): bool` Check whether loop is running. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `signal(mixed|\Throwable $what): void` @@ -119,6 +129,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `waitSignal(\Promise|\Generator $promise): \Promise` @@ -144,4 +156,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Ipc/ServerCallback.md b/docs/PHPInternal/danog/MadelineProto/Ipc/ServerCallback.md index 910acf26..7be54ac5 100644 --- a/docs/PHPInternal/danog/MadelineProto/Ipc/ServerCallback.md +++ b/docs/PHPInternal/danog/MadelineProto/Ipc/ServerCallback.md @@ -14,8 +14,6 @@ IPC callback server. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Constants * `danog\MadelineProto\Ipc\ServerCallback::SHUTDOWN`: Shutdown server. @@ -45,6 +43,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `startMe(\danog\MadelineProto\SessionPaths $session): \Amp\Promise` @@ -61,6 +61,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `waitShutdown(): \Amp\Promise` @@ -72,6 +74,8 @@ Wait for shutdown. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `loop(): \Generator` @@ -83,6 +87,8 @@ Main loop. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setSettings(\danog\MadelineProto\Settings\Ipc $settings): self` @@ -98,12 +104,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isRunning(): bool` Check whether loop is running. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `signal(mixed|\Throwable $what): void` @@ -119,6 +129,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `waitSignal(\Promise|\Generator $promise): \Promise` @@ -144,4 +156,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Ipc/Wrapper.md b/docs/PHPInternal/danog/MadelineProto/Ipc/Wrapper.md index 0848abc0..9fa3d343 100644 --- a/docs/PHPInternal/danog/MadelineProto/Ipc/Wrapper.md +++ b/docs/PHPInternal/danog/MadelineProto/Ipc/Wrapper.md @@ -14,8 +14,6 @@ Callback payload wrapper. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `create(mixed $data, \danog\MadelineProto\SessionPaths $ipc): \Generator` * `wrap(object|callable $callback, bool $wrapObjects): void` @@ -45,6 +43,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `wrap(object|callable $callback, bool $wrapObjects): void` @@ -56,6 +56,8 @@ Parameters: * `$wrapObjects`: `bool` Whether to wrap object methods, too +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `logger(string $param, int $level, string $file): void` @@ -68,6 +70,8 @@ Parameters: * `$file`: `string` File where the message originated +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `disconnect(): \Generator` @@ -84,4 +88,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Ipc/Wrapper/Obj.md b/docs/PHPInternal/danog/MadelineProto/Ipc/Wrapper/Obj.md index 765fbbd1..34cb39cc 100644 --- a/docs/PHPInternal/danog/MadelineProto/Ipc/Wrapper/Obj.md +++ b/docs/PHPInternal/danog/MadelineProto/Ipc/Wrapper/Obj.md @@ -13,6 +13,5 @@ Generic callback wrapper object. - --- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). \ No newline at end of file +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Logger.md b/docs/PHPInternal/danog/MadelineProto/Logger.md index 00c5d9f9..9ef8c73b 100644 --- a/docs/PHPInternal/danog/MadelineProto/Logger.md +++ b/docs/PHPInternal/danog/MadelineProto/Logger.md @@ -14,8 +14,6 @@ Logger class. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Constants * `danog\MadelineProto\Logger::LEVEL_ULTRA_VERBOSE`: Ultra verbose level. @@ -59,6 +57,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `log(mixed $param, int $level): void` @@ -70,6 +70,8 @@ Parameters: * `$level`: `int` Logging level +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `logger(mixed $param, int $level, string $file): void` @@ -82,6 +84,8 @@ Parameters: * `$file`: `string` File that originated the message +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPsrLogger(): \Psr\Log\LoggerInterface` @@ -93,4 +97,8 @@ Get PSR logger. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Loop/APILoop.md b/docs/PHPInternal/danog/MadelineProto/Loop/APILoop.md index afd2f670..5cd80458 100644 --- a/docs/PHPInternal/danog/MadelineProto/Loop/APILoop.md +++ b/docs/PHPInternal/danog/MadelineProto/Loop/APILoop.md @@ -14,8 +14,6 @@ API loop trait. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `start(): bool` * `isRunning(): bool` @@ -26,10 +24,16 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Start the loop. Returns false if the loop is already running. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isRunning(): bool` Check whether loop is running. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Loop/Connection/CheckLoop.md b/docs/PHPInternal/danog/MadelineProto/Loop/Connection/CheckLoop.md index 03842779..c7f3b204 100644 --- a/docs/PHPInternal/danog/MadelineProto/Loop/Connection/CheckLoop.md +++ b/docs/PHPInternal/danog/MadelineProto/Loop/Connection/CheckLoop.md @@ -14,8 +14,6 @@ RPC call status check loop. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `loop(): \Generator` * `pause(?int $time): \Promise Resolved when the loop is resumed` @@ -37,6 +35,8 @@ Main loop. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `pause(?int $time): \Promise Resolved when the loop is resumed` @@ -49,6 +49,8 @@ Parameters: Return value: Resolved when the loop is resumed +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `resume(): \Promise Resolved when the loop is paused again` @@ -57,6 +59,8 @@ Resume the loop. Return value: Resolved when the loop is paused again +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `resumeDefer(): \Promise Resolved when the loop is paused again` @@ -65,18 +69,24 @@ Defer resuming the loop to next tick. Return value: Resolved when the loop is paused again +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `start(): bool` Start the loop. Returns false if the loop is already running. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isRunning(): bool` Check whether loop is running. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `signal(mixed|\Throwable $what): void` @@ -92,6 +102,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `waitSignal(\Promise|\Generator $promise): \Promise` @@ -117,4 +129,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Loop/Connection/Common.md b/docs/PHPInternal/danog/MadelineProto/Loop/Connection/Common.md index a6021d97..16fb9111 100644 --- a/docs/PHPInternal/danog/MadelineProto/Loop/Connection/Common.md +++ b/docs/PHPInternal/danog/MadelineProto/Loop/Connection/Common.md @@ -14,8 +14,6 @@ RPC call status check loop. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `start(): bool` * `isRunning(): bool` @@ -26,10 +24,16 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Start the loop. Returns false if the loop is already running. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isRunning(): bool` Check whether loop is running. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Loop/Connection/HttpWaitLoop.md b/docs/PHPInternal/danog/MadelineProto/Loop/Connection/HttpWaitLoop.md index 8b797129..989d849a 100644 --- a/docs/PHPInternal/danog/MadelineProto/Loop/Connection/HttpWaitLoop.md +++ b/docs/PHPInternal/danog/MadelineProto/Loop/Connection/HttpWaitLoop.md @@ -14,8 +14,6 @@ HttpWait loop. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `loop(): \Generator` * `pause(?int $time): \Promise Resolved when the loop is resumed` @@ -37,6 +35,8 @@ Main loop. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `pause(?int $time): \Promise Resolved when the loop is resumed` @@ -49,6 +49,8 @@ Parameters: Return value: Resolved when the loop is resumed +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `resume(): \Promise Resolved when the loop is paused again` @@ -57,6 +59,8 @@ Resume the loop. Return value: Resolved when the loop is paused again +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `resumeDefer(): \Promise Resolved when the loop is paused again` @@ -65,18 +69,24 @@ Defer resuming the loop to next tick. Return value: Resolved when the loop is paused again +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `start(): bool` Start the loop. Returns false if the loop is already running. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isRunning(): bool` Check whether loop is running. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `signal(mixed|\Throwable $what): void` @@ -92,6 +102,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `waitSignal(\Promise|\Generator $promise): \Promise` @@ -117,4 +129,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Loop/Connection/PingLoop.md b/docs/PHPInternal/danog/MadelineProto/Loop/Connection/PingLoop.md index 84fe98d2..67aa4eef 100644 --- a/docs/PHPInternal/danog/MadelineProto/Loop/Connection/PingLoop.md +++ b/docs/PHPInternal/danog/MadelineProto/Loop/Connection/PingLoop.md @@ -14,8 +14,6 @@ Ping loop. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `loop(): \Generator` * `pause(?int $time): \Promise Resolved when the loop is resumed` @@ -37,6 +35,8 @@ Main loop. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `pause(?int $time): \Promise Resolved when the loop is resumed` @@ -49,6 +49,8 @@ Parameters: Return value: Resolved when the loop is resumed +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `resume(): \Promise Resolved when the loop is paused again` @@ -57,6 +59,8 @@ Resume the loop. Return value: Resolved when the loop is paused again +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `resumeDefer(): \Promise Resolved when the loop is paused again` @@ -65,18 +69,24 @@ Defer resuming the loop to next tick. Return value: Resolved when the loop is paused again +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `start(): bool` Start the loop. Returns false if the loop is already running. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isRunning(): bool` Check whether loop is running. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `signal(mixed|\Throwable $what): void` @@ -92,6 +102,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `waitSignal(\Promise|\Generator $promise): \Promise` @@ -117,4 +129,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Loop/Connection/ReadLoop.md b/docs/PHPInternal/danog/MadelineProto/Loop/Connection/ReadLoop.md index ccb256fd..181b9f39 100644 --- a/docs/PHPInternal/danog/MadelineProto/Loop/Connection/ReadLoop.md +++ b/docs/PHPInternal/danog/MadelineProto/Loop/Connection/ReadLoop.md @@ -14,8 +14,6 @@ Socket read loop. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `loop(): \Generator` * `start(): bool` @@ -34,18 +32,24 @@ Main loop. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `start(): bool` Start the loop. Returns false if the loop is already running. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isRunning(): bool` Check whether loop is running. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `signal(mixed|\Throwable $what): void` @@ -61,6 +65,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `waitSignal(\Promise|\Generator $promise): \Promise` @@ -86,4 +92,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Loop/Connection/WriteLoop.md b/docs/PHPInternal/danog/MadelineProto/Loop/Connection/WriteLoop.md index abb8317b..ff4efd0a 100644 --- a/docs/PHPInternal/danog/MadelineProto/Loop/Connection/WriteLoop.md +++ b/docs/PHPInternal/danog/MadelineProto/Loop/Connection/WriteLoop.md @@ -14,8 +14,6 @@ Socket write loop. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Constants * `danog\MadelineProto\Loop\Connection\WriteLoop::MAX_COUNT`: @@ -43,6 +41,8 @@ Main loop. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `pause(?int $time): \Promise Resolved when the loop is resumed` @@ -55,6 +55,8 @@ Parameters: Return value: Resolved when the loop is resumed +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `resume(): \Promise Resolved when the loop is paused again` @@ -63,6 +65,8 @@ Resume the loop. Return value: Resolved when the loop is paused again +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `resumeDefer(): \Promise Resolved when the loop is paused again` @@ -71,18 +75,24 @@ Defer resuming the loop to next tick. Return value: Resolved when the loop is paused again +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `start(): bool` Start the loop. Returns false if the loop is already running. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isRunning(): bool` Check whether loop is running. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `signal(mixed|\Throwable $what): void` @@ -98,6 +108,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `waitSignal(\Promise|\Generator $promise): \Promise` @@ -123,4 +135,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Loop/Update/FeedLoop.md b/docs/PHPInternal/danog/MadelineProto/Loop/Update/FeedLoop.md index c7c91aeb..9d713d45 100644 --- a/docs/PHPInternal/danog/MadelineProto/Loop/Update/FeedLoop.md +++ b/docs/PHPInternal/danog/MadelineProto/Loop/Update/FeedLoop.md @@ -14,8 +14,6 @@ Update feed loop. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Constants * `danog\MadelineProto\Loop\Update\FeedLoop::GENERIC`: Main loop ID. @@ -41,6 +39,8 @@ Main loop. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `pause(?int $time): \Promise Resolved when the loop is resumed` @@ -53,6 +53,8 @@ Parameters: Return value: Resolved when the loop is resumed +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `resume(): \Promise Resolved when the loop is paused again` @@ -61,6 +63,8 @@ Resume the loop. Return value: Resolved when the loop is paused again +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `resumeDefer(): \Promise Resolved when the loop is paused again` @@ -69,18 +73,24 @@ Defer resuming the loop to next tick. Return value: Resolved when the loop is paused again +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `start(): bool` Start the loop. Returns false if the loop is already running. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isRunning(): bool` Check whether loop is running. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `signal(mixed|\Throwable $what): void` @@ -96,6 +106,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `waitSignal(\Promise|\Generator $promise): \Promise` @@ -121,4 +133,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Loop/Update/SeqLoop.md b/docs/PHPInternal/danog/MadelineProto/Loop/Update/SeqLoop.md index 302374c5..11d43fe6 100644 --- a/docs/PHPInternal/danog/MadelineProto/Loop/Update/SeqLoop.md +++ b/docs/PHPInternal/danog/MadelineProto/Loop/Update/SeqLoop.md @@ -14,8 +14,6 @@ update feed loop. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `loop(): \Generator` * `pause(?int $time): \Promise Resolved when the loop is resumed` @@ -37,6 +35,8 @@ Main loop. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `pause(?int $time): \Promise Resolved when the loop is resumed` @@ -49,6 +49,8 @@ Parameters: Return value: Resolved when the loop is resumed +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `resume(): \Promise Resolved when the loop is paused again` @@ -57,6 +59,8 @@ Resume the loop. Return value: Resolved when the loop is paused again +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `resumeDefer(): \Promise Resolved when the loop is paused again` @@ -65,18 +69,24 @@ Defer resuming the loop to next tick. Return value: Resolved when the loop is paused again +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `start(): bool` Start the loop. Returns false if the loop is already running. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isRunning(): bool` Check whether loop is running. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `signal(mixed|\Throwable $what): void` @@ -92,6 +102,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `waitSignal(\Promise|\Generator $promise): \Promise` @@ -117,4 +129,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Loop/Update/UpdateLoop.md b/docs/PHPInternal/danog/MadelineProto/Loop/Update/UpdateLoop.md index 90df7ac4..d64bc442 100644 --- a/docs/PHPInternal/danog/MadelineProto/Loop/Update/UpdateLoop.md +++ b/docs/PHPInternal/danog/MadelineProto/Loop/Update/UpdateLoop.md @@ -14,8 +14,6 @@ Update loop. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Constants * `danog\MadelineProto\Loop\Update\UpdateLoop::GENERIC`: Main loop ID. @@ -41,6 +39,8 @@ Main loop. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `pause(?int $time): \Promise Resolved when the loop is resumed` @@ -53,6 +53,8 @@ Parameters: Return value: Resolved when the loop is resumed +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `resume(): \Promise Resolved when the loop is paused again` @@ -61,6 +63,8 @@ Resume the loop. Return value: Resolved when the loop is paused again +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `resumeDefer(): \Promise Resolved when the loop is paused again` @@ -69,18 +73,24 @@ Defer resuming the loop to next tick. Return value: Resolved when the loop is paused again +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `start(): bool` Start the loop. Returns false if the loop is already running. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isRunning(): bool` Check whether loop is running. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `signal(mixed|\Throwable $what): void` @@ -96,6 +106,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `waitSignal(\Promise|\Generator $promise): \Promise` @@ -121,4 +133,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Lua.md b/docs/PHPInternal/danog/MadelineProto/Lua.md index 6421a086..da5dc6ee 100644 --- a/docs/PHPInternal/danog/MadelineProto/Lua.md +++ b/docs/PHPInternal/danog/MadelineProto/Lua.md @@ -14,8 +14,6 @@ Lua interface. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `tdcliFunction(): \Generator|int` @@ -30,4 +28,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/MTProto.md b/docs/PHPInternal/danog/MadelineProto/MTProto.md index 176c8f4b..f1e8a1be 100644 --- a/docs/PHPInternal/danog/MadelineProto/MTProto.md +++ b/docs/PHPInternal/danog/MadelineProto/MTProto.md @@ -14,8 +14,6 @@ Manages all of the mtproto stuff. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Constants * `danog\MadelineProto\MTProto::RELEASE`: Release version. @@ -177,12 +175,16 @@ Serialize session, returning object to serialize to db. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `serializeAll(): void` Serialize all instances. CALLED ONLY ON SHUTDOWN. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `cleanup(): \Generator` @@ -194,6 +196,8 @@ Cleanup memory and session file. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `logger(string $param, int $level, string $file): void` @@ -206,18 +210,24 @@ Parameters: * `$file`: `string` File where the message originated +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMethodNamespaces(): array` Get TL namespaces. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMethodsNamespaced(): array` Get namespaced methods (method => namespace). +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTL(): \danog\MadelineProto\TL\TL` @@ -229,18 +239,24 @@ Get TL serializer. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getLogger()` Get logger. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPsrLogger()` Get PSR logger. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getHTTPClient(): \Amp\Http\Client\HttpClient` @@ -252,6 +268,8 @@ Get async HTTP client. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDNSClient(): \Amp\Dns\Resolver` @@ -263,6 +281,8 @@ Get async DNS client. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `fileGetContents(string $url): \Generator` @@ -283,6 +303,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDataCenterConnections(): \danog\MadelineProto\DataCenterConnection[]` @@ -294,18 +316,24 @@ Get all datacenter connections. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDataCenterId(): int|string` Get main DC ID. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isIpc(): bool` Whether we're an IPC client instance. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `updateSettings(\danog\MadelineProto\SettingsAbstract $settings): \Generator` @@ -322,6 +350,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSettings(): \danog\MadelineProto\Settings` @@ -333,18 +363,24 @@ Return current settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setupLogger(): void` Setup logger. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasAllAuth(): bool` Checks whether all datacenters are authorized. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `connectToAllDcs(bool $reconnectAll): \Generator` @@ -360,12 +396,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `resetUpdateState(): void` Reset the update state and fetch all updates from the beginning. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCdnConfig(string $datacenter): \Generator` @@ -381,12 +421,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCachedConfig(): array` Get cached server-side config. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getConfig(array $config, array $options): \Generator` @@ -403,12 +447,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSelf(): array|bool` Get info about the logged-in user, cached. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `fullGetSelf(): \Generator` @@ -420,24 +468,32 @@ Get info about the logged-in user, not cached. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getAuthorization(): int` Get authorization info. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getHint(): string` Get current password hint. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasReportPeers(): bool` Check if has report peers. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setReportPeers(int|string $userOrId): \Generator` @@ -453,6 +509,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `report(string $message, string $parseMode): \Generator` @@ -469,42 +527,56 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getAllMethods(): array` Get full list of MTProto and API methods. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMethodCallbacks(): array` Called right before serialization of method starts. Pass the method name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMethodBeforeCallbacks(): array` Called right before serialization of method starts. Pass the method name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getConstructorCallbacks(): array` Called right after deserialization of object, passing the final object. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getConstructorBeforeCallbacks(): array` Called right before deserialization of object. Pass only the constructor name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getConstructorSerializeCallbacks(): array` Called right before serialization of constructor. Passed the object, will return a modified version. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTypeMismatchCallbacks(): array` @@ -512,12 +584,16 @@ Called if objects of the specified type cannot be serialized. Passed the unserializable object, will try to convert it to an object of the proper type. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `init(): void` Blockingly init. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `initAsynchronously(): \Generator` @@ -529,12 +605,16 @@ Asynchronously init. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `inited(): bool` Check if we've already inited. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `forceInit(bool $inited): void` @@ -545,6 +625,8 @@ Parameters: * `$inited`: `bool` Whether to mark the instance as inited or deinited +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodCall(string $method, array|\Generator $args, array $aargs): mixed` @@ -566,6 +648,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodCallAsyncRead(string $method, array|\Generator $args, array $aargs): \Generator` @@ -587,6 +671,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodCallAsyncWrite(string $method, array|\Generator $args, array $aargs): \Generator` @@ -608,6 +694,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `toSupergroup(int $id): float|int` @@ -618,6 +706,8 @@ Parameters: * `$id`: `int` MTProto channel ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `fromSupergroup(int $id): float|int` @@ -628,6 +718,8 @@ Parameters: * `$id`: `int` Bot API channel ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isSupergroup(int $id): bool` @@ -638,6 +730,8 @@ Parameters: * `$id`: `int` Bot API ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `addUser(array $user): \Generator` @@ -653,6 +747,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `peerIsset(mixed $id): \Generator` @@ -673,6 +769,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFolderId(mixed $id): ?int` @@ -683,6 +781,8 @@ Parameters: * `$id`: `mixed` Object +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getId(mixed $id): int` @@ -693,6 +793,8 @@ Parameters: * `$id`: `mixed` Peer +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getInfo(mixed $id, bool $recursive): \Generator Info object` @@ -717,6 +819,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `fullChatLastUpdated(mixed $id): \Generator` @@ -732,6 +836,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFullInfo(mixed $id): \Generator FullInfo object` @@ -755,6 +861,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPwrChat(mixed $id): \Generator Chat object` @@ -772,6 +880,8 @@ Return value: Chat object +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `resolveUsername(string $username): \Generator` @@ -787,6 +897,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromUrl(string|\danog\MadelineProto\FileCallbackInterface $url, int $size, string $fileName, callable $cb, bool $encrypted): \Generator` @@ -814,6 +926,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromCallable(mixed $callable, int $size, string $mime, string $fileName, callable $cb, bool $seekable, bool $encrypted): \Generator` @@ -841,6 +955,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromTgfile(mixed $media, callable $cb, bool $encrypted): \Generator` @@ -863,6 +979,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFileInfo(mixed $constructor): \Generator` @@ -878,6 +996,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPropicInfo(mixed $messageMedia): \Generator` @@ -897,6 +1017,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `extractBotAPIFile(array $info): ?array` @@ -907,6 +1029,8 @@ Parameters: * `$info`: `array` Bot API message object +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDownloadInfo(mixed $messageMedia): \Generator` @@ -926,6 +1050,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToDir(mixed $messageMedia, string|\danog\MadelineProto\FileCallbackInterface $dir, callable $cb): \Generator` @@ -951,6 +1077,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToFile(mixed $messageMedia, string|\danog\MadelineProto\FileCallbackInterface $file, callable $cb): \Generator Downloaded file path` @@ -978,6 +1106,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToCallable(mixed $messageMedia, callable|\danog\MadelineProto\FileCallbackInterface $callable, callable $cb, bool $seekable, int $offset, int $end, int $part_size): \Generator` @@ -1007,6 +1137,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToBrowser(array|string $messageMedia, callable $cb): \Generator` @@ -1023,6 +1155,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToStream(mixed $messageMedia, mixed|\danog\MadelineProto\FileCallbackInterface $stream, callable $cb, int $offset, int $end): \Generator` @@ -1049,6 +1183,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToResponse(array|string $messageMedia, \ServerRequest $request, callable $cb): \Generator Returned response` @@ -1074,6 +1210,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadEncrypted(\danog\MadelineProto\FileCallbackInterface|string|array $file, string $fileName, callable $cb): \Generator` @@ -1100,6 +1238,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `upload(\danog\MadelineProto\FileCallbackInterface|string|array $file, string $fileName, callable $cb, bool $encrypted): \Generator` @@ -1127,6 +1267,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromStream(mixed $stream, int $size, string $mime, string $fileName, callable $cb, bool $encrypted): \Generator` @@ -1153,6 +1295,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `acceptSecretChat(array $params): \Generator` @@ -1168,6 +1312,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `requestSecretChat(mixed $user): \Generator` @@ -1183,6 +1329,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rekey(int $chat): \Generator` @@ -1198,6 +1346,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `secretChatStatus(int $chat): \int One of MTProto::SECRET_EMPTY, MTProto::SECRET_REQUESTED, MTProto::SECRET_READY` @@ -1210,6 +1360,8 @@ Parameters: Return value: One of MTProto::SECRET_EMPTY, MTProto::SECRET_REQUESTED, MTProto::SECRET_READY +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSecretChat(array|int $chat): array` @@ -1220,6 +1372,8 @@ Parameters: * `$chat`: `array|int` Secret chat ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasSecretChat(array|int $chat): bool` @@ -1230,6 +1384,8 @@ Parameters: * `$chat`: `array|int` Secret chat ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `discardSecretChat(int $chat): \Generator` @@ -1245,6 +1401,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `mbStrlen(string $text): float|int` @@ -1255,6 +1413,8 @@ Parameters: * `$text`: `string` Text +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `mbSubstr(string $text, int $offset, ?int $length): string` @@ -1267,6 +1427,8 @@ Parameters: * `$length`: `?int` Length +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `mbStrSplit(string $text, int $length): array` @@ -1278,6 +1440,8 @@ Parameters: * `$length`: `int` Length +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `MTProtoToBotAPI(array $data): \Generator` @@ -1293,6 +1457,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `botAPIToMTProto(array $arguments): \Generator` @@ -1308,6 +1474,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackFileId(string $fileId): \array Unpacked file ID` @@ -1320,6 +1488,8 @@ Parameters: Return value: Unpacked file ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `tdcliToTd(array $params, array $key): array` @@ -1331,6 +1501,8 @@ Parameters: * `$key`: `array` Key +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `tdToMTProto(array $params): \Generator` @@ -1346,6 +1518,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `MTProtoToTdcli(mixed $params): \Generator` @@ -1361,6 +1535,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `MTProtoToTd(mixed $params): \Generator` @@ -1376,6 +1552,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `tdToTdcli(mixed $params): mixed` @@ -1386,6 +1564,8 @@ Parameters: * `$params`: `mixed` Parameters +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `requestCall(mixed $user): \Generator` @@ -1401,6 +1581,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `acceptCall(array $call): \Generator` @@ -1416,6 +1598,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `confirmCall(array $params): \Generator` @@ -1431,6 +1615,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `completeCall(array $params): \Generator` @@ -1446,6 +1632,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `callStatus(int $id): int` @@ -1456,6 +1644,8 @@ Parameters: * `$id`: `int` Call ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCall(int $call): array` @@ -1466,6 +1656,8 @@ Parameters: * `$call`: `int` Call ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `discardCall(array $call, array $reason, array $rating, bool $need_debug): \Generator` @@ -1484,6 +1676,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDialogs(bool $force): \Generator` @@ -1504,6 +1698,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFullDialogs(bool $force): \Generator` @@ -1519,6 +1715,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setEventHandler(class-string<\danog\MadelineProto\EventHandler> $eventHandler): \Generator` @@ -1535,6 +1733,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unsetEventHandler(bool $disableUpdateHandling): void` @@ -1545,6 +1745,8 @@ Parameters: * `$disableUpdateHandling`: `bool` Whether to also disable internal update handling (will cause errors, otherwise will simply use the NOOP handler) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getEventHandler(): \danog\MadelineProto\EventHandler` @@ -1556,12 +1758,16 @@ Get event handler. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasEventHandler(): bool` Check if an event handler instance is present. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setWebhook(string $hook_url, string $pem_path): void` @@ -1573,6 +1779,8 @@ Parameters: * `$pem_path`: `string` PEM path for self-signed certificate +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setCallback(callable $callback): void` @@ -1583,6 +1791,8 @@ Parameters: * `$callback`: `callable` Callback +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `logout(): \Generator` @@ -1594,6 +1804,8 @@ Log out currently logged in user. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `botLogin(string $token): \Generator` @@ -1609,6 +1821,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `phoneLogin(string $number, int $sms_type): \Generator` @@ -1625,6 +1839,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `completePhoneLogin(string $code): \Generator` @@ -1640,6 +1856,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `importAuthorization(mixed $authorization): \Generator` @@ -1655,6 +1873,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `exportAuthorization(): \Generator` @@ -1670,6 +1890,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `completeSignup(string $first_name, string $last_name): \Generator` @@ -1686,6 +1908,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `complete2faLogin(string $password): \Generator` @@ -1701,6 +1925,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `update2fa(array $params): \Generator` @@ -1716,12 +1942,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `initSelfRestart(): void` Initialize self-restart hack. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `loop(callable|null $callback): \Generator` @@ -1737,18 +1967,24 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `stop(): void` Stop update loop. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `restart(): void` Restart update loop. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `loopFork(): \Amp\Promise` @@ -1760,6 +1996,8 @@ Start MadelineProto's update handling loop in background. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `closeConnection(string $message): void` @@ -1770,12 +2008,16 @@ Parameters: * `$message`: `string` Message +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setNoop(): void` Set NOOP update handler, ignoring all updates. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `start(): \Generator` @@ -1787,12 +2029,16 @@ Log in to telegram (via CLI or web). +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWebTemplate(): string` Get web template. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setWebTemplate(string $template): void` @@ -1803,6 +2049,8 @@ Parameters: * `$template`: `string` Template +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `checkTos(): \Generator` @@ -1814,6 +2062,8 @@ Check for terms of service update. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `acceptTos(): \Generator` @@ -1825,6 +2075,8 @@ Accept terms of service update. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `declineTos(): \Generator` @@ -1836,4 +2088,8 @@ THIS WILL DELETE YOUR ACCOUNT! +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/MTProto/AuthKey.md b/docs/PHPInternal/danog/MadelineProto/MTProto/AuthKey.md index d1c74d53..fd70b309 100644 --- a/docs/PHPInternal/danog/MadelineProto/MTProto/AuthKey.md +++ b/docs/PHPInternal/danog/MadelineProto/MTProto/AuthKey.md @@ -14,8 +14,6 @@ MTProto auth key. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `setAuthKey(string $authKey): void` * `hasAuthKey(): bool` @@ -37,24 +35,32 @@ Parameters: * `$authKey`: `string` Authorization key +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasAuthKey(): bool` Check if auth key is present. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getAuthKey(): string` Get auth key. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getID(): string` Get auth key ID. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setServerSalt(string $salt): void` @@ -65,24 +71,32 @@ Parameters: * `$salt`: `string` Server salt +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getServerSalt(): string` Get server salt. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasServerSalt(): bool` Check if has server salt. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isAuthorized(): bool` Check if we are logged in. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `authorized(bool $authorized): void` @@ -93,4 +107,8 @@ Parameters: * `$authorized`: `bool` Whether we are authorized +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/MTProto/PermAuthKey.md b/docs/PHPInternal/danog/MadelineProto/MTProto/PermAuthKey.md index 8ffafa53..d129203c 100644 --- a/docs/PHPInternal/danog/MadelineProto/MTProto/PermAuthKey.md +++ b/docs/PHPInternal/danog/MadelineProto/MTProto/PermAuthKey.md @@ -14,8 +14,6 @@ MTProto permanent auth key. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `isAuthorized(): bool` * `authorized(bool $authorized): void` @@ -34,6 +32,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Check if we are logged in. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `authorized(bool $authorized): void` @@ -44,12 +44,16 @@ Parameters: * `$authorized`: `bool` Whether we are authorized +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `jsonSerialize(): array` JSON serialization function. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setAuthKey(string $authKey): void` @@ -60,24 +64,32 @@ Parameters: * `$authKey`: `string` Authorization key +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasAuthKey(): bool` Check if auth key is present. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getAuthKey(): string` Get auth key. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getID(): string` Get auth key ID. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setServerSalt(string $salt): void` @@ -88,16 +100,24 @@ Parameters: * `$salt`: `string` Server salt +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getServerSalt(): string` Get server salt. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasServerSalt(): bool` Check if has server salt. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/MTProto/TempAuthKey.md b/docs/PHPInternal/danog/MadelineProto/MTProto/TempAuthKey.md index 65320559..f9ab984f 100644 --- a/docs/PHPInternal/danog/MadelineProto/MTProto/TempAuthKey.md +++ b/docs/PHPInternal/danog/MadelineProto/MTProto/TempAuthKey.md @@ -14,8 +14,6 @@ MTProto temporary auth key. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `init(bool $init): void` * `isInited(): bool` @@ -44,12 +42,16 @@ Parameters: * `$init`: `bool` Init or deinit +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isInited(): bool` Check if connection is inited for auth key. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `bind(\danog\MadelineProto\MTProto\PermAuthKey|null $bound, bool $pfs): void` @@ -66,18 +68,24 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isBound(): bool` Check if auth key is bound. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isAuthorized(): bool` Check if we are logged in. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `authorized(bool $authorized): void` @@ -88,6 +96,8 @@ Parameters: * `$authorized`: `bool` Whether we are authorized +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `expires(int $expires): void` @@ -98,18 +108,24 @@ Parameters: * `$expires`: `int` Expiration date +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `expired(): bool` Check if auth key has expired. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `jsonSerialize(): array` JSON serialization function. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setAuthKey(string $authKey): void` @@ -120,24 +136,32 @@ Parameters: * `$authKey`: `string` Authorization key +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasAuthKey(): bool` Check if auth key is present. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getAuthKey(): string` Get auth key. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getID(): string` Get auth key ID. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setServerSalt(string $salt): void` @@ -148,16 +172,24 @@ Parameters: * `$salt`: `string` Server salt +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getServerSalt(): string` Get server salt. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasServerSalt(): bool` Check if has server salt. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/MTProtoSession/AckHandler.md b/docs/PHPInternal/danog/MadelineProto/MTProtoSession/AckHandler.md index 7c2d9ef9..9e72f7a3 100644 --- a/docs/PHPInternal/danog/MadelineProto/MTProtoSession/AckHandler.md +++ b/docs/PHPInternal/danog/MadelineProto/MTProtoSession/AckHandler.md @@ -14,8 +14,6 @@ Manages acknowledgement of messages. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `ackOutgoingMessageId(string|int $message_id): bool` * `gotResponseForOutgoingMessageId(string|int $message_id): bool` @@ -33,6 +31,8 @@ Parameters: * `$message_id`: `string|int` Message Id +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `gotResponseForOutgoingMessageId(string|int $message_id): bool` @@ -43,6 +43,8 @@ Parameters: * `$message_id`: `string|int` Message ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `ackIncomingMessageId(string|int $message_id): bool` @@ -53,18 +55,26 @@ Parameters: * `$message_id`: `string|int` Message ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasPendingCalls(): bool` Check if there are some pending calls. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPendingCalls(): array` Get all pending calls (also clear pending state requests). +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ## Properties -* `$shared`: `\DataCenterConnection` \ No newline at end of file +* `$shared`: `\DataCenterConnection` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/MTProtoSession/CallHandler.md b/docs/PHPInternal/danog/MadelineProto/MTProtoSession/CallHandler.md index 91f6075f..3a8ab499 100644 --- a/docs/PHPInternal/danog/MadelineProto/MTProtoSession/CallHandler.md +++ b/docs/PHPInternal/danog/MadelineProto/MTProtoSession/CallHandler.md @@ -14,8 +14,6 @@ Manages method and object calls. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `methodRecall(string $watcherId, array $args): void` * `methodCallAsyncRead(string $method, array|\Generator $args, array $aargs): \Generator` @@ -33,6 +31,8 @@ Parameters: * `$args`: `array` Args +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodCallAsyncRead(string $method, array|\Generator $args, array $aargs): \Generator` @@ -54,6 +54,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodCallAsyncWrite(string $method, array|\Generator $args, array $aargs): \Generator` @@ -75,6 +77,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `objectCall(string $object, array $args, array $aargs): \Generator` @@ -92,4 +96,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/MTProtoSession/MsgIdHandler.md b/docs/PHPInternal/danog/MadelineProto/MTProtoSession/MsgIdHandler.md index a081b932..a36ceffc 100644 --- a/docs/PHPInternal/danog/MadelineProto/MTProtoSession/MsgIdHandler.md +++ b/docs/PHPInternal/danog/MadelineProto/MTProtoSession/MsgIdHandler.md @@ -14,8 +14,6 @@ Manages message ids. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `createInstance(\danog\MadelineProto\Connection $session): self` * `checkMessageId(string $newMessageId, array $aargs): void` @@ -37,6 +35,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `checkMessageId(string $newMessageId, array $aargs): void` @@ -48,12 +48,16 @@ Parameters: * `$aargs`: `array` Params +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `generateMessageId(): string` Generate outgoing message ID. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMaxId(bool $incoming): mixed` @@ -64,4 +68,8 @@ Parameters: * `$incoming`: `bool` Incoming or outgoing message ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/MTProtoSession/MsgIdHandler/MsgIdHandler32.md b/docs/PHPInternal/danog/MadelineProto/MTProtoSession/MsgIdHandler/MsgIdHandler32.md index 35f34310..a0321655 100644 --- a/docs/PHPInternal/danog/MadelineProto/MTProtoSession/MsgIdHandler/MsgIdHandler32.md +++ b/docs/PHPInternal/danog/MadelineProto/MTProtoSession/MsgIdHandler/MsgIdHandler32.md @@ -14,8 +14,6 @@ Manages message ids. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `checkMessageId(string $newMessageId, array $aargs): void` * `generateMessageId(): string` @@ -34,12 +32,16 @@ Parameters: * `$aargs`: `array` Params +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `generateMessageId(): string` Generate message ID. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMaxId(bool $incoming): mixed` @@ -50,12 +52,16 @@ Parameters: * `$incoming`: `bool` Incoming or outgoing message ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `reset(): void` Reset message IDs. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `createInstance(\danog\MadelineProto\Connection $session): self` @@ -71,4 +77,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/MTProtoSession/MsgIdHandler/MsgIdHandler64.md b/docs/PHPInternal/danog/MadelineProto/MTProtoSession/MsgIdHandler/MsgIdHandler64.md index 9e8d45de..4e36904d 100644 --- a/docs/PHPInternal/danog/MadelineProto/MTProtoSession/MsgIdHandler/MsgIdHandler64.md +++ b/docs/PHPInternal/danog/MadelineProto/MTProtoSession/MsgIdHandler/MsgIdHandler64.md @@ -14,8 +14,6 @@ Manages message ids. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `checkMessageId(string $newMessageId, array $aargs): void` * `generateMessageId(): string` @@ -33,12 +31,16 @@ Parameters: * `$aargs`: `array` Params +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `generateMessageId(): string` Generate message ID. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMaxId(bool $incoming): mixed` @@ -49,6 +51,8 @@ Parameters: * `$incoming`: `bool` Incoming or outgoing message ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `createInstance(\danog\MadelineProto\Connection $session): self` @@ -64,4 +68,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/MTProtoSession/Reliable.md b/docs/PHPInternal/danog/MadelineProto/MTProtoSession/Reliable.md index f95f5980..0d6cf8f1 100644 --- a/docs/PHPInternal/danog/MadelineProto/MTProtoSession/Reliable.md +++ b/docs/PHPInternal/danog/MadelineProto/MTProtoSession/Reliable.md @@ -14,8 +14,6 @@ Manages responses. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `sendMsgsStateInfo(string|int $req_msg_id, array $msg_ids): \Generator` @@ -35,4 +33,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/MTProtoSession/ResponseHandler.md b/docs/PHPInternal/danog/MadelineProto/MTProtoSession/ResponseHandler.md index bf984e78..d8fafe6c 100644 --- a/docs/PHPInternal/danog/MadelineProto/MTProtoSession/ResponseHandler.md +++ b/docs/PHPInternal/danog/MadelineProto/MTProtoSession/ResponseHandler.md @@ -14,8 +14,6 @@ Manages responses. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `handleReject(array $request, \Throwable $data): void` * `handleResponse(): void` @@ -36,10 +34,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `handleResponse(): void` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/MTProtoSession/SeqNoHandler.md b/docs/PHPInternal/danog/MadelineProto/MTProtoSession/SeqNoHandler.md index 1e32d6af..cb346b87 100644 --- a/docs/PHPInternal/danog/MadelineProto/MTProtoSession/SeqNoHandler.md +++ b/docs/PHPInternal/danog/MadelineProto/MTProtoSession/SeqNoHandler.md @@ -13,6 +13,5 @@ Manages sequence number. - --- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). \ No newline at end of file +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/MTProtoSession/Session.md b/docs/PHPInternal/danog/MadelineProto/MTProtoSession/Session.md index 796a8c26..6b399e5a 100644 --- a/docs/PHPInternal/danog/MadelineProto/MTProtoSession/Session.md +++ b/docs/PHPInternal/danog/MadelineProto/MTProtoSession/Session.md @@ -14,8 +14,6 @@ Manages MTProto session-specific data. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `resetSession(): void` * `createSession(): void` @@ -39,18 +37,24 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Reset MTProto session. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `createSession(): void` Create MTProto session if needed. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `backupSession(): array` Backup eventual unsent messages before session deletion. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `ackOutgoingMessageId(string|int $message_id): bool` @@ -61,6 +65,8 @@ Parameters: * `$message_id`: `string|int` Message Id +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `gotResponseForOutgoingMessageId(string|int $message_id): bool` @@ -71,6 +77,8 @@ Parameters: * `$message_id`: `string|int` Message ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `ackIncomingMessageId(string|int $message_id): bool` @@ -81,18 +89,24 @@ Parameters: * `$message_id`: `string|int` Message ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasPendingCalls(): bool` Check if there are some pending calls. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPendingCalls(): array` Get all pending calls (also clear pending state requests). +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `handleReject(array $request, \Throwable $data): void` @@ -109,12 +123,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `handleResponse(): void` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodRecall(string $watcherId, array $args): void` @@ -126,6 +144,8 @@ Parameters: * `$args`: `array` Args +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodCallAsyncRead(string $method, array|\Generator $args, array $aargs): \Generator` @@ -147,6 +167,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodCallAsyncWrite(string $method, array|\Generator $args, array $aargs): \Generator` @@ -168,6 +190,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `objectCall(string $object, array $args, array $aargs): \Generator` @@ -185,6 +209,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `sendMsgsStateInfo(string|int $req_msg_id, array $msg_ids): \Generator` @@ -201,4 +227,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/MTProtoTools/AuthKeyHandler.md b/docs/PHPInternal/danog/MadelineProto/MTProtoTools/AuthKeyHandler.md index 97fcad52..900110eb 100644 --- a/docs/PHPInternal/danog/MadelineProto/MTProtoTools/AuthKeyHandler.md +++ b/docs/PHPInternal/danog/MadelineProto/MTProtoTools/AuthKeyHandler.md @@ -15,7 +15,7 @@ Manages the creation of the authorization key. https://core.telegram.org/mtproto/auth_key https://core.telegram.org/mtproto/samples-auth_key - +## Properties +* `$settings`: `\Settings` Settings --- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Properties -* `$settings`: `\Settings` Settings \ No newline at end of file +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/MTProtoTools/CallHandler.md b/docs/PHPInternal/danog/MadelineProto/MTProtoTools/CallHandler.md index 4eddbd49..737238e4 100644 --- a/docs/PHPInternal/danog/MadelineProto/MTProtoTools/CallHandler.md +++ b/docs/PHPInternal/danog/MadelineProto/MTProtoTools/CallHandler.md @@ -14,8 +14,6 @@ Manages method and object calls. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `methodCall(string $method, array|\Generator $args, array $aargs): mixed` * `methodCallAsyncRead(string $method, array|\Generator $args, array $aargs): \Generator` @@ -42,6 +40,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodCallAsyncRead(string $method, array|\Generator $args, array $aargs): \Generator` @@ -63,6 +63,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodCallAsyncWrite(string $method, array|\Generator $args, array $aargs): \Generator` @@ -84,6 +86,10 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ## Properties -* `$settings`: `\Settings` Settings \ No newline at end of file +* `$settings`: `\Settings` Settings +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/MTProtoTools/CombinedUpdatesState.md b/docs/PHPInternal/danog/MadelineProto/MTProtoTools/CombinedUpdatesState.md index d5ffb499..357b29e7 100644 --- a/docs/PHPInternal/danog/MadelineProto/MTProtoTools/CombinedUpdatesState.md +++ b/docs/PHPInternal/danog/MadelineProto/MTProtoTools/CombinedUpdatesState.md @@ -14,8 +14,6 @@ Stores multiple update states. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `get(int $channel, array $init): \danog\MadelineProto\MTProtoTools\UpdatesState|\danog\MadelineProto\MTProtoTools\UpdatesState[]` * `remove(int $channel): void` @@ -38,6 +36,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `remove(int $channel): void` @@ -48,6 +48,8 @@ Parameters: * `$channel`: `int` Channel whose state should be removed +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `has(int $channel): bool` @@ -58,6 +60,8 @@ Parameters: * `$channel`: `int` Channel ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `syncLoading(int $channel, bool|null $set): bool` @@ -69,4 +73,8 @@ Parameters: * `$set`: `bool|null` Busy flag to set before returning +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/MTProtoTools/Files.md b/docs/PHPInternal/danog/MadelineProto/MTProtoTools/Files.md index 1cdcbf9d..abb88ff2 100644 --- a/docs/PHPInternal/danog/MadelineProto/MTProtoTools/Files.md +++ b/docs/PHPInternal/danog/MadelineProto/MTProtoTools/Files.md @@ -14,8 +14,6 @@ Manages upload and download of files. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `uploadFromUrl(string|\danog\MadelineProto\FileCallbackInterface $url, int $size, string $fileName, callable $cb, bool $encrypted): \Generator` * `uploadFromCallable(mixed $callable, int $size, string $mime, string $fileName, callable $cb, bool $seekable, bool $encrypted): \Generator` @@ -61,6 +59,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromCallable(mixed $callable, int $size, string $mime, string $fileName, callable $cb, bool $seekable, bool $encrypted): \Generator` @@ -88,6 +88,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromTgfile(mixed $media, callable $cb, bool $encrypted): \Generator` @@ -110,6 +112,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFileInfo(mixed $constructor): \Generator` @@ -125,6 +129,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPropicInfo(mixed $messageMedia): \Generator` @@ -144,6 +150,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `extractBotAPIFile(array $info): ?array` @@ -154,6 +162,8 @@ Parameters: * `$info`: `array` Bot API message object +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDownloadInfo(mixed $messageMedia): \Generator` @@ -173,6 +183,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToDir(mixed $messageMedia, string|\danog\MadelineProto\FileCallbackInterface $dir, callable $cb): \Generator` @@ -198,6 +210,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToFile(mixed $messageMedia, string|\danog\MadelineProto\FileCallbackInterface $file, callable $cb): \Generator Downloaded file path` @@ -225,6 +239,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToCallable(mixed $messageMedia, callable|\danog\MadelineProto\FileCallbackInterface $callable, callable $cb, bool $seekable, int $offset, int $end, int $part_size): \Generator` @@ -254,6 +270,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToBrowser(array|string $messageMedia, callable $cb): \Generator` @@ -270,6 +288,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToStream(mixed $messageMedia, mixed|\danog\MadelineProto\FileCallbackInterface $stream, callable $cb, int $offset, int $end): \Generator` @@ -296,6 +316,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `downloadToResponse(array|string $messageMedia, \ServerRequest $request, callable $cb): \Generator Returned response` @@ -321,6 +343,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadEncrypted(\danog\MadelineProto\FileCallbackInterface|string|array $file, string $fileName, callable $cb): \Generator` @@ -347,6 +371,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `upload(\danog\MadelineProto\FileCallbackInterface|string|array $file, string $fileName, callable $cb, bool $encrypted): \Generator` @@ -374,6 +400,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `uploadFromStream(mixed $stream, int $size, string $mime, string $fileName, callable $cb, bool $encrypted): \Generator` @@ -400,6 +428,10 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ## Properties -* `$settings`: `\Settings` Settings \ No newline at end of file +* `$settings`: `\Settings` Settings +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/MTProtoTools/MinDatabase.md b/docs/PHPInternal/danog/MadelineProto/MTProtoTools/MinDatabase.md index 64e1a2c6..fca156a9 100644 --- a/docs/PHPInternal/danog/MadelineProto/MTProtoTools/MinDatabase.md +++ b/docs/PHPInternal/danog/MadelineProto/MTProtoTools/MinDatabase.md @@ -14,8 +14,6 @@ Manages min peers. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Constants * `danog\MadelineProto\MTProtoTools\MinDatabase::SWITCH_CONSTRUCTORS`: @@ -46,4 +44,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/MTProtoTools/PasswordCalculator.md b/docs/PHPInternal/danog/MadelineProto/MTProtoTools/PasswordCalculator.md index d8d7bcc4..7d0d67bd 100644 --- a/docs/PHPInternal/danog/MadelineProto/MTProtoTools/PasswordCalculator.md +++ b/docs/PHPInternal/danog/MadelineProto/MTProtoTools/PasswordCalculator.md @@ -14,8 +14,6 @@ Manages SRP password calculation. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `addInfo(array $object): void` * `createSalt(string $prefix): \string Salt` @@ -34,6 +32,8 @@ Parameters: * `$object`: `array` 2FA configuration object obtained using account.getPassword +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `createSalt(string $prefix): \string Salt` @@ -46,6 +46,8 @@ Parameters: Return value: Salt +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hashSha256(string $data, string $salt): \string Hash` @@ -59,6 +61,8 @@ Parameters: Return value: Hash +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hashPassword(string $password, string $client_salt, string $server_salt): \string Resulting hash` @@ -73,6 +77,8 @@ Parameters: Return value: Resulting hash +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCheckPassword(string $password): \array InputCheckPassword object` @@ -85,6 +91,8 @@ Parameters: Return value: InputCheckPassword object +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPassword(array $params): \array account.updatePasswordSettings parameters` @@ -97,4 +105,8 @@ Parameters: Return value: account.updatePasswordSettings parameters +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/MTProtoTools/PeerHandler.md b/docs/PHPInternal/danog/MadelineProto/MTProtoTools/PeerHandler.md index a242b328..0e62c66d 100644 --- a/docs/PHPInternal/danog/MadelineProto/MTProtoTools/PeerHandler.md +++ b/docs/PHPInternal/danog/MadelineProto/MTProtoTools/PeerHandler.md @@ -14,8 +14,6 @@ Manages peers. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `toSupergroup(int $id): float|int` * `fromSupergroup(int $id): float|int` @@ -40,6 +38,8 @@ Parameters: * `$id`: `int` MTProto channel ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `fromSupergroup(int $id): float|int` @@ -50,6 +50,8 @@ Parameters: * `$id`: `int` Bot API channel ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isSupergroup(int $id): bool` @@ -60,6 +62,8 @@ Parameters: * `$id`: `int` Bot API ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `addUser(array $user): \Generator` @@ -75,6 +79,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `peerIsset(mixed $id): \Generator` @@ -95,6 +101,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFolderId(mixed $id): ?int` @@ -105,6 +113,8 @@ Parameters: * `$id`: `mixed` Object +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getId(mixed $id): int` @@ -115,6 +125,8 @@ Parameters: * `$id`: `mixed` Peer +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getInfo(mixed $id, bool $recursive): \Generator Info object` @@ -139,6 +151,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `fullChatLastUpdated(mixed $id): \Generator` @@ -154,6 +168,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFullInfo(mixed $id): \Generator FullInfo object` @@ -177,6 +193,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPwrChat(mixed $id): \Generator Chat object` @@ -194,6 +212,8 @@ Return value: Chat object +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `resolveUsername(string $username): \Generator` @@ -209,6 +229,10 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ## Properties -* `$settings`: `\Settings` Settings \ No newline at end of file +* `$settings`: `\Settings` Settings +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/MTProtoTools/ReferenceDatabase.md b/docs/PHPInternal/danog/MadelineProto/MTProtoTools/ReferenceDatabase.md index 6dc27e76..331daf28 100644 --- a/docs/PHPInternal/danog/MadelineProto/MTProtoTools/ReferenceDatabase.md +++ b/docs/PHPInternal/danog/MadelineProto/MTProtoTools/ReferenceDatabase.md @@ -14,8 +14,6 @@ Manages upload and download of files. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Constants * `danog\MadelineProto\MTProtoTools\ReferenceDatabase::DOCUMENT_LOCATION`: @@ -47,3 +45,5 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). * `danog\MadelineProto\MTProtoTools\ReferenceDatabase::CONSTRUCTOR_CONTEXT`: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/MTProtoTools/ResponseInfo.md b/docs/PHPInternal/danog/MadelineProto/MTProtoTools/ResponseInfo.md index 375fb76f..973c27d7 100644 --- a/docs/PHPInternal/danog/MadelineProto/MTProtoTools/ResponseInfo.md +++ b/docs/PHPInternal/danog/MadelineProto/MTProtoTools/ResponseInfo.md @@ -14,8 +14,6 @@ Obtain response information for file to server. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `parseHeaders(string $method, array $headers, array $messageMedia): self` * `getCodeExplanation(): string` @@ -36,12 +34,16 @@ Parameters: * `$messageMedia`: `array` Media info +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCodeExplanation(): string` Get explanation for HTTP code. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `shouldServe(): \bool Whether to serve file` @@ -50,6 +52,8 @@ Whether to serve file. Return value: Whether to serve file +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getServeRange(): \array HTTP serving range` @@ -58,6 +62,8 @@ Get serving range. Return value: HTTP serving range +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCode(): \int HTTP response code` @@ -66,6 +72,8 @@ Get HTTP response code. Return value: HTTP response code +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getHeaders(): \array Header array` @@ -74,4 +82,8 @@ Get header array. Return value: Header array +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/MTProtoTools/UpdateHandler.md b/docs/PHPInternal/danog/MadelineProto/MTProtoTools/UpdateHandler.md index 7f92d88a..06015671 100644 --- a/docs/PHPInternal/danog/MadelineProto/MTProtoTools/UpdateHandler.md +++ b/docs/PHPInternal/danog/MadelineProto/MTProtoTools/UpdateHandler.md @@ -13,7 +13,7 @@ Manages updates. - +## Properties +* `$settings`: `\Settings` Settings --- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Properties -* `$settings`: `\Settings` Settings \ No newline at end of file +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/MTProtoTools/UpdatesState.md b/docs/PHPInternal/danog/MadelineProto/MTProtoTools/UpdatesState.md index 06978d66..e446a942 100644 --- a/docs/PHPInternal/danog/MadelineProto/MTProtoTools/UpdatesState.md +++ b/docs/PHPInternal/danog/MadelineProto/MTProtoTools/UpdatesState.md @@ -14,8 +14,6 @@ Stores the state of updates. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `isChannel(): bool` * `getChannel(): int` @@ -34,12 +32,16 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Is this state relative to a channel? +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getChannel(): int` Get the channel ID. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `syncLoading(bool|null $set): bool` @@ -50,6 +52,8 @@ Parameters: * `$set`: `bool|null` Update the currently busy flag +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `update(array $init): self` @@ -60,6 +64,8 @@ Parameters: * `$init`: `array` Parameters to update +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `pts(int $set): \int PTS` @@ -72,6 +78,8 @@ Parameters: Return value: PTS +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `qts(int $set): \int QTS` @@ -84,6 +92,8 @@ Parameters: Return value: QTS +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `seq(int $set): \int seq` @@ -96,6 +106,8 @@ Parameters: Return value: seq +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `date(int $set): \int Date` @@ -108,6 +120,8 @@ Parameters: Return value: Date +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `checkPts(array $update): \int -1 if it's too old, 0 if it's ok, 1 if it's too new` @@ -120,6 +134,8 @@ Parameters: Return value: -1 if it's too old, 0 if it's ok, 1 if it's too new +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `checkSeq(int $seq): \int -1 if it's too old, 0 if it's ok, 1 if it's too new` @@ -132,4 +148,8 @@ Parameters: Return value: -1 if it's too old, 0 if it's ok, 1 if it's too new +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/MyTelegramOrgWrapper.md b/docs/PHPInternal/danog/MadelineProto/MyTelegramOrgWrapper.md index c9248367..67340fd8 100644 --- a/docs/PHPInternal/danog/MadelineProto/MyTelegramOrgWrapper.md +++ b/docs/PHPInternal/danog/MadelineProto/MyTelegramOrgWrapper.md @@ -14,8 +14,6 @@ Wrapper for my.telegram.org. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `login(string $number): \Generator` * `completeLogin(string $password): \Generator` @@ -41,6 +39,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `completeLogin(string $password): \Generator` @@ -56,12 +56,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `loggedIn(): bool` Whether we are logged in. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasApp(): \Generator` @@ -73,6 +77,8 @@ Check if an app was already created. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getApp(): \Generator` @@ -84,6 +90,8 @@ Get the currently created app. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `createApp(array $settings): \Generator` @@ -99,6 +107,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `async(bool $async): void` @@ -109,6 +119,8 @@ Parameters: * `$async`: `bool` Async +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `loop(callable $callable): mixed` @@ -119,4 +131,8 @@ Parameters: * `$callable`: `callable` Callable +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/PTSException.md b/docs/PHPInternal/danog/MadelineProto/PTSException.md index 996a4924..c82f274d 100644 --- a/docs/PHPInternal/danog/MadelineProto/PTSException.md +++ b/docs/PHPInternal/danog/MadelineProto/PTSException.md @@ -14,8 +14,6 @@ Internal error indicating a problem with Telegram's servers. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `updateTLTrace(array $trace): void` * `getTLTrace(): string` @@ -32,12 +30,16 @@ Parameters: * `$trace`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTLTrace(): string` Get TL trace. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setTLTrace(string $tlTrace): void` @@ -48,6 +50,8 @@ Parameters: * `$tlTrace`: `string` TL trace +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `prettifyTL(string $init, array $trace): void` @@ -59,4 +63,8 @@ Parameters: * `$trace`: `array` Async trace +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/PsrLogger.md b/docs/PHPInternal/danog/MadelineProto/PsrLogger.md index cfd5b591..b115b669 100644 --- a/docs/PHPInternal/danog/MadelineProto/PsrLogger.md +++ b/docs/PHPInternal/danog/MadelineProto/PsrLogger.md @@ -14,8 +14,6 @@ PSR-3 wrapper for MadelineProto's Logger. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `log(mixed $level, string $message, array $context): void` * `emergency(string $message, array $context): void` @@ -39,6 +37,8 @@ Parameters: * `$context`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `emergency(string $message, array $context): void` @@ -50,6 +50,8 @@ Parameters: * `$context`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `alert(string $message, array $context): void` @@ -62,6 +64,8 @@ Parameters: * `$context`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `critical(string $message, array $context): void` @@ -73,6 +77,8 @@ Parameters: * `$context`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `error(string $message, array $context): void` @@ -85,6 +91,8 @@ Parameters: * `$context`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `warning(string $message, array $context): void` @@ -97,6 +105,8 @@ Parameters: * `$context`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `notice(string $message, array $context): void` @@ -108,6 +118,8 @@ Parameters: * `$context`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `info(string $message, array $context): void` @@ -119,6 +131,8 @@ Parameters: * `$context`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `debug(string $message, array $context): void` @@ -130,4 +144,8 @@ Parameters: * `$context`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/RPCErrorException.md b/docs/PHPInternal/danog/MadelineProto/RPCErrorException.md index 83a68127..9b942e2a 100644 --- a/docs/PHPInternal/danog/MadelineProto/RPCErrorException.md +++ b/docs/PHPInternal/danog/MadelineProto/RPCErrorException.md @@ -14,8 +14,6 @@ Indicates an error returned by Telegram's API. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getLocalization(): string` * `setLocalization(string $localization): void` @@ -30,6 +28,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get localized error name. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setLocalization(string $localization): void` @@ -40,6 +40,8 @@ Parameters: * `$localization`: `string` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `updateTLTrace(array $trace): void` @@ -50,12 +52,16 @@ Parameters: * `$trace`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTLTrace(): string` Get TL trace. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setTLTrace(string $tlTrace): void` @@ -66,6 +72,8 @@ Parameters: * `$tlTrace`: `string` TL trace +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `prettifyTL(string $init, array $trace): void` @@ -77,4 +85,8 @@ Parameters: * `$trace`: `array` Async trace +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/RSA.md b/docs/PHPInternal/danog/MadelineProto/RSA.md index 7516bcad..908c15be 100644 --- a/docs/PHPInternal/danog/MadelineProto/RSA.md +++ b/docs/PHPInternal/danog/MadelineProto/RSA.md @@ -14,8 +14,6 @@ RSA class. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `load(\danog\MadelineProto\TL\TL $TL, string $rsa_key): \Generator` * `encrypt(string $data): string` @@ -41,6 +39,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `encrypt(string $data): string` @@ -51,4 +51,8 @@ Parameters: * `$data`: `string` Data to encrypt +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/ResponseException.md b/docs/PHPInternal/danog/MadelineProto/ResponseException.md index c0106bab..ceda7d71 100644 --- a/docs/PHPInternal/danog/MadelineProto/ResponseException.md +++ b/docs/PHPInternal/danog/MadelineProto/ResponseException.md @@ -13,6 +13,5 @@ Indicates an error thrown when an unexpected response is received from telegram' - --- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). \ No newline at end of file +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/SecretChats/AuthKeyHandler.md b/docs/PHPInternal/danog/MadelineProto/SecretChats/AuthKeyHandler.md index 0918aeb8..15fbae99 100644 --- a/docs/PHPInternal/danog/MadelineProto/SecretChats/AuthKeyHandler.md +++ b/docs/PHPInternal/danog/MadelineProto/SecretChats/AuthKeyHandler.md @@ -14,8 +14,6 @@ Manages secret chats. https://core.telegram.org/api/end-to-end ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `acceptSecretChat(array $params): \Generator` * `requestSecretChat(mixed $user): \Generator` @@ -40,6 +38,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `requestSecretChat(mixed $user): \Generator` @@ -55,6 +55,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rekey(int $chat): \Generator` @@ -70,6 +72,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `secretChatStatus(int $chat): \int One of MTProto::SECRET_EMPTY, MTProto::SECRET_REQUESTED, MTProto::SECRET_READY` @@ -82,6 +86,8 @@ Parameters: Return value: One of MTProto::SECRET_EMPTY, MTProto::SECRET_REQUESTED, MTProto::SECRET_READY +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSecretChat(array|int $chat): array` @@ -92,6 +98,8 @@ Parameters: * `$chat`: `array|int` Secret chat ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasSecretChat(array|int $chat): bool` @@ -102,6 +110,8 @@ Parameters: * `$chat`: `array|int` Secret chat ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `discardSecretChat(int $chat): \Generator` @@ -117,4 +127,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/SecretChats/MessageHandler.md b/docs/PHPInternal/danog/MadelineProto/SecretChats/MessageHandler.md index b4f797ce..8a6444e0 100644 --- a/docs/PHPInternal/danog/MadelineProto/SecretChats/MessageHandler.md +++ b/docs/PHPInternal/danog/MadelineProto/SecretChats/MessageHandler.md @@ -13,6 +13,5 @@ Manages packing and unpacking of messages, and the list of sent and received mes - --- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). \ No newline at end of file +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/SecretChats/ResponseHandler.md b/docs/PHPInternal/danog/MadelineProto/SecretChats/ResponseHandler.md index e3d49e66..679ddc40 100644 --- a/docs/PHPInternal/danog/MadelineProto/SecretChats/ResponseHandler.md +++ b/docs/PHPInternal/danog/MadelineProto/SecretChats/ResponseHandler.md @@ -13,6 +13,5 @@ Manages responses. - --- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). \ No newline at end of file +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/SecretChats/SeqNoHandler.md b/docs/PHPInternal/danog/MadelineProto/SecretChats/SeqNoHandler.md index 17b6addf..1d173f91 100644 --- a/docs/PHPInternal/danog/MadelineProto/SecretChats/SeqNoHandler.md +++ b/docs/PHPInternal/danog/MadelineProto/SecretChats/SeqNoHandler.md @@ -13,6 +13,5 @@ Manages sequence numbers. - --- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). \ No newline at end of file +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/SecurityException.md b/docs/PHPInternal/danog/MadelineProto/SecurityException.md index 302eaa24..d3a340de 100644 --- a/docs/PHPInternal/danog/MadelineProto/SecurityException.md +++ b/docs/PHPInternal/danog/MadelineProto/SecurityException.md @@ -13,6 +13,5 @@ Indicates a security error. - --- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). \ No newline at end of file +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Serialization.md b/docs/PHPInternal/danog/MadelineProto/Serialization.md index ab86c5ca..f9f04c3f 100644 --- a/docs/PHPInternal/danog/MadelineProto/Serialization.md +++ b/docs/PHPInternal/danog/MadelineProto/Serialization.md @@ -14,10 +14,10 @@ Manages serialization of the MadelineProto instance. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Constants * `danog\MadelineProto\Serialization::PHP_HEADER`: Header for session files. * `danog\MadelineProto\Serialization::VERSION`: Serialization version. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/SessionPaths.md b/docs/PHPInternal/danog/MadelineProto/SessionPaths.md index a97f4e6c..e5c36c31 100644 --- a/docs/PHPInternal/danog/MadelineProto/SessionPaths.md +++ b/docs/PHPInternal/danog/MadelineProto/SessionPaths.md @@ -14,8 +14,6 @@ Session path information. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `serialize(object $object, string $path): \Generator` * `unserialize(string $path): \Generator` @@ -47,6 +45,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unserialize(string $path): \Generator` @@ -66,36 +66,48 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getLegacySessionPath(): string` Get legacy session path. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSessionPath(): string` Get session path. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getLockPath(): string` Get lock path. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getIpcPath(): string` Get IPC socket path. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getIpcStatePath(): string` Get IPC light state path. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getIpcState(): \Amp\Promise` @@ -108,6 +120,8 @@ Get IPC state. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `storeIpcState(): \Generator` @@ -119,12 +133,16 @@ Store IPC state. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getLightStatePath(): string` Get light state path. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getLightState(): \Amp\Promise<\danog\MadelineProto\LightState>` @@ -137,6 +155,8 @@ Get light state. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `storeLightState(): \Generator` @@ -148,10 +168,16 @@ Store light state. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getIpcCallbackPath(): string` Get IPC callback socket path. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Settings.md b/docs/PHPInternal/danog/MadelineProto/Settings.md index fee04c7e..19b3e881 100644 --- a/docs/PHPInternal/danog/MadelineProto/Settings.md +++ b/docs/PHPInternal/danog/MadelineProto/Settings.md @@ -14,8 +14,6 @@ Settings class used for configuring MadelineProto. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `parseFromLegacy(\danog\MadelineProto\SettingsAbstract|array $settings): \danog\MadelineProto\SettingsAbstract` * `mergeArray(array $settings): void` @@ -68,6 +66,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `mergeArray(array $settings): void` @@ -78,6 +78,8 @@ Parameters: * `$settings`: `array` Settings +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `merge(\danog\MadelineProto\SettingsAbstract $settings): void` @@ -93,18 +95,24 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDefaultDc(): int` Get default DC ID. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDefaultDcParams(): array` Get default DC params. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setDefaultDc(int $dc): self` @@ -115,6 +123,8 @@ Parameters: * `$dc`: `int` DC ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getAppInfo(): \danog\MadelineProto\Settings\AppInfo` @@ -126,6 +136,8 @@ Get app information. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setAppInfo(\danog\MadelineProto\Settings\AppInfo $appInfo): self` @@ -141,6 +153,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getAuth(): \danog\MadelineProto\Settings\Auth` @@ -152,6 +166,8 @@ Get cryptography settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setAuth(\danog\MadelineProto\Settings\Auth $auth): self` @@ -167,6 +183,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getConnection(): \danog\MadelineProto\Settings\Connection` @@ -178,6 +196,8 @@ Get connection settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setConnection(\danog\MadelineProto\Settings\Connection $connection): self` @@ -193,6 +213,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFiles(): \danog\MadelineProto\Settings\Files` @@ -204,6 +226,8 @@ Get file management settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setFiles(\danog\MadelineProto\Settings\Files $files): self` @@ -219,6 +243,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getLogger(): \danog\MadelineProto\Settings\Logger` @@ -230,6 +256,8 @@ Get logger settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setLogger(\danog\MadelineProto\Settings\Logger $logger): self` @@ -245,6 +273,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPeer(): \danog\MadelineProto\Settings\Peer` @@ -256,6 +286,8 @@ Get peer database settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setPeer(\danog\MadelineProto\Settings\Peer $peer): self` @@ -271,6 +303,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPwr(): \danog\MadelineProto\Settings\Pwr` @@ -282,6 +316,8 @@ Get PWRTelegram settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setPwr(\danog\MadelineProto\Settings\Pwr $pwr): self` @@ -297,6 +333,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getRpc(): \danog\MadelineProto\Settings\RPC` @@ -308,6 +346,8 @@ Get RPC settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setRpc(\danog\MadelineProto\Settings\RPC $rpc): self` @@ -323,6 +363,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSecretChats(): \danog\MadelineProto\Settings\SecretChats` @@ -334,6 +376,8 @@ Get secret chat settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setSecretChats(\danog\MadelineProto\Settings\SecretChats $secretChats): self` @@ -349,6 +393,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSerialization(): \danog\MadelineProto\Settings\Serialization` @@ -360,6 +406,8 @@ Get serialization settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setSerialization(\danog\MadelineProto\Settings\Serialization $serialization): self` @@ -375,6 +423,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSchema(): \danog\MadelineProto\Settings\TLSchema` @@ -386,6 +436,8 @@ Get TL schema settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setSchema(\danog\MadelineProto\Settings\TLSchema $schema): self` @@ -401,6 +453,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDb(): \danog\MadelineProto\Settings\DatabaseAbstract` @@ -412,6 +466,8 @@ Get database settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setDb(\danog\MadelineProto\Settings\DatabaseAbstract $db): self` @@ -427,6 +483,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getIpc(): \danog\MadelineProto\Settings\Ipc` @@ -438,6 +496,8 @@ Get IPC server settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setIpc(\danog\MadelineProto\Settings\Ipc $ipc): self` @@ -453,6 +513,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTemplates(): \danog\MadelineProto\Settings\Templates` @@ -464,6 +526,8 @@ Get template settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setTemplates(\danog\MadelineProto\Settings\Templates $templates): self` @@ -479,10 +543,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Settings/AppInfo.md b/docs/PHPInternal/danog/MadelineProto/Settings/AppInfo.md index 6fb4e720..4ef7ead7 100644 --- a/docs/PHPInternal/danog/MadelineProto/Settings/AppInfo.md +++ b/docs/PHPInternal/danog/MadelineProto/Settings/AppInfo.md @@ -14,8 +14,6 @@ App information. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `hasApiInfo(): bool` * `getApiId(): int` @@ -40,12 +38,16 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Check if the settings have API ID/hash information. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getApiId(): int` Get API ID. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setApiId(int $apiId): self` @@ -56,12 +58,16 @@ Parameters: * `$apiId`: `int` API ID. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getApiHash(): string` Get API hash. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setApiHash(string $apiHash): self` @@ -72,12 +78,16 @@ Parameters: * `$apiHash`: `string` API hash. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDeviceModel(): string` Get device model. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setDeviceModel(string $deviceModel): self` @@ -88,12 +98,16 @@ Parameters: * `$deviceModel`: `string` Device model. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSystemVersion(): string` Get system version. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setSystemVersion(string $systemVersion): self` @@ -104,12 +118,16 @@ Parameters: * `$systemVersion`: `string` System version. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getAppVersion(): string` Get app version. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setAppVersion(string $appVersion): self` @@ -120,12 +138,16 @@ Parameters: * `$appVersion`: `string` App version. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getLangCode(): string` Get language code. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setLangCode(string $langCode): self` @@ -136,12 +158,16 @@ Parameters: * `$langCode`: `string` Language code. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getLangPack(): string` Get language pack. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setLangPack(string $langPack): self` @@ -152,10 +178,16 @@ Parameters: * `$langPack`: `string` Language pack. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Settings/Auth.md b/docs/PHPInternal/danog/MadelineProto/Settings/Auth.md index bff87f3f..cf05ae80 100644 --- a/docs/PHPInternal/danog/MadelineProto/Settings/Auth.md +++ b/docs/PHPInternal/danog/MadelineProto/Settings/Auth.md @@ -14,8 +14,6 @@ Cryptography settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getRsaKeys(): array` * `setRsaKeys(array $rsaKeys): self` @@ -33,6 +31,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get MTProto public keys array. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setRsaKeys(array $rsaKeys): self` @@ -43,12 +43,16 @@ Parameters: * `$rsaKeys`: `array` MTProto public keys array. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDefaultTempAuthKeyExpiresIn(): int` Get validity period of the binding of temporary and permanent keys. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setDefaultTempAuthKeyExpiresIn(int $defaultTempAuthKeyExpiresIn): self` @@ -59,12 +63,16 @@ Parameters: * `$defaultTempAuthKeyExpiresIn`: `int` Validity period of the binding of temporary and permanent keys. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPfs(): bool` Get whether to use PFS. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setPfs(bool $pfs): self` @@ -75,12 +83,16 @@ Parameters: * `$pfs`: `bool` Whether to use PFS +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMaxAuthTries(): int` Get max tries for generating auth key. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setMaxAuthTries(int $maxAuthTries): self` @@ -91,10 +103,16 @@ Parameters: * `$maxAuthTries`: `int` Max tries for generating auth key +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Settings/Connection.md b/docs/PHPInternal/danog/MadelineProto/Settings/Connection.md index f3274e4b..0a0a1306 100644 --- a/docs/PHPInternal/danog/MadelineProto/Settings/Connection.md +++ b/docs/PHPInternal/danog/MadelineProto/Settings/Connection.md @@ -14,8 +14,6 @@ Connection settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getProtocol(): string` * `setProtocol(class-string<\danog\MadelineProto\Stream\MTProtoBufferInterface> $protocol): self` @@ -59,6 +57,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get protocol identifier. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setProtocol(class-string<\danog\MadelineProto\Stream\MTProtoBufferInterface> $protocol): self` @@ -74,12 +74,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getIpv6(): bool` Get whether to use ipv6. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setIpv6(bool $ipv6): self` @@ -90,12 +94,16 @@ Parameters: * `$ipv6`: `bool` Whether to use ipv6 +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSslSubdomains(): array` Get subdomains of web.telegram.org for https protocol. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setSslSubdomains(array $sslSubdomains): self` @@ -106,12 +114,16 @@ Parameters: * `$sslSubdomains`: `array` Subdomains of web.telegram.org for https protocol. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMinMediaSocketCount(): int` Get minimum media socket count. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setMinMediaSocketCount(int $minMediaSocketCount): self` @@ -122,12 +134,16 @@ Parameters: * `$minMediaSocketCount`: `int` Minimum media socket count. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMaxMediaSocketCount(): int` Get maximum media socket count. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setMaxMediaSocketCount(int $maxMediaSocketCount): self` @@ -138,12 +154,16 @@ Parameters: * `$maxMediaSocketCount`: `int` Maximum media socket count. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getRobinPeriod(): int` Get robin period (seconds). +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setRobinPeriod(int $robinPeriod): self` @@ -154,18 +174,24 @@ Parameters: * `$robinPeriod`: `int` Robin period (seconds). +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDefaultDc(): int` Get default DC ID. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDefaultDcParams(): array` Get default DC params. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setDefaultDc(int $defaultDc): self` @@ -176,6 +202,8 @@ Parameters: * `$defaultDc`: `int` Default DC ID. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getProxies(): array` @@ -191,6 +219,8 @@ array, array> +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `addProxy(class-string<\danog\MadelineProto\Stream\StreamInterface> $proxy, array $extra): self` @@ -207,6 +237,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setProxy(array $proxies): self` @@ -217,12 +249,16 @@ Parameters: * `$proxies`: `array` Proxies +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `clearProxies(): self` Clear proxies. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `removeProxy(string $proxy, array $extra): self` @@ -234,12 +270,16 @@ Parameters: * `$extra`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getObfuscated(): bool` Get whether to use the obfuscated protocol. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setObfuscated(bool $obfuscated): self` @@ -250,12 +290,16 @@ Parameters: * `$obfuscated`: `bool` Whether to use the obfuscated protocol. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTestMode(): bool` Get whether we're in test mode. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setTestMode(bool $testMode): self` @@ -266,6 +310,8 @@ Parameters: * `$testMode`: `bool` Whether we're in test mode. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTransport(): class-string<\danog\MadelineProto\Stream\RawStreamInterface>` @@ -277,6 +323,8 @@ Get transport identifier. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setTransport(class-string<\danog\MadelineProto\Stream\RawStreamInterface> $transport): self` @@ -292,12 +340,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getRetry(): bool` Get whether to retry connection. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setRetry(bool $retry): self` @@ -308,12 +360,16 @@ Parameters: * `$retry`: `bool` Whether to retry connection. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTimeout(): int` Get connection timeout. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setTimeout(int $timeout): self` @@ -324,12 +380,16 @@ Parameters: * `$timeout`: `int` Connection timeout. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getUseDoH(): bool` Get whether to use DNS over HTTPS. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setUseDoH(bool $useDoH): self` @@ -340,12 +400,16 @@ Parameters: * `$useDoH`: `bool` Whether to use DNS over HTTPS +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getBindTo(): ?string` Get bind on specific address and port. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setBindTo(?string $bindTo): self` @@ -356,10 +420,16 @@ Parameters: * `$bindTo`: `?string` Bind on specific address and port. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Settings/Database/DatabaseAbstract.md b/docs/PHPInternal/danog/MadelineProto/Settings/Database/DatabaseAbstract.md index 1a59fea7..1e60126d 100644 --- a/docs/PHPInternal/danog/MadelineProto/Settings/Database/DatabaseAbstract.md +++ b/docs/PHPInternal/danog/MadelineProto/Settings/Database/DatabaseAbstract.md @@ -14,8 +14,6 @@ Base class for database backends. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getKey(): string` * `getCacheTtl(): int` @@ -34,12 +32,16 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get DB key. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCacheTtl(): int` Get for how long to keep records in memory after last read, for cached backends. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setCacheTtl(int|string $cacheTtl): self` @@ -50,12 +52,16 @@ Parameters: * `$cacheTtl`: `int|string` For how long to keep records in memory after last read, for cached backends. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPassword(): string` Get password. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setPassword(string $password): self` @@ -66,18 +72,24 @@ Parameters: * `$password`: `string` Password. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDatabase(): string|int` Get database name/ID. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getUri(): string` Get database URI. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setDatabase(int|string $database): self` @@ -88,6 +100,8 @@ Parameters: * `$database`: `int|string` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setUri(string $uri): self` @@ -98,10 +112,16 @@ Parameters: * `$uri`: `string` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Settings/Database/Memory.md b/docs/PHPInternal/danog/MadelineProto/Settings/Database/Memory.md index a48fb690..9917da9c 100644 --- a/docs/PHPInternal/danog/MadelineProto/Settings/Database/Memory.md +++ b/docs/PHPInternal/danog/MadelineProto/Settings/Database/Memory.md @@ -14,8 +14,6 @@ Memory backend settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getCleanup(): bool` * `setCleanup(bool $cleanup): self` @@ -27,6 +25,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get whether to cleanup the memory before serializing. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setCleanup(bool $cleanup): self` @@ -37,10 +37,16 @@ Parameters: * `$cleanup`: `bool` Whether to cleanup the memory before serializing. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Settings/Database/Mysql.md b/docs/PHPInternal/danog/MadelineProto/Settings/Database/Mysql.md index f7961fa6..0b116911 100644 --- a/docs/PHPInternal/danog/MadelineProto/Settings/Database/Mysql.md +++ b/docs/PHPInternal/danog/MadelineProto/Settings/Database/Mysql.md @@ -14,8 +14,6 @@ MySQL backend settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getMaxConnections(): int` * `setMaxConnections(int $maxConnections): self` @@ -40,6 +38,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get maximum connection limit. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setMaxConnections(int $maxConnections): self` @@ -50,12 +50,16 @@ Parameters: * `$maxConnections`: `int` Maximum connection limit. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getIdleTimeout(): int` Get idle timeout. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setIdleTimeout(int $idleTimeout): self` @@ -66,12 +70,16 @@ Parameters: * `$idleTimeout`: `int` Idle timeout. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDatabase(): string` Get database name. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setDatabase(string $database): self` @@ -82,12 +90,16 @@ Parameters: * `$database`: `string` Database name. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getUsername(): string` Get username. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setUsername(string $username): self` @@ -98,12 +110,16 @@ Parameters: * `$username`: `string` Username. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getUri(): string` Get database URI. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setUri(string $uri): self` @@ -114,18 +130,24 @@ Parameters: * `$uri`: `string` Database URI. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getKey(): string` Get DB key. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCacheTtl(): int` Get for how long to keep records in memory after last read, for cached backends. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setCacheTtl(int|string $cacheTtl): self` @@ -136,12 +158,16 @@ Parameters: * `$cacheTtl`: `int|string` For how long to keep records in memory after last read, for cached backends. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPassword(): string` Get password. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setPassword(string $password): self` @@ -152,10 +178,16 @@ Parameters: * `$password`: `string` Password. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Settings/Database/Postgres.md b/docs/PHPInternal/danog/MadelineProto/Settings/Database/Postgres.md index c4c7e667..54b33355 100644 --- a/docs/PHPInternal/danog/MadelineProto/Settings/Database/Postgres.md +++ b/docs/PHPInternal/danog/MadelineProto/Settings/Database/Postgres.md @@ -14,8 +14,6 @@ Postgres backend settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getMaxConnections(): int` * `setMaxConnections(int $maxConnections): self` @@ -40,6 +38,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get maximum connection limit. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setMaxConnections(int $maxConnections): self` @@ -50,12 +50,16 @@ Parameters: * `$maxConnections`: `int` Maximum connection limit. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getIdleTimeout(): int` Get idle timeout. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setIdleTimeout(int $idleTimeout): self` @@ -66,12 +70,16 @@ Parameters: * `$idleTimeout`: `int` Idle timeout. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDatabase(): string` Get database name. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setDatabase(string $database): self` @@ -82,12 +90,16 @@ Parameters: * `$database`: `string` Database name. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getUsername(): string` Get username. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setUsername(string $username): self` @@ -98,12 +110,16 @@ Parameters: * `$username`: `string` Username. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getUri(): string` Get database URI. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setUri(string $uri): self` @@ -114,18 +130,24 @@ Parameters: * `$uri`: `string` Database URI. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getKey(): string` Get DB key. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCacheTtl(): int` Get for how long to keep records in memory after last read, for cached backends. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setCacheTtl(int|string $cacheTtl): self` @@ -136,12 +158,16 @@ Parameters: * `$cacheTtl`: `int|string` For how long to keep records in memory after last read, for cached backends. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPassword(): string` Get password. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setPassword(string $password): self` @@ -152,10 +178,16 @@ Parameters: * `$password`: `string` Password. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Settings/Database/Redis.md b/docs/PHPInternal/danog/MadelineProto/Settings/Database/Redis.md index cc45bf4f..6938b88d 100644 --- a/docs/PHPInternal/danog/MadelineProto/Settings/Database/Redis.md +++ b/docs/PHPInternal/danog/MadelineProto/Settings/Database/Redis.md @@ -14,8 +14,6 @@ Redis backend settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getDatabase(): int` * `setDatabase(int $database): self` @@ -34,6 +32,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get database number. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setDatabase(int $database): self` @@ -44,12 +44,16 @@ Parameters: * `$database`: `int` Database number. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getUri(): string` Get database URI. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setUri(string $uri): self` @@ -60,18 +64,24 @@ Parameters: * `$uri`: `string` Database URI. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getKey(): string` Get DB key. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCacheTtl(): int` Get for how long to keep records in memory after last read, for cached backends. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setCacheTtl(int|string $cacheTtl): self` @@ -82,12 +92,16 @@ Parameters: * `$cacheTtl`: `int|string` For how long to keep records in memory after last read, for cached backends. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPassword(): string` Get password. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setPassword(string $password): self` @@ -98,10 +112,16 @@ Parameters: * `$password`: `string` Password. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Settings/Database/SqlAbstract.md b/docs/PHPInternal/danog/MadelineProto/Settings/Database/SqlAbstract.md index 6174b9c0..74e38e26 100644 --- a/docs/PHPInternal/danog/MadelineProto/Settings/Database/SqlAbstract.md +++ b/docs/PHPInternal/danog/MadelineProto/Settings/Database/SqlAbstract.md @@ -14,8 +14,6 @@ Generic db backend settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getMaxConnections(): int` * `setMaxConnections(int $maxConnections): self` @@ -40,6 +38,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get maximum connection limit. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setMaxConnections(int $maxConnections): self` @@ -50,12 +50,16 @@ Parameters: * `$maxConnections`: `int` Maximum connection limit. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getIdleTimeout(): int` Get idle timeout. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setIdleTimeout(int $idleTimeout): self` @@ -66,12 +70,16 @@ Parameters: * `$idleTimeout`: `int` Idle timeout. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDatabase(): string` Get database name. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setDatabase(string $database): self` @@ -82,12 +90,16 @@ Parameters: * `$database`: `string` Database name. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getUsername(): string` Get username. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setUsername(string $username): self` @@ -98,12 +110,16 @@ Parameters: * `$username`: `string` Username. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getUri(): string` Get database URI. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setUri(string $uri): self` @@ -114,18 +130,24 @@ Parameters: * `$uri`: `string` Database URI. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getKey(): string` Get DB key. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCacheTtl(): int` Get for how long to keep records in memory after last read, for cached backends. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setCacheTtl(int|string $cacheTtl): self` @@ -136,12 +158,16 @@ Parameters: * `$cacheTtl`: `int|string` For how long to keep records in memory after last read, for cached backends. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getPassword(): string` Get password. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setPassword(string $password): self` @@ -152,10 +178,16 @@ Parameters: * `$password`: `string` Password. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Settings/DatabaseAbstract.md b/docs/PHPInternal/danog/MadelineProto/Settings/DatabaseAbstract.md index 8ae01a19..88ccda62 100644 --- a/docs/PHPInternal/danog/MadelineProto/Settings/DatabaseAbstract.md +++ b/docs/PHPInternal/danog/MadelineProto/Settings/DatabaseAbstract.md @@ -14,8 +14,6 @@ Base class for storage backends. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `hasChanged(): bool` @@ -25,4 +23,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Settings/Files.md b/docs/PHPInternal/danog/MadelineProto/Settings/Files.md index 145dade9..71aa4e97 100644 --- a/docs/PHPInternal/danog/MadelineProto/Settings/Files.md +++ b/docs/PHPInternal/danog/MadelineProto/Settings/Files.md @@ -14,8 +14,6 @@ File management settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getAllowAutomaticUpload(): bool` * `setAllowAutomaticUpload(bool $allowAutomaticUpload): self` @@ -33,6 +31,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get allow automatic upload of files from file paths present in constructors? +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setAllowAutomaticUpload(bool $allowAutomaticUpload): self` @@ -43,12 +43,16 @@ Parameters: * `$allowAutomaticUpload`: `bool` Allow automatic upload of files from file paths present in constructors? +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getUploadParallelChunks(): int` Get upload parallel chunk count. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setUploadParallelChunks(int $uploadParallelChunks): self` @@ -59,12 +63,16 @@ Parameters: * `$uploadParallelChunks`: `int` Upload parallel chunk count +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDownloadParallelChunks(): int` Get download parallel chunk count. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setDownloadParallelChunks(int $downloadParallelChunks): self` @@ -75,12 +83,16 @@ Parameters: * `$downloadParallelChunks`: `int` Download parallel chunk count +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getReportBrokenMedia(): bool` Get whether to report undownloadable media to TSF. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setReportBrokenMedia(bool $reportBrokenMedia): self` @@ -91,10 +103,16 @@ Parameters: * `$reportBrokenMedia`: `bool` Whether to report undownloadable media to TSF +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Settings/Ipc.md b/docs/PHPInternal/danog/MadelineProto/Settings/Ipc.md index 9aacc423..1f3b0d9a 100644 --- a/docs/PHPInternal/danog/MadelineProto/Settings/Ipc.md +++ b/docs/PHPInternal/danog/MadelineProto/Settings/Ipc.md @@ -14,8 +14,6 @@ IPC server settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getSlow(): bool` * `setSlow(bool $slow): self` @@ -27,6 +25,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get WARNING: this will cause slow startup if enabled. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setSlow(bool $slow): self` @@ -37,10 +37,16 @@ Parameters: * `$slow`: `bool` WARNING: this will cause slow startup if enabled. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Settings/Logger.md b/docs/PHPInternal/danog/MadelineProto/Settings/Logger.md index bfc3063f..596e552b 100644 --- a/docs/PHPInternal/danog/MadelineProto/Settings/Logger.md +++ b/docs/PHPInternal/danog/MadelineProto/Settings/Logger.md @@ -14,8 +14,6 @@ Logger settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getType()` * `setType(): self` @@ -33,18 +31,24 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get $type Logger type. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setType(): self` Set $type Logger type. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getExtra(): null|callable|string` Get extra parameter for logger. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setExtra(null|callable|string $extra): self` @@ -55,24 +59,32 @@ Parameters: * `$extra`: `null|callable|string` Extra parameter for logger. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getLevel()` Get logging level. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setLevel(): self` Set logging level. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMaxSize(): int` Get maximum filesize for logger, in case of file logging. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setMaxSize(int $maxSize): self` @@ -83,10 +95,16 @@ Parameters: * `$maxSize`: `int` Maximum filesize for logger, in case of file logging. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Settings/Peer.md b/docs/PHPInternal/danog/MadelineProto/Settings/Peer.md index 23ed6b81..964fbb66 100644 --- a/docs/PHPInternal/danog/MadelineProto/Settings/Peer.md +++ b/docs/PHPInternal/danog/MadelineProto/Settings/Peer.md @@ -14,8 +14,6 @@ Peer database settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getFullInfoCacheTime(): int` * `setFullInfoCacheTime(int $fullInfoCacheTime): self` @@ -31,6 +29,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get cache time for full peer information (seconds). +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setFullInfoCacheTime(int $fullInfoCacheTime): self` @@ -41,12 +41,16 @@ Parameters: * `$fullInfoCacheTime`: `int` Cache time for full peer information (seconds). +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFullFetch(): bool` Get should madeline fetch the full member list of every group it meets? +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setFullFetch(bool $fullFetch): self` @@ -57,12 +61,16 @@ Parameters: * `$fullFetch`: `bool` Should madeline fetch the full member list of every group it meets? +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCacheAllPeersOnStartup(): bool` Get whether to cache all peers on startup for userbots. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setCacheAllPeersOnStartup(bool $cacheAllPeersOnStartup): self` @@ -73,10 +81,16 @@ Parameters: * `$cacheAllPeersOnStartup`: `bool` Whether to cache all peers on startup for userbots. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Settings/Pwr.md b/docs/PHPInternal/danog/MadelineProto/Settings/Pwr.md index 5358a04c..34cde4b2 100644 --- a/docs/PHPInternal/danog/MadelineProto/Settings/Pwr.md +++ b/docs/PHPInternal/danog/MadelineProto/Settings/Pwr.md @@ -14,8 +14,6 @@ PWRTelegram settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getRequests(): bool` * `setRequests(bool $requests): self` @@ -29,6 +27,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get whether to try resolving usernames using PWRTelegram DB. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setRequests(bool $requests): self` @@ -39,12 +39,16 @@ Parameters: * `$requests`: `bool` Whether to try resolving usernames using PWRTelegram DB. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDbToken(): string` Get DB token. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setDbToken(string $dbToken): self` @@ -55,10 +59,16 @@ Parameters: * `$dbToken`: `string` DB token. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Settings/RPC.md b/docs/PHPInternal/danog/MadelineProto/Settings/RPC.md index b31aad9c..a42ae3e2 100644 --- a/docs/PHPInternal/danog/MadelineProto/Settings/RPC.md +++ b/docs/PHPInternal/danog/MadelineProto/Settings/RPC.md @@ -14,8 +14,6 @@ RPC settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getRpcTimeout(): int` * `setRpcTimeout(int $rpcTimeout): self` @@ -37,6 +35,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get RPC timeout. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setRpcTimeout(int $rpcTimeout): self` @@ -47,12 +47,16 @@ Parameters: * `$rpcTimeout`: `int` RPC timeout. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFloodTimeout(): int` Get flood timeout: if FLOOD_WAIT_ time is bigger than this, throw exception instead of waiting asynchronously. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setFloodTimeout(int $floodTimeout): self` @@ -63,12 +67,16 @@ Parameters: * `$floodTimeout`: `int` Flood timeout: if FLOOD_WAIT_ time is bigger than this, throw exception instead of waiting asynchronously +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getLimitIncoming(): int` Get maximum number of messages to be stored in the incoming queue. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setLimitIncoming(int $limitIncoming): self` @@ -79,12 +87,16 @@ Parameters: * `$limitIncoming`: `int` Maximum number of messages to be stored in the incoming queue +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getLimitOutgoing(): int` Get maximum number of messages to be stored in the outgoing queue. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setLimitOutgoing(int $limitOutgoing): self` @@ -95,12 +107,16 @@ Parameters: * `$limitOutgoing`: `int` Maximum number of messages to be stored in the outgoing queue +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getLimitCallQueue(): int` Get maximum number of messages to consider when using call queues. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setLimitCallQueue(int $limitCallQueue): self` @@ -111,12 +127,16 @@ Parameters: * `$limitCallQueue`: `int` Maximum number of messages to consider when using call queues +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getGzipEncodeIfGt(): int` Get encode payload with GZIP if bigger than. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setGzipEncodeIfGt(int $gzipEncodeIfGt): self` @@ -127,10 +147,16 @@ Parameters: * `$gzipEncodeIfGt`: `int` Encode payload with GZIP if bigger than +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Settings/SecretChats.md b/docs/PHPInternal/danog/MadelineProto/Settings/SecretChats.md index c71f6c4b..076fe242 100644 --- a/docs/PHPInternal/danog/MadelineProto/Settings/SecretChats.md +++ b/docs/PHPInternal/danog/MadelineProto/Settings/SecretChats.md @@ -14,8 +14,6 @@ Secret chat settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getAccept(): bool|int[]` * `setAccept(bool|int[] $accept): self` @@ -27,6 +25,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get boolean or array of IDs. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setAccept(bool|int[] $accept): self` @@ -37,10 +37,16 @@ Parameters: * `$accept`: `bool|int[]` Boolean or array of IDs +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Settings/Serialization.md b/docs/PHPInternal/danog/MadelineProto/Settings/Serialization.md index ad0b767e..74b39abc 100644 --- a/docs/PHPInternal/danog/MadelineProto/Settings/Serialization.md +++ b/docs/PHPInternal/danog/MadelineProto/Settings/Serialization.md @@ -14,8 +14,6 @@ Serialization settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getInterval(): int` * `setInterval(int $interval): self` @@ -27,6 +25,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get serialization interval, in seconds. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setInterval(int $interval): self` @@ -37,10 +37,16 @@ Parameters: * `$interval`: `int` Serialization interval, in seconds. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Settings/TLSchema.md b/docs/PHPInternal/danog/MadelineProto/Settings/TLSchema.md index fc495612..a6fe3801 100644 --- a/docs/PHPInternal/danog/MadelineProto/Settings/TLSchema.md +++ b/docs/PHPInternal/danog/MadelineProto/Settings/TLSchema.md @@ -14,8 +14,6 @@ TL schema settings. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `needsUpgrade(): bool` * `upgrade(): void` @@ -37,18 +35,24 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Returns whether the TL parser should re-parse the TL schemes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `upgrade(): void` Signal that scheme was re-parsed. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getLayer(): int` Get TL layer version. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setLayer(int $layer): self` @@ -59,12 +63,16 @@ Parameters: * `$layer`: `int` TL layer version. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMTProtoSchema(): string` Get MTProto schema path. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setMTProtoSchema(string $MTProtoSchema): self` @@ -75,12 +83,16 @@ Parameters: * `$MTProtoSchema`: `string` MTProto schema path. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getAPISchema(): string` Get API schema path. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setAPISchema(string $APISchema): self` @@ -91,12 +103,16 @@ Parameters: * `$APISchema`: `string` API schema path. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSecretSchema(): string` Get secret schema path. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setSecretSchema(string $secretSchema): self` @@ -107,12 +123,16 @@ Parameters: * `$secretSchema`: `string` Secret schema path. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getOther(): array` Get the value of other. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setOther(array $other): self` @@ -123,10 +143,16 @@ Parameters: * `$other`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Settings/Templates.md b/docs/PHPInternal/danog/MadelineProto/Settings/Templates.md index 46b69f48..92a87215 100644 --- a/docs/PHPInternal/danog/MadelineProto/Settings/Templates.md +++ b/docs/PHPInternal/danog/MadelineProto/Settings/Templates.md @@ -14,8 +14,6 @@ Web and CLI template settings for login. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getHtmlTemplate(): string` * `setHtmlTemplate(string $htmlTemplate): self` @@ -27,6 +25,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get web template used for querying app information. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setHtmlTemplate(string $htmlTemplate): self` @@ -37,10 +37,16 @@ Parameters: * `$htmlTemplate`: `string` Web template used for querying app information. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Shutdown.md b/docs/PHPInternal/danog/MadelineProto/Shutdown.md index ad89b52e..f573654b 100644 --- a/docs/PHPInternal/danog/MadelineProto/Shutdown.md +++ b/docs/PHPInternal/danog/MadelineProto/Shutdown.md @@ -14,8 +14,6 @@ Class that controls script shutdown. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `shutdown(): void` * `addCallback(callable $callback, null|string $id): int|\string The callback ID` @@ -27,6 +25,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Function to be called on shutdown. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `addCallback(callable $callback, null|string $id): int|\string The callback ID` @@ -40,6 +40,8 @@ Parameters: Return value: The callback ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `removeCallback(null|string|int $id): \bool true if the callback was removed correctly, false otherwise` @@ -52,4 +54,8 @@ Parameters: Return value: true if the callback was removed correctly, false otherwise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Snitch.md b/docs/PHPInternal/danog/MadelineProto/Snitch.md index 733f0f5d..664e0ee5 100644 --- a/docs/PHPInternal/danog/MadelineProto/Snitch.md +++ b/docs/PHPInternal/danog/MadelineProto/Snitch.md @@ -14,8 +14,6 @@ Snitch. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Constants * `danog\MadelineProto\Snitch::MAX_NO_PHAR_STARTS`: Maximum starts without a phar file. @@ -35,4 +33,8 @@ Parameters: * `$file`: `string` Logfile +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/StrTools.md b/docs/PHPInternal/danog/MadelineProto/StrTools.md index 513fa754..4fb4e00d 100644 --- a/docs/PHPInternal/danog/MadelineProto/StrTools.md +++ b/docs/PHPInternal/danog/MadelineProto/StrTools.md @@ -14,8 +14,6 @@ Some tools. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `toCamelCase(string $input): string` * `toSnakeCase(string $input): string` @@ -38,6 +36,8 @@ Parameters: * `$input`: `string` String +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `toSnakeCase(string $input): string` @@ -48,6 +48,8 @@ Parameters: * `$input`: `string` String +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `markdownEscape(string $hwat): string` @@ -58,6 +60,8 @@ Parameters: * `$hwat`: `string` String to escape +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `typeEscape(string $type): string` @@ -68,6 +72,8 @@ Parameters: * `$type`: `string` String to escape +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodEscape(string $method): string` @@ -78,6 +84,8 @@ Parameters: * `$method`: `string` Method name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromExtension(string $extension, string $default): string` @@ -89,6 +97,8 @@ Parameters: * `$default`: `string` Default mime type +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getExtensionFromMime(string $mime): string` @@ -99,6 +109,8 @@ Parameters: * `$mime`: `string` MIME type +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getExtensionFromLocation(mixed $location, string $default): string` @@ -110,6 +122,8 @@ Parameters: * `$default`: `string` Default extension +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromFile(string $file): string` @@ -120,6 +134,8 @@ Parameters: * `$file`: `string` File +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromBuffer(string $buffer): string` @@ -130,4 +146,8 @@ Parameters: * `$buffer`: `string` Buffer +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/ADNLTransport/ADNLStream.md b/docs/PHPInternal/danog/MadelineProto/Stream/ADNLTransport/ADNLStream.md index 3c87ac4e..b74650a0 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/ADNLTransport/ADNLStream.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/ADNLTransport/ADNLStream.md @@ -14,8 +14,6 @@ ADNL stream wrapper. Manages ADNL envelope ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `connect(\danog\MadelineProto\Stream\ConnectionContext $ctx): \Generator` * `disconnect(): \Amp\Promise` @@ -42,6 +40,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `disconnect(): \Amp\Promise` @@ -53,6 +53,8 @@ Async close. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWriteBufferGenerator(int $length): \Generator` @@ -68,6 +70,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getReadBufferGenerator(int $length): \Generator` @@ -83,6 +87,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSocket(): \Amp\Socket\EncryptableSocket` @@ -94,6 +100,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getStream(): \danog\MadelineProto\Stream\RawStreamInterface` @@ -105,6 +113,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getReadBuffer(int $length): \Amp\Promise` @@ -120,6 +130,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWriteBuffer(int $length, string $append): \Amp\Promise` @@ -136,4 +148,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/Async/Buffer.md b/docs/PHPInternal/danog/MadelineProto/Stream/Async/Buffer.md index c83c8ce5..e220a836 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/Async/Buffer.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/Async/Buffer.md @@ -13,6 +13,5 @@ Buffer helper trait. Wraps the asynchronous generator methods with asynchronous promise-based methods - --- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). \ No newline at end of file +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/Async/BufferedStream.md b/docs/PHPInternal/danog/MadelineProto/Stream/Async/BufferedStream.md index 4b1f678a..4a60e279 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/Async/BufferedStream.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/Async/BufferedStream.md @@ -14,8 +14,6 @@ Buffered stream helper trait. Wraps the asynchronous generator methods with asynchronous promise-based methods ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getReadBuffer(int $length): \Amp\Promise` * `getWriteBuffer(int $length, string $append): \Amp\Promise` @@ -35,6 +33,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWriteBuffer(int $length, string $append): \Amp\Promise` @@ -51,4 +51,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/Async/RawStream.md b/docs/PHPInternal/danog/MadelineProto/Stream/Async/RawStream.md index e229f844..ae48c44c 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/Async/RawStream.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/Async/RawStream.md @@ -13,6 +13,5 @@ Raw stream helper trait. Wraps the asynchronous generator methods with asynchronous promise-based methods - --- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). \ No newline at end of file +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/BufferInterface.md b/docs/PHPInternal/danog/MadelineProto/Stream/BufferInterface.md index 98db2cf8..c2c3f4eb 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/BufferInterface.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/BufferInterface.md @@ -14,8 +14,6 @@ Buffer interface. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `bufferRead(int $length): \Amp\Promise` * `bufferWrite(string $data): \Amp\Promise` @@ -35,6 +33,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `bufferWrite(string $data): \Amp\Promise` @@ -50,4 +50,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/BufferedProxyStreamInterface.md b/docs/PHPInternal/danog/MadelineProto/Stream/BufferedProxyStreamInterface.md index b0404107..38d4d88d 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/BufferedProxyStreamInterface.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/BufferedProxyStreamInterface.md @@ -14,8 +14,6 @@ Buffered proxy stream interface. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getReadBuffer(int $length): \Amp\Promise` * `getWriteBuffer(int $length): \Amp\Promise` @@ -46,6 +44,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWriteBuffer(int $length): \Amp\Promise` @@ -61,12 +61,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getName(): string` Get stream name. Is supposed to return __CLASS__ +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getStream(): \danog\MadelineProto\Stream\RawStreamInterface` @@ -78,6 +82,8 @@ Get underlying stream resource. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `connect(\danog\MadelineProto\Stream\ConnectionContext $ctx): \Generator` @@ -94,12 +100,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `disconnect(): void` Disconnect from the server. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSocket(): \Amp\Socket\EncryptableSocket` @@ -111,6 +121,8 @@ Get underlying AMPHP socket resource. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setExtra(mixed $extra): void` @@ -121,4 +133,8 @@ Parameters: * `$extra`: `mixed` Proxy data +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/BufferedStreamInterface.md b/docs/PHPInternal/danog/MadelineProto/Stream/BufferedStreamInterface.md index 7f937ff7..0de1f4a5 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/BufferedStreamInterface.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/BufferedStreamInterface.md @@ -14,8 +14,6 @@ Buffered stream interface. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getReadBuffer(int $length): \Amp\Promise` * `getWriteBuffer(int $length): \Amp\Promise` @@ -45,6 +43,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWriteBuffer(int $length): \Amp\Promise` @@ -60,12 +60,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getName(): string` Get stream name. Is supposed to return __CLASS__ +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getStream(): \danog\MadelineProto\Stream\RawStreamInterface` @@ -77,6 +81,8 @@ Get underlying stream resource. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `connect(\danog\MadelineProto\Stream\ConnectionContext $ctx): \Generator` @@ -93,12 +99,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `disconnect(): void` Disconnect from the server. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSocket(): \Amp\Socket\EncryptableSocket` @@ -110,4 +120,8 @@ Get underlying AMPHP socket resource. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/Common/BufferedRawStream.md b/docs/PHPInternal/danog/MadelineProto/Stream/Common/BufferedRawStream.md index bf8fd8f1..b6b46253 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/Common/BufferedRawStream.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/Common/BufferedRawStream.md @@ -14,8 +14,6 @@ Buffered raw stream. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `connect(\danog\MadelineProto\Stream\ConnectionContext $ctx): \Generator` * `read(): \Amp\Promise` @@ -47,6 +45,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `read(): \Amp\Promise` @@ -58,6 +58,8 @@ Async chunked read. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `write(string $data): \Amp\Promise` @@ -73,12 +75,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `disconnect(): void` Async close. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getReadBuffer(int $length): \Amp\Promise` @@ -94,6 +100,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWriteBuffer(int $length): \Amp\Promise` @@ -109,6 +117,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `bufferRead(int $length): \Amp\Promise` @@ -124,6 +134,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `bufferReadGenerator(int $length): \Generator` @@ -139,6 +151,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `bufferWrite(string $data): \Amp\Promise` @@ -154,12 +168,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `bufferClear(): string` Get remaining data from buffer. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSocket(): \Amp\Socket\Socket` @@ -171,6 +189,8 @@ Get remaining data from buffer. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getStream(): \danog\MadelineProto\Stream\RawStreamInterface` @@ -182,10 +202,16 @@ Get remaining data from buffer. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getName(): string` Get class name. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/Common/CtrStream.md b/docs/PHPInternal/danog/MadelineProto/Stream/Common/CtrStream.md index de76c0ef..e06b0370 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/Common/CtrStream.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/Common/CtrStream.md @@ -14,8 +14,6 @@ AES CTR stream wrapper. Manages AES CTR encryption/decryption ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `connect(\danog\MadelineProto\Stream\ConnectionContext $ctx): \Generator` * `disconnect(): \Amp\Promise` @@ -45,6 +43,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `disconnect(): \Amp\Promise` @@ -56,6 +56,8 @@ Async close. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWriteBufferGenerator(int $length): \Generator` @@ -71,6 +73,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getReadBufferGenerator(int $length): \Generator` @@ -86,6 +90,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `bufferReadGenerator(\Amp\Promise $promise): \Generator That resolves with a string when the provided promise is resolved and the data is decrypted` @@ -103,6 +109,8 @@ Return value: That resolves with a string when the provided promise is resolved +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `bufferWrite(string $data): \Promise Succeeds once the data has been successfully written to the stream.` @@ -115,6 +123,8 @@ Parameters: Return value: Succeeds once the data has been successfully written to the stream. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setExtra(array $data): void` @@ -125,6 +135,8 @@ Parameters: * `$data`: `array` Keys +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSocket(): \Amp\Socket\EncryptableSocket` @@ -136,6 +148,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getStream(): \danog\MadelineProto\Stream\RawStreamInterface` @@ -147,6 +161,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getReadBuffer(int $length): \Amp\Promise` @@ -162,6 +178,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWriteBuffer(int $length, string $append): \Amp\Promise` @@ -178,4 +196,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/Common/HashedBufferedStream.md b/docs/PHPInternal/danog/MadelineProto/Stream/Common/HashedBufferedStream.md index eec56104..deea2f24 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/Common/HashedBufferedStream.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/Common/HashedBufferedStream.md @@ -14,8 +14,6 @@ Hash stream wrapper. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `startReadHash(): void` * `checkReadHash(int $after): void` @@ -44,6 +42,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Enable read hashing. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `checkReadHash(int $after): void` @@ -54,24 +54,32 @@ Parameters: * `$after`: `int` The number of bytes to read before checking the hash +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getReadHash(): string` Stop read hashing and get final hash. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasReadHash(): bool` Check if we are read hashing. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `startWriteHash(): void` Enable write hashing. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `checkWriteHash(int $after): void` @@ -82,18 +90,24 @@ Parameters: * `$after`: `int` The number of bytes to read before writing the hash +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWriteHash(): string` Stop write hashing and get final hash. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasWriteHash(): bool` Check if we are write hashing. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `bufferReadGenerator(int $length): \Generator That resolves with a string when the provided promise is resolved and the data is added to the hashing context` @@ -106,6 +120,8 @@ Parameters: Return value: That resolves with a string when the provided promise is resolved and the data is added to the hashing context +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setExtra(string $hash): void` @@ -116,6 +132,8 @@ Parameters: * `$hash`: `string` Algorithm name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `connect(\danog\MadelineProto\Stream\ConnectionContext $ctx): \Generator` @@ -132,6 +150,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `disconnect(): \Amp\Promise` @@ -143,6 +163,8 @@ Async close. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getReadBufferGenerator(int $length): \Generator` @@ -158,6 +180,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWriteBufferGenerator(int $length): \Generator` @@ -173,6 +197,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `bufferRead(): \Promise Resolves with a string when new data is available or `null` if the stream has closed.` @@ -181,6 +207,8 @@ Reads data from the stream. Return value: Resolves with a string when new data is available or `null` if the stream has closed. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `bufferWrite(string $data): \Promise Succeeds once the data has been successfully written to the stream.` @@ -193,6 +221,8 @@ Parameters: Return value: Succeeds once the data has been successfully written to the stream. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSocket(): \Amp\Socket\Socket` @@ -204,6 +234,8 @@ Return value: Succeeds once the data has been successfully written to the stream +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getStream(): \danog\MadelineProto\Stream\RawStreamInterface` @@ -215,6 +247,8 @@ Return value: Succeeds once the data has been successfully written to the stream +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getReadBuffer(int $length): \Amp\Promise` @@ -230,6 +264,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWriteBuffer(int $length, string $append): \Amp\Promise` @@ -246,4 +282,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/Common/SimpleBufferedRawStream.md b/docs/PHPInternal/danog/MadelineProto/Stream/Common/SimpleBufferedRawStream.md index d224eb57..10c976cb 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/Common/SimpleBufferedRawStream.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/Common/SimpleBufferedRawStream.md @@ -14,8 +14,6 @@ Buffered raw stream. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `bufferReadGenerator(int $length): \Generator` * `getStream(): \danog\MadelineProto\Stream\RawStreamInterface` @@ -46,6 +44,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getStream(): \danog\MadelineProto\Stream\RawStreamInterface` @@ -57,12 +57,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getName(): string` Get class name. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `connect(\danog\MadelineProto\Stream\ConnectionContext $ctx): \Generator` @@ -79,6 +83,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `read(): \Amp\Promise` @@ -90,6 +96,8 @@ Async chunked read. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `write(string $data): \Amp\Promise` @@ -105,12 +113,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `disconnect(): void` Async close. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getReadBuffer(int $length): \Amp\Promise` @@ -126,6 +138,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWriteBuffer(int $length): \Amp\Promise` @@ -141,6 +155,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `bufferRead(int $length): \Amp\Promise` @@ -156,6 +172,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `bufferWrite(string $data): \Amp\Promise` @@ -171,12 +189,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `bufferClear(): string` Get remaining data from buffer. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSocket(): \Amp\Socket\Socket` @@ -188,4 +210,8 @@ Get remaining data from buffer. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/Common/UdpBufferedStream.md b/docs/PHPInternal/danog/MadelineProto/Stream/Common/UdpBufferedStream.md index 4eae7c72..05c9e635 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/Common/UdpBufferedStream.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/Common/UdpBufferedStream.md @@ -14,8 +14,6 @@ UDP stream wrapper. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `connect(\danog\MadelineProto\Stream\ConnectionContext $ctx): \Generator` * `disconnect(): \Amp\Promise` @@ -44,6 +42,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `disconnect(): \Amp\Promise` @@ -55,6 +55,8 @@ Async close. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getReadBufferGenerator(int $length): \Generator` @@ -77,6 +79,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWriteBuffer(int $length): \Amp\Promise` @@ -92,6 +96,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSocket(): \Amp\Socket\EncryptableSocket` @@ -103,6 +109,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getStream(): \danog\MadelineProto\Stream\RawStreamInterface` @@ -114,6 +122,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `read(): \Amp\Promise` @@ -125,6 +135,8 @@ Async chunked read. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `write(string $data): \Amp\Promise` @@ -140,12 +152,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `close(): void` Close. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getReadBuffer(int $length): \Amp\Promise` @@ -161,4 +177,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/ConnectionContext.md b/docs/PHPInternal/danog/MadelineProto/Stream/ConnectionContext.md index a2f72dcb..ed011fed 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/ConnectionContext.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/ConnectionContext.md @@ -16,8 +16,6 @@ Is responsible for maintaining state about a certain connection to a DC. That includes the Stream chain that is required to use the connection, the connection URI, and other connection-related data. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `setSocketContext(\Amp\Socket\ConnectContext $socketContext): self` * `getSocketContext(): \Amp\Socket\ConnectContext` @@ -65,6 +63,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSocketContext(): \Amp\Socket\ConnectContext` @@ -76,6 +76,8 @@ Get the socket context. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setUri(string|\Psr\Http\Message\UriInterface $uri): self` @@ -91,12 +93,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getStringUri(): string` Get the URI as a string. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getUri(): \Psr\Http\Message\UriInterface` @@ -108,6 +114,8 @@ Get the URI. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setCancellationToken(\Amp\CancellationToken $cancellationToken): self` @@ -123,6 +131,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCancellationToken(): \Amp\CancellationToken` @@ -134,12 +144,16 @@ Get the cancellation token. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCtx(): self` Return a clone of the current connection context. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setTest(bool $test): self` @@ -150,30 +164,40 @@ Parameters: * `$test`: `bool` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isTest(): bool` Whether this is a test connection. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isMedia(): bool` Whether this is a media connection. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isCDN(): bool` Whether this is a CDN connection. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isDns(): bool` Whether this connection context will only be used by the DNS client. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setIsDns(bool $isDns): self` @@ -184,6 +208,8 @@ Parameters: * `$isDns`: `bool` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `secure(bool $secure): self` @@ -194,12 +220,16 @@ Parameters: * `$secure`: `bool` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isSecure(): bool` Whether to use TLS with socket connections. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setDc(string|int $dc): self` @@ -210,18 +240,24 @@ Parameters: * `$dc`: `string|int` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDc(): string|int` Get the DC ID. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getIntDc(): string|int` Get the int DC ID. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setIpv6(bool $ipv6): self` @@ -232,12 +268,16 @@ Parameters: * `$ipv6`: `bool` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getIpv6(): bool` Whether to use ipv6. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `addStream(string $streamName, mixed $extra): self` @@ -253,6 +293,8 @@ Parameters: * `$extra`: `mixed` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setReadCallback(callable $callable): void` @@ -263,24 +305,32 @@ Parameters: * `$callable`: `callable` Read callback +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasReadCallback(): bool` Check if a read callback is present. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getReadCallback(): callable` Get read callback. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getStreamName(): string` Get the current stream name from the stream chain. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasStreamName(string $stream): bool` @@ -291,6 +341,8 @@ Parameters: * `$stream`: `string` Stream name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getStream(): \Generator<\danog\MadelineProto\Stream\StreamInterface>` @@ -303,16 +355,24 @@ Get a stream from the stream chain. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getInputClientProxy(): array` Get the inputClientProxy proxy MTProto object. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getName(): string` Get a description "name" of the context. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoBufferInterface.md b/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoBufferInterface.md index 12576990..3bb8c80c 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoBufferInterface.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoBufferInterface.md @@ -13,6 +13,5 @@ MTProto buffer interface, for reading transport MTProto header info. - --- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). \ No newline at end of file +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoTransport/AbridgedStream.md b/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoTransport/AbridgedStream.md index 130b182d..fca558e5 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoTransport/AbridgedStream.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoTransport/AbridgedStream.md @@ -14,8 +14,6 @@ Abridged stream wrapper. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `connect(\danog\MadelineProto\Stream\ConnectionContext $ctx): \Generator` * `disconnect(): \Amp\Promise` @@ -42,6 +40,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `disconnect(): \Amp\Promise` @@ -53,6 +53,8 @@ Async close. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWriteBufferGenerator(int $length): \Generator` @@ -68,6 +70,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getReadBufferGenerator(int $length): \Generator` @@ -83,6 +87,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSocket(): \Amp\Socket\EncryptableSocket` @@ -94,6 +100,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getStream(): \danog\MadelineProto\Stream\RawStreamInterface` @@ -105,6 +113,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getReadBuffer(int $length): \Amp\Promise` @@ -120,6 +130,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWriteBuffer(int $length, string $append): \Amp\Promise` @@ -136,4 +148,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoTransport/FullStream.md b/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoTransport/FullStream.md index 1fa057da..40196076 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoTransport/FullStream.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoTransport/FullStream.md @@ -14,8 +14,6 @@ TCP full stream wrapper. Manages obfuscated2 encryption/decryption ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `connect(\danog\MadelineProto\Stream\ConnectionContext $ctx): \Generator` * `disconnect(): \Amp\Promise` @@ -42,6 +40,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `disconnect(): \Amp\Promise` @@ -53,6 +53,8 @@ Async close. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWriteBufferGenerator(int $length): \Generator` @@ -68,6 +70,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getReadBufferGenerator(int $length): \Generator` @@ -83,6 +87,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSocket(): \Amp\Socket\EncryptableSocket` @@ -94,6 +100,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getStream(): \danog\MadelineProto\Stream\RawStreamInterface` @@ -105,6 +113,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getReadBuffer(int $length): \Amp\Promise` @@ -120,6 +130,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWriteBuffer(int $length, string $append): \Amp\Promise` @@ -136,4 +148,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoTransport/HttpStream.md b/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoTransport/HttpStream.md index d929f58d..d5be1343 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoTransport/HttpStream.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoTransport/HttpStream.md @@ -14,8 +14,6 @@ HTTP stream wrapper. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `connect(\danog\MadelineProto\Stream\ConnectionContext $ctx): \Generator` * `setExtra(array $extra): void` @@ -43,6 +41,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setExtra(array $extra): void` @@ -53,6 +53,8 @@ Parameters: * `$extra`: `array` Proxy parameters +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `disconnect(): \Amp\Promise` @@ -64,6 +66,8 @@ Async close. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWriteBufferGenerator(int $length): \Generator` @@ -79,6 +83,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getReadBufferGenerator(int $length): \Generator` @@ -94,6 +100,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSocket(): \Amp\Socket\EncryptableSocket` @@ -105,6 +113,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getStream(): \danog\MadelineProto\Stream\RawStreamInterface` @@ -116,6 +126,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getReadBuffer(int $length): \Amp\Promise` @@ -131,6 +143,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWriteBuffer(int $length, string $append): \Amp\Promise` @@ -147,4 +161,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoTransport/HttpsStream.md b/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoTransport/HttpsStream.md index 311a9209..0f587c42 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoTransport/HttpsStream.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoTransport/HttpsStream.md @@ -14,8 +14,6 @@ HTTPS stream wrapper. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `connect(\danog\MadelineProto\Stream\ConnectionContext $ctx): \Generator` * `getStream(): \danog\MadelineProto\Stream\RawStreamInterface` @@ -43,6 +41,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getStream(): \danog\MadelineProto\Stream\RawStreamInterface` @@ -54,6 +54,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setExtra(array $extra): void` @@ -64,6 +66,8 @@ Parameters: * `$extra`: `array` Proxy parameters +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `disconnect(): \Amp\Promise` @@ -75,6 +79,8 @@ Async close. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWriteBufferGenerator(int $length): \Generator` @@ -90,6 +96,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getReadBufferGenerator(int $length): \Generator` @@ -105,6 +113,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSocket(): \Amp\Socket\EncryptableSocket` @@ -116,6 +126,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getReadBuffer(int $length): \Amp\Promise` @@ -131,6 +143,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWriteBuffer(int $length, string $append): \Amp\Promise` @@ -147,4 +161,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoTransport/IntermediatePaddedStream.md b/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoTransport/IntermediatePaddedStream.md index 3bd4402b..f2202f9f 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoTransport/IntermediatePaddedStream.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoTransport/IntermediatePaddedStream.md @@ -14,8 +14,6 @@ TCP Intermediate stream wrapper. Manages obfuscated2 encryption/decryption ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `connect(\danog\MadelineProto\Stream\ConnectionContext $ctx): \Generator` * `disconnect(): \Amp\Promise` @@ -42,6 +40,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `disconnect(): \Amp\Promise` @@ -53,6 +53,8 @@ Async close. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWriteBufferGenerator(int $length): \Generator` @@ -68,6 +70,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getReadBufferGenerator(int $length): \Generator` @@ -83,6 +87,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSocket(): \Amp\Socket\EncryptableSocket` @@ -94,6 +100,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getStream(): \danog\MadelineProto\Stream\RawStreamInterface` @@ -105,6 +113,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getReadBuffer(int $length): \Amp\Promise` @@ -120,6 +130,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWriteBuffer(int $length, string $append): \Amp\Promise` @@ -136,4 +148,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoTransport/IntermediateStream.md b/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoTransport/IntermediateStream.md index 2daf2ecf..6b1457a4 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoTransport/IntermediateStream.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoTransport/IntermediateStream.md @@ -14,8 +14,6 @@ TCP Intermediate stream wrapper. Manages obfuscated2 encryption/decryption ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `connect(\danog\MadelineProto\Stream\ConnectionContext $ctx): \Generator` * `disconnect(): \Amp\Promise` @@ -42,6 +40,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `disconnect(): \Amp\Promise` @@ -53,6 +53,8 @@ Async close. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWriteBufferGenerator(int $length): \Generator` @@ -68,6 +70,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getReadBufferGenerator(int $length): \Generator` @@ -83,6 +87,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSocket(): \Amp\Socket\EncryptableSocket` @@ -94,6 +100,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getStream(): \danog\MadelineProto\Stream\RawStreamInterface` @@ -105,6 +113,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getReadBuffer(int $length): \Amp\Promise` @@ -120,6 +130,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWriteBuffer(int $length, string $append): \Amp\Promise` @@ -136,4 +148,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoTransport/ObfuscatedStream.md b/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoTransport/ObfuscatedStream.md index ed8c5843..a2f3046a 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoTransport/ObfuscatedStream.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/MTProtoTransport/ObfuscatedStream.md @@ -14,8 +14,6 @@ Obfuscated2 stream wrapper. Manages obfuscated2 encryption/decryption ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `connect(\danog\MadelineProto\Stream\ConnectionContext $ctx): \Generator` * `setExtra(void $data): void` @@ -45,6 +43,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setExtra(void $data): void` @@ -55,6 +55,8 @@ Parameters: * `$data`: `void` Nothing +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `disconnect(): \Amp\Promise` @@ -66,6 +68,8 @@ Async close. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWriteBufferGenerator(int $length): \Generator` @@ -81,6 +85,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getReadBufferGenerator(int $length): \Generator` @@ -96,6 +102,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `bufferReadGenerator(\Amp\Promise $promise): \Generator That resolves with a string when the provided promise is resolved and the data is decrypted` @@ -113,6 +121,8 @@ Return value: That resolves with a string when the provided promise is resolved +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `bufferWrite(string $data): \Promise Succeeds once the data has been successfully written to the stream.` @@ -125,6 +135,8 @@ Parameters: Return value: Succeeds once the data has been successfully written to the stream. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSocket(): \Amp\Socket\EncryptableSocket` @@ -136,6 +148,8 @@ Return value: Succeeds once the data has been successfully written to the stream +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getStream(): \danog\MadelineProto\Stream\RawStreamInterface` @@ -147,6 +161,8 @@ Return value: Succeeds once the data has been successfully written to the stream +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getReadBuffer(int $length): \Amp\Promise` @@ -162,6 +178,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWriteBuffer(int $length, string $append): \Amp\Promise` @@ -178,4 +196,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/Proxy/HttpProxy.md b/docs/PHPInternal/danog/MadelineProto/Stream/Proxy/HttpProxy.md index 0031ed23..98d0e6a9 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/Proxy/HttpProxy.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/Proxy/HttpProxy.md @@ -14,8 +14,6 @@ HTTP proxy stream wrapper. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `connect(\danog\MadelineProto\Stream\ConnectionContext $ctx): \Generator` * `disconnect(): \Amp\Promise` @@ -41,6 +39,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `disconnect(): \Amp\Promise` @@ -52,6 +52,8 @@ Async close. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWriteBuffer(int $length): \Amp\Promise` @@ -67,6 +69,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getReadBuffer(int $length): \Amp\Promise` @@ -82,6 +86,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setExtra(array $extra): void` @@ -92,6 +98,8 @@ Parameters: * `$extra`: `array` Proxy data +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSocket(): \Amp\Socket\EncryptableSocket` @@ -103,6 +111,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getStream(): \danog\MadelineProto\Stream\RawStreamInterface` @@ -114,4 +124,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/Proxy/SocksProxy.md b/docs/PHPInternal/danog/MadelineProto/Stream/Proxy/SocksProxy.md index 38b7fb28..2b824d60 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/Proxy/SocksProxy.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/Proxy/SocksProxy.md @@ -14,8 +14,6 @@ Socks5 stream wrapper. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `connect(\danog\MadelineProto\Stream\ConnectionContext $ctx): \Generator` * `disconnect(): \Amp\Promise` @@ -41,6 +39,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `disconnect(): \Amp\Promise` @@ -52,6 +52,8 @@ Async close. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getWriteBuffer(int $length): \Amp\Promise` @@ -67,6 +69,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getReadBuffer(int $length): \Amp\Promise` @@ -82,6 +86,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setExtra(array $extra): void` @@ -92,6 +98,8 @@ Parameters: * `$extra`: `array` Proxy data +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getStream(): \danog\MadelineProto\Stream\RawStreamInterface` @@ -103,6 +111,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSocket(): \Amp\Socket\EncryptableSocket` @@ -114,4 +124,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/ProxyStreamInterface.md b/docs/PHPInternal/danog/MadelineProto/Stream/ProxyStreamInterface.md index caaa2280..ccc8de04 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/ProxyStreamInterface.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/ProxyStreamInterface.md @@ -14,8 +14,6 @@ Stream proxy interface. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `setExtra(mixed $extra): void` @@ -29,4 +27,8 @@ Parameters: * `$extra`: `mixed` Proxy data +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/RawProxyStreamInterface.md b/docs/PHPInternal/danog/MadelineProto/Stream/RawProxyStreamInterface.md index f7120b05..992705fc 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/RawProxyStreamInterface.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/RawProxyStreamInterface.md @@ -14,8 +14,6 @@ Raw stream proxy interface. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `read(): \Promise Resolves with a string when new data is available or `null` if the stream has closed.` * `write(string $data): \Promise Succeeds once the data has been successfully written to the stream.` @@ -42,6 +40,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `write(string $data): \Promise Succeeds once the data has been successfully written to the stream.` @@ -54,6 +54,8 @@ Parameters: Return value: Succeeds once the data has been successfully written to the stream. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `end(string $finalData): \Promise Succeeds once the data has been successfully written to the stream.` @@ -68,6 +70,8 @@ Parameters: Return value: Succeeds once the data has been successfully written to the stream. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `connect(\danog\MadelineProto\Stream\ConnectionContext $ctx): \Generator` @@ -84,12 +88,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `disconnect(): void` Disconnect from the server. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSocket(): \Amp\Socket\EncryptableSocket` @@ -101,6 +109,8 @@ Get underlying AMPHP socket resource. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setExtra(mixed $extra): void` @@ -111,4 +121,8 @@ Parameters: * `$extra`: `mixed` Proxy data +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/RawStreamInterface.md b/docs/PHPInternal/danog/MadelineProto/Stream/RawStreamInterface.md index 95f7a629..31e70574 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/RawStreamInterface.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/RawStreamInterface.md @@ -14,8 +14,6 @@ Raw stream interface. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `read(): \Promise Resolves with a string when new data is available or `null` if the stream has closed.` * `write(string $data): \Promise Succeeds once the data has been successfully written to the stream.` @@ -41,6 +39,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `write(string $data): \Promise Succeeds once the data has been successfully written to the stream.` @@ -53,6 +53,8 @@ Parameters: Return value: Succeeds once the data has been successfully written to the stream. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `end(string $finalData): \Promise Succeeds once the data has been successfully written to the stream.` @@ -67,6 +69,8 @@ Parameters: Return value: Succeeds once the data has been successfully written to the stream. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `connect(\danog\MadelineProto\Stream\ConnectionContext $ctx): \Generator` @@ -83,12 +87,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `disconnect(): void` Disconnect from the server. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSocket(): \Amp\Socket\EncryptableSocket` @@ -100,4 +108,8 @@ Get underlying AMPHP socket resource. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/ReadBufferInterface.md b/docs/PHPInternal/danog/MadelineProto/Stream/ReadBufferInterface.md index b54eac6c..0938571f 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/ReadBufferInterface.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/ReadBufferInterface.md @@ -14,8 +14,6 @@ Read buffer interface. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `bufferRead(int $length): \Amp\Promise` @@ -34,4 +32,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/StreamInterface.md b/docs/PHPInternal/danog/MadelineProto/Stream/StreamInterface.md index e040cef7..1c395756 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/StreamInterface.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/StreamInterface.md @@ -14,8 +14,6 @@ Generic stream interface. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `connect(\danog\MadelineProto\Stream\ConnectionContext $ctx): \Generator` * `disconnect(): void` @@ -37,12 +35,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `disconnect(): void` Disconnect from the server. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSocket(): \Amp\Socket\EncryptableSocket` @@ -54,4 +56,8 @@ Get underlying AMPHP socket resource. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/Transport/DefaultStream.md b/docs/PHPInternal/danog/MadelineProto/Stream/Transport/DefaultStream.md index 75b3424a..a4309687 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/Transport/DefaultStream.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/Transport/DefaultStream.md @@ -14,8 +14,6 @@ Default stream wrapper. Manages reading data in chunks ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getStream(): \Amp\Socket\EncryptableSocket` * `read(): \Amp\Promise` @@ -35,6 +33,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `read(): \Amp\Promise` @@ -46,6 +46,8 @@ Async chunked read. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `write(string $data): \Amp\Promise` @@ -61,18 +63,24 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `disconnect(): void` Close. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `close(): void` Close. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSocket(): \Amp\Socket\EncryptableSocket` @@ -84,4 +92,8 @@ Close. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/Transport/PremadeStream.md b/docs/PHPInternal/danog/MadelineProto/Stream/Transport/PremadeStream.md index ef97b94d..1bcab120 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/Transport/PremadeStream.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/Transport/PremadeStream.md @@ -14,8 +14,6 @@ Premade stream wrapper. Manages reading data in chunks ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `read(): \Amp\Promise` * `write(string $data): \Amp\Promise` @@ -34,6 +32,8 @@ Async chunked read. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `write(string $data): \Amp\Promise` @@ -49,12 +49,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `disconnect(): void` Async close. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSocket(): \Amp\Socket\Socket` @@ -66,10 +70,16 @@ Async close. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setExtra()` {@inheritdoc} +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/Transport/WsStream.md b/docs/PHPInternal/danog/MadelineProto/Stream/Transport/WsStream.md index 442799d6..2acec639 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/Transport/WsStream.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/Transport/WsStream.md @@ -14,8 +14,6 @@ Websocket stream wrapper. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `connect(\danog\MadelineProto\Stream\ConnectionContext $ctx): \Generator` * `disconnect()` @@ -38,12 +36,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `disconnect()` Async close. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `write(string $data): \Amp\Promise` @@ -59,6 +61,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSocket(): \Amp\Socket\EncryptableSocket` @@ -70,4 +74,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/Transport/WssStream.md b/docs/PHPInternal/danog/MadelineProto/Stream/Transport/WssStream.md index 24fd27c7..8c5f5e74 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/Transport/WssStream.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/Transport/WssStream.md @@ -14,8 +14,6 @@ Websocket TLS stream wrapper. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `connect(\danog\MadelineProto\Stream\ConnectionContext $ctx): \Generator` * `disconnect()` @@ -38,12 +36,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `disconnect()` Async close. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `write(string $data): \Amp\Promise` @@ -59,6 +61,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getSocket(): \Amp\Socket\EncryptableSocket` @@ -70,4 +74,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Stream/WriteBufferInterface.md b/docs/PHPInternal/danog/MadelineProto/Stream/WriteBufferInterface.md index eaf97394..69aeca60 100644 --- a/docs/PHPInternal/danog/MadelineProto/Stream/WriteBufferInterface.md +++ b/docs/PHPInternal/danog/MadelineProto/Stream/WriteBufferInterface.md @@ -14,8 +14,6 @@ Write buffer interface. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `bufferWrite(string $data): \Amp\Promise` @@ -34,4 +32,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/TL/Conversion/Exception.md b/docs/PHPInternal/danog/MadelineProto/TL/Conversion/Exception.md index b79fd07b..36690c0a 100644 --- a/docs/PHPInternal/danog/MadelineProto/TL/Conversion/Exception.md +++ b/docs/PHPInternal/danog/MadelineProto/TL/Conversion/Exception.md @@ -14,8 +14,6 @@ TL conversion exception. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `updateTLTrace(array $trace): void` * `getTLTrace(): string` @@ -32,12 +30,16 @@ Parameters: * `$trace`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTLTrace(): string` Get TL trace. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setTLTrace(string $tlTrace): void` @@ -48,6 +50,8 @@ Parameters: * `$tlTrace`: `string` TL trace +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `prettifyTL(string $init, array $trace): void` @@ -59,4 +63,8 @@ Parameters: * `$trace`: `array` Async trace +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/TL/Conversion/Extension.md b/docs/PHPInternal/danog/MadelineProto/TL/Conversion/Extension.md index 1b475cde..f96388bc 100644 --- a/docs/PHPInternal/danog/MadelineProto/TL/Conversion/Extension.md +++ b/docs/PHPInternal/danog/MadelineProto/TL/Conversion/Extension.md @@ -14,8 +14,6 @@ Manages generation of extensions for files. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getMimeFromExtension(string $extension, string $default): string` * `getExtensionFromMime(string $mime): string` @@ -34,6 +32,8 @@ Parameters: * `$default`: `string` Default mime type +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getExtensionFromMime(string $mime): string` @@ -44,6 +44,8 @@ Parameters: * `$mime`: `string` MIME type +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getExtensionFromLocation(mixed $location, string $default): string` @@ -55,6 +57,8 @@ Parameters: * `$default`: `string` Default extension +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromFile(string $file): string` @@ -65,6 +69,8 @@ Parameters: * `$file`: `string` File +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromBuffer(string $buffer): string` @@ -75,4 +81,8 @@ Parameters: * `$buffer`: `string` Buffer +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/TL/Exception.md b/docs/PHPInternal/danog/MadelineProto/TL/Exception.md index 8fecd0e4..091bf4f2 100644 --- a/docs/PHPInternal/danog/MadelineProto/TL/Exception.md +++ b/docs/PHPInternal/danog/MadelineProto/TL/Exception.md @@ -14,8 +14,6 @@ TL deserialization exception. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `updateTLTrace(array $trace): void` * `getTLTrace(): string` @@ -32,12 +30,16 @@ Parameters: * `$trace`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTLTrace(): string` Get TL trace. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setTLTrace(string $tlTrace): void` @@ -48,6 +50,8 @@ Parameters: * `$tlTrace`: `string` TL trace +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `prettifyTL(string $init, array $trace): void` @@ -59,4 +63,8 @@ Parameters: * `$trace`: `array` Async trace +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/TL/PrettyException.md b/docs/PHPInternal/danog/MadelineProto/TL/PrettyException.md index 6e7834e5..a5ffabc4 100644 --- a/docs/PHPInternal/danog/MadelineProto/TL/PrettyException.md +++ b/docs/PHPInternal/danog/MadelineProto/TL/PrettyException.md @@ -14,8 +14,6 @@ Handle async stack traces. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `updateTLTrace(array $trace): void` * `getTLTrace(): string` @@ -32,12 +30,16 @@ Parameters: * `$trace`: `array` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTLTrace(): string` Get TL trace. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setTLTrace(string $tlTrace): void` @@ -48,6 +50,8 @@ Parameters: * `$tlTrace`: `string` TL trace +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `prettifyTL(string $init, array $trace): void` @@ -59,4 +63,8 @@ Parameters: * `$trace`: `array` Async trace +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/TL/TL.md b/docs/PHPInternal/danog/MadelineProto/TL/TL.md index da3c3b5b..d650ff28 100644 --- a/docs/PHPInternal/danog/MadelineProto/TL/TL.md +++ b/docs/PHPInternal/danog/MadelineProto/TL/TL.md @@ -14,8 +14,6 @@ TL serialization. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getSecretLayer(): int` * `getConstructors(bool $td): \danog\MadelineProto\TL\TLConstructors` @@ -36,6 +34,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Get secret chat layer version. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getConstructors(bool $td): \danog\MadelineProto\TL\TLConstructors` @@ -51,6 +51,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMethods(bool $td): \danog\MadelineProto\TL\TLMethods` @@ -66,12 +68,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDescriptions(): array` Get TL descriptions. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `init(\danog\MadelineProto\Settings\TLSchema $files, \danog\MadelineProto\TL\TLCallback[] $objects): void` @@ -89,18 +95,24 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMethodNamespaces(): array` Get TL namespaces. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMethodsNamespaced(): array` Get namespaced methods (method => namespace). +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `updateCallbacks(\danog\MadelineProto\TL\TLCallback[] $objects): void` @@ -116,6 +128,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `serializeObject(array $type, mixed $object, string $ctx, int $layer): \Generator` @@ -138,6 +152,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `serializeMethod(string $method, mixed $arguments): \Generator` @@ -162,6 +178,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getLength(\resource|string $stream, array $type): int` @@ -178,6 +196,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `deserialize(string|\resource $stream, array $type): \Generator` @@ -195,4 +215,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/TL/TLCallback.md b/docs/PHPInternal/danog/MadelineProto/TL/TLCallback.md index b5374e56..6e79026e 100644 --- a/docs/PHPInternal/danog/MadelineProto/TL/TLCallback.md +++ b/docs/PHPInternal/danog/MadelineProto/TL/TLCallback.md @@ -14,8 +14,6 @@ Interface for managing TL serialization callbacks. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getMethodCallbacks(): array` * `getMethodBeforeCallbacks(): array` @@ -30,30 +28,40 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Called after serialization of method. Pass the method name and arguments +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMethodBeforeCallbacks(): array` Called right before serialization of method starts. Pass the method name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getConstructorCallbacks(): array` Called right after deserialization of object, passing the final object. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getConstructorBeforeCallbacks(): array` Called right before deserialization of object. Pass only the constructor name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getConstructorSerializeCallbacks(): array` Called right before serialization of constructor. Passed the object, will return a modified version. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getTypeMismatchCallbacks(): array` @@ -61,4 +69,8 @@ Called if objects of the specified type cannot be serialized. Passed the unserializable object, will try to convert it to an object of the proper type. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/TL/Types/Button.md b/docs/PHPInternal/danog/MadelineProto/TL/Types/Button.md index 36daafb6..96827d01 100644 --- a/docs/PHPInternal/danog/MadelineProto/TL/Types/Button.md +++ b/docs/PHPInternal/danog/MadelineProto/TL/Types/Button.md @@ -14,8 +14,6 @@ Clickable button. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `click(bool $donotwait): mixed` * `jsonSerialize(): array` @@ -34,12 +32,16 @@ Parameters: * `$donotwait`: `bool` Whether to wait for the result of the method +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `jsonSerialize(): array` Serialize button. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetSet( $name, mixed $value): void` @@ -51,6 +53,8 @@ Parameters: * `$value`: `mixed` Value +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetGet( $name): mixed` @@ -61,6 +65,8 @@ Parameters: * `$name`: `` Field name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetUnset( $name): void` @@ -71,6 +77,8 @@ Parameters: * `$name`: `` Offset +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetExists( $name): bool` @@ -81,4 +89,8 @@ Parameters: * `$name`: `` Offset +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/TL/Types/Bytes.md b/docs/PHPInternal/danog/MadelineProto/TL/Types/Bytes.md index 9a7e2836..69230a9d 100644 --- a/docs/PHPInternal/danog/MadelineProto/TL/Types/Bytes.md +++ b/docs/PHPInternal/danog/MadelineProto/TL/Types/Bytes.md @@ -14,8 +14,6 @@ Bytes wrapper. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `jsonSerialize(): array` * `offsetSet(int|null $offset, string $value): void` @@ -29,6 +27,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Obtain values for JSON-encoding. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetSet(int|null $offset, string $value): void` @@ -40,6 +40,8 @@ Parameters: * `$value`: `string` Char +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetGet(int $offset): string` @@ -50,6 +52,8 @@ Parameters: * `$offset`: `int` Name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetUnset(int $offset): void` @@ -60,6 +64,8 @@ Parameters: * `$offset`: `int` Offset +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `offsetExists(int $offset): bool` @@ -70,4 +76,8 @@ Parameters: * `$offset`: `int` Offset +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/TON/API.md b/docs/PHPInternal/danog/MadelineProto/TON/API.md index 25022c4b..cadca12e 100644 --- a/docs/PHPInternal/danog/MadelineProto/TON/API.md +++ b/docs/PHPInternal/danog/MadelineProto/TON/API.md @@ -14,8 +14,6 @@ TON API. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `after(\Generator|\Promise $a, \Generator|\Promise $b): \Amp\Promise` * `all((\Generator|\Promise)[] $promises): \Amp\Promise` @@ -97,6 +95,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `all((\Generator|\Promise)[] $promises): \Amp\Promise` @@ -114,6 +114,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `any((\Promise|\Generator)[] $promises): \Amp\Promise` @@ -131,6 +133,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `arr(mixed $params): array` @@ -141,6 +145,8 @@ Parameters: * `$params`: `mixed` Params +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `base64urlDecode(string $data): string` @@ -151,6 +157,8 @@ Parameters: * `$data`: `string` Data to decode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `base64urlEncode(string $data): string` @@ -161,6 +169,8 @@ Parameters: * `$data`: `string` Data to encode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `botAPItoMTProto(array $parameters): \Amp\Promise` @@ -176,6 +186,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `call(\Generator|\Promise|mixed $promise): \Amp\Promise` @@ -202,6 +214,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `callFork(\Generator|\Promise $promise, ?\Generator|\Promise $actual, string $file): \Amp\Promise|mixed` @@ -221,6 +235,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `callForkDefer(\Generator|\Promise $promise): void` @@ -237,6 +253,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `connect(string $config): \Amp\Promise` @@ -252,6 +270,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `echo(string $string): \Amp\Promise` @@ -267,6 +287,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `end(array $what): mixed` @@ -277,6 +299,8 @@ Parameters: * `$what`: `array` Array +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `first((\Promise|\Generator)[] $promises): \Amp\Promise` @@ -294,6 +318,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `flock(string $file, int $operation, float $polling, ?\Promise $token, ?callable $failureCb): \Amp\Promise` @@ -315,6 +341,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `genVectorHash(array $ints): \int Vector hash` @@ -327,6 +355,8 @@ Parameters: Return value: Vector hash +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getExtensionFromLocation(mixed $location, string $default): string` @@ -338,6 +368,8 @@ Parameters: * `$default`: `string` Default extension +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getExtensionFromMime(string $mime): string` @@ -348,6 +380,8 @@ Parameters: * `$mime`: `string` MIME type +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMethodNamespaces(): mixed` @@ -363,6 +397,8 @@ array|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromBuffer(string $buffer): string` @@ -373,6 +409,8 @@ Parameters: * `$buffer`: `string` Buffer +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromExtension(string $extension, string $default): string` @@ -384,6 +422,8 @@ Parameters: * `$default`: `string` Default mime type +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromFile(string $file): string` @@ -394,6 +434,8 @@ Parameters: * `$file`: `string` File +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getVar(object $obj, string $var): mixed` @@ -405,6 +447,8 @@ Parameters: * `$var`: `string` Attribute name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasVar(object $obj, string $var): bool` @@ -416,6 +460,8 @@ Parameters: * `$var`: `string` Attribute name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `inflateStripped(string $stripped): \string JPG payload` @@ -428,12 +474,16 @@ Parameters: Return value: JPG payload +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isAltervista(): bool` Whether this is altervista. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isArrayOrAlike(mixed $var): bool` @@ -444,6 +494,8 @@ Parameters: * `$var`: `mixed` Value to check +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `logger(string $param, int $level, string $file): mixed` @@ -465,6 +517,8 @@ void|\Amp\Promise +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `loop(callable $func): \Amp\Promise` @@ -480,6 +534,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `markdownEscape(string $hwat): string` @@ -490,6 +546,8 @@ Parameters: * `$hwat`: `string` String to escape +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodCall(string $methodName, array $args): \Amp\Promise` @@ -506,6 +564,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodEscape(string $method): string` @@ -516,6 +576,8 @@ Parameters: * `$method`: `string` Method name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packDouble(float $value): string` @@ -526,6 +588,8 @@ Parameters: * `$value`: `float` Value to convert +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packSignedInt(int $value): string` @@ -536,6 +600,8 @@ Parameters: * `$value`: `int` Value to convert +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packSignedLong(int $value): string` @@ -546,6 +612,8 @@ Parameters: * `$value`: `int` Value to convert +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packUnsignedInt(int $value): string` @@ -556,6 +624,8 @@ Parameters: * `$value`: `int` Value +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `posmod(int $a, int $b): \int Modulo` @@ -570,6 +640,8 @@ Parameters: Return value: Modulo +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `random(int $length): \string Random string` @@ -582,6 +654,8 @@ Parameters: Return value: Random string +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `randomInt(int $modulus): int` @@ -592,6 +666,8 @@ Parameters: * `$modulus`: `int` Modulus +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `readLine(string $prompt): \Amp\Promise` @@ -607,6 +683,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rethrow(\Throwable $e, string $file): void` @@ -623,6 +701,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rleDecode(string $string): string` @@ -633,6 +713,8 @@ Parameters: * `$string`: `string` Data to decode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rleEncode(string $string): string` @@ -643,6 +725,8 @@ Parameters: * `$string`: `string` Data to encode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setVar(object $obj, string $var, mixed $val): void` @@ -655,6 +739,8 @@ Parameters: * `$val`: `mixed` Attribute value +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `sleep(int|float $time): \Amp\Promise` @@ -670,6 +756,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `some((\Promise|\Generator)[] $promises): \Amp\Promise` @@ -687,6 +775,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `timeout(\Generator|\Promise $promise, int $timeout): \Amp\Promise` @@ -705,6 +795,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `timeoutWithDefault(\Promise|\Generator $promise, int $timeout, mixed $default): \Amp\Promise<\TReturn>|\Promise<\TReturnAlt>` @@ -737,6 +829,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `toCamelCase(string $input): string` @@ -747,6 +841,8 @@ Parameters: * `$input`: `string` String +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `toSnakeCase(string $input): string` @@ -757,6 +853,8 @@ Parameters: * `$input`: `string` String +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `typeEscape(string $type): string` @@ -767,6 +865,8 @@ Parameters: * `$type`: `string` String to escape +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackDouble(string $value): float` @@ -777,6 +877,8 @@ Parameters: * `$value`: `string` Value to unpack +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackSignedInt(string $value): int` @@ -787,6 +889,8 @@ Parameters: * `$value`: `string` base256 int +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackSignedLong(string $value): int` @@ -797,6 +901,8 @@ Parameters: * `$value`: `string` base256 long +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackSignedLongString(string $value): string` @@ -807,6 +913,8 @@ Parameters: * `$value`: `string` base256 long +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `wait(\Generator|\Promise $promise, bool $ignoreSignal): mixed` @@ -824,6 +932,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `async(bool $async): void` @@ -834,12 +944,16 @@ Parameters: * `$async`: `bool` Whether to enable or disable async +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `init(): void` Blockingly init. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `initAsynchronously(): \Generator` @@ -851,12 +965,16 @@ Asynchronously init. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `inited(): bool` Check if we've already inited. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `forceInit(bool $inited): void` @@ -867,4 +985,8 @@ Parameters: * `$inited`: `bool` Whether to mark the instance as inited or deinited +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/TON/Lite.md b/docs/PHPInternal/danog/MadelineProto/TON/Lite.md index 42b222ab..43d378fc 100644 --- a/docs/PHPInternal/danog/MadelineProto/TON/Lite.md +++ b/docs/PHPInternal/danog/MadelineProto/TON/Lite.md @@ -14,8 +14,6 @@ TON API. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `connect(string $config): \Generator` * `logger(string $param, int $level, string $file): void` @@ -39,6 +37,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `logger(string $param, int $level, string $file): void` @@ -51,6 +51,8 @@ Parameters: * `$file`: `string` File where the message originated +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodCall(string $methodName, array $args): \Generator` @@ -67,6 +69,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `loop(callable $func): \Generator` @@ -82,6 +86,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `botAPItoMTProto(array $parameters): \Generator` @@ -97,10 +103,16 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMethodNamespaces(): array` Get TL method namespaces. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Tools.md b/docs/PHPInternal/danog/MadelineProto/Tools.md index 95b4faec..65f2da5e 100644 --- a/docs/PHPInternal/danog/MadelineProto/Tools.md +++ b/docs/PHPInternal/danog/MadelineProto/Tools.md @@ -14,8 +14,6 @@ Some tools. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `genVectorHash(array $ints): \int Vector hash` * `randomInt(int $modulus): int` @@ -80,6 +78,8 @@ Parameters: Return value: Vector hash +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `randomInt(int $modulus): int` @@ -90,6 +90,8 @@ Parameters: * `$modulus`: `int` Modulus +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `random(int $length): \string Random string` @@ -102,6 +104,8 @@ Parameters: Return value: Random string +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `posmod(int $a, int $b): \int Modulo` @@ -116,6 +120,8 @@ Parameters: Return value: Modulo +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackSignedInt(string $value): int` @@ -126,6 +132,8 @@ Parameters: * `$value`: `string` base256 int +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackSignedLong(string $value): int` @@ -136,6 +144,8 @@ Parameters: * `$value`: `string` base256 long +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackSignedLongString(string $value): string` @@ -146,6 +156,8 @@ Parameters: * `$value`: `string` base256 long +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packSignedInt(int $value): string` @@ -156,6 +168,8 @@ Parameters: * `$value`: `int` Value to convert +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packSignedLong(int $value): string` @@ -166,6 +180,8 @@ Parameters: * `$value`: `int` Value to convert +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packUnsignedInt(int $value): string` @@ -176,6 +192,8 @@ Parameters: * `$value`: `int` Value +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `packDouble(float $value): string` @@ -186,6 +204,8 @@ Parameters: * `$value`: `float` Value to convert +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unpackDouble(string $value): float` @@ -196,6 +216,8 @@ Parameters: * `$value`: `string` Value to unpack +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `wait(\Generator|\Amp\Promise $promise, bool $ignoreSignal): mixed` @@ -213,6 +235,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `all((\Generator|\Amp\Promise)[] $promises): \Amp\Promise` @@ -229,6 +253,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `any((\Amp\Promise|\Generator)[] $promises): \Amp\Promise` @@ -245,6 +271,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `some((\Amp\Promise|\Generator)[] $promises): \Amp\Promise` @@ -261,6 +289,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `first((\Amp\Promise|\Generator)[] $promises): \Amp\Promise` @@ -277,6 +307,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `timeout(\Generator|\Amp\Promise $promise, int $timeout): \Amp\Promise` @@ -294,6 +326,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `timeoutWithDefault(\Amp\Promise|\Generator $promise, int $timeout, mixed $default): \Amp\Promise<\TReturn>|\Amp\Promise<\TReturnAlt>` @@ -325,6 +359,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `call(\Generator|\Amp\Promise|mixed $promise): \Amp\Promise` @@ -350,6 +386,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `callFork(\Generator|\Amp\Promise $promise, ?\Generator|\Amp\Promise $actual, string $file): \Amp\Promise|mixed` @@ -368,6 +406,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `callForkDefer(\Generator|\Amp\Promise $promise): void` @@ -384,6 +424,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rethrow(\Throwable $e, string $file): void` @@ -400,6 +442,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `after(\Generator|\Amp\Promise $a, \Generator|\Amp\Promise $b): \Amp\Promise` @@ -417,6 +461,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `flock(string $file, int $operation, float $polling, ?\Amp\Promise $token, ?callable $failureCb): \Amp\Promise` @@ -437,6 +483,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `sleep(int|float $time): \Amp\Promise` @@ -452,6 +500,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `readLine(string $prompt): \Amp\Promise` @@ -467,6 +517,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `echo(string $string): \Amp\Promise` @@ -482,6 +534,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isArrayOrAlike(mixed $var): bool` @@ -492,6 +546,8 @@ Parameters: * `$var`: `mixed` Value to check +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `arr(mixed $params): array` @@ -502,6 +558,8 @@ Parameters: * `$params`: `mixed` Params +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `base64urlDecode(string $data): string` @@ -512,6 +570,8 @@ Parameters: * `$data`: `string` Data to decode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `base64urlEncode(string $data): string` @@ -522,6 +582,8 @@ Parameters: * `$data`: `string` Data to encode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rleDecode(string $string): string` @@ -532,6 +594,8 @@ Parameters: * `$string`: `string` Data to decode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `rleEncode(string $string): string` @@ -542,6 +606,8 @@ Parameters: * `$string`: `string` Data to encode +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `inflateStripped(string $stripped): \string JPG payload` @@ -554,6 +620,8 @@ Parameters: Return value: JPG payload +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `end(array $what): mixed` @@ -564,12 +632,16 @@ Parameters: * `$what`: `array` Array +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `isAltervista(): bool` Whether this is altervista. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasVar(object $obj, string $var): bool` @@ -581,6 +653,8 @@ Parameters: * `$var`: `string` Attribute name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getVar(object $obj, string $var): mixed` @@ -592,6 +666,8 @@ Parameters: * `$var`: `string` Attribute name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setVar(object $obj, string $var, mixed $val): void` @@ -604,6 +680,8 @@ Parameters: * `$val`: `mixed` Attribute value +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `toCamelCase(string $input): string` @@ -614,6 +692,8 @@ Parameters: * `$input`: `string` String +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `toSnakeCase(string $input): string` @@ -624,6 +704,8 @@ Parameters: * `$input`: `string` String +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `markdownEscape(string $hwat): string` @@ -634,6 +716,8 @@ Parameters: * `$hwat`: `string` String to escape +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `typeEscape(string $type): string` @@ -644,6 +728,8 @@ Parameters: * `$type`: `string` String to escape +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `methodEscape(string $method): string` @@ -654,6 +740,8 @@ Parameters: * `$method`: `string` Method name +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromExtension(string $extension, string $default): string` @@ -665,6 +753,8 @@ Parameters: * `$default`: `string` Default mime type +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getExtensionFromMime(string $mime): string` @@ -675,6 +765,8 @@ Parameters: * `$mime`: `string` MIME type +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getExtensionFromLocation(mixed $location, string $default): string` @@ -686,6 +778,8 @@ Parameters: * `$default`: `string` Default extension +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromFile(string $file): string` @@ -696,6 +790,8 @@ Parameters: * `$file`: `string` File +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMimeFromBuffer(string $buffer): string` @@ -706,4 +802,8 @@ Parameters: * `$buffer`: `string` Buffer +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/VoIP/AuthKeyHandler.md b/docs/PHPInternal/danog/MadelineProto/VoIP/AuthKeyHandler.md index 52d477ad..6f330e9b 100644 --- a/docs/PHPInternal/danog/MadelineProto/VoIP/AuthKeyHandler.md +++ b/docs/PHPInternal/danog/MadelineProto/VoIP/AuthKeyHandler.md @@ -16,8 +16,6 @@ https://core.telegram.org/mtproto/auth_key https://core.telegram.org/mtproto/samples-auth_key ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `requestCall(mixed $user): \Generator` * `acceptCall(array $call): \Generator` @@ -42,6 +40,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `acceptCall(array $call): \Generator` @@ -57,6 +57,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `confirmCall(array $params): \Generator` @@ -72,6 +74,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `completeCall(array $params): \Generator` @@ -87,6 +91,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `callStatus(int $id): int` @@ -97,6 +103,8 @@ Parameters: * `$id`: `int` Call ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getCall(int $call): array` @@ -107,6 +115,8 @@ Parameters: * `$call`: `int` Call ID +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `discardCall(array $call, array $reason, array $rating, bool $need_debug): \Generator` @@ -125,4 +135,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/VoIPServerConfig.md b/docs/PHPInternal/danog/MadelineProto/VoIPServerConfig.md index d25780ea..53c01a1e 100644 --- a/docs/PHPInternal/danog/MadelineProto/VoIPServerConfig.md +++ b/docs/PHPInternal/danog/MadelineProto/VoIPServerConfig.md @@ -14,8 +14,6 @@ Manages storage of VoIP server config. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `update(array $config): void` * `get(): \array The settings` @@ -33,6 +31,8 @@ Parameters: * `$config`: `array` The settings +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `get(): \array The settings` @@ -41,6 +41,8 @@ Get shared call settings. Return value: The settings +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `updateDefault(array $configDefault): void` @@ -51,6 +53,8 @@ Parameters: * `$configDefault`: `array` The settings +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getDefault(): \array The settings` @@ -59,10 +63,16 @@ Get default shared call settings. Return value: The settings +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFinal(): void` Get final settings. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Wrappers/Callback.md b/docs/PHPInternal/danog/MadelineProto/Wrappers/Callback.md index 2868e1c9..d2cc4ddd 100644 --- a/docs/PHPInternal/danog/MadelineProto/Wrappers/Callback.md +++ b/docs/PHPInternal/danog/MadelineProto/Wrappers/Callback.md @@ -14,8 +14,6 @@ Manages logging in and out. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `setCallback(callable $callback): void` @@ -29,4 +27,8 @@ Parameters: * `$callback`: `callable` Callback +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Wrappers/DialogHandler.md b/docs/PHPInternal/danog/MadelineProto/Wrappers/DialogHandler.md index fabd94e2..16a25346 100644 --- a/docs/PHPInternal/danog/MadelineProto/Wrappers/DialogHandler.md +++ b/docs/PHPInternal/danog/MadelineProto/Wrappers/DialogHandler.md @@ -14,8 +14,6 @@ Dialog handler. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `getDialogs(bool $force): \Generator` * `getFullDialogs(bool $force): \Generator` @@ -40,6 +38,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getFullDialogs(bool $force): \Generator` @@ -55,6 +55,10 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ## Properties -* `$settings`: `\Settings` Settings \ No newline at end of file +* `$settings`: `\Settings` Settings +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Wrappers/Events.md b/docs/PHPInternal/danog/MadelineProto/Wrappers/Events.md index 5f1699b1..58780f68 100644 --- a/docs/PHPInternal/danog/MadelineProto/Wrappers/Events.md +++ b/docs/PHPInternal/danog/MadelineProto/Wrappers/Events.md @@ -14,8 +14,6 @@ Event handler. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `setEventHandler(class-string<\danog\MadelineProto\EventHandler> $eventHandler): \Generator` * `unsetEventHandler(bool $disableUpdateHandling): void` @@ -38,6 +36,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `unsetEventHandler(bool $disableUpdateHandling): void` @@ -48,6 +48,8 @@ Parameters: * `$disableUpdateHandling`: `bool` Whether to also disable internal update handling (will cause errors, otherwise will simply use the NOOP handler) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getEventHandler(): \danog\MadelineProto\EventHandler` @@ -59,12 +61,18 @@ Get event handler. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasEventHandler(): bool` Check if an event handler instance is present. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ## Properties -* `$settings`: `\Settings` Settings \ No newline at end of file +* `$settings`: `\Settings` Settings +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Wrappers/Login.md b/docs/PHPInternal/danog/MadelineProto/Wrappers/Login.md index d183f039..b3026a2a 100644 --- a/docs/PHPInternal/danog/MadelineProto/Wrappers/Login.md +++ b/docs/PHPInternal/danog/MadelineProto/Wrappers/Login.md @@ -14,8 +14,6 @@ Manages logging in and out. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `logout(): \Generator` * `botLogin(string $token): \Generator` @@ -38,6 +36,8 @@ Log out currently logged in user. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `botLogin(string $token): \Generator` @@ -53,6 +53,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `phoneLogin(string $number, int $sms_type): \Generator` @@ -69,6 +71,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `completePhoneLogin(string $code): \Generator` @@ -84,6 +88,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `importAuthorization(mixed $authorization): \Generator` @@ -99,6 +105,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `exportAuthorization(): \Generator` @@ -114,6 +122,8 @@ Fully typed return value: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `completeSignup(string $first_name, string $last_name): \Generator` @@ -130,6 +140,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `complete2faLogin(string $password): \Generator` @@ -145,6 +157,8 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `update2fa(array $params): \Generator` @@ -160,6 +174,10 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ## Properties -* `$settings`: `\Settings` Settings \ No newline at end of file +* `$settings`: `\Settings` Settings +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Wrappers/Loop.md b/docs/PHPInternal/danog/MadelineProto/Wrappers/Loop.md index 3134d1ed..eb085fa3 100644 --- a/docs/PHPInternal/danog/MadelineProto/Wrappers/Loop.md +++ b/docs/PHPInternal/danog/MadelineProto/Wrappers/Loop.md @@ -14,8 +14,6 @@ Manages logging in and out. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `initSelfRestart(): void` * `loop(callable|null $callback): \Generator` @@ -30,6 +28,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it). Initialize self-restart hack. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `loop(callable|null $callback): \Generator` @@ -45,18 +45,24 @@ Parameters: +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `stop(): void` Stop update loop. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `restart(): void` Restart update loop. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `loopFork(): \Amp\Promise` @@ -68,6 +74,8 @@ Start MadelineProto's update handling loop in background. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `closeConnection(string $message): void` @@ -78,6 +86,10 @@ Parameters: * `$message`: `string` Message +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ## Properties -* `$settings`: `\Settings` Settings \ No newline at end of file +* `$settings`: `\Settings` Settings +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Wrappers/Start.md b/docs/PHPInternal/danog/MadelineProto/Wrappers/Start.md index 770b8c24..702ec202 100644 --- a/docs/PHPInternal/danog/MadelineProto/Wrappers/Start.md +++ b/docs/PHPInternal/danog/MadelineProto/Wrappers/Start.md @@ -14,8 +14,6 @@ Manages simple logging in and out. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `start(): \Generator` @@ -30,6 +28,10 @@ Log in to telegram (via CLI or web). +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ## Properties -* `$settings`: `\Settings` Settings \ No newline at end of file +* `$settings`: `\Settings` Settings +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Wrappers/TOS.md b/docs/PHPInternal/danog/MadelineProto/Wrappers/TOS.md index 17fa7a50..ef3f8b3d 100644 --- a/docs/PHPInternal/danog/MadelineProto/Wrappers/TOS.md +++ b/docs/PHPInternal/danog/MadelineProto/Wrappers/TOS.md @@ -14,8 +14,6 @@ Manages terms of service. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `checkTos(): \Generator` * `acceptTos(): \Generator` @@ -32,6 +30,8 @@ Check for terms of service update. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `acceptTos(): \Generator` @@ -43,6 +43,8 @@ Accept terms of service update. +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `declineTos(): \Generator` @@ -54,4 +56,8 @@ THIS WILL DELETE YOUR ACCOUNT! +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHPInternal/danog/MadelineProto/Wrappers/Webhook.md b/docs/PHPInternal/danog/MadelineProto/Wrappers/Webhook.md index 2a66a7c5..731d0992 100644 --- a/docs/PHPInternal/danog/MadelineProto/Wrappers/Webhook.md +++ b/docs/PHPInternal/danog/MadelineProto/Wrappers/Webhook.md @@ -14,8 +14,6 @@ Manages logging in and out. ---- -Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Method list: * `setWebhook(string $hook_url, string $pem_path): void` @@ -30,6 +28,10 @@ Parameters: * `$pem_path`: `string` PEM path for self-signed certificate +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) ## Properties -* `$settings`: `\Settings` \ No newline at end of file +* `$settings`: `\Settings` +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it)