diff --git a/bot.php b/bot.php index 0d1479e1..637e6237 100755 --- a/bot.php +++ b/bot.php @@ -30,10 +30,9 @@ try { $offset = 0; while (true) { $updates = $MadelineProto->API->get_updates(['offset' => $offset, 'limit' => 50, 'timeout' => 0]); // Just like in the bot API, you can specify an offset, a limit and a timeout - var_dump($updates); + \danog\MadelineProto\Logger::log([$updates]); foreach ($updates as $update) { $offset = $update['update_id'] + 1; // Just like in the bot API, the offset must be set to the last update_id - //var_dump($update); switch ($update['update']['_']) { case 'updateNewMessage': case 'updateNewChannelMessage': @@ -45,7 +44,6 @@ while (true) { $res = var_export($update, true); } try { - //var_dump($update); $MadelineProto->messages->sendMessage(['peer' => $update['update']['message']['to_id'], 'message' => $res, 'reply_to_msg_id' => $update['update']['message']['id'], 'entities' => [['_' => 'messageEntityPre', 'offset' => 0, 'length' => strlen($res), 'language' => 'json']]]); } catch (\danog\MadelineProto\RPCErrorException $e) { $MadelineProto->messages->sendMessage(['peer' => '@danogentili', 'message' => $e->getCode().': '.$e->getMessage().PHP_EOL.$e->getTraceAsString()]); diff --git a/bots/pipesbot.php b/bots/pipesbot.php index 369d331c..237c7e19 100755 --- a/bots/pipesbot.php +++ b/bots/pipesbot.php @@ -18,12 +18,12 @@ $uMadelineProto = false; try { $MadelineProto = \danog\MadelineProto\Serialization::deserialize('pipesbot.madeline'); } catch (\danog\MadelineProto\Exception $e) { - var_dump($e->getMessage()); + \danog\MadelineProto\Logger::log([$e->getMessage()]); } try { $uMadelineProto = \danog\MadelineProto\Serialization::deserialize('pwr.madeline'); } catch (\danog\MadelineProto\Exception $e) { - var_dump($e->getMessage()); + \danog\MadelineProto\Logger::log([$e->getMessage()]); } if (file_exists('token.php') && $MadelineProto === false) { include_once 'token.php'; @@ -110,7 +110,6 @@ while (true) { $offset = $update['update_id'] + 1; // Just like in the bot API, the offset must be set to the last update_id switch ($update['update']['_']) { case 'updateNewMessage': -var_dump($update); if (isset($update['update']['message']['out']) && $update['update']['message']['out']) { continue; } diff --git a/bots/pwrtelegram_debug_bot.php b/bots/pwrtelegram_debug_bot.php index 99ac9a09..f41d7a75 100755 --- a/bots/pwrtelegram_debug_bot.php +++ b/bots/pwrtelegram_debug_bot.php @@ -97,16 +97,13 @@ function getfiles($token, &$params) $offset = 0; while (true) { $updates = $MadelineProto->API->get_updates(['offset' => $offset, 'limit' => 50, 'timeout' => 0]); // Just like in the bot API, you can specify an offset, a limit and a timeout -//var_dump($updates); foreach ($updates as $update) { $offset = $update['update_id'] + 1; // Just like in the bot API, the offset must be set to the last update_id - //var_dump($update); switch ($update['update']['_']) { case 'updateNewMessage': if (isset($update['update']['message']['out']) && $update['update']['message']['out']) { continue; } -var_dump($update); try { if (isset($update['update']['message']['media'])) { @@ -142,7 +139,6 @@ var_dump($update); if (isset($update['update']['message']['media']['document'])) { $mtproto['access_hash'] = $update['update']['message']['media']['document']['access_hash']; } - //var_dump($mtproto); foreach ($mtproto as $key => $n) { foreach ($bot_api as $bn) { if ($bn['number'] === $n) { diff --git a/callbot.php b/callbot.php index 682dafe0..416324c6 100755 --- a/callbot.php +++ b/callbot.php @@ -21,17 +21,15 @@ try { $offset = 0; while (true) { $updates = $MadelineProto->API->get_updates(['offset' => $offset, 'limit' => 50, 'timeout' => 0]); // Just like in the bot API, you can specify an offset, a limit and a timeout - var_dump($updates); + \danog\MadelineProto\Logger::log([$updates]); foreach ($updates as $update) { $offset = $update['update_id'] + 1; // Just like in the bot API, the offset must be set to the last update_id - //var_dump($update); switch ($update['update']['_']) { case 'updateNewMessage': if (isset($update['update']['message']['out']) && $update['update']['message']['out']) { continue; } try { - //var_dump($update); if ($update['update']['message']['message'] === 'callstorm') { $MadelineProto->messages->sendMessage(['peer' => $update['update']['message']['from_id'], 'message' => 'callstorming you', 'reply_to_msg_id' => $update['update']['message']['id']]); echo 'Wrote '.\danog\MadelineProto\Serialization::serialize('calls.madeline', $MadelineProto).' bytes'.PHP_EOL; diff --git a/docs/API_docs/constructors/boolFalse.md b/docs/API_docs/constructors/boolFalse.md index 3462a90f..509933a0 100644 --- a/docs/API_docs/constructors/boolFalse.md +++ b/docs/API_docs/constructors/boolFalse.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to false # boolFalse [Back to constructor index](index.md) - Represents a boolean with value equal to `false`. \ No newline at end of file + Represents a boolean with value equal to `false`. diff --git a/docs/API_docs/constructors/boolTrue.md b/docs/API_docs/constructors/boolTrue.md index 2b200e04..441228de 100644 --- a/docs/API_docs/constructors/boolTrue.md +++ b/docs/API_docs/constructors/boolTrue.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to true # boolTrue [Back to constructor index](index.md) -Represents a boolean with value equal to `true`. \ No newline at end of file +Represents a boolean with value equal to `true`. diff --git a/docs/API_docs/constructors/null.md b/docs/API_docs/constructors/null.md index e8f4db17..9d433233 100644 --- a/docs/API_docs/constructors/null.md +++ b/docs/API_docs/constructors/null.md @@ -5,4 +5,4 @@ description: Represents a null value # null [Back to constructor index](index.md) -Represents a `null` value. \ No newline at end of file +Represents a `null` value. diff --git a/docs/API_docs/types/!X.md b/docs/API_docs/types/!X.md index b52cc64f..7d81ce1f 100644 --- a/docs/API_docs/types/!X.md +++ b/docs/API_docs/types/!X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: !X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/docs/API_docs/types/Bool.md b/docs/API_docs/types/Bool.md index e108e862..ea4c7f07 100644 --- a/docs/API_docs/types/Bool.md +++ b/docs/API_docs/types/Bool.md @@ -5,4 +5,4 @@ description: Represents a boolean. # Bool [Back to types index](index.md) -Represents a boolean. \ No newline at end of file +Represents a boolean. diff --git a/docs/API_docs/types/DataJSON.md b/docs/API_docs/types/DataJSON.md index b43fab0e..bc20ab98 100644 --- a/docs/API_docs/types/DataJSON.md +++ b/docs/API_docs/types/DataJSON.md @@ -5,4 +5,4 @@ description: Any json-encodable data ## Type: DataJSON [Back to constructor index](index.md) -Any json-encodable data. \ No newline at end of file +Any json-encodable data. diff --git a/docs/API_docs/types/X.md b/docs/API_docs/types/X.md index ca50e8ae..250b999c 100644 --- a/docs/API_docs/types/X.md +++ b/docs/API_docs/types/X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/docs/API_docs/types/bytes.md b/docs/API_docs/types/bytes.md index 583bb956..4d3b96b4 100644 --- a/docs/API_docs/types/bytes.md +++ b/docs/API_docs/types/bytes.md @@ -5,4 +5,4 @@ description: A string of variable length ## Type: bytes [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length, with length smaller than or equal to 16777215. diff --git a/docs/API_docs/types/double.md b/docs/API_docs/types/double.md index 9e7ac255..413a1661 100644 --- a/docs/API_docs/types/double.md +++ b/docs/API_docs/types/double.md @@ -5,4 +5,4 @@ description: A double precision floating point number ## Type: double [Back to constructor index](index.md) -A double precision floating point number, single precision can also be used (float). \ No newline at end of file +A double precision floating point number, single precision can also be used (float). diff --git a/docs/API_docs/types/int.md b/docs/API_docs/types/int.md index a8ba6976..7525a3a4 100644 --- a/docs/API_docs/types/int.md +++ b/docs/API_docs/types/int.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -2147483647 to 2147483647 ## Type: int [Back to constructor index](index.md) -A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. diff --git a/docs/API_docs/types/int128.md b/docs/API_docs/types/int128.md index 43471bd6..c681fb75 100644 --- a/docs/API_docs/types/int128.md +++ b/docs/API_docs/types/int128.md @@ -5,4 +5,4 @@ description: A 128 bit signed integer ## Type: int128 [Back to constructor index](index.md) -A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 128 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/docs/API_docs/types/int256.md b/docs/API_docs/types/int256.md index 73e056e8..52fb9420 100644 --- a/docs/API_docs/types/int256.md +++ b/docs/API_docs/types/int256.md @@ -5,4 +5,4 @@ description: A 256 bit signed integer ## Type: int256 [Back to constructor index](index.md) -A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 256 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/docs/API_docs/types/int512.md b/docs/API_docs/types/int512.md index 0b3b1a55..1f848608 100644 --- a/docs/API_docs/types/int512.md +++ b/docs/API_docs/types/int512.md @@ -5,4 +5,4 @@ description: A 512 bit signed integer ## Type: int512 [Back to constructor index](index.md) -A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 512 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/docs/API_docs/types/long.md b/docs/API_docs/types/long.md index 487295f5..d394ca44 100644 --- a/docs/API_docs/types/long.md +++ b/docs/API_docs/types/long.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -9223372036854775807 to 922337 ## Type: long [Back to constructor index](index.md) -A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. diff --git a/docs/API_docs/types/string.md b/docs/API_docs/types/string.md index 7682db48..ade2fcb4 100644 --- a/docs/API_docs/types/string.md +++ b/docs/API_docs/types/string.md @@ -5,4 +5,4 @@ description: A UTF8 string of variable length ## Type: string [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length. The total length in bytes of the string must not be bigger than 16777215. diff --git a/docs/MTProto_docs/constructors/boolFalse.md b/docs/MTProto_docs/constructors/boolFalse.md index 3462a90f..509933a0 100644 --- a/docs/MTProto_docs/constructors/boolFalse.md +++ b/docs/MTProto_docs/constructors/boolFalse.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to false # boolFalse [Back to constructor index](index.md) - Represents a boolean with value equal to `false`. \ No newline at end of file + Represents a boolean with value equal to `false`. diff --git a/docs/MTProto_docs/constructors/boolTrue.md b/docs/MTProto_docs/constructors/boolTrue.md index 2b200e04..441228de 100644 --- a/docs/MTProto_docs/constructors/boolTrue.md +++ b/docs/MTProto_docs/constructors/boolTrue.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to true # boolTrue [Back to constructor index](index.md) -Represents a boolean with value equal to `true`. \ No newline at end of file +Represents a boolean with value equal to `true`. diff --git a/docs/MTProto_docs/constructors/null.md b/docs/MTProto_docs/constructors/null.md index e8f4db17..9d433233 100644 --- a/docs/MTProto_docs/constructors/null.md +++ b/docs/MTProto_docs/constructors/null.md @@ -5,4 +5,4 @@ description: Represents a null value # null [Back to constructor index](index.md) -Represents a `null` value. \ No newline at end of file +Represents a `null` value. diff --git a/docs/MTProto_docs/types/!X.md b/docs/MTProto_docs/types/!X.md index b52cc64f..7d81ce1f 100644 --- a/docs/MTProto_docs/types/!X.md +++ b/docs/MTProto_docs/types/!X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: !X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/docs/MTProto_docs/types/Bool.md b/docs/MTProto_docs/types/Bool.md index e108e862..ea4c7f07 100644 --- a/docs/MTProto_docs/types/Bool.md +++ b/docs/MTProto_docs/types/Bool.md @@ -5,4 +5,4 @@ description: Represents a boolean. # Bool [Back to types index](index.md) -Represents a boolean. \ No newline at end of file +Represents a boolean. diff --git a/docs/MTProto_docs/types/DataJSON.md b/docs/MTProto_docs/types/DataJSON.md index b43fab0e..bc20ab98 100644 --- a/docs/MTProto_docs/types/DataJSON.md +++ b/docs/MTProto_docs/types/DataJSON.md @@ -5,4 +5,4 @@ description: Any json-encodable data ## Type: DataJSON [Back to constructor index](index.md) -Any json-encodable data. \ No newline at end of file +Any json-encodable data. diff --git a/docs/MTProto_docs/types/X.md b/docs/MTProto_docs/types/X.md index ca50e8ae..250b999c 100644 --- a/docs/MTProto_docs/types/X.md +++ b/docs/MTProto_docs/types/X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/docs/MTProto_docs/types/bytes.md b/docs/MTProto_docs/types/bytes.md index 583bb956..4d3b96b4 100644 --- a/docs/MTProto_docs/types/bytes.md +++ b/docs/MTProto_docs/types/bytes.md @@ -5,4 +5,4 @@ description: A string of variable length ## Type: bytes [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length, with length smaller than or equal to 16777215. diff --git a/docs/MTProto_docs/types/double.md b/docs/MTProto_docs/types/double.md index 9e7ac255..413a1661 100644 --- a/docs/MTProto_docs/types/double.md +++ b/docs/MTProto_docs/types/double.md @@ -5,4 +5,4 @@ description: A double precision floating point number ## Type: double [Back to constructor index](index.md) -A double precision floating point number, single precision can also be used (float). \ No newline at end of file +A double precision floating point number, single precision can also be used (float). diff --git a/docs/MTProto_docs/types/int.md b/docs/MTProto_docs/types/int.md index a8ba6976..7525a3a4 100644 --- a/docs/MTProto_docs/types/int.md +++ b/docs/MTProto_docs/types/int.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -2147483647 to 2147483647 ## Type: int [Back to constructor index](index.md) -A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. diff --git a/docs/MTProto_docs/types/int128.md b/docs/MTProto_docs/types/int128.md index 43471bd6..c681fb75 100644 --- a/docs/MTProto_docs/types/int128.md +++ b/docs/MTProto_docs/types/int128.md @@ -5,4 +5,4 @@ description: A 128 bit signed integer ## Type: int128 [Back to constructor index](index.md) -A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 128 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/docs/MTProto_docs/types/int256.md b/docs/MTProto_docs/types/int256.md index 73e056e8..52fb9420 100644 --- a/docs/MTProto_docs/types/int256.md +++ b/docs/MTProto_docs/types/int256.md @@ -5,4 +5,4 @@ description: A 256 bit signed integer ## Type: int256 [Back to constructor index](index.md) -A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 256 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/docs/MTProto_docs/types/int512.md b/docs/MTProto_docs/types/int512.md index 0b3b1a55..1f848608 100644 --- a/docs/MTProto_docs/types/int512.md +++ b/docs/MTProto_docs/types/int512.md @@ -5,4 +5,4 @@ description: A 512 bit signed integer ## Type: int512 [Back to constructor index](index.md) -A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 512 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/docs/MTProto_docs/types/long.md b/docs/MTProto_docs/types/long.md index 487295f5..d394ca44 100644 --- a/docs/MTProto_docs/types/long.md +++ b/docs/MTProto_docs/types/long.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -9223372036854775807 to 922337 ## Type: long [Back to constructor index](index.md) -A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. diff --git a/docs/MTProto_docs/types/string.md b/docs/MTProto_docs/types/string.md index 7682db48..ade2fcb4 100644 --- a/docs/MTProto_docs/types/string.md +++ b/docs/MTProto_docs/types/string.md @@ -5,4 +5,4 @@ description: A UTF8 string of variable length ## Type: string [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length. The total length in bytes of the string must not be bigger than 16777215. diff --git a/docs/TD_docs/constructors/boolFalse.md b/docs/TD_docs/constructors/boolFalse.md index 3462a90f..509933a0 100644 --- a/docs/TD_docs/constructors/boolFalse.md +++ b/docs/TD_docs/constructors/boolFalse.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to false # boolFalse [Back to constructor index](index.md) - Represents a boolean with value equal to `false`. \ No newline at end of file + Represents a boolean with value equal to `false`. diff --git a/docs/TD_docs/constructors/boolTrue.md b/docs/TD_docs/constructors/boolTrue.md index 2b200e04..441228de 100644 --- a/docs/TD_docs/constructors/boolTrue.md +++ b/docs/TD_docs/constructors/boolTrue.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to true # boolTrue [Back to constructor index](index.md) -Represents a boolean with value equal to `true`. \ No newline at end of file +Represents a boolean with value equal to `true`. diff --git a/docs/TD_docs/constructors/null.md b/docs/TD_docs/constructors/null.md index e8f4db17..9d433233 100644 --- a/docs/TD_docs/constructors/null.md +++ b/docs/TD_docs/constructors/null.md @@ -5,4 +5,4 @@ description: Represents a null value # null [Back to constructor index](index.md) -Represents a `null` value. \ No newline at end of file +Represents a `null` value. diff --git a/docs/TD_docs/types/!X.md b/docs/TD_docs/types/!X.md index b52cc64f..7d81ce1f 100644 --- a/docs/TD_docs/types/!X.md +++ b/docs/TD_docs/types/!X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: !X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/docs/TD_docs/types/Bool.md b/docs/TD_docs/types/Bool.md index e108e862..ea4c7f07 100644 --- a/docs/TD_docs/types/Bool.md +++ b/docs/TD_docs/types/Bool.md @@ -5,4 +5,4 @@ description: Represents a boolean. # Bool [Back to types index](index.md) -Represents a boolean. \ No newline at end of file +Represents a boolean. diff --git a/docs/TD_docs/types/DataJSON.md b/docs/TD_docs/types/DataJSON.md index b43fab0e..bc20ab98 100644 --- a/docs/TD_docs/types/DataJSON.md +++ b/docs/TD_docs/types/DataJSON.md @@ -5,4 +5,4 @@ description: Any json-encodable data ## Type: DataJSON [Back to constructor index](index.md) -Any json-encodable data. \ No newline at end of file +Any json-encodable data. diff --git a/docs/TD_docs/types/X.md b/docs/TD_docs/types/X.md index ca50e8ae..250b999c 100644 --- a/docs/TD_docs/types/X.md +++ b/docs/TD_docs/types/X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/docs/TD_docs/types/bytes.md b/docs/TD_docs/types/bytes.md index 583bb956..4d3b96b4 100644 --- a/docs/TD_docs/types/bytes.md +++ b/docs/TD_docs/types/bytes.md @@ -5,4 +5,4 @@ description: A string of variable length ## Type: bytes [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length, with length smaller than or equal to 16777215. diff --git a/docs/TD_docs/types/double.md b/docs/TD_docs/types/double.md index 9e7ac255..413a1661 100644 --- a/docs/TD_docs/types/double.md +++ b/docs/TD_docs/types/double.md @@ -5,4 +5,4 @@ description: A double precision floating point number ## Type: double [Back to constructor index](index.md) -A double precision floating point number, single precision can also be used (float). \ No newline at end of file +A double precision floating point number, single precision can also be used (float). diff --git a/docs/TD_docs/types/int.md b/docs/TD_docs/types/int.md index a8ba6976..7525a3a4 100644 --- a/docs/TD_docs/types/int.md +++ b/docs/TD_docs/types/int.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -2147483647 to 2147483647 ## Type: int [Back to constructor index](index.md) -A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. diff --git a/docs/TD_docs/types/int128.md b/docs/TD_docs/types/int128.md index 43471bd6..c681fb75 100644 --- a/docs/TD_docs/types/int128.md +++ b/docs/TD_docs/types/int128.md @@ -5,4 +5,4 @@ description: A 128 bit signed integer ## Type: int128 [Back to constructor index](index.md) -A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 128 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/docs/TD_docs/types/int256.md b/docs/TD_docs/types/int256.md index 73e056e8..52fb9420 100644 --- a/docs/TD_docs/types/int256.md +++ b/docs/TD_docs/types/int256.md @@ -5,4 +5,4 @@ description: A 256 bit signed integer ## Type: int256 [Back to constructor index](index.md) -A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 256 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/docs/TD_docs/types/int512.md b/docs/TD_docs/types/int512.md index 0b3b1a55..1f848608 100644 --- a/docs/TD_docs/types/int512.md +++ b/docs/TD_docs/types/int512.md @@ -5,4 +5,4 @@ description: A 512 bit signed integer ## Type: int512 [Back to constructor index](index.md) -A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 512 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/docs/TD_docs/types/long.md b/docs/TD_docs/types/long.md index 487295f5..d394ca44 100644 --- a/docs/TD_docs/types/long.md +++ b/docs/TD_docs/types/long.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -9223372036854775807 to 922337 ## Type: long [Back to constructor index](index.md) -A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. diff --git a/docs/TD_docs/types/string.md b/docs/TD_docs/types/string.md index 7682db48..ade2fcb4 100644 --- a/docs/TD_docs/types/string.md +++ b/docs/TD_docs/types/string.md @@ -5,4 +5,4 @@ description: A UTF8 string of variable length ## Type: string [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length. The total length in bytes of the string must not be bigger than 16777215. diff --git a/docs/index.md b/docs/index.md index 66b378b9..5826075c 100644 --- a/docs/index.md +++ b/docs/index.md @@ -121,7 +121,7 @@ $MadelineProto = new \danog\MadelineProto\API(); ### Settings The constructor accepts an optional parameter, which is the settings array. This array contains some other arrays, which are the settings for a specific MadelineProto function. -See [here](https://github.com/danog/MadelineProto/blob/master/src/danog/MadelineProto/MTProto.php#L99) for the default values for the settings arrays and explanations for every setting. +See [here](https://github.com/danog/MadelineProto/blob/master/src/danog/MadelineProto/MTProto.php#L232) for the default values for the settings arrays and explanations for every setting. You can provide part of any subsetting array, that way the remaining arrays will be automagically set to default and undefined values of specified subsetting arrays will be set to the default values. Example: diff --git a/old_docs/API_docs_v18/constructors/boolFalse.md b/old_docs/API_docs_v18/constructors/boolFalse.md index 3462a90f..509933a0 100644 --- a/old_docs/API_docs_v18/constructors/boolFalse.md +++ b/old_docs/API_docs_v18/constructors/boolFalse.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to false # boolFalse [Back to constructor index](index.md) - Represents a boolean with value equal to `false`. \ No newline at end of file + Represents a boolean with value equal to `false`. diff --git a/old_docs/API_docs_v18/constructors/boolTrue.md b/old_docs/API_docs_v18/constructors/boolTrue.md index 2b200e04..441228de 100644 --- a/old_docs/API_docs_v18/constructors/boolTrue.md +++ b/old_docs/API_docs_v18/constructors/boolTrue.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to true # boolTrue [Back to constructor index](index.md) -Represents a boolean with value equal to `true`. \ No newline at end of file +Represents a boolean with value equal to `true`. diff --git a/old_docs/API_docs_v18/constructors/null.md b/old_docs/API_docs_v18/constructors/null.md index e8f4db17..9d433233 100644 --- a/old_docs/API_docs_v18/constructors/null.md +++ b/old_docs/API_docs_v18/constructors/null.md @@ -5,4 +5,4 @@ description: Represents a null value # null [Back to constructor index](index.md) -Represents a `null` value. \ No newline at end of file +Represents a `null` value. diff --git a/old_docs/API_docs_v18/types/!X.md b/old_docs/API_docs_v18/types/!X.md index b52cc64f..7d81ce1f 100644 --- a/old_docs/API_docs_v18/types/!X.md +++ b/old_docs/API_docs_v18/types/!X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: !X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v18/types/Bool.md b/old_docs/API_docs_v18/types/Bool.md index e108e862..ea4c7f07 100644 --- a/old_docs/API_docs_v18/types/Bool.md +++ b/old_docs/API_docs_v18/types/Bool.md @@ -5,4 +5,4 @@ description: Represents a boolean. # Bool [Back to types index](index.md) -Represents a boolean. \ No newline at end of file +Represents a boolean. diff --git a/old_docs/API_docs_v18/types/DataJSON.md b/old_docs/API_docs_v18/types/DataJSON.md index b43fab0e..bc20ab98 100644 --- a/old_docs/API_docs_v18/types/DataJSON.md +++ b/old_docs/API_docs_v18/types/DataJSON.md @@ -5,4 +5,4 @@ description: Any json-encodable data ## Type: DataJSON [Back to constructor index](index.md) -Any json-encodable data. \ No newline at end of file +Any json-encodable data. diff --git a/old_docs/API_docs_v18/types/X.md b/old_docs/API_docs_v18/types/X.md index ca50e8ae..250b999c 100644 --- a/old_docs/API_docs_v18/types/X.md +++ b/old_docs/API_docs_v18/types/X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v18/types/bytes.md b/old_docs/API_docs_v18/types/bytes.md index 583bb956..4d3b96b4 100644 --- a/old_docs/API_docs_v18/types/bytes.md +++ b/old_docs/API_docs_v18/types/bytes.md @@ -5,4 +5,4 @@ description: A string of variable length ## Type: bytes [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length, with length smaller than or equal to 16777215. diff --git a/old_docs/API_docs_v18/types/double.md b/old_docs/API_docs_v18/types/double.md index 9e7ac255..413a1661 100644 --- a/old_docs/API_docs_v18/types/double.md +++ b/old_docs/API_docs_v18/types/double.md @@ -5,4 +5,4 @@ description: A double precision floating point number ## Type: double [Back to constructor index](index.md) -A double precision floating point number, single precision can also be used (float). \ No newline at end of file +A double precision floating point number, single precision can also be used (float). diff --git a/old_docs/API_docs_v18/types/int.md b/old_docs/API_docs_v18/types/int.md index a8ba6976..7525a3a4 100644 --- a/old_docs/API_docs_v18/types/int.md +++ b/old_docs/API_docs_v18/types/int.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -2147483647 to 2147483647 ## Type: int [Back to constructor index](index.md) -A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. diff --git a/old_docs/API_docs_v18/types/int128.md b/old_docs/API_docs_v18/types/int128.md index 43471bd6..c681fb75 100644 --- a/old_docs/API_docs_v18/types/int128.md +++ b/old_docs/API_docs_v18/types/int128.md @@ -5,4 +5,4 @@ description: A 128 bit signed integer ## Type: int128 [Back to constructor index](index.md) -A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 128 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v18/types/int256.md b/old_docs/API_docs_v18/types/int256.md index 73e056e8..52fb9420 100644 --- a/old_docs/API_docs_v18/types/int256.md +++ b/old_docs/API_docs_v18/types/int256.md @@ -5,4 +5,4 @@ description: A 256 bit signed integer ## Type: int256 [Back to constructor index](index.md) -A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 256 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v18/types/int512.md b/old_docs/API_docs_v18/types/int512.md index 0b3b1a55..1f848608 100644 --- a/old_docs/API_docs_v18/types/int512.md +++ b/old_docs/API_docs_v18/types/int512.md @@ -5,4 +5,4 @@ description: A 512 bit signed integer ## Type: int512 [Back to constructor index](index.md) -A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 512 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v18/types/long.md b/old_docs/API_docs_v18/types/long.md index 487295f5..d394ca44 100644 --- a/old_docs/API_docs_v18/types/long.md +++ b/old_docs/API_docs_v18/types/long.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -9223372036854775807 to 922337 ## Type: long [Back to constructor index](index.md) -A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. diff --git a/old_docs/API_docs_v18/types/string.md b/old_docs/API_docs_v18/types/string.md index 7682db48..ade2fcb4 100644 --- a/old_docs/API_docs_v18/types/string.md +++ b/old_docs/API_docs_v18/types/string.md @@ -5,4 +5,4 @@ description: A UTF8 string of variable length ## Type: string [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length. The total length in bytes of the string must not be bigger than 16777215. diff --git a/old_docs/API_docs_v23/constructors/boolFalse.md b/old_docs/API_docs_v23/constructors/boolFalse.md index 3462a90f..509933a0 100644 --- a/old_docs/API_docs_v23/constructors/boolFalse.md +++ b/old_docs/API_docs_v23/constructors/boolFalse.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to false # boolFalse [Back to constructor index](index.md) - Represents a boolean with value equal to `false`. \ No newline at end of file + Represents a boolean with value equal to `false`. diff --git a/old_docs/API_docs_v23/constructors/boolTrue.md b/old_docs/API_docs_v23/constructors/boolTrue.md index 2b200e04..441228de 100644 --- a/old_docs/API_docs_v23/constructors/boolTrue.md +++ b/old_docs/API_docs_v23/constructors/boolTrue.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to true # boolTrue [Back to constructor index](index.md) -Represents a boolean with value equal to `true`. \ No newline at end of file +Represents a boolean with value equal to `true`. diff --git a/old_docs/API_docs_v23/constructors/null.md b/old_docs/API_docs_v23/constructors/null.md index e8f4db17..9d433233 100644 --- a/old_docs/API_docs_v23/constructors/null.md +++ b/old_docs/API_docs_v23/constructors/null.md @@ -5,4 +5,4 @@ description: Represents a null value # null [Back to constructor index](index.md) -Represents a `null` value. \ No newline at end of file +Represents a `null` value. diff --git a/old_docs/API_docs_v23/types/!X.md b/old_docs/API_docs_v23/types/!X.md index b52cc64f..7d81ce1f 100644 --- a/old_docs/API_docs_v23/types/!X.md +++ b/old_docs/API_docs_v23/types/!X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: !X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v23/types/Bool.md b/old_docs/API_docs_v23/types/Bool.md index e108e862..ea4c7f07 100644 --- a/old_docs/API_docs_v23/types/Bool.md +++ b/old_docs/API_docs_v23/types/Bool.md @@ -5,4 +5,4 @@ description: Represents a boolean. # Bool [Back to types index](index.md) -Represents a boolean. \ No newline at end of file +Represents a boolean. diff --git a/old_docs/API_docs_v23/types/DataJSON.md b/old_docs/API_docs_v23/types/DataJSON.md index b43fab0e..bc20ab98 100644 --- a/old_docs/API_docs_v23/types/DataJSON.md +++ b/old_docs/API_docs_v23/types/DataJSON.md @@ -5,4 +5,4 @@ description: Any json-encodable data ## Type: DataJSON [Back to constructor index](index.md) -Any json-encodable data. \ No newline at end of file +Any json-encodable data. diff --git a/old_docs/API_docs_v23/types/X.md b/old_docs/API_docs_v23/types/X.md index ca50e8ae..250b999c 100644 --- a/old_docs/API_docs_v23/types/X.md +++ b/old_docs/API_docs_v23/types/X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v23/types/bytes.md b/old_docs/API_docs_v23/types/bytes.md index 583bb956..4d3b96b4 100644 --- a/old_docs/API_docs_v23/types/bytes.md +++ b/old_docs/API_docs_v23/types/bytes.md @@ -5,4 +5,4 @@ description: A string of variable length ## Type: bytes [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length, with length smaller than or equal to 16777215. diff --git a/old_docs/API_docs_v23/types/double.md b/old_docs/API_docs_v23/types/double.md index 9e7ac255..413a1661 100644 --- a/old_docs/API_docs_v23/types/double.md +++ b/old_docs/API_docs_v23/types/double.md @@ -5,4 +5,4 @@ description: A double precision floating point number ## Type: double [Back to constructor index](index.md) -A double precision floating point number, single precision can also be used (float). \ No newline at end of file +A double precision floating point number, single precision can also be used (float). diff --git a/old_docs/API_docs_v23/types/int.md b/old_docs/API_docs_v23/types/int.md index a8ba6976..7525a3a4 100644 --- a/old_docs/API_docs_v23/types/int.md +++ b/old_docs/API_docs_v23/types/int.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -2147483647 to 2147483647 ## Type: int [Back to constructor index](index.md) -A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. diff --git a/old_docs/API_docs_v23/types/int128.md b/old_docs/API_docs_v23/types/int128.md index 43471bd6..c681fb75 100644 --- a/old_docs/API_docs_v23/types/int128.md +++ b/old_docs/API_docs_v23/types/int128.md @@ -5,4 +5,4 @@ description: A 128 bit signed integer ## Type: int128 [Back to constructor index](index.md) -A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 128 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v23/types/int256.md b/old_docs/API_docs_v23/types/int256.md index 73e056e8..52fb9420 100644 --- a/old_docs/API_docs_v23/types/int256.md +++ b/old_docs/API_docs_v23/types/int256.md @@ -5,4 +5,4 @@ description: A 256 bit signed integer ## Type: int256 [Back to constructor index](index.md) -A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 256 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v23/types/int512.md b/old_docs/API_docs_v23/types/int512.md index 0b3b1a55..1f848608 100644 --- a/old_docs/API_docs_v23/types/int512.md +++ b/old_docs/API_docs_v23/types/int512.md @@ -5,4 +5,4 @@ description: A 512 bit signed integer ## Type: int512 [Back to constructor index](index.md) -A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 512 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v23/types/long.md b/old_docs/API_docs_v23/types/long.md index 487295f5..d394ca44 100644 --- a/old_docs/API_docs_v23/types/long.md +++ b/old_docs/API_docs_v23/types/long.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -9223372036854775807 to 922337 ## Type: long [Back to constructor index](index.md) -A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. diff --git a/old_docs/API_docs_v23/types/string.md b/old_docs/API_docs_v23/types/string.md index 7682db48..ade2fcb4 100644 --- a/old_docs/API_docs_v23/types/string.md +++ b/old_docs/API_docs_v23/types/string.md @@ -5,4 +5,4 @@ description: A UTF8 string of variable length ## Type: string [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length. The total length in bytes of the string must not be bigger than 16777215. diff --git a/old_docs/API_docs_v25/constructors/boolFalse.md b/old_docs/API_docs_v25/constructors/boolFalse.md index 3462a90f..509933a0 100644 --- a/old_docs/API_docs_v25/constructors/boolFalse.md +++ b/old_docs/API_docs_v25/constructors/boolFalse.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to false # boolFalse [Back to constructor index](index.md) - Represents a boolean with value equal to `false`. \ No newline at end of file + Represents a boolean with value equal to `false`. diff --git a/old_docs/API_docs_v25/constructors/boolTrue.md b/old_docs/API_docs_v25/constructors/boolTrue.md index 2b200e04..441228de 100644 --- a/old_docs/API_docs_v25/constructors/boolTrue.md +++ b/old_docs/API_docs_v25/constructors/boolTrue.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to true # boolTrue [Back to constructor index](index.md) -Represents a boolean with value equal to `true`. \ No newline at end of file +Represents a boolean with value equal to `true`. diff --git a/old_docs/API_docs_v25/constructors/null.md b/old_docs/API_docs_v25/constructors/null.md index e8f4db17..9d433233 100644 --- a/old_docs/API_docs_v25/constructors/null.md +++ b/old_docs/API_docs_v25/constructors/null.md @@ -5,4 +5,4 @@ description: Represents a null value # null [Back to constructor index](index.md) -Represents a `null` value. \ No newline at end of file +Represents a `null` value. diff --git a/old_docs/API_docs_v25/types/!X.md b/old_docs/API_docs_v25/types/!X.md index b52cc64f..7d81ce1f 100644 --- a/old_docs/API_docs_v25/types/!X.md +++ b/old_docs/API_docs_v25/types/!X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: !X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v25/types/Bool.md b/old_docs/API_docs_v25/types/Bool.md index e108e862..ea4c7f07 100644 --- a/old_docs/API_docs_v25/types/Bool.md +++ b/old_docs/API_docs_v25/types/Bool.md @@ -5,4 +5,4 @@ description: Represents a boolean. # Bool [Back to types index](index.md) -Represents a boolean. \ No newline at end of file +Represents a boolean. diff --git a/old_docs/API_docs_v25/types/DataJSON.md b/old_docs/API_docs_v25/types/DataJSON.md index b43fab0e..bc20ab98 100644 --- a/old_docs/API_docs_v25/types/DataJSON.md +++ b/old_docs/API_docs_v25/types/DataJSON.md @@ -5,4 +5,4 @@ description: Any json-encodable data ## Type: DataJSON [Back to constructor index](index.md) -Any json-encodable data. \ No newline at end of file +Any json-encodable data. diff --git a/old_docs/API_docs_v25/types/X.md b/old_docs/API_docs_v25/types/X.md index ca50e8ae..250b999c 100644 --- a/old_docs/API_docs_v25/types/X.md +++ b/old_docs/API_docs_v25/types/X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v25/types/bytes.md b/old_docs/API_docs_v25/types/bytes.md index 583bb956..4d3b96b4 100644 --- a/old_docs/API_docs_v25/types/bytes.md +++ b/old_docs/API_docs_v25/types/bytes.md @@ -5,4 +5,4 @@ description: A string of variable length ## Type: bytes [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length, with length smaller than or equal to 16777215. diff --git a/old_docs/API_docs_v25/types/double.md b/old_docs/API_docs_v25/types/double.md index 9e7ac255..413a1661 100644 --- a/old_docs/API_docs_v25/types/double.md +++ b/old_docs/API_docs_v25/types/double.md @@ -5,4 +5,4 @@ description: A double precision floating point number ## Type: double [Back to constructor index](index.md) -A double precision floating point number, single precision can also be used (float). \ No newline at end of file +A double precision floating point number, single precision can also be used (float). diff --git a/old_docs/API_docs_v25/types/int.md b/old_docs/API_docs_v25/types/int.md index a8ba6976..7525a3a4 100644 --- a/old_docs/API_docs_v25/types/int.md +++ b/old_docs/API_docs_v25/types/int.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -2147483647 to 2147483647 ## Type: int [Back to constructor index](index.md) -A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. diff --git a/old_docs/API_docs_v25/types/int128.md b/old_docs/API_docs_v25/types/int128.md index 43471bd6..c681fb75 100644 --- a/old_docs/API_docs_v25/types/int128.md +++ b/old_docs/API_docs_v25/types/int128.md @@ -5,4 +5,4 @@ description: A 128 bit signed integer ## Type: int128 [Back to constructor index](index.md) -A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 128 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v25/types/int256.md b/old_docs/API_docs_v25/types/int256.md index 73e056e8..52fb9420 100644 --- a/old_docs/API_docs_v25/types/int256.md +++ b/old_docs/API_docs_v25/types/int256.md @@ -5,4 +5,4 @@ description: A 256 bit signed integer ## Type: int256 [Back to constructor index](index.md) -A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 256 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v25/types/int512.md b/old_docs/API_docs_v25/types/int512.md index 0b3b1a55..1f848608 100644 --- a/old_docs/API_docs_v25/types/int512.md +++ b/old_docs/API_docs_v25/types/int512.md @@ -5,4 +5,4 @@ description: A 512 bit signed integer ## Type: int512 [Back to constructor index](index.md) -A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 512 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v25/types/long.md b/old_docs/API_docs_v25/types/long.md index 487295f5..d394ca44 100644 --- a/old_docs/API_docs_v25/types/long.md +++ b/old_docs/API_docs_v25/types/long.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -9223372036854775807 to 922337 ## Type: long [Back to constructor index](index.md) -A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. diff --git a/old_docs/API_docs_v25/types/string.md b/old_docs/API_docs_v25/types/string.md index 7682db48..ade2fcb4 100644 --- a/old_docs/API_docs_v25/types/string.md +++ b/old_docs/API_docs_v25/types/string.md @@ -5,4 +5,4 @@ description: A UTF8 string of variable length ## Type: string [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length. The total length in bytes of the string must not be bigger than 16777215. diff --git a/old_docs/API_docs_v27/constructors/boolFalse.md b/old_docs/API_docs_v27/constructors/boolFalse.md index 3462a90f..509933a0 100644 --- a/old_docs/API_docs_v27/constructors/boolFalse.md +++ b/old_docs/API_docs_v27/constructors/boolFalse.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to false # boolFalse [Back to constructor index](index.md) - Represents a boolean with value equal to `false`. \ No newline at end of file + Represents a boolean with value equal to `false`. diff --git a/old_docs/API_docs_v27/constructors/boolTrue.md b/old_docs/API_docs_v27/constructors/boolTrue.md index 2b200e04..441228de 100644 --- a/old_docs/API_docs_v27/constructors/boolTrue.md +++ b/old_docs/API_docs_v27/constructors/boolTrue.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to true # boolTrue [Back to constructor index](index.md) -Represents a boolean with value equal to `true`. \ No newline at end of file +Represents a boolean with value equal to `true`. diff --git a/old_docs/API_docs_v27/constructors/null.md b/old_docs/API_docs_v27/constructors/null.md index e8f4db17..9d433233 100644 --- a/old_docs/API_docs_v27/constructors/null.md +++ b/old_docs/API_docs_v27/constructors/null.md @@ -5,4 +5,4 @@ description: Represents a null value # null [Back to constructor index](index.md) -Represents a `null` value. \ No newline at end of file +Represents a `null` value. diff --git a/old_docs/API_docs_v27/types/!X.md b/old_docs/API_docs_v27/types/!X.md index b52cc64f..7d81ce1f 100644 --- a/old_docs/API_docs_v27/types/!X.md +++ b/old_docs/API_docs_v27/types/!X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: !X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v27/types/Bool.md b/old_docs/API_docs_v27/types/Bool.md index e108e862..ea4c7f07 100644 --- a/old_docs/API_docs_v27/types/Bool.md +++ b/old_docs/API_docs_v27/types/Bool.md @@ -5,4 +5,4 @@ description: Represents a boolean. # Bool [Back to types index](index.md) -Represents a boolean. \ No newline at end of file +Represents a boolean. diff --git a/old_docs/API_docs_v27/types/DataJSON.md b/old_docs/API_docs_v27/types/DataJSON.md index b43fab0e..bc20ab98 100644 --- a/old_docs/API_docs_v27/types/DataJSON.md +++ b/old_docs/API_docs_v27/types/DataJSON.md @@ -5,4 +5,4 @@ description: Any json-encodable data ## Type: DataJSON [Back to constructor index](index.md) -Any json-encodable data. \ No newline at end of file +Any json-encodable data. diff --git a/old_docs/API_docs_v27/types/X.md b/old_docs/API_docs_v27/types/X.md index ca50e8ae..250b999c 100644 --- a/old_docs/API_docs_v27/types/X.md +++ b/old_docs/API_docs_v27/types/X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v27/types/bytes.md b/old_docs/API_docs_v27/types/bytes.md index 583bb956..4d3b96b4 100644 --- a/old_docs/API_docs_v27/types/bytes.md +++ b/old_docs/API_docs_v27/types/bytes.md @@ -5,4 +5,4 @@ description: A string of variable length ## Type: bytes [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length, with length smaller than or equal to 16777215. diff --git a/old_docs/API_docs_v27/types/double.md b/old_docs/API_docs_v27/types/double.md index 9e7ac255..413a1661 100644 --- a/old_docs/API_docs_v27/types/double.md +++ b/old_docs/API_docs_v27/types/double.md @@ -5,4 +5,4 @@ description: A double precision floating point number ## Type: double [Back to constructor index](index.md) -A double precision floating point number, single precision can also be used (float). \ No newline at end of file +A double precision floating point number, single precision can also be used (float). diff --git a/old_docs/API_docs_v27/types/int.md b/old_docs/API_docs_v27/types/int.md index a8ba6976..7525a3a4 100644 --- a/old_docs/API_docs_v27/types/int.md +++ b/old_docs/API_docs_v27/types/int.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -2147483647 to 2147483647 ## Type: int [Back to constructor index](index.md) -A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. diff --git a/old_docs/API_docs_v27/types/int128.md b/old_docs/API_docs_v27/types/int128.md index 43471bd6..c681fb75 100644 --- a/old_docs/API_docs_v27/types/int128.md +++ b/old_docs/API_docs_v27/types/int128.md @@ -5,4 +5,4 @@ description: A 128 bit signed integer ## Type: int128 [Back to constructor index](index.md) -A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 128 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v27/types/int256.md b/old_docs/API_docs_v27/types/int256.md index 73e056e8..52fb9420 100644 --- a/old_docs/API_docs_v27/types/int256.md +++ b/old_docs/API_docs_v27/types/int256.md @@ -5,4 +5,4 @@ description: A 256 bit signed integer ## Type: int256 [Back to constructor index](index.md) -A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 256 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v27/types/int512.md b/old_docs/API_docs_v27/types/int512.md index 0b3b1a55..1f848608 100644 --- a/old_docs/API_docs_v27/types/int512.md +++ b/old_docs/API_docs_v27/types/int512.md @@ -5,4 +5,4 @@ description: A 512 bit signed integer ## Type: int512 [Back to constructor index](index.md) -A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 512 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v27/types/long.md b/old_docs/API_docs_v27/types/long.md index 487295f5..d394ca44 100644 --- a/old_docs/API_docs_v27/types/long.md +++ b/old_docs/API_docs_v27/types/long.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -9223372036854775807 to 922337 ## Type: long [Back to constructor index](index.md) -A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. diff --git a/old_docs/API_docs_v27/types/string.md b/old_docs/API_docs_v27/types/string.md index 7682db48..ade2fcb4 100644 --- a/old_docs/API_docs_v27/types/string.md +++ b/old_docs/API_docs_v27/types/string.md @@ -5,4 +5,4 @@ description: A UTF8 string of variable length ## Type: string [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length. The total length in bytes of the string must not be bigger than 16777215. diff --git a/old_docs/API_docs_v33/constructors/boolFalse.md b/old_docs/API_docs_v33/constructors/boolFalse.md index 3462a90f..509933a0 100644 --- a/old_docs/API_docs_v33/constructors/boolFalse.md +++ b/old_docs/API_docs_v33/constructors/boolFalse.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to false # boolFalse [Back to constructor index](index.md) - Represents a boolean with value equal to `false`. \ No newline at end of file + Represents a boolean with value equal to `false`. diff --git a/old_docs/API_docs_v33/constructors/boolTrue.md b/old_docs/API_docs_v33/constructors/boolTrue.md index 2b200e04..441228de 100644 --- a/old_docs/API_docs_v33/constructors/boolTrue.md +++ b/old_docs/API_docs_v33/constructors/boolTrue.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to true # boolTrue [Back to constructor index](index.md) -Represents a boolean with value equal to `true`. \ No newline at end of file +Represents a boolean with value equal to `true`. diff --git a/old_docs/API_docs_v33/constructors/null.md b/old_docs/API_docs_v33/constructors/null.md index e8f4db17..9d433233 100644 --- a/old_docs/API_docs_v33/constructors/null.md +++ b/old_docs/API_docs_v33/constructors/null.md @@ -5,4 +5,4 @@ description: Represents a null value # null [Back to constructor index](index.md) -Represents a `null` value. \ No newline at end of file +Represents a `null` value. diff --git a/old_docs/API_docs_v33/types/!X.md b/old_docs/API_docs_v33/types/!X.md index b52cc64f..7d81ce1f 100644 --- a/old_docs/API_docs_v33/types/!X.md +++ b/old_docs/API_docs_v33/types/!X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: !X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v33/types/Bool.md b/old_docs/API_docs_v33/types/Bool.md index e108e862..ea4c7f07 100644 --- a/old_docs/API_docs_v33/types/Bool.md +++ b/old_docs/API_docs_v33/types/Bool.md @@ -5,4 +5,4 @@ description: Represents a boolean. # Bool [Back to types index](index.md) -Represents a boolean. \ No newline at end of file +Represents a boolean. diff --git a/old_docs/API_docs_v33/types/DataJSON.md b/old_docs/API_docs_v33/types/DataJSON.md index b43fab0e..bc20ab98 100644 --- a/old_docs/API_docs_v33/types/DataJSON.md +++ b/old_docs/API_docs_v33/types/DataJSON.md @@ -5,4 +5,4 @@ description: Any json-encodable data ## Type: DataJSON [Back to constructor index](index.md) -Any json-encodable data. \ No newline at end of file +Any json-encodable data. diff --git a/old_docs/API_docs_v33/types/X.md b/old_docs/API_docs_v33/types/X.md index ca50e8ae..250b999c 100644 --- a/old_docs/API_docs_v33/types/X.md +++ b/old_docs/API_docs_v33/types/X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v33/types/bytes.md b/old_docs/API_docs_v33/types/bytes.md index 583bb956..4d3b96b4 100644 --- a/old_docs/API_docs_v33/types/bytes.md +++ b/old_docs/API_docs_v33/types/bytes.md @@ -5,4 +5,4 @@ description: A string of variable length ## Type: bytes [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length, with length smaller than or equal to 16777215. diff --git a/old_docs/API_docs_v33/types/double.md b/old_docs/API_docs_v33/types/double.md index 9e7ac255..413a1661 100644 --- a/old_docs/API_docs_v33/types/double.md +++ b/old_docs/API_docs_v33/types/double.md @@ -5,4 +5,4 @@ description: A double precision floating point number ## Type: double [Back to constructor index](index.md) -A double precision floating point number, single precision can also be used (float). \ No newline at end of file +A double precision floating point number, single precision can also be used (float). diff --git a/old_docs/API_docs_v33/types/int.md b/old_docs/API_docs_v33/types/int.md index a8ba6976..7525a3a4 100644 --- a/old_docs/API_docs_v33/types/int.md +++ b/old_docs/API_docs_v33/types/int.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -2147483647 to 2147483647 ## Type: int [Back to constructor index](index.md) -A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. diff --git a/old_docs/API_docs_v33/types/int128.md b/old_docs/API_docs_v33/types/int128.md index 43471bd6..c681fb75 100644 --- a/old_docs/API_docs_v33/types/int128.md +++ b/old_docs/API_docs_v33/types/int128.md @@ -5,4 +5,4 @@ description: A 128 bit signed integer ## Type: int128 [Back to constructor index](index.md) -A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 128 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v33/types/int256.md b/old_docs/API_docs_v33/types/int256.md index 73e056e8..52fb9420 100644 --- a/old_docs/API_docs_v33/types/int256.md +++ b/old_docs/API_docs_v33/types/int256.md @@ -5,4 +5,4 @@ description: A 256 bit signed integer ## Type: int256 [Back to constructor index](index.md) -A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 256 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v33/types/int512.md b/old_docs/API_docs_v33/types/int512.md index 0b3b1a55..1f848608 100644 --- a/old_docs/API_docs_v33/types/int512.md +++ b/old_docs/API_docs_v33/types/int512.md @@ -5,4 +5,4 @@ description: A 512 bit signed integer ## Type: int512 [Back to constructor index](index.md) -A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 512 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v33/types/long.md b/old_docs/API_docs_v33/types/long.md index 487295f5..d394ca44 100644 --- a/old_docs/API_docs_v33/types/long.md +++ b/old_docs/API_docs_v33/types/long.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -9223372036854775807 to 922337 ## Type: long [Back to constructor index](index.md) -A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. diff --git a/old_docs/API_docs_v33/types/string.md b/old_docs/API_docs_v33/types/string.md index 7682db48..ade2fcb4 100644 --- a/old_docs/API_docs_v33/types/string.md +++ b/old_docs/API_docs_v33/types/string.md @@ -5,4 +5,4 @@ description: A UTF8 string of variable length ## Type: string [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length. The total length in bytes of the string must not be bigger than 16777215. diff --git a/old_docs/API_docs_v38/constructors/boolFalse.md b/old_docs/API_docs_v38/constructors/boolFalse.md index 3462a90f..509933a0 100644 --- a/old_docs/API_docs_v38/constructors/boolFalse.md +++ b/old_docs/API_docs_v38/constructors/boolFalse.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to false # boolFalse [Back to constructor index](index.md) - Represents a boolean with value equal to `false`. \ No newline at end of file + Represents a boolean with value equal to `false`. diff --git a/old_docs/API_docs_v38/constructors/boolTrue.md b/old_docs/API_docs_v38/constructors/boolTrue.md index 2b200e04..441228de 100644 --- a/old_docs/API_docs_v38/constructors/boolTrue.md +++ b/old_docs/API_docs_v38/constructors/boolTrue.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to true # boolTrue [Back to constructor index](index.md) -Represents a boolean with value equal to `true`. \ No newline at end of file +Represents a boolean with value equal to `true`. diff --git a/old_docs/API_docs_v38/constructors/null.md b/old_docs/API_docs_v38/constructors/null.md index e8f4db17..9d433233 100644 --- a/old_docs/API_docs_v38/constructors/null.md +++ b/old_docs/API_docs_v38/constructors/null.md @@ -5,4 +5,4 @@ description: Represents a null value # null [Back to constructor index](index.md) -Represents a `null` value. \ No newline at end of file +Represents a `null` value. diff --git a/old_docs/API_docs_v38/types/!X.md b/old_docs/API_docs_v38/types/!X.md index b52cc64f..7d81ce1f 100644 --- a/old_docs/API_docs_v38/types/!X.md +++ b/old_docs/API_docs_v38/types/!X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: !X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v38/types/Bool.md b/old_docs/API_docs_v38/types/Bool.md index e108e862..ea4c7f07 100644 --- a/old_docs/API_docs_v38/types/Bool.md +++ b/old_docs/API_docs_v38/types/Bool.md @@ -5,4 +5,4 @@ description: Represents a boolean. # Bool [Back to types index](index.md) -Represents a boolean. \ No newline at end of file +Represents a boolean. diff --git a/old_docs/API_docs_v38/types/DataJSON.md b/old_docs/API_docs_v38/types/DataJSON.md index b43fab0e..bc20ab98 100644 --- a/old_docs/API_docs_v38/types/DataJSON.md +++ b/old_docs/API_docs_v38/types/DataJSON.md @@ -5,4 +5,4 @@ description: Any json-encodable data ## Type: DataJSON [Back to constructor index](index.md) -Any json-encodable data. \ No newline at end of file +Any json-encodable data. diff --git a/old_docs/API_docs_v38/types/X.md b/old_docs/API_docs_v38/types/X.md index ca50e8ae..250b999c 100644 --- a/old_docs/API_docs_v38/types/X.md +++ b/old_docs/API_docs_v38/types/X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v38/types/bytes.md b/old_docs/API_docs_v38/types/bytes.md index 583bb956..4d3b96b4 100644 --- a/old_docs/API_docs_v38/types/bytes.md +++ b/old_docs/API_docs_v38/types/bytes.md @@ -5,4 +5,4 @@ description: A string of variable length ## Type: bytes [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length, with length smaller than or equal to 16777215. diff --git a/old_docs/API_docs_v38/types/double.md b/old_docs/API_docs_v38/types/double.md index 9e7ac255..413a1661 100644 --- a/old_docs/API_docs_v38/types/double.md +++ b/old_docs/API_docs_v38/types/double.md @@ -5,4 +5,4 @@ description: A double precision floating point number ## Type: double [Back to constructor index](index.md) -A double precision floating point number, single precision can also be used (float). \ No newline at end of file +A double precision floating point number, single precision can also be used (float). diff --git a/old_docs/API_docs_v38/types/int.md b/old_docs/API_docs_v38/types/int.md index a8ba6976..7525a3a4 100644 --- a/old_docs/API_docs_v38/types/int.md +++ b/old_docs/API_docs_v38/types/int.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -2147483647 to 2147483647 ## Type: int [Back to constructor index](index.md) -A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. diff --git a/old_docs/API_docs_v38/types/int128.md b/old_docs/API_docs_v38/types/int128.md index 43471bd6..c681fb75 100644 --- a/old_docs/API_docs_v38/types/int128.md +++ b/old_docs/API_docs_v38/types/int128.md @@ -5,4 +5,4 @@ description: A 128 bit signed integer ## Type: int128 [Back to constructor index](index.md) -A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 128 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v38/types/int256.md b/old_docs/API_docs_v38/types/int256.md index 73e056e8..52fb9420 100644 --- a/old_docs/API_docs_v38/types/int256.md +++ b/old_docs/API_docs_v38/types/int256.md @@ -5,4 +5,4 @@ description: A 256 bit signed integer ## Type: int256 [Back to constructor index](index.md) -A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 256 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v38/types/int512.md b/old_docs/API_docs_v38/types/int512.md index 0b3b1a55..1f848608 100644 --- a/old_docs/API_docs_v38/types/int512.md +++ b/old_docs/API_docs_v38/types/int512.md @@ -5,4 +5,4 @@ description: A 512 bit signed integer ## Type: int512 [Back to constructor index](index.md) -A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 512 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v38/types/long.md b/old_docs/API_docs_v38/types/long.md index 487295f5..d394ca44 100644 --- a/old_docs/API_docs_v38/types/long.md +++ b/old_docs/API_docs_v38/types/long.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -9223372036854775807 to 922337 ## Type: long [Back to constructor index](index.md) -A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. diff --git a/old_docs/API_docs_v38/types/string.md b/old_docs/API_docs_v38/types/string.md index 7682db48..ade2fcb4 100644 --- a/old_docs/API_docs_v38/types/string.md +++ b/old_docs/API_docs_v38/types/string.md @@ -5,4 +5,4 @@ description: A UTF8 string of variable length ## Type: string [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length. The total length in bytes of the string must not be bigger than 16777215. diff --git a/old_docs/API_docs_v40/constructors/boolFalse.md b/old_docs/API_docs_v40/constructors/boolFalse.md index 3462a90f..509933a0 100644 --- a/old_docs/API_docs_v40/constructors/boolFalse.md +++ b/old_docs/API_docs_v40/constructors/boolFalse.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to false # boolFalse [Back to constructor index](index.md) - Represents a boolean with value equal to `false`. \ No newline at end of file + Represents a boolean with value equal to `false`. diff --git a/old_docs/API_docs_v40/constructors/boolTrue.md b/old_docs/API_docs_v40/constructors/boolTrue.md index 2b200e04..441228de 100644 --- a/old_docs/API_docs_v40/constructors/boolTrue.md +++ b/old_docs/API_docs_v40/constructors/boolTrue.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to true # boolTrue [Back to constructor index](index.md) -Represents a boolean with value equal to `true`. \ No newline at end of file +Represents a boolean with value equal to `true`. diff --git a/old_docs/API_docs_v40/constructors/null.md b/old_docs/API_docs_v40/constructors/null.md index e8f4db17..9d433233 100644 --- a/old_docs/API_docs_v40/constructors/null.md +++ b/old_docs/API_docs_v40/constructors/null.md @@ -5,4 +5,4 @@ description: Represents a null value # null [Back to constructor index](index.md) -Represents a `null` value. \ No newline at end of file +Represents a `null` value. diff --git a/old_docs/API_docs_v40/types/!X.md b/old_docs/API_docs_v40/types/!X.md index b52cc64f..7d81ce1f 100644 --- a/old_docs/API_docs_v40/types/!X.md +++ b/old_docs/API_docs_v40/types/!X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: !X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v40/types/Bool.md b/old_docs/API_docs_v40/types/Bool.md index e108e862..ea4c7f07 100644 --- a/old_docs/API_docs_v40/types/Bool.md +++ b/old_docs/API_docs_v40/types/Bool.md @@ -5,4 +5,4 @@ description: Represents a boolean. # Bool [Back to types index](index.md) -Represents a boolean. \ No newline at end of file +Represents a boolean. diff --git a/old_docs/API_docs_v40/types/DataJSON.md b/old_docs/API_docs_v40/types/DataJSON.md index b43fab0e..bc20ab98 100644 --- a/old_docs/API_docs_v40/types/DataJSON.md +++ b/old_docs/API_docs_v40/types/DataJSON.md @@ -5,4 +5,4 @@ description: Any json-encodable data ## Type: DataJSON [Back to constructor index](index.md) -Any json-encodable data. \ No newline at end of file +Any json-encodable data. diff --git a/old_docs/API_docs_v40/types/X.md b/old_docs/API_docs_v40/types/X.md index ca50e8ae..250b999c 100644 --- a/old_docs/API_docs_v40/types/X.md +++ b/old_docs/API_docs_v40/types/X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v40/types/bytes.md b/old_docs/API_docs_v40/types/bytes.md index 583bb956..4d3b96b4 100644 --- a/old_docs/API_docs_v40/types/bytes.md +++ b/old_docs/API_docs_v40/types/bytes.md @@ -5,4 +5,4 @@ description: A string of variable length ## Type: bytes [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length, with length smaller than or equal to 16777215. diff --git a/old_docs/API_docs_v40/types/double.md b/old_docs/API_docs_v40/types/double.md index 9e7ac255..413a1661 100644 --- a/old_docs/API_docs_v40/types/double.md +++ b/old_docs/API_docs_v40/types/double.md @@ -5,4 +5,4 @@ description: A double precision floating point number ## Type: double [Back to constructor index](index.md) -A double precision floating point number, single precision can also be used (float). \ No newline at end of file +A double precision floating point number, single precision can also be used (float). diff --git a/old_docs/API_docs_v40/types/int.md b/old_docs/API_docs_v40/types/int.md index a8ba6976..7525a3a4 100644 --- a/old_docs/API_docs_v40/types/int.md +++ b/old_docs/API_docs_v40/types/int.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -2147483647 to 2147483647 ## Type: int [Back to constructor index](index.md) -A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. diff --git a/old_docs/API_docs_v40/types/int128.md b/old_docs/API_docs_v40/types/int128.md index 43471bd6..c681fb75 100644 --- a/old_docs/API_docs_v40/types/int128.md +++ b/old_docs/API_docs_v40/types/int128.md @@ -5,4 +5,4 @@ description: A 128 bit signed integer ## Type: int128 [Back to constructor index](index.md) -A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 128 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v40/types/int256.md b/old_docs/API_docs_v40/types/int256.md index 73e056e8..52fb9420 100644 --- a/old_docs/API_docs_v40/types/int256.md +++ b/old_docs/API_docs_v40/types/int256.md @@ -5,4 +5,4 @@ description: A 256 bit signed integer ## Type: int256 [Back to constructor index](index.md) -A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 256 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v40/types/int512.md b/old_docs/API_docs_v40/types/int512.md index 0b3b1a55..1f848608 100644 --- a/old_docs/API_docs_v40/types/int512.md +++ b/old_docs/API_docs_v40/types/int512.md @@ -5,4 +5,4 @@ description: A 512 bit signed integer ## Type: int512 [Back to constructor index](index.md) -A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 512 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v40/types/long.md b/old_docs/API_docs_v40/types/long.md index 487295f5..d394ca44 100644 --- a/old_docs/API_docs_v40/types/long.md +++ b/old_docs/API_docs_v40/types/long.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -9223372036854775807 to 922337 ## Type: long [Back to constructor index](index.md) -A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. diff --git a/old_docs/API_docs_v40/types/string.md b/old_docs/API_docs_v40/types/string.md index 7682db48..ade2fcb4 100644 --- a/old_docs/API_docs_v40/types/string.md +++ b/old_docs/API_docs_v40/types/string.md @@ -5,4 +5,4 @@ description: A UTF8 string of variable length ## Type: string [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length. The total length in bytes of the string must not be bigger than 16777215. diff --git a/old_docs/API_docs_v41/constructors/boolFalse.md b/old_docs/API_docs_v41/constructors/boolFalse.md index 3462a90f..509933a0 100644 --- a/old_docs/API_docs_v41/constructors/boolFalse.md +++ b/old_docs/API_docs_v41/constructors/boolFalse.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to false # boolFalse [Back to constructor index](index.md) - Represents a boolean with value equal to `false`. \ No newline at end of file + Represents a boolean with value equal to `false`. diff --git a/old_docs/API_docs_v41/constructors/boolTrue.md b/old_docs/API_docs_v41/constructors/boolTrue.md index 2b200e04..441228de 100644 --- a/old_docs/API_docs_v41/constructors/boolTrue.md +++ b/old_docs/API_docs_v41/constructors/boolTrue.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to true # boolTrue [Back to constructor index](index.md) -Represents a boolean with value equal to `true`. \ No newline at end of file +Represents a boolean with value equal to `true`. diff --git a/old_docs/API_docs_v41/constructors/null.md b/old_docs/API_docs_v41/constructors/null.md index e8f4db17..9d433233 100644 --- a/old_docs/API_docs_v41/constructors/null.md +++ b/old_docs/API_docs_v41/constructors/null.md @@ -5,4 +5,4 @@ description: Represents a null value # null [Back to constructor index](index.md) -Represents a `null` value. \ No newline at end of file +Represents a `null` value. diff --git a/old_docs/API_docs_v41/types/!X.md b/old_docs/API_docs_v41/types/!X.md index b52cc64f..7d81ce1f 100644 --- a/old_docs/API_docs_v41/types/!X.md +++ b/old_docs/API_docs_v41/types/!X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: !X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v41/types/Bool.md b/old_docs/API_docs_v41/types/Bool.md index e108e862..ea4c7f07 100644 --- a/old_docs/API_docs_v41/types/Bool.md +++ b/old_docs/API_docs_v41/types/Bool.md @@ -5,4 +5,4 @@ description: Represents a boolean. # Bool [Back to types index](index.md) -Represents a boolean. \ No newline at end of file +Represents a boolean. diff --git a/old_docs/API_docs_v41/types/DataJSON.md b/old_docs/API_docs_v41/types/DataJSON.md index b43fab0e..bc20ab98 100644 --- a/old_docs/API_docs_v41/types/DataJSON.md +++ b/old_docs/API_docs_v41/types/DataJSON.md @@ -5,4 +5,4 @@ description: Any json-encodable data ## Type: DataJSON [Back to constructor index](index.md) -Any json-encodable data. \ No newline at end of file +Any json-encodable data. diff --git a/old_docs/API_docs_v41/types/X.md b/old_docs/API_docs_v41/types/X.md index ca50e8ae..250b999c 100644 --- a/old_docs/API_docs_v41/types/X.md +++ b/old_docs/API_docs_v41/types/X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v41/types/bytes.md b/old_docs/API_docs_v41/types/bytes.md index 583bb956..4d3b96b4 100644 --- a/old_docs/API_docs_v41/types/bytes.md +++ b/old_docs/API_docs_v41/types/bytes.md @@ -5,4 +5,4 @@ description: A string of variable length ## Type: bytes [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length, with length smaller than or equal to 16777215. diff --git a/old_docs/API_docs_v41/types/double.md b/old_docs/API_docs_v41/types/double.md index 9e7ac255..413a1661 100644 --- a/old_docs/API_docs_v41/types/double.md +++ b/old_docs/API_docs_v41/types/double.md @@ -5,4 +5,4 @@ description: A double precision floating point number ## Type: double [Back to constructor index](index.md) -A double precision floating point number, single precision can also be used (float). \ No newline at end of file +A double precision floating point number, single precision can also be used (float). diff --git a/old_docs/API_docs_v41/types/int.md b/old_docs/API_docs_v41/types/int.md index a8ba6976..7525a3a4 100644 --- a/old_docs/API_docs_v41/types/int.md +++ b/old_docs/API_docs_v41/types/int.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -2147483647 to 2147483647 ## Type: int [Back to constructor index](index.md) -A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. diff --git a/old_docs/API_docs_v41/types/int128.md b/old_docs/API_docs_v41/types/int128.md index 43471bd6..c681fb75 100644 --- a/old_docs/API_docs_v41/types/int128.md +++ b/old_docs/API_docs_v41/types/int128.md @@ -5,4 +5,4 @@ description: A 128 bit signed integer ## Type: int128 [Back to constructor index](index.md) -A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 128 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v41/types/int256.md b/old_docs/API_docs_v41/types/int256.md index 73e056e8..52fb9420 100644 --- a/old_docs/API_docs_v41/types/int256.md +++ b/old_docs/API_docs_v41/types/int256.md @@ -5,4 +5,4 @@ description: A 256 bit signed integer ## Type: int256 [Back to constructor index](index.md) -A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 256 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v41/types/int512.md b/old_docs/API_docs_v41/types/int512.md index 0b3b1a55..1f848608 100644 --- a/old_docs/API_docs_v41/types/int512.md +++ b/old_docs/API_docs_v41/types/int512.md @@ -5,4 +5,4 @@ description: A 512 bit signed integer ## Type: int512 [Back to constructor index](index.md) -A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 512 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v41/types/long.md b/old_docs/API_docs_v41/types/long.md index 487295f5..d394ca44 100644 --- a/old_docs/API_docs_v41/types/long.md +++ b/old_docs/API_docs_v41/types/long.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -9223372036854775807 to 922337 ## Type: long [Back to constructor index](index.md) -A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. diff --git a/old_docs/API_docs_v41/types/string.md b/old_docs/API_docs_v41/types/string.md index 7682db48..ade2fcb4 100644 --- a/old_docs/API_docs_v41/types/string.md +++ b/old_docs/API_docs_v41/types/string.md @@ -5,4 +5,4 @@ description: A UTF8 string of variable length ## Type: string [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length. The total length in bytes of the string must not be bigger than 16777215. diff --git a/old_docs/API_docs_v42/constructors/boolFalse.md b/old_docs/API_docs_v42/constructors/boolFalse.md index 3462a90f..509933a0 100644 --- a/old_docs/API_docs_v42/constructors/boolFalse.md +++ b/old_docs/API_docs_v42/constructors/boolFalse.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to false # boolFalse [Back to constructor index](index.md) - Represents a boolean with value equal to `false`. \ No newline at end of file + Represents a boolean with value equal to `false`. diff --git a/old_docs/API_docs_v42/constructors/boolTrue.md b/old_docs/API_docs_v42/constructors/boolTrue.md index 2b200e04..441228de 100644 --- a/old_docs/API_docs_v42/constructors/boolTrue.md +++ b/old_docs/API_docs_v42/constructors/boolTrue.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to true # boolTrue [Back to constructor index](index.md) -Represents a boolean with value equal to `true`. \ No newline at end of file +Represents a boolean with value equal to `true`. diff --git a/old_docs/API_docs_v42/constructors/null.md b/old_docs/API_docs_v42/constructors/null.md index e8f4db17..9d433233 100644 --- a/old_docs/API_docs_v42/constructors/null.md +++ b/old_docs/API_docs_v42/constructors/null.md @@ -5,4 +5,4 @@ description: Represents a null value # null [Back to constructor index](index.md) -Represents a `null` value. \ No newline at end of file +Represents a `null` value. diff --git a/old_docs/API_docs_v42/types/!X.md b/old_docs/API_docs_v42/types/!X.md index b52cc64f..7d81ce1f 100644 --- a/old_docs/API_docs_v42/types/!X.md +++ b/old_docs/API_docs_v42/types/!X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: !X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v42/types/Bool.md b/old_docs/API_docs_v42/types/Bool.md index e108e862..ea4c7f07 100644 --- a/old_docs/API_docs_v42/types/Bool.md +++ b/old_docs/API_docs_v42/types/Bool.md @@ -5,4 +5,4 @@ description: Represents a boolean. # Bool [Back to types index](index.md) -Represents a boolean. \ No newline at end of file +Represents a boolean. diff --git a/old_docs/API_docs_v42/types/DataJSON.md b/old_docs/API_docs_v42/types/DataJSON.md index b43fab0e..bc20ab98 100644 --- a/old_docs/API_docs_v42/types/DataJSON.md +++ b/old_docs/API_docs_v42/types/DataJSON.md @@ -5,4 +5,4 @@ description: Any json-encodable data ## Type: DataJSON [Back to constructor index](index.md) -Any json-encodable data. \ No newline at end of file +Any json-encodable data. diff --git a/old_docs/API_docs_v42/types/X.md b/old_docs/API_docs_v42/types/X.md index ca50e8ae..250b999c 100644 --- a/old_docs/API_docs_v42/types/X.md +++ b/old_docs/API_docs_v42/types/X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v42/types/bytes.md b/old_docs/API_docs_v42/types/bytes.md index 583bb956..4d3b96b4 100644 --- a/old_docs/API_docs_v42/types/bytes.md +++ b/old_docs/API_docs_v42/types/bytes.md @@ -5,4 +5,4 @@ description: A string of variable length ## Type: bytes [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length, with length smaller than or equal to 16777215. diff --git a/old_docs/API_docs_v42/types/double.md b/old_docs/API_docs_v42/types/double.md index 9e7ac255..413a1661 100644 --- a/old_docs/API_docs_v42/types/double.md +++ b/old_docs/API_docs_v42/types/double.md @@ -5,4 +5,4 @@ description: A double precision floating point number ## Type: double [Back to constructor index](index.md) -A double precision floating point number, single precision can also be used (float). \ No newline at end of file +A double precision floating point number, single precision can also be used (float). diff --git a/old_docs/API_docs_v42/types/int.md b/old_docs/API_docs_v42/types/int.md index a8ba6976..7525a3a4 100644 --- a/old_docs/API_docs_v42/types/int.md +++ b/old_docs/API_docs_v42/types/int.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -2147483647 to 2147483647 ## Type: int [Back to constructor index](index.md) -A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. diff --git a/old_docs/API_docs_v42/types/int128.md b/old_docs/API_docs_v42/types/int128.md index 43471bd6..c681fb75 100644 --- a/old_docs/API_docs_v42/types/int128.md +++ b/old_docs/API_docs_v42/types/int128.md @@ -5,4 +5,4 @@ description: A 128 bit signed integer ## Type: int128 [Back to constructor index](index.md) -A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 128 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v42/types/int256.md b/old_docs/API_docs_v42/types/int256.md index 73e056e8..52fb9420 100644 --- a/old_docs/API_docs_v42/types/int256.md +++ b/old_docs/API_docs_v42/types/int256.md @@ -5,4 +5,4 @@ description: A 256 bit signed integer ## Type: int256 [Back to constructor index](index.md) -A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 256 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v42/types/int512.md b/old_docs/API_docs_v42/types/int512.md index 0b3b1a55..1f848608 100644 --- a/old_docs/API_docs_v42/types/int512.md +++ b/old_docs/API_docs_v42/types/int512.md @@ -5,4 +5,4 @@ description: A 512 bit signed integer ## Type: int512 [Back to constructor index](index.md) -A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 512 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v42/types/long.md b/old_docs/API_docs_v42/types/long.md index 487295f5..d394ca44 100644 --- a/old_docs/API_docs_v42/types/long.md +++ b/old_docs/API_docs_v42/types/long.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -9223372036854775807 to 922337 ## Type: long [Back to constructor index](index.md) -A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. diff --git a/old_docs/API_docs_v42/types/string.md b/old_docs/API_docs_v42/types/string.md index 7682db48..ade2fcb4 100644 --- a/old_docs/API_docs_v42/types/string.md +++ b/old_docs/API_docs_v42/types/string.md @@ -5,4 +5,4 @@ description: A UTF8 string of variable length ## Type: string [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length. The total length in bytes of the string must not be bigger than 16777215. diff --git a/old_docs/API_docs_v44/constructors/boolFalse.md b/old_docs/API_docs_v44/constructors/boolFalse.md index 3462a90f..509933a0 100644 --- a/old_docs/API_docs_v44/constructors/boolFalse.md +++ b/old_docs/API_docs_v44/constructors/boolFalse.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to false # boolFalse [Back to constructor index](index.md) - Represents a boolean with value equal to `false`. \ No newline at end of file + Represents a boolean with value equal to `false`. diff --git a/old_docs/API_docs_v44/constructors/boolTrue.md b/old_docs/API_docs_v44/constructors/boolTrue.md index 2b200e04..441228de 100644 --- a/old_docs/API_docs_v44/constructors/boolTrue.md +++ b/old_docs/API_docs_v44/constructors/boolTrue.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to true # boolTrue [Back to constructor index](index.md) -Represents a boolean with value equal to `true`. \ No newline at end of file +Represents a boolean with value equal to `true`. diff --git a/old_docs/API_docs_v44/constructors/null.md b/old_docs/API_docs_v44/constructors/null.md index e8f4db17..9d433233 100644 --- a/old_docs/API_docs_v44/constructors/null.md +++ b/old_docs/API_docs_v44/constructors/null.md @@ -5,4 +5,4 @@ description: Represents a null value # null [Back to constructor index](index.md) -Represents a `null` value. \ No newline at end of file +Represents a `null` value. diff --git a/old_docs/API_docs_v44/types/!X.md b/old_docs/API_docs_v44/types/!X.md index b52cc64f..7d81ce1f 100644 --- a/old_docs/API_docs_v44/types/!X.md +++ b/old_docs/API_docs_v44/types/!X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: !X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v44/types/Bool.md b/old_docs/API_docs_v44/types/Bool.md index e108e862..ea4c7f07 100644 --- a/old_docs/API_docs_v44/types/Bool.md +++ b/old_docs/API_docs_v44/types/Bool.md @@ -5,4 +5,4 @@ description: Represents a boolean. # Bool [Back to types index](index.md) -Represents a boolean. \ No newline at end of file +Represents a boolean. diff --git a/old_docs/API_docs_v44/types/DataJSON.md b/old_docs/API_docs_v44/types/DataJSON.md index b43fab0e..bc20ab98 100644 --- a/old_docs/API_docs_v44/types/DataJSON.md +++ b/old_docs/API_docs_v44/types/DataJSON.md @@ -5,4 +5,4 @@ description: Any json-encodable data ## Type: DataJSON [Back to constructor index](index.md) -Any json-encodable data. \ No newline at end of file +Any json-encodable data. diff --git a/old_docs/API_docs_v44/types/X.md b/old_docs/API_docs_v44/types/X.md index ca50e8ae..250b999c 100644 --- a/old_docs/API_docs_v44/types/X.md +++ b/old_docs/API_docs_v44/types/X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v44/types/bytes.md b/old_docs/API_docs_v44/types/bytes.md index 583bb956..4d3b96b4 100644 --- a/old_docs/API_docs_v44/types/bytes.md +++ b/old_docs/API_docs_v44/types/bytes.md @@ -5,4 +5,4 @@ description: A string of variable length ## Type: bytes [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length, with length smaller than or equal to 16777215. diff --git a/old_docs/API_docs_v44/types/double.md b/old_docs/API_docs_v44/types/double.md index 9e7ac255..413a1661 100644 --- a/old_docs/API_docs_v44/types/double.md +++ b/old_docs/API_docs_v44/types/double.md @@ -5,4 +5,4 @@ description: A double precision floating point number ## Type: double [Back to constructor index](index.md) -A double precision floating point number, single precision can also be used (float). \ No newline at end of file +A double precision floating point number, single precision can also be used (float). diff --git a/old_docs/API_docs_v44/types/int.md b/old_docs/API_docs_v44/types/int.md index a8ba6976..7525a3a4 100644 --- a/old_docs/API_docs_v44/types/int.md +++ b/old_docs/API_docs_v44/types/int.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -2147483647 to 2147483647 ## Type: int [Back to constructor index](index.md) -A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. diff --git a/old_docs/API_docs_v44/types/int128.md b/old_docs/API_docs_v44/types/int128.md index 43471bd6..c681fb75 100644 --- a/old_docs/API_docs_v44/types/int128.md +++ b/old_docs/API_docs_v44/types/int128.md @@ -5,4 +5,4 @@ description: A 128 bit signed integer ## Type: int128 [Back to constructor index](index.md) -A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 128 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v44/types/int256.md b/old_docs/API_docs_v44/types/int256.md index 73e056e8..52fb9420 100644 --- a/old_docs/API_docs_v44/types/int256.md +++ b/old_docs/API_docs_v44/types/int256.md @@ -5,4 +5,4 @@ description: A 256 bit signed integer ## Type: int256 [Back to constructor index](index.md) -A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 256 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v44/types/int512.md b/old_docs/API_docs_v44/types/int512.md index 0b3b1a55..1f848608 100644 --- a/old_docs/API_docs_v44/types/int512.md +++ b/old_docs/API_docs_v44/types/int512.md @@ -5,4 +5,4 @@ description: A 512 bit signed integer ## Type: int512 [Back to constructor index](index.md) -A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 512 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v44/types/long.md b/old_docs/API_docs_v44/types/long.md index 487295f5..d394ca44 100644 --- a/old_docs/API_docs_v44/types/long.md +++ b/old_docs/API_docs_v44/types/long.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -9223372036854775807 to 922337 ## Type: long [Back to constructor index](index.md) -A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. diff --git a/old_docs/API_docs_v44/types/string.md b/old_docs/API_docs_v44/types/string.md index 7682db48..ade2fcb4 100644 --- a/old_docs/API_docs_v44/types/string.md +++ b/old_docs/API_docs_v44/types/string.md @@ -5,4 +5,4 @@ description: A UTF8 string of variable length ## Type: string [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length. The total length in bytes of the string must not be bigger than 16777215. diff --git a/old_docs/API_docs_v45/constructors/boolFalse.md b/old_docs/API_docs_v45/constructors/boolFalse.md index 3462a90f..509933a0 100644 --- a/old_docs/API_docs_v45/constructors/boolFalse.md +++ b/old_docs/API_docs_v45/constructors/boolFalse.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to false # boolFalse [Back to constructor index](index.md) - Represents a boolean with value equal to `false`. \ No newline at end of file + Represents a boolean with value equal to `false`. diff --git a/old_docs/API_docs_v45/constructors/boolTrue.md b/old_docs/API_docs_v45/constructors/boolTrue.md index 2b200e04..441228de 100644 --- a/old_docs/API_docs_v45/constructors/boolTrue.md +++ b/old_docs/API_docs_v45/constructors/boolTrue.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to true # boolTrue [Back to constructor index](index.md) -Represents a boolean with value equal to `true`. \ No newline at end of file +Represents a boolean with value equal to `true`. diff --git a/old_docs/API_docs_v45/constructors/null.md b/old_docs/API_docs_v45/constructors/null.md index e8f4db17..9d433233 100644 --- a/old_docs/API_docs_v45/constructors/null.md +++ b/old_docs/API_docs_v45/constructors/null.md @@ -5,4 +5,4 @@ description: Represents a null value # null [Back to constructor index](index.md) -Represents a `null` value. \ No newline at end of file +Represents a `null` value. diff --git a/old_docs/API_docs_v45/types/!X.md b/old_docs/API_docs_v45/types/!X.md index b52cc64f..7d81ce1f 100644 --- a/old_docs/API_docs_v45/types/!X.md +++ b/old_docs/API_docs_v45/types/!X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: !X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v45/types/Bool.md b/old_docs/API_docs_v45/types/Bool.md index e108e862..ea4c7f07 100644 --- a/old_docs/API_docs_v45/types/Bool.md +++ b/old_docs/API_docs_v45/types/Bool.md @@ -5,4 +5,4 @@ description: Represents a boolean. # Bool [Back to types index](index.md) -Represents a boolean. \ No newline at end of file +Represents a boolean. diff --git a/old_docs/API_docs_v45/types/DataJSON.md b/old_docs/API_docs_v45/types/DataJSON.md index b43fab0e..bc20ab98 100644 --- a/old_docs/API_docs_v45/types/DataJSON.md +++ b/old_docs/API_docs_v45/types/DataJSON.md @@ -5,4 +5,4 @@ description: Any json-encodable data ## Type: DataJSON [Back to constructor index](index.md) -Any json-encodable data. \ No newline at end of file +Any json-encodable data. diff --git a/old_docs/API_docs_v45/types/X.md b/old_docs/API_docs_v45/types/X.md index ca50e8ae..250b999c 100644 --- a/old_docs/API_docs_v45/types/X.md +++ b/old_docs/API_docs_v45/types/X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v45/types/bytes.md b/old_docs/API_docs_v45/types/bytes.md index 583bb956..4d3b96b4 100644 --- a/old_docs/API_docs_v45/types/bytes.md +++ b/old_docs/API_docs_v45/types/bytes.md @@ -5,4 +5,4 @@ description: A string of variable length ## Type: bytes [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length, with length smaller than or equal to 16777215. diff --git a/old_docs/API_docs_v45/types/double.md b/old_docs/API_docs_v45/types/double.md index 9e7ac255..413a1661 100644 --- a/old_docs/API_docs_v45/types/double.md +++ b/old_docs/API_docs_v45/types/double.md @@ -5,4 +5,4 @@ description: A double precision floating point number ## Type: double [Back to constructor index](index.md) -A double precision floating point number, single precision can also be used (float). \ No newline at end of file +A double precision floating point number, single precision can also be used (float). diff --git a/old_docs/API_docs_v45/types/int.md b/old_docs/API_docs_v45/types/int.md index a8ba6976..7525a3a4 100644 --- a/old_docs/API_docs_v45/types/int.md +++ b/old_docs/API_docs_v45/types/int.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -2147483647 to 2147483647 ## Type: int [Back to constructor index](index.md) -A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. diff --git a/old_docs/API_docs_v45/types/int128.md b/old_docs/API_docs_v45/types/int128.md index 43471bd6..c681fb75 100644 --- a/old_docs/API_docs_v45/types/int128.md +++ b/old_docs/API_docs_v45/types/int128.md @@ -5,4 +5,4 @@ description: A 128 bit signed integer ## Type: int128 [Back to constructor index](index.md) -A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 128 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v45/types/int256.md b/old_docs/API_docs_v45/types/int256.md index 73e056e8..52fb9420 100644 --- a/old_docs/API_docs_v45/types/int256.md +++ b/old_docs/API_docs_v45/types/int256.md @@ -5,4 +5,4 @@ description: A 256 bit signed integer ## Type: int256 [Back to constructor index](index.md) -A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 256 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v45/types/int512.md b/old_docs/API_docs_v45/types/int512.md index 0b3b1a55..1f848608 100644 --- a/old_docs/API_docs_v45/types/int512.md +++ b/old_docs/API_docs_v45/types/int512.md @@ -5,4 +5,4 @@ description: A 512 bit signed integer ## Type: int512 [Back to constructor index](index.md) -A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 512 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v45/types/long.md b/old_docs/API_docs_v45/types/long.md index 487295f5..d394ca44 100644 --- a/old_docs/API_docs_v45/types/long.md +++ b/old_docs/API_docs_v45/types/long.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -9223372036854775807 to 922337 ## Type: long [Back to constructor index](index.md) -A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. diff --git a/old_docs/API_docs_v45/types/string.md b/old_docs/API_docs_v45/types/string.md index 7682db48..ade2fcb4 100644 --- a/old_docs/API_docs_v45/types/string.md +++ b/old_docs/API_docs_v45/types/string.md @@ -5,4 +5,4 @@ description: A UTF8 string of variable length ## Type: string [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length. The total length in bytes of the string must not be bigger than 16777215. diff --git a/old_docs/API_docs_v46/constructors/boolFalse.md b/old_docs/API_docs_v46/constructors/boolFalse.md index 3462a90f..509933a0 100644 --- a/old_docs/API_docs_v46/constructors/boolFalse.md +++ b/old_docs/API_docs_v46/constructors/boolFalse.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to false # boolFalse [Back to constructor index](index.md) - Represents a boolean with value equal to `false`. \ No newline at end of file + Represents a boolean with value equal to `false`. diff --git a/old_docs/API_docs_v46/constructors/boolTrue.md b/old_docs/API_docs_v46/constructors/boolTrue.md index 2b200e04..441228de 100644 --- a/old_docs/API_docs_v46/constructors/boolTrue.md +++ b/old_docs/API_docs_v46/constructors/boolTrue.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to true # boolTrue [Back to constructor index](index.md) -Represents a boolean with value equal to `true`. \ No newline at end of file +Represents a boolean with value equal to `true`. diff --git a/old_docs/API_docs_v46/constructors/null.md b/old_docs/API_docs_v46/constructors/null.md index e8f4db17..9d433233 100644 --- a/old_docs/API_docs_v46/constructors/null.md +++ b/old_docs/API_docs_v46/constructors/null.md @@ -5,4 +5,4 @@ description: Represents a null value # null [Back to constructor index](index.md) -Represents a `null` value. \ No newline at end of file +Represents a `null` value. diff --git a/old_docs/API_docs_v46/types/!X.md b/old_docs/API_docs_v46/types/!X.md index b52cc64f..7d81ce1f 100644 --- a/old_docs/API_docs_v46/types/!X.md +++ b/old_docs/API_docs_v46/types/!X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: !X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v46/types/Bool.md b/old_docs/API_docs_v46/types/Bool.md index e108e862..ea4c7f07 100644 --- a/old_docs/API_docs_v46/types/Bool.md +++ b/old_docs/API_docs_v46/types/Bool.md @@ -5,4 +5,4 @@ description: Represents a boolean. # Bool [Back to types index](index.md) -Represents a boolean. \ No newline at end of file +Represents a boolean. diff --git a/old_docs/API_docs_v46/types/DataJSON.md b/old_docs/API_docs_v46/types/DataJSON.md index b43fab0e..bc20ab98 100644 --- a/old_docs/API_docs_v46/types/DataJSON.md +++ b/old_docs/API_docs_v46/types/DataJSON.md @@ -5,4 +5,4 @@ description: Any json-encodable data ## Type: DataJSON [Back to constructor index](index.md) -Any json-encodable data. \ No newline at end of file +Any json-encodable data. diff --git a/old_docs/API_docs_v46/types/X.md b/old_docs/API_docs_v46/types/X.md index ca50e8ae..250b999c 100644 --- a/old_docs/API_docs_v46/types/X.md +++ b/old_docs/API_docs_v46/types/X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v46/types/bytes.md b/old_docs/API_docs_v46/types/bytes.md index 583bb956..4d3b96b4 100644 --- a/old_docs/API_docs_v46/types/bytes.md +++ b/old_docs/API_docs_v46/types/bytes.md @@ -5,4 +5,4 @@ description: A string of variable length ## Type: bytes [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length, with length smaller than or equal to 16777215. diff --git a/old_docs/API_docs_v46/types/double.md b/old_docs/API_docs_v46/types/double.md index 9e7ac255..413a1661 100644 --- a/old_docs/API_docs_v46/types/double.md +++ b/old_docs/API_docs_v46/types/double.md @@ -5,4 +5,4 @@ description: A double precision floating point number ## Type: double [Back to constructor index](index.md) -A double precision floating point number, single precision can also be used (float). \ No newline at end of file +A double precision floating point number, single precision can also be used (float). diff --git a/old_docs/API_docs_v46/types/int.md b/old_docs/API_docs_v46/types/int.md index a8ba6976..7525a3a4 100644 --- a/old_docs/API_docs_v46/types/int.md +++ b/old_docs/API_docs_v46/types/int.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -2147483647 to 2147483647 ## Type: int [Back to constructor index](index.md) -A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. diff --git a/old_docs/API_docs_v46/types/int128.md b/old_docs/API_docs_v46/types/int128.md index 43471bd6..c681fb75 100644 --- a/old_docs/API_docs_v46/types/int128.md +++ b/old_docs/API_docs_v46/types/int128.md @@ -5,4 +5,4 @@ description: A 128 bit signed integer ## Type: int128 [Back to constructor index](index.md) -A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 128 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v46/types/int256.md b/old_docs/API_docs_v46/types/int256.md index 73e056e8..52fb9420 100644 --- a/old_docs/API_docs_v46/types/int256.md +++ b/old_docs/API_docs_v46/types/int256.md @@ -5,4 +5,4 @@ description: A 256 bit signed integer ## Type: int256 [Back to constructor index](index.md) -A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 256 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v46/types/int512.md b/old_docs/API_docs_v46/types/int512.md index 0b3b1a55..1f848608 100644 --- a/old_docs/API_docs_v46/types/int512.md +++ b/old_docs/API_docs_v46/types/int512.md @@ -5,4 +5,4 @@ description: A 512 bit signed integer ## Type: int512 [Back to constructor index](index.md) -A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 512 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v46/types/long.md b/old_docs/API_docs_v46/types/long.md index 487295f5..d394ca44 100644 --- a/old_docs/API_docs_v46/types/long.md +++ b/old_docs/API_docs_v46/types/long.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -9223372036854775807 to 922337 ## Type: long [Back to constructor index](index.md) -A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. diff --git a/old_docs/API_docs_v46/types/string.md b/old_docs/API_docs_v46/types/string.md index 7682db48..ade2fcb4 100644 --- a/old_docs/API_docs_v46/types/string.md +++ b/old_docs/API_docs_v46/types/string.md @@ -5,4 +5,4 @@ description: A UTF8 string of variable length ## Type: string [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length. The total length in bytes of the string must not be bigger than 16777215. diff --git a/old_docs/API_docs_v51/constructors/boolFalse.md b/old_docs/API_docs_v51/constructors/boolFalse.md index 3462a90f..509933a0 100644 --- a/old_docs/API_docs_v51/constructors/boolFalse.md +++ b/old_docs/API_docs_v51/constructors/boolFalse.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to false # boolFalse [Back to constructor index](index.md) - Represents a boolean with value equal to `false`. \ No newline at end of file + Represents a boolean with value equal to `false`. diff --git a/old_docs/API_docs_v51/constructors/boolTrue.md b/old_docs/API_docs_v51/constructors/boolTrue.md index 2b200e04..441228de 100644 --- a/old_docs/API_docs_v51/constructors/boolTrue.md +++ b/old_docs/API_docs_v51/constructors/boolTrue.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to true # boolTrue [Back to constructor index](index.md) -Represents a boolean with value equal to `true`. \ No newline at end of file +Represents a boolean with value equal to `true`. diff --git a/old_docs/API_docs_v51/constructors/null.md b/old_docs/API_docs_v51/constructors/null.md index e8f4db17..9d433233 100644 --- a/old_docs/API_docs_v51/constructors/null.md +++ b/old_docs/API_docs_v51/constructors/null.md @@ -5,4 +5,4 @@ description: Represents a null value # null [Back to constructor index](index.md) -Represents a `null` value. \ No newline at end of file +Represents a `null` value. diff --git a/old_docs/API_docs_v51/types/!X.md b/old_docs/API_docs_v51/types/!X.md index b52cc64f..7d81ce1f 100644 --- a/old_docs/API_docs_v51/types/!X.md +++ b/old_docs/API_docs_v51/types/!X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: !X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v51/types/Bool.md b/old_docs/API_docs_v51/types/Bool.md index e108e862..ea4c7f07 100644 --- a/old_docs/API_docs_v51/types/Bool.md +++ b/old_docs/API_docs_v51/types/Bool.md @@ -5,4 +5,4 @@ description: Represents a boolean. # Bool [Back to types index](index.md) -Represents a boolean. \ No newline at end of file +Represents a boolean. diff --git a/old_docs/API_docs_v51/types/DataJSON.md b/old_docs/API_docs_v51/types/DataJSON.md index b43fab0e..bc20ab98 100644 --- a/old_docs/API_docs_v51/types/DataJSON.md +++ b/old_docs/API_docs_v51/types/DataJSON.md @@ -5,4 +5,4 @@ description: Any json-encodable data ## Type: DataJSON [Back to constructor index](index.md) -Any json-encodable data. \ No newline at end of file +Any json-encodable data. diff --git a/old_docs/API_docs_v51/types/X.md b/old_docs/API_docs_v51/types/X.md index ca50e8ae..250b999c 100644 --- a/old_docs/API_docs_v51/types/X.md +++ b/old_docs/API_docs_v51/types/X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v51/types/bytes.md b/old_docs/API_docs_v51/types/bytes.md index 583bb956..4d3b96b4 100644 --- a/old_docs/API_docs_v51/types/bytes.md +++ b/old_docs/API_docs_v51/types/bytes.md @@ -5,4 +5,4 @@ description: A string of variable length ## Type: bytes [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length, with length smaller than or equal to 16777215. diff --git a/old_docs/API_docs_v51/types/double.md b/old_docs/API_docs_v51/types/double.md index 9e7ac255..413a1661 100644 --- a/old_docs/API_docs_v51/types/double.md +++ b/old_docs/API_docs_v51/types/double.md @@ -5,4 +5,4 @@ description: A double precision floating point number ## Type: double [Back to constructor index](index.md) -A double precision floating point number, single precision can also be used (float). \ No newline at end of file +A double precision floating point number, single precision can also be used (float). diff --git a/old_docs/API_docs_v51/types/int.md b/old_docs/API_docs_v51/types/int.md index a8ba6976..7525a3a4 100644 --- a/old_docs/API_docs_v51/types/int.md +++ b/old_docs/API_docs_v51/types/int.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -2147483647 to 2147483647 ## Type: int [Back to constructor index](index.md) -A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. diff --git a/old_docs/API_docs_v51/types/int128.md b/old_docs/API_docs_v51/types/int128.md index 43471bd6..c681fb75 100644 --- a/old_docs/API_docs_v51/types/int128.md +++ b/old_docs/API_docs_v51/types/int128.md @@ -5,4 +5,4 @@ description: A 128 bit signed integer ## Type: int128 [Back to constructor index](index.md) -A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 128 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v51/types/int256.md b/old_docs/API_docs_v51/types/int256.md index 73e056e8..52fb9420 100644 --- a/old_docs/API_docs_v51/types/int256.md +++ b/old_docs/API_docs_v51/types/int256.md @@ -5,4 +5,4 @@ description: A 256 bit signed integer ## Type: int256 [Back to constructor index](index.md) -A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 256 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v51/types/int512.md b/old_docs/API_docs_v51/types/int512.md index 0b3b1a55..1f848608 100644 --- a/old_docs/API_docs_v51/types/int512.md +++ b/old_docs/API_docs_v51/types/int512.md @@ -5,4 +5,4 @@ description: A 512 bit signed integer ## Type: int512 [Back to constructor index](index.md) -A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 512 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v51/types/long.md b/old_docs/API_docs_v51/types/long.md index 487295f5..d394ca44 100644 --- a/old_docs/API_docs_v51/types/long.md +++ b/old_docs/API_docs_v51/types/long.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -9223372036854775807 to 922337 ## Type: long [Back to constructor index](index.md) -A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. diff --git a/old_docs/API_docs_v51/types/string.md b/old_docs/API_docs_v51/types/string.md index 7682db48..ade2fcb4 100644 --- a/old_docs/API_docs_v51/types/string.md +++ b/old_docs/API_docs_v51/types/string.md @@ -5,4 +5,4 @@ description: A UTF8 string of variable length ## Type: string [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length. The total length in bytes of the string must not be bigger than 16777215. diff --git a/old_docs/API_docs_v53/constructors/boolFalse.md b/old_docs/API_docs_v53/constructors/boolFalse.md index 3462a90f..509933a0 100644 --- a/old_docs/API_docs_v53/constructors/boolFalse.md +++ b/old_docs/API_docs_v53/constructors/boolFalse.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to false # boolFalse [Back to constructor index](index.md) - Represents a boolean with value equal to `false`. \ No newline at end of file + Represents a boolean with value equal to `false`. diff --git a/old_docs/API_docs_v53/constructors/boolTrue.md b/old_docs/API_docs_v53/constructors/boolTrue.md index 2b200e04..441228de 100644 --- a/old_docs/API_docs_v53/constructors/boolTrue.md +++ b/old_docs/API_docs_v53/constructors/boolTrue.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to true # boolTrue [Back to constructor index](index.md) -Represents a boolean with value equal to `true`. \ No newline at end of file +Represents a boolean with value equal to `true`. diff --git a/old_docs/API_docs_v53/constructors/null.md b/old_docs/API_docs_v53/constructors/null.md index e8f4db17..9d433233 100644 --- a/old_docs/API_docs_v53/constructors/null.md +++ b/old_docs/API_docs_v53/constructors/null.md @@ -5,4 +5,4 @@ description: Represents a null value # null [Back to constructor index](index.md) -Represents a `null` value. \ No newline at end of file +Represents a `null` value. diff --git a/old_docs/API_docs_v53/types/!X.md b/old_docs/API_docs_v53/types/!X.md index b52cc64f..7d81ce1f 100644 --- a/old_docs/API_docs_v53/types/!X.md +++ b/old_docs/API_docs_v53/types/!X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: !X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v53/types/Bool.md b/old_docs/API_docs_v53/types/Bool.md index e108e862..ea4c7f07 100644 --- a/old_docs/API_docs_v53/types/Bool.md +++ b/old_docs/API_docs_v53/types/Bool.md @@ -5,4 +5,4 @@ description: Represents a boolean. # Bool [Back to types index](index.md) -Represents a boolean. \ No newline at end of file +Represents a boolean. diff --git a/old_docs/API_docs_v53/types/DataJSON.md b/old_docs/API_docs_v53/types/DataJSON.md index b43fab0e..bc20ab98 100644 --- a/old_docs/API_docs_v53/types/DataJSON.md +++ b/old_docs/API_docs_v53/types/DataJSON.md @@ -5,4 +5,4 @@ description: Any json-encodable data ## Type: DataJSON [Back to constructor index](index.md) -Any json-encodable data. \ No newline at end of file +Any json-encodable data. diff --git a/old_docs/API_docs_v53/types/X.md b/old_docs/API_docs_v53/types/X.md index ca50e8ae..250b999c 100644 --- a/old_docs/API_docs_v53/types/X.md +++ b/old_docs/API_docs_v53/types/X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v53/types/bytes.md b/old_docs/API_docs_v53/types/bytes.md index 583bb956..4d3b96b4 100644 --- a/old_docs/API_docs_v53/types/bytes.md +++ b/old_docs/API_docs_v53/types/bytes.md @@ -5,4 +5,4 @@ description: A string of variable length ## Type: bytes [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length, with length smaller than or equal to 16777215. diff --git a/old_docs/API_docs_v53/types/double.md b/old_docs/API_docs_v53/types/double.md index 9e7ac255..413a1661 100644 --- a/old_docs/API_docs_v53/types/double.md +++ b/old_docs/API_docs_v53/types/double.md @@ -5,4 +5,4 @@ description: A double precision floating point number ## Type: double [Back to constructor index](index.md) -A double precision floating point number, single precision can also be used (float). \ No newline at end of file +A double precision floating point number, single precision can also be used (float). diff --git a/old_docs/API_docs_v53/types/int.md b/old_docs/API_docs_v53/types/int.md index a8ba6976..7525a3a4 100644 --- a/old_docs/API_docs_v53/types/int.md +++ b/old_docs/API_docs_v53/types/int.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -2147483647 to 2147483647 ## Type: int [Back to constructor index](index.md) -A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. diff --git a/old_docs/API_docs_v53/types/int128.md b/old_docs/API_docs_v53/types/int128.md index 43471bd6..c681fb75 100644 --- a/old_docs/API_docs_v53/types/int128.md +++ b/old_docs/API_docs_v53/types/int128.md @@ -5,4 +5,4 @@ description: A 128 bit signed integer ## Type: int128 [Back to constructor index](index.md) -A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 128 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v53/types/int256.md b/old_docs/API_docs_v53/types/int256.md index 73e056e8..52fb9420 100644 --- a/old_docs/API_docs_v53/types/int256.md +++ b/old_docs/API_docs_v53/types/int256.md @@ -5,4 +5,4 @@ description: A 256 bit signed integer ## Type: int256 [Back to constructor index](index.md) -A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 256 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v53/types/int512.md b/old_docs/API_docs_v53/types/int512.md index 0b3b1a55..1f848608 100644 --- a/old_docs/API_docs_v53/types/int512.md +++ b/old_docs/API_docs_v53/types/int512.md @@ -5,4 +5,4 @@ description: A 512 bit signed integer ## Type: int512 [Back to constructor index](index.md) -A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 512 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v53/types/long.md b/old_docs/API_docs_v53/types/long.md index 487295f5..d394ca44 100644 --- a/old_docs/API_docs_v53/types/long.md +++ b/old_docs/API_docs_v53/types/long.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -9223372036854775807 to 922337 ## Type: long [Back to constructor index](index.md) -A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. diff --git a/old_docs/API_docs_v53/types/string.md b/old_docs/API_docs_v53/types/string.md index 7682db48..ade2fcb4 100644 --- a/old_docs/API_docs_v53/types/string.md +++ b/old_docs/API_docs_v53/types/string.md @@ -5,4 +5,4 @@ description: A UTF8 string of variable length ## Type: string [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length. The total length in bytes of the string must not be bigger than 16777215. diff --git a/old_docs/API_docs_v55/constructors/boolFalse.md b/old_docs/API_docs_v55/constructors/boolFalse.md index 3462a90f..509933a0 100644 --- a/old_docs/API_docs_v55/constructors/boolFalse.md +++ b/old_docs/API_docs_v55/constructors/boolFalse.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to false # boolFalse [Back to constructor index](index.md) - Represents a boolean with value equal to `false`. \ No newline at end of file + Represents a boolean with value equal to `false`. diff --git a/old_docs/API_docs_v55/constructors/boolTrue.md b/old_docs/API_docs_v55/constructors/boolTrue.md index 2b200e04..441228de 100644 --- a/old_docs/API_docs_v55/constructors/boolTrue.md +++ b/old_docs/API_docs_v55/constructors/boolTrue.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to true # boolTrue [Back to constructor index](index.md) -Represents a boolean with value equal to `true`. \ No newline at end of file +Represents a boolean with value equal to `true`. diff --git a/old_docs/API_docs_v55/constructors/null.md b/old_docs/API_docs_v55/constructors/null.md index e8f4db17..9d433233 100644 --- a/old_docs/API_docs_v55/constructors/null.md +++ b/old_docs/API_docs_v55/constructors/null.md @@ -5,4 +5,4 @@ description: Represents a null value # null [Back to constructor index](index.md) -Represents a `null` value. \ No newline at end of file +Represents a `null` value. diff --git a/old_docs/API_docs_v55/types/!X.md b/old_docs/API_docs_v55/types/!X.md index b52cc64f..7d81ce1f 100644 --- a/old_docs/API_docs_v55/types/!X.md +++ b/old_docs/API_docs_v55/types/!X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: !X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v55/types/Bool.md b/old_docs/API_docs_v55/types/Bool.md index e108e862..ea4c7f07 100644 --- a/old_docs/API_docs_v55/types/Bool.md +++ b/old_docs/API_docs_v55/types/Bool.md @@ -5,4 +5,4 @@ description: Represents a boolean. # Bool [Back to types index](index.md) -Represents a boolean. \ No newline at end of file +Represents a boolean. diff --git a/old_docs/API_docs_v55/types/DataJSON.md b/old_docs/API_docs_v55/types/DataJSON.md index b43fab0e..bc20ab98 100644 --- a/old_docs/API_docs_v55/types/DataJSON.md +++ b/old_docs/API_docs_v55/types/DataJSON.md @@ -5,4 +5,4 @@ description: Any json-encodable data ## Type: DataJSON [Back to constructor index](index.md) -Any json-encodable data. \ No newline at end of file +Any json-encodable data. diff --git a/old_docs/API_docs_v55/types/X.md b/old_docs/API_docs_v55/types/X.md index ca50e8ae..250b999c 100644 --- a/old_docs/API_docs_v55/types/X.md +++ b/old_docs/API_docs_v55/types/X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v55/types/bytes.md b/old_docs/API_docs_v55/types/bytes.md index 583bb956..4d3b96b4 100644 --- a/old_docs/API_docs_v55/types/bytes.md +++ b/old_docs/API_docs_v55/types/bytes.md @@ -5,4 +5,4 @@ description: A string of variable length ## Type: bytes [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length, with length smaller than or equal to 16777215. diff --git a/old_docs/API_docs_v55/types/double.md b/old_docs/API_docs_v55/types/double.md index 9e7ac255..413a1661 100644 --- a/old_docs/API_docs_v55/types/double.md +++ b/old_docs/API_docs_v55/types/double.md @@ -5,4 +5,4 @@ description: A double precision floating point number ## Type: double [Back to constructor index](index.md) -A double precision floating point number, single precision can also be used (float). \ No newline at end of file +A double precision floating point number, single precision can also be used (float). diff --git a/old_docs/API_docs_v55/types/int.md b/old_docs/API_docs_v55/types/int.md index a8ba6976..7525a3a4 100644 --- a/old_docs/API_docs_v55/types/int.md +++ b/old_docs/API_docs_v55/types/int.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -2147483647 to 2147483647 ## Type: int [Back to constructor index](index.md) -A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. diff --git a/old_docs/API_docs_v55/types/int128.md b/old_docs/API_docs_v55/types/int128.md index 43471bd6..c681fb75 100644 --- a/old_docs/API_docs_v55/types/int128.md +++ b/old_docs/API_docs_v55/types/int128.md @@ -5,4 +5,4 @@ description: A 128 bit signed integer ## Type: int128 [Back to constructor index](index.md) -A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 128 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v55/types/int256.md b/old_docs/API_docs_v55/types/int256.md index 73e056e8..52fb9420 100644 --- a/old_docs/API_docs_v55/types/int256.md +++ b/old_docs/API_docs_v55/types/int256.md @@ -5,4 +5,4 @@ description: A 256 bit signed integer ## Type: int256 [Back to constructor index](index.md) -A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 256 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v55/types/int512.md b/old_docs/API_docs_v55/types/int512.md index 0b3b1a55..1f848608 100644 --- a/old_docs/API_docs_v55/types/int512.md +++ b/old_docs/API_docs_v55/types/int512.md @@ -5,4 +5,4 @@ description: A 512 bit signed integer ## Type: int512 [Back to constructor index](index.md) -A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 512 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v55/types/long.md b/old_docs/API_docs_v55/types/long.md index 487295f5..d394ca44 100644 --- a/old_docs/API_docs_v55/types/long.md +++ b/old_docs/API_docs_v55/types/long.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -9223372036854775807 to 922337 ## Type: long [Back to constructor index](index.md) -A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. diff --git a/old_docs/API_docs_v55/types/string.md b/old_docs/API_docs_v55/types/string.md index 7682db48..ade2fcb4 100644 --- a/old_docs/API_docs_v55/types/string.md +++ b/old_docs/API_docs_v55/types/string.md @@ -5,4 +5,4 @@ description: A UTF8 string of variable length ## Type: string [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length. The total length in bytes of the string must not be bigger than 16777215. diff --git a/old_docs/API_docs_v57/constructors/boolFalse.md b/old_docs/API_docs_v57/constructors/boolFalse.md index 3462a90f..509933a0 100644 --- a/old_docs/API_docs_v57/constructors/boolFalse.md +++ b/old_docs/API_docs_v57/constructors/boolFalse.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to false # boolFalse [Back to constructor index](index.md) - Represents a boolean with value equal to `false`. \ No newline at end of file + Represents a boolean with value equal to `false`. diff --git a/old_docs/API_docs_v57/constructors/boolTrue.md b/old_docs/API_docs_v57/constructors/boolTrue.md index 2b200e04..441228de 100644 --- a/old_docs/API_docs_v57/constructors/boolTrue.md +++ b/old_docs/API_docs_v57/constructors/boolTrue.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to true # boolTrue [Back to constructor index](index.md) -Represents a boolean with value equal to `true`. \ No newline at end of file +Represents a boolean with value equal to `true`. diff --git a/old_docs/API_docs_v57/constructors/null.md b/old_docs/API_docs_v57/constructors/null.md index e8f4db17..9d433233 100644 --- a/old_docs/API_docs_v57/constructors/null.md +++ b/old_docs/API_docs_v57/constructors/null.md @@ -5,4 +5,4 @@ description: Represents a null value # null [Back to constructor index](index.md) -Represents a `null` value. \ No newline at end of file +Represents a `null` value. diff --git a/old_docs/API_docs_v57/types/!X.md b/old_docs/API_docs_v57/types/!X.md index b52cc64f..7d81ce1f 100644 --- a/old_docs/API_docs_v57/types/!X.md +++ b/old_docs/API_docs_v57/types/!X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: !X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v57/types/Bool.md b/old_docs/API_docs_v57/types/Bool.md index e108e862..ea4c7f07 100644 --- a/old_docs/API_docs_v57/types/Bool.md +++ b/old_docs/API_docs_v57/types/Bool.md @@ -5,4 +5,4 @@ description: Represents a boolean. # Bool [Back to types index](index.md) -Represents a boolean. \ No newline at end of file +Represents a boolean. diff --git a/old_docs/API_docs_v57/types/DataJSON.md b/old_docs/API_docs_v57/types/DataJSON.md index b43fab0e..bc20ab98 100644 --- a/old_docs/API_docs_v57/types/DataJSON.md +++ b/old_docs/API_docs_v57/types/DataJSON.md @@ -5,4 +5,4 @@ description: Any json-encodable data ## Type: DataJSON [Back to constructor index](index.md) -Any json-encodable data. \ No newline at end of file +Any json-encodable data. diff --git a/old_docs/API_docs_v57/types/X.md b/old_docs/API_docs_v57/types/X.md index ca50e8ae..250b999c 100644 --- a/old_docs/API_docs_v57/types/X.md +++ b/old_docs/API_docs_v57/types/X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v57/types/bytes.md b/old_docs/API_docs_v57/types/bytes.md index 583bb956..4d3b96b4 100644 --- a/old_docs/API_docs_v57/types/bytes.md +++ b/old_docs/API_docs_v57/types/bytes.md @@ -5,4 +5,4 @@ description: A string of variable length ## Type: bytes [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length, with length smaller than or equal to 16777215. diff --git a/old_docs/API_docs_v57/types/double.md b/old_docs/API_docs_v57/types/double.md index 9e7ac255..413a1661 100644 --- a/old_docs/API_docs_v57/types/double.md +++ b/old_docs/API_docs_v57/types/double.md @@ -5,4 +5,4 @@ description: A double precision floating point number ## Type: double [Back to constructor index](index.md) -A double precision floating point number, single precision can also be used (float). \ No newline at end of file +A double precision floating point number, single precision can also be used (float). diff --git a/old_docs/API_docs_v57/types/int.md b/old_docs/API_docs_v57/types/int.md index a8ba6976..7525a3a4 100644 --- a/old_docs/API_docs_v57/types/int.md +++ b/old_docs/API_docs_v57/types/int.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -2147483647 to 2147483647 ## Type: int [Back to constructor index](index.md) -A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. diff --git a/old_docs/API_docs_v57/types/int128.md b/old_docs/API_docs_v57/types/int128.md index 43471bd6..c681fb75 100644 --- a/old_docs/API_docs_v57/types/int128.md +++ b/old_docs/API_docs_v57/types/int128.md @@ -5,4 +5,4 @@ description: A 128 bit signed integer ## Type: int128 [Back to constructor index](index.md) -A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 128 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v57/types/int256.md b/old_docs/API_docs_v57/types/int256.md index 73e056e8..52fb9420 100644 --- a/old_docs/API_docs_v57/types/int256.md +++ b/old_docs/API_docs_v57/types/int256.md @@ -5,4 +5,4 @@ description: A 256 bit signed integer ## Type: int256 [Back to constructor index](index.md) -A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 256 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v57/types/int512.md b/old_docs/API_docs_v57/types/int512.md index 0b3b1a55..1f848608 100644 --- a/old_docs/API_docs_v57/types/int512.md +++ b/old_docs/API_docs_v57/types/int512.md @@ -5,4 +5,4 @@ description: A 512 bit signed integer ## Type: int512 [Back to constructor index](index.md) -A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 512 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v57/types/long.md b/old_docs/API_docs_v57/types/long.md index 487295f5..d394ca44 100644 --- a/old_docs/API_docs_v57/types/long.md +++ b/old_docs/API_docs_v57/types/long.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -9223372036854775807 to 922337 ## Type: long [Back to constructor index](index.md) -A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. diff --git a/old_docs/API_docs_v57/types/string.md b/old_docs/API_docs_v57/types/string.md index 7682db48..ade2fcb4 100644 --- a/old_docs/API_docs_v57/types/string.md +++ b/old_docs/API_docs_v57/types/string.md @@ -5,4 +5,4 @@ description: A UTF8 string of variable length ## Type: string [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length. The total length in bytes of the string must not be bigger than 16777215. diff --git a/old_docs/API_docs_v62/constructors/boolFalse.md b/old_docs/API_docs_v62/constructors/boolFalse.md index 3462a90f..509933a0 100644 --- a/old_docs/API_docs_v62/constructors/boolFalse.md +++ b/old_docs/API_docs_v62/constructors/boolFalse.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to false # boolFalse [Back to constructor index](index.md) - Represents a boolean with value equal to `false`. \ No newline at end of file + Represents a boolean with value equal to `false`. diff --git a/old_docs/API_docs_v62/constructors/boolTrue.md b/old_docs/API_docs_v62/constructors/boolTrue.md index 2b200e04..441228de 100644 --- a/old_docs/API_docs_v62/constructors/boolTrue.md +++ b/old_docs/API_docs_v62/constructors/boolTrue.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to true # boolTrue [Back to constructor index](index.md) -Represents a boolean with value equal to `true`. \ No newline at end of file +Represents a boolean with value equal to `true`. diff --git a/old_docs/API_docs_v62/constructors/null.md b/old_docs/API_docs_v62/constructors/null.md index e8f4db17..9d433233 100644 --- a/old_docs/API_docs_v62/constructors/null.md +++ b/old_docs/API_docs_v62/constructors/null.md @@ -5,4 +5,4 @@ description: Represents a null value # null [Back to constructor index](index.md) -Represents a `null` value. \ No newline at end of file +Represents a `null` value. diff --git a/old_docs/API_docs_v62/types/!X.md b/old_docs/API_docs_v62/types/!X.md index b52cc64f..7d81ce1f 100644 --- a/old_docs/API_docs_v62/types/!X.md +++ b/old_docs/API_docs_v62/types/!X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: !X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v62/types/Bool.md b/old_docs/API_docs_v62/types/Bool.md index e108e862..ea4c7f07 100644 --- a/old_docs/API_docs_v62/types/Bool.md +++ b/old_docs/API_docs_v62/types/Bool.md @@ -5,4 +5,4 @@ description: Represents a boolean. # Bool [Back to types index](index.md) -Represents a boolean. \ No newline at end of file +Represents a boolean. diff --git a/old_docs/API_docs_v62/types/DataJSON.md b/old_docs/API_docs_v62/types/DataJSON.md index b43fab0e..bc20ab98 100644 --- a/old_docs/API_docs_v62/types/DataJSON.md +++ b/old_docs/API_docs_v62/types/DataJSON.md @@ -5,4 +5,4 @@ description: Any json-encodable data ## Type: DataJSON [Back to constructor index](index.md) -Any json-encodable data. \ No newline at end of file +Any json-encodable data. diff --git a/old_docs/API_docs_v62/types/X.md b/old_docs/API_docs_v62/types/X.md index ca50e8ae..250b999c 100644 --- a/old_docs/API_docs_v62/types/X.md +++ b/old_docs/API_docs_v62/types/X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v62/types/bytes.md b/old_docs/API_docs_v62/types/bytes.md index 583bb956..4d3b96b4 100644 --- a/old_docs/API_docs_v62/types/bytes.md +++ b/old_docs/API_docs_v62/types/bytes.md @@ -5,4 +5,4 @@ description: A string of variable length ## Type: bytes [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length, with length smaller than or equal to 16777215. diff --git a/old_docs/API_docs_v62/types/double.md b/old_docs/API_docs_v62/types/double.md index 9e7ac255..413a1661 100644 --- a/old_docs/API_docs_v62/types/double.md +++ b/old_docs/API_docs_v62/types/double.md @@ -5,4 +5,4 @@ description: A double precision floating point number ## Type: double [Back to constructor index](index.md) -A double precision floating point number, single precision can also be used (float). \ No newline at end of file +A double precision floating point number, single precision can also be used (float). diff --git a/old_docs/API_docs_v62/types/int.md b/old_docs/API_docs_v62/types/int.md index a8ba6976..7525a3a4 100644 --- a/old_docs/API_docs_v62/types/int.md +++ b/old_docs/API_docs_v62/types/int.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -2147483647 to 2147483647 ## Type: int [Back to constructor index](index.md) -A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. diff --git a/old_docs/API_docs_v62/types/int128.md b/old_docs/API_docs_v62/types/int128.md index 43471bd6..c681fb75 100644 --- a/old_docs/API_docs_v62/types/int128.md +++ b/old_docs/API_docs_v62/types/int128.md @@ -5,4 +5,4 @@ description: A 128 bit signed integer ## Type: int128 [Back to constructor index](index.md) -A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 128 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v62/types/int256.md b/old_docs/API_docs_v62/types/int256.md index 73e056e8..52fb9420 100644 --- a/old_docs/API_docs_v62/types/int256.md +++ b/old_docs/API_docs_v62/types/int256.md @@ -5,4 +5,4 @@ description: A 256 bit signed integer ## Type: int256 [Back to constructor index](index.md) -A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 256 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v62/types/int512.md b/old_docs/API_docs_v62/types/int512.md index 0b3b1a55..1f848608 100644 --- a/old_docs/API_docs_v62/types/int512.md +++ b/old_docs/API_docs_v62/types/int512.md @@ -5,4 +5,4 @@ description: A 512 bit signed integer ## Type: int512 [Back to constructor index](index.md) -A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 512 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v62/types/long.md b/old_docs/API_docs_v62/types/long.md index 487295f5..d394ca44 100644 --- a/old_docs/API_docs_v62/types/long.md +++ b/old_docs/API_docs_v62/types/long.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -9223372036854775807 to 922337 ## Type: long [Back to constructor index](index.md) -A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. diff --git a/old_docs/API_docs_v62/types/string.md b/old_docs/API_docs_v62/types/string.md index 7682db48..ade2fcb4 100644 --- a/old_docs/API_docs_v62/types/string.md +++ b/old_docs/API_docs_v62/types/string.md @@ -5,4 +5,4 @@ description: A UTF8 string of variable length ## Type: string [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length. The total length in bytes of the string must not be bigger than 16777215. diff --git a/old_docs/API_docs_v65/constructors/boolFalse.md b/old_docs/API_docs_v65/constructors/boolFalse.md index 3462a90f..509933a0 100644 --- a/old_docs/API_docs_v65/constructors/boolFalse.md +++ b/old_docs/API_docs_v65/constructors/boolFalse.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to false # boolFalse [Back to constructor index](index.md) - Represents a boolean with value equal to `false`. \ No newline at end of file + Represents a boolean with value equal to `false`. diff --git a/old_docs/API_docs_v65/constructors/boolTrue.md b/old_docs/API_docs_v65/constructors/boolTrue.md index 2b200e04..441228de 100644 --- a/old_docs/API_docs_v65/constructors/boolTrue.md +++ b/old_docs/API_docs_v65/constructors/boolTrue.md @@ -5,4 +5,4 @@ description: Represents a boolean with value equal to true # boolTrue [Back to constructor index](index.md) -Represents a boolean with value equal to `true`. \ No newline at end of file +Represents a boolean with value equal to `true`. diff --git a/old_docs/API_docs_v65/constructors/null.md b/old_docs/API_docs_v65/constructors/null.md index e8f4db17..9d433233 100644 --- a/old_docs/API_docs_v65/constructors/null.md +++ b/old_docs/API_docs_v65/constructors/null.md @@ -5,4 +5,4 @@ description: Represents a null value # null [Back to constructor index](index.md) -Represents a `null` value. \ No newline at end of file +Represents a `null` value. diff --git a/old_docs/API_docs_v65/types/!X.md b/old_docs/API_docs_v65/types/!X.md index b52cc64f..7d81ce1f 100644 --- a/old_docs/API_docs_v65/types/!X.md +++ b/old_docs/API_docs_v65/types/!X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: !X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v65/types/Bool.md b/old_docs/API_docs_v65/types/Bool.md index e108e862..ea4c7f07 100644 --- a/old_docs/API_docs_v65/types/Bool.md +++ b/old_docs/API_docs_v65/types/Bool.md @@ -5,4 +5,4 @@ description: Represents a boolean. # Bool [Back to types index](index.md) -Represents a boolean. \ No newline at end of file +Represents a boolean. diff --git a/old_docs/API_docs_v65/types/DataJSON.md b/old_docs/API_docs_v65/types/DataJSON.md index b43fab0e..bc20ab98 100644 --- a/old_docs/API_docs_v65/types/DataJSON.md +++ b/old_docs/API_docs_v65/types/DataJSON.md @@ -5,4 +5,4 @@ description: Any json-encodable data ## Type: DataJSON [Back to constructor index](index.md) -Any json-encodable data. \ No newline at end of file +Any json-encodable data. diff --git a/old_docs/API_docs_v65/types/X.md b/old_docs/API_docs_v65/types/X.md index ca50e8ae..250b999c 100644 --- a/old_docs/API_docs_v65/types/X.md +++ b/old_docs/API_docs_v65/types/X.md @@ -5,4 +5,4 @@ description: Represents a TL serialized payload ## Type: X [Back to constructor index](index.md) -Represents a TL serialized payload. \ No newline at end of file +Represents a TL serialized payload. diff --git a/old_docs/API_docs_v65/types/bytes.md b/old_docs/API_docs_v65/types/bytes.md index 583bb956..4d3b96b4 100644 --- a/old_docs/API_docs_v65/types/bytes.md +++ b/old_docs/API_docs_v65/types/bytes.md @@ -5,4 +5,4 @@ description: A string of variable length ## Type: bytes [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length, with length smaller than or equal to 16777215. diff --git a/old_docs/API_docs_v65/types/double.md b/old_docs/API_docs_v65/types/double.md index 9e7ac255..413a1661 100644 --- a/old_docs/API_docs_v65/types/double.md +++ b/old_docs/API_docs_v65/types/double.md @@ -5,4 +5,4 @@ description: A double precision floating point number ## Type: double [Back to constructor index](index.md) -A double precision floating point number, single precision can also be used (float). \ No newline at end of file +A double precision floating point number, single precision can also be used (float). diff --git a/old_docs/API_docs_v65/types/int.md b/old_docs/API_docs_v65/types/int.md index a8ba6976..7525a3a4 100644 --- a/old_docs/API_docs_v65/types/int.md +++ b/old_docs/API_docs_v65/types/int.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -2147483647 to 2147483647 ## Type: int [Back to constructor index](index.md) -A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. diff --git a/old_docs/API_docs_v65/types/int128.md b/old_docs/API_docs_v65/types/int128.md index 43471bd6..c681fb75 100644 --- a/old_docs/API_docs_v65/types/int128.md +++ b/old_docs/API_docs_v65/types/int128.md @@ -5,4 +5,4 @@ description: A 128 bit signed integer ## Type: int128 [Back to constructor index](index.md) -A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 128 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v65/types/int256.md b/old_docs/API_docs_v65/types/int256.md index 73e056e8..52fb9420 100644 --- a/old_docs/API_docs_v65/types/int256.md +++ b/old_docs/API_docs_v65/types/int256.md @@ -5,4 +5,4 @@ description: A 256 bit signed integer ## Type: int256 [Back to constructor index](index.md) -A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 256 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v65/types/int512.md b/old_docs/API_docs_v65/types/int512.md index 0b3b1a55..1f848608 100644 --- a/old_docs/API_docs_v65/types/int512.md +++ b/old_docs/API_docs_v65/types/int512.md @@ -5,4 +5,4 @@ description: A 512 bit signed integer ## Type: int512 [Back to constructor index](index.md) -A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file +A 512 bit signed integer represented in little-endian base256 (`string`) format. diff --git a/old_docs/API_docs_v65/types/long.md b/old_docs/API_docs_v65/types/long.md index 487295f5..d394ca44 100644 --- a/old_docs/API_docs_v65/types/long.md +++ b/old_docs/API_docs_v65/types/long.md @@ -5,4 +5,4 @@ description: A 32 bit signed integer ranging from -9223372036854775807 to 922337 ## Type: long [Back to constructor index](index.md) -A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. diff --git a/old_docs/API_docs_v65/types/string.md b/old_docs/API_docs_v65/types/string.md index 7682db48..ade2fcb4 100644 --- a/old_docs/API_docs_v65/types/string.md +++ b/old_docs/API_docs_v65/types/string.md @@ -5,4 +5,4 @@ description: A UTF8 string of variable length ## Type: string [Back to constructor index](index.md) -A string of variable length. \ No newline at end of file +A string of variable length. The total length in bytes of the string must not be bigger than 16777215. diff --git a/src/danog/MadelineProto/DocsBuilder.php b/src/danog/MadelineProto/DocsBuilder.php old mode 100755 new mode 100644 index 89f368d8..a1d2737c --- a/src/danog/MadelineProto/DocsBuilder.php +++ b/src/danog/MadelineProto/DocsBuilder.php @@ -601,7 +601,7 @@ $'.$type.' = -147286699; // Numeric chat id returned by request_secret_chat, can '; if (file_exists('types/'.$type.'.md')) { - var_dump($type); + \danog\MadelineProto\Logger::log([$type]); } file_put_contents('types/'.$type.'.md', $header.$constructors.$methods); $last_namespace = $new_namespace; @@ -628,7 +628,8 @@ description: A UTF8 string of variable length ## Type: string [Back to constructor index](index.md) -A string of variable length.'); +A string of variable length. The total length in bytes of the string must not be bigger than 16777215. +'); file_put_contents('types/bytes.md', '--- title: bytes description: A string of variable length @@ -636,7 +637,8 @@ description: A string of variable length ## Type: bytes [Back to constructor index](index.md) -A string of variable length.'); +A string of variable length, with length smaller than or equal to 16777215. +'); file_put_contents('types/int.md', '--- title: integer @@ -645,7 +647,8 @@ description: A 32 bit signed integer ranging from -2147483647 to 2147483647 ## Type: int [Back to constructor index](index.md) -A 32 bit signed integer ranging from `-2147483647` to `2147483647`.'); +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. +'); file_put_contents('types/long.md', '--- title: long @@ -654,7 +657,8 @@ description: A 32 bit signed integer ranging from -9223372036854775807 to 922337 ## Type: long [Back to constructor index](index.md) -A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`.'); +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. +'); file_put_contents('types/int128.md', '--- title: int128 @@ -663,7 +667,8 @@ description: A 128 bit signed integer ## Type: int128 [Back to constructor index](index.md) -A 128 bit signed integer represented in little-endian base256 (`string`) format.'); +A 128 bit signed integer represented in little-endian base256 (`string`) format. +'); file_put_contents('types/int256.md', '--- title: int256 @@ -672,7 +677,8 @@ description: A 256 bit signed integer ## Type: int256 [Back to constructor index](index.md) -A 256 bit signed integer represented in little-endian base256 (`string`) format.'); +A 256 bit signed integer represented in little-endian base256 (`string`) format. +'); file_put_contents('types/int512.md', '--- title: int512 @@ -681,7 +687,8 @@ description: A 512 bit signed integer ## Type: int512 [Back to constructor index](index.md) -A 512 bit signed integer represented in little-endian base256 (`string`) format.'); +A 512 bit signed integer represented in little-endian base256 (`string`) format. +'); file_put_contents('types/double.md', '--- title: double @@ -690,7 +697,8 @@ description: A double precision floating point number ## Type: double [Back to constructor index](index.md) -A double precision floating point number, single precision can also be used (float).'); +A double precision floating point number, single precision can also be used (float). +'); file_put_contents('types/!X.md', '--- title: !X @@ -699,7 +707,8 @@ description: Represents a TL serialized payload ## Type: !X [Back to constructor index](index.md) -Represents a TL serialized payload.'); +Represents a TL serialized payload. +'); file_put_contents('types/X.md', '--- title: X @@ -708,7 +717,8 @@ description: Represents a TL serialized payload ## Type: X [Back to constructor index](index.md) -Represents a TL serialized payload.'); +Represents a TL serialized payload. +'); file_put_contents('constructors/boolFalse.md', '--- title: boolFalse @@ -717,7 +727,8 @@ description: Represents a boolean with value equal to false # boolFalse [Back to constructor index](index.md) - Represents a boolean with value equal to `false`.'); + Represents a boolean with value equal to `false`. +'); file_put_contents('constructors/boolTrue.md', '--- title: boolTrue @@ -726,7 +737,8 @@ description: Represents a boolean with value equal to true # boolTrue [Back to constructor index](index.md) -Represents a boolean with value equal to `true`.'); +Represents a boolean with value equal to `true`. +'); file_put_contents('constructors/null.md', '--- title: null @@ -735,7 +747,8 @@ description: Represents a null value # null [Back to constructor index](index.md) -Represents a `null` value.'); +Represents a `null` value. +'); file_put_contents('types/Bool.md', '--- title: Bool @@ -744,7 +757,8 @@ description: Represents a boolean. # Bool [Back to types index](index.md) -Represents a boolean.'); +Represents a boolean. +'); file_put_contents('types/DataJSON.md', '--- title: DataJSON @@ -753,7 +767,8 @@ description: Any json-encodable data ## Type: DataJSON [Back to constructor index](index.md) -Any json-encodable data.'); +Any json-encodable data. +'); \danog\MadelineProto\Logger::log(['Done!'], \danog\MadelineProto\Logger::NOTICE); } diff --git a/src/danog/MadelineProto/MTProto.php b/src/danog/MadelineProto/MTProto.php index 9528760d..4e2ed0ee 100644 --- a/src/danog/MadelineProto/MTProto.php +++ b/src/danog/MadelineProto/MTProto.php @@ -195,7 +195,6 @@ class MTProto if (!$this->readers[$dc]->isRunning()) { $this->readers[$dc]->garbage = false; $this->reader_pool->submit($this->readers[$dc]); - var_dump('hey'); Logger::log(['Socket reader on DC '.$dc.': RESTARTED'], Logger::WARNING); while (!$this->readers[$dc]->ready); } else { diff --git a/src/danog/MadelineProto/MTProtoTools/CallHandler.php b/src/danog/MadelineProto/MTProtoTools/CallHandler.php index 1dcb5b46..523b4b62 100644 --- a/src/danog/MadelineProto/MTProtoTools/CallHandler.php +++ b/src/danog/MadelineProto/MTProtoTools/CallHandler.php @@ -166,7 +166,7 @@ trait CallHandler } if ($server_answer === null) { - if ($last_recv === $this->last_recv && $this->datacenter->sockets[$args['datacenter']]->temp_auth_key != null) { + if ($last_recv === $this->last_recv && $this->datacenter->sockets[$args['datacenter']]->temp_auth_key !== null) { \danog\MadelineProto\Logger::log(['WARNING: Resetting auth key...'], \danog\MadelineProto\Logger::WARNING); $this->datacenter->sockets[$args['datacenter']]->temp_auth_key = null; $this->init_authorization(); diff --git a/src/danog/MadelineProto/MTProtoTools/MessageHandler.php b/src/danog/MadelineProto/MTProtoTools/MessageHandler.php index a55d8bec..116050ef 100644 --- a/src/danog/MadelineProto/MTProtoTools/MessageHandler.php +++ b/src/danog/MadelineProto/MTProtoTools/MessageHandler.php @@ -60,7 +60,7 @@ trait MessageHandler if (strlen($payload) === 4) { $error = \danog\PHP\Struct::unpack('datacenter->sockets[$datacenter]->temp_auth_key != null) { + if ($this->datacenter->sockets[$datacenter]->temp_auth_key !== null) { \danog\MadelineProto\Logger::log(['WARNING: Resetting auth key...'], \danog\MadelineProto\Logger::WARNING); $this->datacenter->sockets[$datacenter]->temp_auth_key = null; $this->init_authorization(); diff --git a/src/danog/MadelineProto/MTProtoTools/ResponseHandler.php b/src/danog/MadelineProto/MTProtoTools/ResponseHandler.php index 3effd0e9..ad99d37a 100644 --- a/src/danog/MadelineProto/MTProtoTools/ResponseHandler.php +++ b/src/danog/MadelineProto/MTProtoTools/ResponseHandler.php @@ -426,7 +426,7 @@ trait ResponseHandler $this->force_get_updates_difference(); break; default: - throw new \danog\MadelineProto\ResponseException('Unrecognized update received: '.var_export($updates)); + throw new \danog\MadelineProto\ResponseException('Unrecognized update received: '.var_export($updates, true)); break; } }