diff --git a/bot.php b/bot.php index 3fef7c55..2b33d4d4 100755 --- a/bot.php +++ b/bot.php @@ -29,27 +29,8 @@ try { } //var_dump($MadelineProto->API->get_config([], ['datacenter' => $MadelineProto->API->datacenter->curdc])); //var_dump($MadelineProto->API->settings['connection']); -/* -$dialog_params = ['limit' => 0, 'offset_date' => 0, 'offset_id' => 0, 'offset_peer' => ['_' => 'inputPeerEmpty']]; -$MadelineProto->API->updates_state['sync_loading'] = true; -$res = ['dialogs' => [0]]; -$datacenter = $MadelineProto->API->datacenter->curdc; - $count = 0; - while (count($res['dialogs'])) { - \danog\MadelineProto\Logger::log(['Getting dialogs...']); - $res = $MadelineProto->API->method_call('messages.getDialogs', $MadelineProto->API->dialog_params, ['datacenter' => $datacenter, 'FloodWaitLimit' => 100]); - $count += count($res['dialogs']); - $old_params = $MadelineProto->API->dialog_params; - $MadelineProto->API->dialog_params['offset_date'] = end($res['messages'])['date']; - $MadelineProto->API->dialog_params['offset_peer'] = end($res['dialogs'])['peer']; - $MadelineProto->API->dialog_params['offset_id'] = end($res['messages'])['id']; - if ($MadelineProto->API->dialog_params === $old_params) { - break; - } - } +echo 'Wrote '.\danog\MadelineProto\Serialization::serialize('bot.madeline', $MadelineProto).' bytes'.PHP_EOL; - $MadelineProto->API->updates_state['sync_loading'] = false; -*/ $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 @@ -72,7 +53,7 @@ while (true) { $MadelineProto->messages->sendMessage(['peer' => '@danogentili', 'message' => $e->getCode().': '.$e->getMessage().PHP_EOL.$e->getTraceAsString()]); } try { - if (isset($update['update']['message']['from_id']) && isset($update['update']['message']['media']) && ($update['update']['message']['media']['_'] == 'messageMediaPhoto' || $update['update']['message']['media']['_'] == 'messageMediaDocument')) { + if (isset($update['update']['message']['media']) && ($update['update']['message']['media']['_'] == 'messageMediaPhoto' || $update['update']['message']['media']['_'] == 'messageMediaDocument')) { $time = time(); $file = $MadelineProto->download_to_dir($update['update']['message']['media'], '/tmp'); $MadelineProto->messages->sendMessage(['peer' => $update['update']['message']['from_id'], 'message' => 'Downloaded to '.$file.' in '.(time() - $time).' seconds', 'reply_to_msg_id' => $update['update']['message']['id'], 'entities' => [['_' => 'messageEntityPre', 'offset' => 0, 'length' => strlen($res), 'language' => 'json']]]); diff --git a/docs/API_docs/methods/auth_importBotAuthorization.md b/docs/API_docs/methods/auth_importBotAuthorization.md index 97119a5d..0d8836b6 100644 --- a/docs/API_docs/methods/auth_importBotAuthorization.md +++ b/docs/API_docs/methods/auth_importBotAuthorization.md @@ -6,6 +6,11 @@ description: auth.importBotAuthorization parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the bot_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/docs/API_docs/methods/auth_logOut.md b/docs/API_docs/methods/auth_logOut.md index 227edffa..12159bab 100644 --- a/docs/API_docs/methods/auth_logOut.md +++ b/docs/API_docs/methods/auth_logOut.md @@ -6,6 +6,11 @@ description: auth.logOut parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the logout method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Return type: [Bool](../types/Bool.md) diff --git a/docs/API_docs/methods/auth_sendCode.md b/docs/API_docs/methods/auth_sendCode.md index 86f5aca2..bda88218 100644 --- a/docs/API_docs/methods/auth_sendCode.md +++ b/docs/API_docs/methods/auth_sendCode.md @@ -6,6 +6,11 @@ description: auth.sendCode parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/docs/API_docs/methods/auth_signIn.md b/docs/API_docs/methods/auth_signIn.md index 539943d9..75c50d70 100644 --- a/docs/API_docs/methods/auth_signIn.md +++ b/docs/API_docs/methods/auth_signIn.md @@ -6,6 +6,11 @@ description: auth.signIn parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/docs/API_docs/methods/auth_signUp.md b/docs/API_docs/methods/auth_signUp.md index 605f410d..f2a72b68 100644 --- a/docs/API_docs/methods/auth_signUp.md +++ b/docs/API_docs/methods/auth_signUp.md @@ -6,6 +6,11 @@ description: auth.signUp parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_signup method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/docs/API_docs/methods/channels_getFullChannel.md b/docs/API_docs/methods/channels_getFullChannel.md index 0abceb02..340efcfe 100644 --- a/docs/API_docs/methods/channels_getFullChannel.md +++ b/docs/API_docs/methods/channels_getFullChannel.md @@ -6,6 +6,11 @@ description: channels.getFullChannel parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/docs/API_docs/methods/channels_getParticipants.md b/docs/API_docs/methods/channels_getParticipants.md index c8b5a579..4c6e09cc 100644 --- a/docs/API_docs/methods/channels_getParticipants.md +++ b/docs/API_docs/methods/channels_getParticipants.md @@ -6,6 +6,11 @@ description: channels.getParticipants parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/docs/API_docs/methods/contacts_resolveUsername.md b/docs/API_docs/methods/contacts_resolveUsername.md index b81cd6a5..90e72851 100644 --- a/docs/API_docs/methods/contacts_resolveUsername.md +++ b/docs/API_docs/methods/contacts_resolveUsername.md @@ -6,6 +6,11 @@ description: contacts.resolveUsername parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/docs/API_docs/methods/messages_acceptEncryption.md b/docs/API_docs/methods/messages_acceptEncryption.md index 0b17dad3..548087b6 100644 --- a/docs/API_docs/methods/messages_acceptEncryption.md +++ b/docs/API_docs/methods/messages_acceptEncryption.md @@ -6,6 +6,11 @@ description: messages.acceptEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/docs/API_docs/methods/messages_discardEncryption.md b/docs/API_docs/methods/messages_discardEncryption.md index cee3cfee..72648e9d 100644 --- a/docs/API_docs/methods/messages_discardEncryption.md +++ b/docs/API_docs/methods/messages_discardEncryption.md @@ -6,6 +6,11 @@ description: messages.discardEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/docs/API_docs/methods/messages_getFullChat.md b/docs/API_docs/methods/messages_getFullChat.md index 89cef555..62102b64 100644 --- a/docs/API_docs/methods/messages_getFullChat.md +++ b/docs/API_docs/methods/messages_getFullChat.md @@ -6,6 +6,11 @@ description: messages.getFullChat parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/docs/API_docs/methods/messages_requestEncryption.md b/docs/API_docs/methods/messages_requestEncryption.md index 28bddc2a..2fd1f825 100644 --- a/docs/API_docs/methods/messages_requestEncryption.md +++ b/docs/API_docs/methods/messages_requestEncryption.md @@ -6,6 +6,11 @@ description: messages.requestEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/docs/API_docs/methods/phone_acceptCall.md b/docs/API_docs/methods/phone_acceptCall.md index 114c52a2..a3cf68a8 100644 --- a/docs/API_docs/methods/phone_acceptCall.md +++ b/docs/API_docs/methods/phone_acceptCall.md @@ -6,6 +6,11 @@ description: phone.acceptCall parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto#calls for more info on handling calls* + + + + ### Parameters: | Name | Type | Required | diff --git a/docs/API_docs/methods/phone_confirmCall.md b/docs/API_docs/methods/phone_confirmCall.md index 59cf8e8b..ecec0ffc 100644 --- a/docs/API_docs/methods/phone_confirmCall.md +++ b/docs/API_docs/methods/phone_confirmCall.md @@ -6,6 +6,11 @@ description: phone.confirmCall parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto#calls for more info on handling calls* + + + + ### Parameters: | Name | Type | Required | diff --git a/docs/API_docs/methods/phone_discardCall.md b/docs/API_docs/methods/phone_discardCall.md index 884956cb..bb6b4cd7 100644 --- a/docs/API_docs/methods/phone_discardCall.md +++ b/docs/API_docs/methods/phone_discardCall.md @@ -6,6 +6,11 @@ description: phone.discardCall parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto#calls for more info on handling calls* + + + + ### Parameters: | Name | Type | Required | diff --git a/docs/API_docs/methods/phone_requestCall.md b/docs/API_docs/methods/phone_requestCall.md index a6eee621..7364c886 100644 --- a/docs/API_docs/methods/phone_requestCall.md +++ b/docs/API_docs/methods/phone_requestCall.md @@ -6,6 +6,11 @@ description: phone.requestCall parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto#calls for more info on handling calls* + + + + ### Parameters: | Name | Type | Required | diff --git a/docs/API_docs/methods/updates_getChannelDifference.md b/docs/API_docs/methods/updates_getChannelDifference.md index ec4e1b71..d4eff325 100644 --- a/docs/API_docs/methods/updates_getChannelDifference.md +++ b/docs/API_docs/methods/updates_getChannelDifference.md @@ -6,6 +6,11 @@ description: updates.getChannelDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/docs/API_docs/methods/updates_getDifference.md b/docs/API_docs/methods/updates_getDifference.md index 85efde37..b50de4bb 100644 --- a/docs/API_docs/methods/updates_getDifference.md +++ b/docs/API_docs/methods/updates_getDifference.md @@ -6,6 +6,11 @@ description: updates.getDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/docs/API_docs/methods/updates_getState.md b/docs/API_docs/methods/updates_getState.md index 9aebd51d..51f6ae80 100644 --- a/docs/API_docs/methods/updates_getState.md +++ b/docs/API_docs/methods/updates_getState.md @@ -6,6 +6,11 @@ description: updates.getState parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Return type: [updates\_State](../types/updates_State.md) diff --git a/docs/API_docs/methods/upload_getCdnFile.md b/docs/API_docs/methods/upload_getCdnFile.md index 0ba0098f..b0a0514b 100644 --- a/docs/API_docs/methods/upload_getCdnFile.md +++ b/docs/API_docs/methods/upload_getCdnFile.md @@ -6,6 +6,11 @@ description: upload.getCdnFile parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/docs/API_docs/methods/upload_getCdnFileHashes.md b/docs/API_docs/methods/upload_getCdnFileHashes.md index a4d40787..4795630f 100644 --- a/docs/API_docs/methods/upload_getCdnFileHashes.md +++ b/docs/API_docs/methods/upload_getCdnFileHashes.md @@ -6,6 +6,11 @@ description: upload.getCdnFileHashes parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/docs/API_docs/methods/upload_getFile.md b/docs/API_docs/methods/upload_getFile.md index 68fd10b9..a1003003 100644 --- a/docs/API_docs/methods/upload_getFile.md +++ b/docs/API_docs/methods/upload_getFile.md @@ -6,6 +6,11 @@ description: upload.getFile parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/docs/API_docs/methods/upload_reuploadCdnFile.md b/docs/API_docs/methods/upload_reuploadCdnFile.md index d8e9fb3d..1a75cef9 100644 --- a/docs/API_docs/methods/upload_reuploadCdnFile.md +++ b/docs/API_docs/methods/upload_reuploadCdnFile.md @@ -6,6 +6,11 @@ description: upload.reuploadCdnFile parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/docs/API_docs/methods/upload_saveBigFilePart.md b/docs/API_docs/methods/upload_saveBigFilePart.md index c61faace..e5c96d89 100644 --- a/docs/API_docs/methods/upload_saveBigFilePart.md +++ b/docs/API_docs/methods/upload_saveBigFilePart.md @@ -6,6 +6,11 @@ description: upload.saveBigFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/docs/API_docs/methods/upload_saveFilePart.md b/docs/API_docs/methods/upload_saveFilePart.md index d046b220..1c16e4b2 100644 --- a/docs/API_docs/methods/upload_saveFilePart.md +++ b/docs/API_docs/methods/upload_saveFilePart.md @@ -6,6 +6,11 @@ description: upload.saveFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/docs/API_docs/methods/users_getFullUser.md b/docs/API_docs/methods/users_getFullUser.md index 66c1e73e..645ab12e 100644 --- a/docs/API_docs/methods/users_getFullUser.md +++ b/docs/API_docs/methods/users_getFullUser.md @@ -6,6 +6,11 @@ description: users.getFullUser parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/docs/API_docs/types/int.md b/docs/API_docs/types/int.md index 7525a3a4..8e3c64ac 100644 --- a/docs/API_docs/types/int.md +++ b/docs/API_docs/types/int.md @@ -1,8 +1,8 @@ --- title: integer -description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +description: A 32 bit signed integer ranging from -2147483648 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 `-2147483648` to `2147483647`. diff --git a/docs/API_docs/types/long.md b/docs/API_docs/types/long.md index d394ca44..87a05766 100644 --- a/docs/API_docs/types/long.md +++ b/docs/API_docs/types/long.md @@ -1,8 +1,8 @@ --- title: long -description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +description: A 32 bit signed integer ranging from -9223372036854775808 to 9223372036854775807 --- ## 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 `-9223372036854775808` to `9223372036854775807`. diff --git a/docs/MTProto_docs/types/int.md b/docs/MTProto_docs/types/int.md index 7525a3a4..8e3c64ac 100644 --- a/docs/MTProto_docs/types/int.md +++ b/docs/MTProto_docs/types/int.md @@ -1,8 +1,8 @@ --- title: integer -description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +description: A 32 bit signed integer ranging from -2147483648 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 `-2147483648` to `2147483647`. diff --git a/docs/MTProto_docs/types/long.md b/docs/MTProto_docs/types/long.md index d394ca44..87a05766 100644 --- a/docs/MTProto_docs/types/long.md +++ b/docs/MTProto_docs/types/long.md @@ -1,8 +1,8 @@ --- title: long -description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +description: A 32 bit signed integer ranging from -9223372036854775808 to 9223372036854775807 --- ## 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 `-9223372036854775808` to `9223372036854775807`. diff --git a/docs/TD_docs/types/int.md b/docs/TD_docs/types/int.md index 7525a3a4..8e3c64ac 100644 --- a/docs/TD_docs/types/int.md +++ b/docs/TD_docs/types/int.md @@ -1,8 +1,8 @@ --- title: integer -description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +description: A 32 bit signed integer ranging from -2147483648 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 `-2147483648` to `2147483647`. diff --git a/docs/TD_docs/types/long.md b/docs/TD_docs/types/long.md index d394ca44..87a05766 100644 --- a/docs/TD_docs/types/long.md +++ b/docs/TD_docs/types/long.md @@ -1,8 +1,8 @@ --- title: long -description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +description: A 32 bit signed integer ranging from -9223372036854775808 to 9223372036854775807 --- ## 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 `-9223372036854775808` to `9223372036854775807`. diff --git a/old_docs/API_docs_v18/methods/auth_logOut.md b/old_docs/API_docs_v18/methods/auth_logOut.md index 227edffa..12159bab 100644 --- a/old_docs/API_docs_v18/methods/auth_logOut.md +++ b/old_docs/API_docs_v18/methods/auth_logOut.md @@ -6,6 +6,11 @@ description: auth.logOut parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the logout method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v18/methods/auth_sendCode.md b/old_docs/API_docs_v18/methods/auth_sendCode.md index 1d3dca40..43bc28ee 100644 --- a/old_docs/API_docs_v18/methods/auth_sendCode.md +++ b/old_docs/API_docs_v18/methods/auth_sendCode.md @@ -6,6 +6,11 @@ description: auth.sendCode parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v18/methods/auth_signIn.md b/old_docs/API_docs_v18/methods/auth_signIn.md index 539943d9..75c50d70 100644 --- a/old_docs/API_docs_v18/methods/auth_signIn.md +++ b/old_docs/API_docs_v18/methods/auth_signIn.md @@ -6,6 +6,11 @@ description: auth.signIn parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v18/methods/auth_signUp.md b/old_docs/API_docs_v18/methods/auth_signUp.md index 605f410d..f2a72b68 100644 --- a/old_docs/API_docs_v18/methods/auth_signUp.md +++ b/old_docs/API_docs_v18/methods/auth_signUp.md @@ -6,6 +6,11 @@ description: auth.signUp parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_signup method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v18/methods/messages_acceptEncryption.md b/old_docs/API_docs_v18/methods/messages_acceptEncryption.md index 0b17dad3..548087b6 100644 --- a/old_docs/API_docs_v18/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v18/methods/messages_acceptEncryption.md @@ -6,6 +6,11 @@ description: messages.acceptEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v18/methods/messages_discardEncryption.md b/old_docs/API_docs_v18/methods/messages_discardEncryption.md index cee3cfee..72648e9d 100644 --- a/old_docs/API_docs_v18/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v18/methods/messages_discardEncryption.md @@ -6,6 +6,11 @@ description: messages.discardEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v18/methods/messages_getFullChat.md b/old_docs/API_docs_v18/methods/messages_getFullChat.md index 89cef555..62102b64 100644 --- a/old_docs/API_docs_v18/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v18/methods/messages_getFullChat.md @@ -6,6 +6,11 @@ description: messages.getFullChat parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v18/methods/messages_requestEncryption.md b/old_docs/API_docs_v18/methods/messages_requestEncryption.md index 28bddc2a..2fd1f825 100644 --- a/old_docs/API_docs_v18/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v18/methods/messages_requestEncryption.md @@ -6,6 +6,11 @@ description: messages.requestEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v18/methods/updates_getDifference.md b/old_docs/API_docs_v18/methods/updates_getDifference.md index 96fddca0..53c7b078 100644 --- a/old_docs/API_docs_v18/methods/updates_getDifference.md +++ b/old_docs/API_docs_v18/methods/updates_getDifference.md @@ -6,6 +6,11 @@ description: updates.getDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v18/methods/updates_getState.md b/old_docs/API_docs_v18/methods/updates_getState.md index 9aebd51d..51f6ae80 100644 --- a/old_docs/API_docs_v18/methods/updates_getState.md +++ b/old_docs/API_docs_v18/methods/updates_getState.md @@ -6,6 +6,11 @@ description: updates.getState parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Return type: [updates\_State](../types/updates_State.md) diff --git a/old_docs/API_docs_v18/methods/upload_getFile.md b/old_docs/API_docs_v18/methods/upload_getFile.md index 68fd10b9..a1003003 100644 --- a/old_docs/API_docs_v18/methods/upload_getFile.md +++ b/old_docs/API_docs_v18/methods/upload_getFile.md @@ -6,6 +6,11 @@ description: upload.getFile parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v18/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v18/methods/upload_saveBigFilePart.md index c61faace..e5c96d89 100644 --- a/old_docs/API_docs_v18/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v18/methods/upload_saveBigFilePart.md @@ -6,6 +6,11 @@ description: upload.saveBigFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v18/methods/upload_saveFilePart.md b/old_docs/API_docs_v18/methods/upload_saveFilePart.md index d046b220..1c16e4b2 100644 --- a/old_docs/API_docs_v18/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v18/methods/upload_saveFilePart.md @@ -6,6 +6,11 @@ description: upload.saveFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v18/methods/users_getFullUser.md b/old_docs/API_docs_v18/methods/users_getFullUser.md index 66c1e73e..645ab12e 100644 --- a/old_docs/API_docs_v18/methods/users_getFullUser.md +++ b/old_docs/API_docs_v18/methods/users_getFullUser.md @@ -6,6 +6,11 @@ description: users.getFullUser parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v18/types/int.md b/old_docs/API_docs_v18/types/int.md index 7525a3a4..8e3c64ac 100644 --- a/old_docs/API_docs_v18/types/int.md +++ b/old_docs/API_docs_v18/types/int.md @@ -1,8 +1,8 @@ --- title: integer -description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +description: A 32 bit signed integer ranging from -2147483648 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 `-2147483648` to `2147483647`. diff --git a/old_docs/API_docs_v18/types/long.md b/old_docs/API_docs_v18/types/long.md index d394ca44..87a05766 100644 --- a/old_docs/API_docs_v18/types/long.md +++ b/old_docs/API_docs_v18/types/long.md @@ -1,8 +1,8 @@ --- title: long -description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +description: A 32 bit signed integer ranging from -9223372036854775808 to 9223372036854775807 --- ## 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 `-9223372036854775808` to `9223372036854775807`. diff --git a/old_docs/API_docs_v23/methods/auth_logOut.md b/old_docs/API_docs_v23/methods/auth_logOut.md index 227edffa..12159bab 100644 --- a/old_docs/API_docs_v23/methods/auth_logOut.md +++ b/old_docs/API_docs_v23/methods/auth_logOut.md @@ -6,6 +6,11 @@ description: auth.logOut parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the logout method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v23/methods/auth_sendCode.md b/old_docs/API_docs_v23/methods/auth_sendCode.md index 1d3dca40..43bc28ee 100644 --- a/old_docs/API_docs_v23/methods/auth_sendCode.md +++ b/old_docs/API_docs_v23/methods/auth_sendCode.md @@ -6,6 +6,11 @@ description: auth.sendCode parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v23/methods/auth_signIn.md b/old_docs/API_docs_v23/methods/auth_signIn.md index 539943d9..75c50d70 100644 --- a/old_docs/API_docs_v23/methods/auth_signIn.md +++ b/old_docs/API_docs_v23/methods/auth_signIn.md @@ -6,6 +6,11 @@ description: auth.signIn parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v23/methods/auth_signUp.md b/old_docs/API_docs_v23/methods/auth_signUp.md index 605f410d..f2a72b68 100644 --- a/old_docs/API_docs_v23/methods/auth_signUp.md +++ b/old_docs/API_docs_v23/methods/auth_signUp.md @@ -6,6 +6,11 @@ description: auth.signUp parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_signup method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v23/methods/contacts_resolveUsername.md b/old_docs/API_docs_v23/methods/contacts_resolveUsername.md index 67839b7b..353d1f0c 100644 --- a/old_docs/API_docs_v23/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v23/methods/contacts_resolveUsername.md @@ -6,6 +6,11 @@ description: contacts.resolveUsername parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v23/methods/messages_acceptEncryption.md b/old_docs/API_docs_v23/methods/messages_acceptEncryption.md index 0b17dad3..548087b6 100644 --- a/old_docs/API_docs_v23/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v23/methods/messages_acceptEncryption.md @@ -6,6 +6,11 @@ description: messages.acceptEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v23/methods/messages_discardEncryption.md b/old_docs/API_docs_v23/methods/messages_discardEncryption.md index cee3cfee..72648e9d 100644 --- a/old_docs/API_docs_v23/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v23/methods/messages_discardEncryption.md @@ -6,6 +6,11 @@ description: messages.discardEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v23/methods/messages_getFullChat.md b/old_docs/API_docs_v23/methods/messages_getFullChat.md index 89cef555..62102b64 100644 --- a/old_docs/API_docs_v23/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v23/methods/messages_getFullChat.md @@ -6,6 +6,11 @@ description: messages.getFullChat parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v23/methods/messages_requestEncryption.md b/old_docs/API_docs_v23/methods/messages_requestEncryption.md index 28bddc2a..2fd1f825 100644 --- a/old_docs/API_docs_v23/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v23/methods/messages_requestEncryption.md @@ -6,6 +6,11 @@ description: messages.requestEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v23/methods/updates_getDifference.md b/old_docs/API_docs_v23/methods/updates_getDifference.md index 96fddca0..53c7b078 100644 --- a/old_docs/API_docs_v23/methods/updates_getDifference.md +++ b/old_docs/API_docs_v23/methods/updates_getDifference.md @@ -6,6 +6,11 @@ description: updates.getDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v23/methods/updates_getState.md b/old_docs/API_docs_v23/methods/updates_getState.md index 9aebd51d..51f6ae80 100644 --- a/old_docs/API_docs_v23/methods/updates_getState.md +++ b/old_docs/API_docs_v23/methods/updates_getState.md @@ -6,6 +6,11 @@ description: updates.getState parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Return type: [updates\_State](../types/updates_State.md) diff --git a/old_docs/API_docs_v23/methods/upload_getFile.md b/old_docs/API_docs_v23/methods/upload_getFile.md index 68fd10b9..a1003003 100644 --- a/old_docs/API_docs_v23/methods/upload_getFile.md +++ b/old_docs/API_docs_v23/methods/upload_getFile.md @@ -6,6 +6,11 @@ description: upload.getFile parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v23/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v23/methods/upload_saveBigFilePart.md index c61faace..e5c96d89 100644 --- a/old_docs/API_docs_v23/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v23/methods/upload_saveBigFilePart.md @@ -6,6 +6,11 @@ description: upload.saveBigFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v23/methods/upload_saveFilePart.md b/old_docs/API_docs_v23/methods/upload_saveFilePart.md index d046b220..1c16e4b2 100644 --- a/old_docs/API_docs_v23/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v23/methods/upload_saveFilePart.md @@ -6,6 +6,11 @@ description: upload.saveFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v23/methods/users_getFullUser.md b/old_docs/API_docs_v23/methods/users_getFullUser.md index 66c1e73e..645ab12e 100644 --- a/old_docs/API_docs_v23/methods/users_getFullUser.md +++ b/old_docs/API_docs_v23/methods/users_getFullUser.md @@ -6,6 +6,11 @@ description: users.getFullUser parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v23/types/int.md b/old_docs/API_docs_v23/types/int.md index 7525a3a4..8e3c64ac 100644 --- a/old_docs/API_docs_v23/types/int.md +++ b/old_docs/API_docs_v23/types/int.md @@ -1,8 +1,8 @@ --- title: integer -description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +description: A 32 bit signed integer ranging from -2147483648 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 `-2147483648` to `2147483647`. diff --git a/old_docs/API_docs_v23/types/long.md b/old_docs/API_docs_v23/types/long.md index d394ca44..87a05766 100644 --- a/old_docs/API_docs_v23/types/long.md +++ b/old_docs/API_docs_v23/types/long.md @@ -1,8 +1,8 @@ --- title: long -description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +description: A 32 bit signed integer ranging from -9223372036854775808 to 9223372036854775807 --- ## 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 `-9223372036854775808` to `9223372036854775807`. diff --git a/old_docs/API_docs_v25/methods/auth_logOut.md b/old_docs/API_docs_v25/methods/auth_logOut.md index 227edffa..12159bab 100644 --- a/old_docs/API_docs_v25/methods/auth_logOut.md +++ b/old_docs/API_docs_v25/methods/auth_logOut.md @@ -6,6 +6,11 @@ description: auth.logOut parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the logout method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v25/methods/auth_sendCode.md b/old_docs/API_docs_v25/methods/auth_sendCode.md index 1d3dca40..43bc28ee 100644 --- a/old_docs/API_docs_v25/methods/auth_sendCode.md +++ b/old_docs/API_docs_v25/methods/auth_sendCode.md @@ -6,6 +6,11 @@ description: auth.sendCode parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v25/methods/auth_signIn.md b/old_docs/API_docs_v25/methods/auth_signIn.md index 539943d9..75c50d70 100644 --- a/old_docs/API_docs_v25/methods/auth_signIn.md +++ b/old_docs/API_docs_v25/methods/auth_signIn.md @@ -6,6 +6,11 @@ description: auth.signIn parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v25/methods/auth_signUp.md b/old_docs/API_docs_v25/methods/auth_signUp.md index 605f410d..f2a72b68 100644 --- a/old_docs/API_docs_v25/methods/auth_signUp.md +++ b/old_docs/API_docs_v25/methods/auth_signUp.md @@ -6,6 +6,11 @@ description: auth.signUp parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_signup method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v25/methods/contacts_resolveUsername.md b/old_docs/API_docs_v25/methods/contacts_resolveUsername.md index 67839b7b..353d1f0c 100644 --- a/old_docs/API_docs_v25/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v25/methods/contacts_resolveUsername.md @@ -6,6 +6,11 @@ description: contacts.resolveUsername parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v25/methods/messages_acceptEncryption.md b/old_docs/API_docs_v25/methods/messages_acceptEncryption.md index 0b17dad3..548087b6 100644 --- a/old_docs/API_docs_v25/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v25/methods/messages_acceptEncryption.md @@ -6,6 +6,11 @@ description: messages.acceptEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v25/methods/messages_discardEncryption.md b/old_docs/API_docs_v25/methods/messages_discardEncryption.md index cee3cfee..72648e9d 100644 --- a/old_docs/API_docs_v25/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v25/methods/messages_discardEncryption.md @@ -6,6 +6,11 @@ description: messages.discardEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v25/methods/messages_getFullChat.md b/old_docs/API_docs_v25/methods/messages_getFullChat.md index 89cef555..62102b64 100644 --- a/old_docs/API_docs_v25/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v25/methods/messages_getFullChat.md @@ -6,6 +6,11 @@ description: messages.getFullChat parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v25/methods/messages_requestEncryption.md b/old_docs/API_docs_v25/methods/messages_requestEncryption.md index 28bddc2a..2fd1f825 100644 --- a/old_docs/API_docs_v25/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v25/methods/messages_requestEncryption.md @@ -6,6 +6,11 @@ description: messages.requestEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v25/methods/updates_getDifference.md b/old_docs/API_docs_v25/methods/updates_getDifference.md index 96fddca0..53c7b078 100644 --- a/old_docs/API_docs_v25/methods/updates_getDifference.md +++ b/old_docs/API_docs_v25/methods/updates_getDifference.md @@ -6,6 +6,11 @@ description: updates.getDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v25/methods/updates_getState.md b/old_docs/API_docs_v25/methods/updates_getState.md index 9aebd51d..51f6ae80 100644 --- a/old_docs/API_docs_v25/methods/updates_getState.md +++ b/old_docs/API_docs_v25/methods/updates_getState.md @@ -6,6 +6,11 @@ description: updates.getState parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Return type: [updates\_State](../types/updates_State.md) diff --git a/old_docs/API_docs_v25/methods/upload_getFile.md b/old_docs/API_docs_v25/methods/upload_getFile.md index 68fd10b9..a1003003 100644 --- a/old_docs/API_docs_v25/methods/upload_getFile.md +++ b/old_docs/API_docs_v25/methods/upload_getFile.md @@ -6,6 +6,11 @@ description: upload.getFile parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v25/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v25/methods/upload_saveBigFilePart.md index c61faace..e5c96d89 100644 --- a/old_docs/API_docs_v25/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v25/methods/upload_saveBigFilePart.md @@ -6,6 +6,11 @@ description: upload.saveBigFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v25/methods/upload_saveFilePart.md b/old_docs/API_docs_v25/methods/upload_saveFilePart.md index d046b220..1c16e4b2 100644 --- a/old_docs/API_docs_v25/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v25/methods/upload_saveFilePart.md @@ -6,6 +6,11 @@ description: upload.saveFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v25/methods/users_getFullUser.md b/old_docs/API_docs_v25/methods/users_getFullUser.md index 66c1e73e..645ab12e 100644 --- a/old_docs/API_docs_v25/methods/users_getFullUser.md +++ b/old_docs/API_docs_v25/methods/users_getFullUser.md @@ -6,6 +6,11 @@ description: users.getFullUser parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v25/types/int.md b/old_docs/API_docs_v25/types/int.md index 7525a3a4..8e3c64ac 100644 --- a/old_docs/API_docs_v25/types/int.md +++ b/old_docs/API_docs_v25/types/int.md @@ -1,8 +1,8 @@ --- title: integer -description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +description: A 32 bit signed integer ranging from -2147483648 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 `-2147483648` to `2147483647`. diff --git a/old_docs/API_docs_v25/types/long.md b/old_docs/API_docs_v25/types/long.md index d394ca44..87a05766 100644 --- a/old_docs/API_docs_v25/types/long.md +++ b/old_docs/API_docs_v25/types/long.md @@ -1,8 +1,8 @@ --- title: long -description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +description: A 32 bit signed integer ranging from -9223372036854775808 to 9223372036854775807 --- ## 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 `-9223372036854775808` to `9223372036854775807`. diff --git a/old_docs/API_docs_v27/methods/auth_logOut.md b/old_docs/API_docs_v27/methods/auth_logOut.md index 227edffa..12159bab 100644 --- a/old_docs/API_docs_v27/methods/auth_logOut.md +++ b/old_docs/API_docs_v27/methods/auth_logOut.md @@ -6,6 +6,11 @@ description: auth.logOut parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the logout method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v27/methods/auth_sendCode.md b/old_docs/API_docs_v27/methods/auth_sendCode.md index 1d3dca40..43bc28ee 100644 --- a/old_docs/API_docs_v27/methods/auth_sendCode.md +++ b/old_docs/API_docs_v27/methods/auth_sendCode.md @@ -6,6 +6,11 @@ description: auth.sendCode parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v27/methods/auth_signIn.md b/old_docs/API_docs_v27/methods/auth_signIn.md index 539943d9..75c50d70 100644 --- a/old_docs/API_docs_v27/methods/auth_signIn.md +++ b/old_docs/API_docs_v27/methods/auth_signIn.md @@ -6,6 +6,11 @@ description: auth.signIn parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v27/methods/auth_signUp.md b/old_docs/API_docs_v27/methods/auth_signUp.md index 605f410d..f2a72b68 100644 --- a/old_docs/API_docs_v27/methods/auth_signUp.md +++ b/old_docs/API_docs_v27/methods/auth_signUp.md @@ -6,6 +6,11 @@ description: auth.signUp parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_signup method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v27/methods/contacts_resolveUsername.md b/old_docs/API_docs_v27/methods/contacts_resolveUsername.md index 67839b7b..353d1f0c 100644 --- a/old_docs/API_docs_v27/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v27/methods/contacts_resolveUsername.md @@ -6,6 +6,11 @@ description: contacts.resolveUsername parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v27/methods/messages_acceptEncryption.md b/old_docs/API_docs_v27/methods/messages_acceptEncryption.md index 0b17dad3..548087b6 100644 --- a/old_docs/API_docs_v27/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v27/methods/messages_acceptEncryption.md @@ -6,6 +6,11 @@ description: messages.acceptEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v27/methods/messages_discardEncryption.md b/old_docs/API_docs_v27/methods/messages_discardEncryption.md index cee3cfee..72648e9d 100644 --- a/old_docs/API_docs_v27/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v27/methods/messages_discardEncryption.md @@ -6,6 +6,11 @@ description: messages.discardEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v27/methods/messages_getFullChat.md b/old_docs/API_docs_v27/methods/messages_getFullChat.md index 89cef555..62102b64 100644 --- a/old_docs/API_docs_v27/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v27/methods/messages_getFullChat.md @@ -6,6 +6,11 @@ description: messages.getFullChat parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v27/methods/messages_requestEncryption.md b/old_docs/API_docs_v27/methods/messages_requestEncryption.md index 28bddc2a..2fd1f825 100644 --- a/old_docs/API_docs_v27/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v27/methods/messages_requestEncryption.md @@ -6,6 +6,11 @@ description: messages.requestEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v27/methods/updates_getDifference.md b/old_docs/API_docs_v27/methods/updates_getDifference.md index 96fddca0..53c7b078 100644 --- a/old_docs/API_docs_v27/methods/updates_getDifference.md +++ b/old_docs/API_docs_v27/methods/updates_getDifference.md @@ -6,6 +6,11 @@ description: updates.getDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v27/methods/updates_getState.md b/old_docs/API_docs_v27/methods/updates_getState.md index 9aebd51d..51f6ae80 100644 --- a/old_docs/API_docs_v27/methods/updates_getState.md +++ b/old_docs/API_docs_v27/methods/updates_getState.md @@ -6,6 +6,11 @@ description: updates.getState parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Return type: [updates\_State](../types/updates_State.md) diff --git a/old_docs/API_docs_v27/methods/upload_getFile.md b/old_docs/API_docs_v27/methods/upload_getFile.md index 68fd10b9..a1003003 100644 --- a/old_docs/API_docs_v27/methods/upload_getFile.md +++ b/old_docs/API_docs_v27/methods/upload_getFile.md @@ -6,6 +6,11 @@ description: upload.getFile parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v27/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v27/methods/upload_saveBigFilePart.md index c61faace..e5c96d89 100644 --- a/old_docs/API_docs_v27/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v27/methods/upload_saveBigFilePart.md @@ -6,6 +6,11 @@ description: upload.saveBigFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v27/methods/upload_saveFilePart.md b/old_docs/API_docs_v27/methods/upload_saveFilePart.md index d046b220..1c16e4b2 100644 --- a/old_docs/API_docs_v27/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v27/methods/upload_saveFilePart.md @@ -6,6 +6,11 @@ description: upload.saveFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v27/methods/users_getFullUser.md b/old_docs/API_docs_v27/methods/users_getFullUser.md index 66c1e73e..645ab12e 100644 --- a/old_docs/API_docs_v27/methods/users_getFullUser.md +++ b/old_docs/API_docs_v27/methods/users_getFullUser.md @@ -6,6 +6,11 @@ description: users.getFullUser parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v27/types/int.md b/old_docs/API_docs_v27/types/int.md index 7525a3a4..8e3c64ac 100644 --- a/old_docs/API_docs_v27/types/int.md +++ b/old_docs/API_docs_v27/types/int.md @@ -1,8 +1,8 @@ --- title: integer -description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +description: A 32 bit signed integer ranging from -2147483648 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 `-2147483648` to `2147483647`. diff --git a/old_docs/API_docs_v27/types/long.md b/old_docs/API_docs_v27/types/long.md index d394ca44..87a05766 100644 --- a/old_docs/API_docs_v27/types/long.md +++ b/old_docs/API_docs_v27/types/long.md @@ -1,8 +1,8 @@ --- title: long -description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +description: A 32 bit signed integer ranging from -9223372036854775808 to 9223372036854775807 --- ## 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 `-9223372036854775808` to `9223372036854775807`. diff --git a/old_docs/API_docs_v33/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v33/methods/auth_importBotAuthorization.md index 97119a5d..0d8836b6 100644 --- a/old_docs/API_docs_v33/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v33/methods/auth_importBotAuthorization.md @@ -6,6 +6,11 @@ description: auth.importBotAuthorization parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the bot_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v33/methods/auth_logOut.md b/old_docs/API_docs_v33/methods/auth_logOut.md index 227edffa..12159bab 100644 --- a/old_docs/API_docs_v33/methods/auth_logOut.md +++ b/old_docs/API_docs_v33/methods/auth_logOut.md @@ -6,6 +6,11 @@ description: auth.logOut parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the logout method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v33/methods/auth_sendCode.md b/old_docs/API_docs_v33/methods/auth_sendCode.md index 1d3dca40..43bc28ee 100644 --- a/old_docs/API_docs_v33/methods/auth_sendCode.md +++ b/old_docs/API_docs_v33/methods/auth_sendCode.md @@ -6,6 +6,11 @@ description: auth.sendCode parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v33/methods/auth_signIn.md b/old_docs/API_docs_v33/methods/auth_signIn.md index 539943d9..75c50d70 100644 --- a/old_docs/API_docs_v33/methods/auth_signIn.md +++ b/old_docs/API_docs_v33/methods/auth_signIn.md @@ -6,6 +6,11 @@ description: auth.signIn parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v33/methods/auth_signUp.md b/old_docs/API_docs_v33/methods/auth_signUp.md index 605f410d..f2a72b68 100644 --- a/old_docs/API_docs_v33/methods/auth_signUp.md +++ b/old_docs/API_docs_v33/methods/auth_signUp.md @@ -6,6 +6,11 @@ description: auth.signUp parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_signup method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v33/methods/contacts_resolveUsername.md b/old_docs/API_docs_v33/methods/contacts_resolveUsername.md index 67839b7b..353d1f0c 100644 --- a/old_docs/API_docs_v33/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v33/methods/contacts_resolveUsername.md @@ -6,6 +6,11 @@ description: contacts.resolveUsername parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v33/methods/messages_acceptEncryption.md b/old_docs/API_docs_v33/methods/messages_acceptEncryption.md index 0b17dad3..548087b6 100644 --- a/old_docs/API_docs_v33/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v33/methods/messages_acceptEncryption.md @@ -6,6 +6,11 @@ description: messages.acceptEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v33/methods/messages_discardEncryption.md b/old_docs/API_docs_v33/methods/messages_discardEncryption.md index cee3cfee..72648e9d 100644 --- a/old_docs/API_docs_v33/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v33/methods/messages_discardEncryption.md @@ -6,6 +6,11 @@ description: messages.discardEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v33/methods/messages_getFullChat.md b/old_docs/API_docs_v33/methods/messages_getFullChat.md index 89cef555..62102b64 100644 --- a/old_docs/API_docs_v33/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v33/methods/messages_getFullChat.md @@ -6,6 +6,11 @@ description: messages.getFullChat parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v33/methods/messages_requestEncryption.md b/old_docs/API_docs_v33/methods/messages_requestEncryption.md index 28bddc2a..2fd1f825 100644 --- a/old_docs/API_docs_v33/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v33/methods/messages_requestEncryption.md @@ -6,6 +6,11 @@ description: messages.requestEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v33/methods/updates_getDifference.md b/old_docs/API_docs_v33/methods/updates_getDifference.md index 96fddca0..53c7b078 100644 --- a/old_docs/API_docs_v33/methods/updates_getDifference.md +++ b/old_docs/API_docs_v33/methods/updates_getDifference.md @@ -6,6 +6,11 @@ description: updates.getDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v33/methods/updates_getState.md b/old_docs/API_docs_v33/methods/updates_getState.md index 9aebd51d..51f6ae80 100644 --- a/old_docs/API_docs_v33/methods/updates_getState.md +++ b/old_docs/API_docs_v33/methods/updates_getState.md @@ -6,6 +6,11 @@ description: updates.getState parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Return type: [updates\_State](../types/updates_State.md) diff --git a/old_docs/API_docs_v33/methods/upload_getFile.md b/old_docs/API_docs_v33/methods/upload_getFile.md index 68fd10b9..a1003003 100644 --- a/old_docs/API_docs_v33/methods/upload_getFile.md +++ b/old_docs/API_docs_v33/methods/upload_getFile.md @@ -6,6 +6,11 @@ description: upload.getFile parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v33/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v33/methods/upload_saveBigFilePart.md index c61faace..e5c96d89 100644 --- a/old_docs/API_docs_v33/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v33/methods/upload_saveBigFilePart.md @@ -6,6 +6,11 @@ description: upload.saveBigFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v33/methods/upload_saveFilePart.md b/old_docs/API_docs_v33/methods/upload_saveFilePart.md index d046b220..1c16e4b2 100644 --- a/old_docs/API_docs_v33/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v33/methods/upload_saveFilePart.md @@ -6,6 +6,11 @@ description: upload.saveFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v33/methods/users_getFullUser.md b/old_docs/API_docs_v33/methods/users_getFullUser.md index 66c1e73e..645ab12e 100644 --- a/old_docs/API_docs_v33/methods/users_getFullUser.md +++ b/old_docs/API_docs_v33/methods/users_getFullUser.md @@ -6,6 +6,11 @@ description: users.getFullUser parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v33/types/int.md b/old_docs/API_docs_v33/types/int.md index 7525a3a4..8e3c64ac 100644 --- a/old_docs/API_docs_v33/types/int.md +++ b/old_docs/API_docs_v33/types/int.md @@ -1,8 +1,8 @@ --- title: integer -description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +description: A 32 bit signed integer ranging from -2147483648 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 `-2147483648` to `2147483647`. diff --git a/old_docs/API_docs_v33/types/long.md b/old_docs/API_docs_v33/types/long.md index d394ca44..87a05766 100644 --- a/old_docs/API_docs_v33/types/long.md +++ b/old_docs/API_docs_v33/types/long.md @@ -1,8 +1,8 @@ --- title: long -description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +description: A 32 bit signed integer ranging from -9223372036854775808 to 9223372036854775807 --- ## 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 `-9223372036854775808` to `9223372036854775807`. diff --git a/old_docs/API_docs_v38/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v38/methods/auth_importBotAuthorization.md index 97119a5d..0d8836b6 100644 --- a/old_docs/API_docs_v38/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v38/methods/auth_importBotAuthorization.md @@ -6,6 +6,11 @@ description: auth.importBotAuthorization parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the bot_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v38/methods/auth_logOut.md b/old_docs/API_docs_v38/methods/auth_logOut.md index 227edffa..12159bab 100644 --- a/old_docs/API_docs_v38/methods/auth_logOut.md +++ b/old_docs/API_docs_v38/methods/auth_logOut.md @@ -6,6 +6,11 @@ description: auth.logOut parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the logout method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v38/methods/auth_sendCode.md b/old_docs/API_docs_v38/methods/auth_sendCode.md index 1d3dca40..43bc28ee 100644 --- a/old_docs/API_docs_v38/methods/auth_sendCode.md +++ b/old_docs/API_docs_v38/methods/auth_sendCode.md @@ -6,6 +6,11 @@ description: auth.sendCode parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v38/methods/auth_signIn.md b/old_docs/API_docs_v38/methods/auth_signIn.md index 539943d9..75c50d70 100644 --- a/old_docs/API_docs_v38/methods/auth_signIn.md +++ b/old_docs/API_docs_v38/methods/auth_signIn.md @@ -6,6 +6,11 @@ description: auth.signIn parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v38/methods/auth_signUp.md b/old_docs/API_docs_v38/methods/auth_signUp.md index 605f410d..f2a72b68 100644 --- a/old_docs/API_docs_v38/methods/auth_signUp.md +++ b/old_docs/API_docs_v38/methods/auth_signUp.md @@ -6,6 +6,11 @@ description: auth.signUp parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_signup method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v38/methods/channels_getFullChannel.md b/old_docs/API_docs_v38/methods/channels_getFullChannel.md index 0abceb02..340efcfe 100644 --- a/old_docs/API_docs_v38/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v38/methods/channels_getFullChannel.md @@ -6,6 +6,11 @@ description: channels.getFullChannel parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v38/methods/channels_getParticipants.md b/old_docs/API_docs_v38/methods/channels_getParticipants.md index c8b5a579..4c6e09cc 100644 --- a/old_docs/API_docs_v38/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v38/methods/channels_getParticipants.md @@ -6,6 +6,11 @@ description: channels.getParticipants parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v38/methods/contacts_resolveUsername.md b/old_docs/API_docs_v38/methods/contacts_resolveUsername.md index b81cd6a5..90e72851 100644 --- a/old_docs/API_docs_v38/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v38/methods/contacts_resolveUsername.md @@ -6,6 +6,11 @@ description: contacts.resolveUsername parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v38/methods/messages_acceptEncryption.md b/old_docs/API_docs_v38/methods/messages_acceptEncryption.md index 0b17dad3..548087b6 100644 --- a/old_docs/API_docs_v38/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v38/methods/messages_acceptEncryption.md @@ -6,6 +6,11 @@ description: messages.acceptEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v38/methods/messages_discardEncryption.md b/old_docs/API_docs_v38/methods/messages_discardEncryption.md index cee3cfee..72648e9d 100644 --- a/old_docs/API_docs_v38/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v38/methods/messages_discardEncryption.md @@ -6,6 +6,11 @@ description: messages.discardEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v38/methods/messages_getFullChat.md b/old_docs/API_docs_v38/methods/messages_getFullChat.md index 89cef555..62102b64 100644 --- a/old_docs/API_docs_v38/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v38/methods/messages_getFullChat.md @@ -6,6 +6,11 @@ description: messages.getFullChat parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v38/methods/messages_requestEncryption.md b/old_docs/API_docs_v38/methods/messages_requestEncryption.md index 28bddc2a..2fd1f825 100644 --- a/old_docs/API_docs_v38/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v38/methods/messages_requestEncryption.md @@ -6,6 +6,11 @@ description: messages.requestEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v38/methods/updates_getChannelDifference.md b/old_docs/API_docs_v38/methods/updates_getChannelDifference.md index 4ac957b3..51ea7aa5 100644 --- a/old_docs/API_docs_v38/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v38/methods/updates_getChannelDifference.md @@ -6,6 +6,11 @@ description: updates.getChannelDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v38/methods/updates_getDifference.md b/old_docs/API_docs_v38/methods/updates_getDifference.md index 96fddca0..53c7b078 100644 --- a/old_docs/API_docs_v38/methods/updates_getDifference.md +++ b/old_docs/API_docs_v38/methods/updates_getDifference.md @@ -6,6 +6,11 @@ description: updates.getDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v38/methods/updates_getState.md b/old_docs/API_docs_v38/methods/updates_getState.md index 9aebd51d..51f6ae80 100644 --- a/old_docs/API_docs_v38/methods/updates_getState.md +++ b/old_docs/API_docs_v38/methods/updates_getState.md @@ -6,6 +6,11 @@ description: updates.getState parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Return type: [updates\_State](../types/updates_State.md) diff --git a/old_docs/API_docs_v38/methods/upload_getFile.md b/old_docs/API_docs_v38/methods/upload_getFile.md index 68fd10b9..a1003003 100644 --- a/old_docs/API_docs_v38/methods/upload_getFile.md +++ b/old_docs/API_docs_v38/methods/upload_getFile.md @@ -6,6 +6,11 @@ description: upload.getFile parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v38/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v38/methods/upload_saveBigFilePart.md index c61faace..e5c96d89 100644 --- a/old_docs/API_docs_v38/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v38/methods/upload_saveBigFilePart.md @@ -6,6 +6,11 @@ description: upload.saveBigFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v38/methods/upload_saveFilePart.md b/old_docs/API_docs_v38/methods/upload_saveFilePart.md index d046b220..1c16e4b2 100644 --- a/old_docs/API_docs_v38/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v38/methods/upload_saveFilePart.md @@ -6,6 +6,11 @@ description: upload.saveFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v38/methods/users_getFullUser.md b/old_docs/API_docs_v38/methods/users_getFullUser.md index 66c1e73e..645ab12e 100644 --- a/old_docs/API_docs_v38/methods/users_getFullUser.md +++ b/old_docs/API_docs_v38/methods/users_getFullUser.md @@ -6,6 +6,11 @@ description: users.getFullUser parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v38/types/int.md b/old_docs/API_docs_v38/types/int.md index 7525a3a4..8e3c64ac 100644 --- a/old_docs/API_docs_v38/types/int.md +++ b/old_docs/API_docs_v38/types/int.md @@ -1,8 +1,8 @@ --- title: integer -description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +description: A 32 bit signed integer ranging from -2147483648 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 `-2147483648` to `2147483647`. diff --git a/old_docs/API_docs_v38/types/long.md b/old_docs/API_docs_v38/types/long.md index d394ca44..87a05766 100644 --- a/old_docs/API_docs_v38/types/long.md +++ b/old_docs/API_docs_v38/types/long.md @@ -1,8 +1,8 @@ --- title: long -description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +description: A 32 bit signed integer ranging from -9223372036854775808 to 9223372036854775807 --- ## 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 `-9223372036854775808` to `9223372036854775807`. diff --git a/old_docs/API_docs_v40/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v40/methods/auth_importBotAuthorization.md index 97119a5d..0d8836b6 100644 --- a/old_docs/API_docs_v40/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v40/methods/auth_importBotAuthorization.md @@ -6,6 +6,11 @@ description: auth.importBotAuthorization parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the bot_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v40/methods/auth_logOut.md b/old_docs/API_docs_v40/methods/auth_logOut.md index 227edffa..12159bab 100644 --- a/old_docs/API_docs_v40/methods/auth_logOut.md +++ b/old_docs/API_docs_v40/methods/auth_logOut.md @@ -6,6 +6,11 @@ description: auth.logOut parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the logout method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v40/methods/auth_sendCode.md b/old_docs/API_docs_v40/methods/auth_sendCode.md index 1d3dca40..43bc28ee 100644 --- a/old_docs/API_docs_v40/methods/auth_sendCode.md +++ b/old_docs/API_docs_v40/methods/auth_sendCode.md @@ -6,6 +6,11 @@ description: auth.sendCode parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v40/methods/auth_signIn.md b/old_docs/API_docs_v40/methods/auth_signIn.md index 539943d9..75c50d70 100644 --- a/old_docs/API_docs_v40/methods/auth_signIn.md +++ b/old_docs/API_docs_v40/methods/auth_signIn.md @@ -6,6 +6,11 @@ description: auth.signIn parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v40/methods/auth_signUp.md b/old_docs/API_docs_v40/methods/auth_signUp.md index 605f410d..f2a72b68 100644 --- a/old_docs/API_docs_v40/methods/auth_signUp.md +++ b/old_docs/API_docs_v40/methods/auth_signUp.md @@ -6,6 +6,11 @@ description: auth.signUp parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_signup method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v40/methods/contacts_resolveUsername.md b/old_docs/API_docs_v40/methods/contacts_resolveUsername.md index 67839b7b..353d1f0c 100644 --- a/old_docs/API_docs_v40/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v40/methods/contacts_resolveUsername.md @@ -6,6 +6,11 @@ description: contacts.resolveUsername parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v40/methods/messages_acceptEncryption.md b/old_docs/API_docs_v40/methods/messages_acceptEncryption.md index 0b17dad3..548087b6 100644 --- a/old_docs/API_docs_v40/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v40/methods/messages_acceptEncryption.md @@ -6,6 +6,11 @@ description: messages.acceptEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v40/methods/messages_discardEncryption.md b/old_docs/API_docs_v40/methods/messages_discardEncryption.md index cee3cfee..72648e9d 100644 --- a/old_docs/API_docs_v40/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v40/methods/messages_discardEncryption.md @@ -6,6 +6,11 @@ description: messages.discardEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v40/methods/messages_getFullChat.md b/old_docs/API_docs_v40/methods/messages_getFullChat.md index 89cef555..62102b64 100644 --- a/old_docs/API_docs_v40/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v40/methods/messages_getFullChat.md @@ -6,6 +6,11 @@ description: messages.getFullChat parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v40/methods/messages_requestEncryption.md b/old_docs/API_docs_v40/methods/messages_requestEncryption.md index 28bddc2a..2fd1f825 100644 --- a/old_docs/API_docs_v40/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v40/methods/messages_requestEncryption.md @@ -6,6 +6,11 @@ description: messages.requestEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v40/methods/updates_getChannelDifference.md b/old_docs/API_docs_v40/methods/updates_getChannelDifference.md index b3817c3c..70233f8b 100644 --- a/old_docs/API_docs_v40/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v40/methods/updates_getChannelDifference.md @@ -6,6 +6,11 @@ description: updates.getChannelDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v40/methods/updates_getDifference.md b/old_docs/API_docs_v40/methods/updates_getDifference.md index 96fddca0..53c7b078 100644 --- a/old_docs/API_docs_v40/methods/updates_getDifference.md +++ b/old_docs/API_docs_v40/methods/updates_getDifference.md @@ -6,6 +6,11 @@ description: updates.getDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v40/methods/updates_getState.md b/old_docs/API_docs_v40/methods/updates_getState.md index 9aebd51d..51f6ae80 100644 --- a/old_docs/API_docs_v40/methods/updates_getState.md +++ b/old_docs/API_docs_v40/methods/updates_getState.md @@ -6,6 +6,11 @@ description: updates.getState parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Return type: [updates\_State](../types/updates_State.md) diff --git a/old_docs/API_docs_v40/methods/upload_getFile.md b/old_docs/API_docs_v40/methods/upload_getFile.md index 68fd10b9..a1003003 100644 --- a/old_docs/API_docs_v40/methods/upload_getFile.md +++ b/old_docs/API_docs_v40/methods/upload_getFile.md @@ -6,6 +6,11 @@ description: upload.getFile parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v40/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v40/methods/upload_saveBigFilePart.md index c61faace..e5c96d89 100644 --- a/old_docs/API_docs_v40/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v40/methods/upload_saveBigFilePart.md @@ -6,6 +6,11 @@ description: upload.saveBigFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v40/methods/upload_saveFilePart.md b/old_docs/API_docs_v40/methods/upload_saveFilePart.md index d046b220..1c16e4b2 100644 --- a/old_docs/API_docs_v40/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v40/methods/upload_saveFilePart.md @@ -6,6 +6,11 @@ description: upload.saveFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v40/methods/users_getFullUser.md b/old_docs/API_docs_v40/methods/users_getFullUser.md index 66c1e73e..645ab12e 100644 --- a/old_docs/API_docs_v40/methods/users_getFullUser.md +++ b/old_docs/API_docs_v40/methods/users_getFullUser.md @@ -6,6 +6,11 @@ description: users.getFullUser parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v40/types/int.md b/old_docs/API_docs_v40/types/int.md index 7525a3a4..8e3c64ac 100644 --- a/old_docs/API_docs_v40/types/int.md +++ b/old_docs/API_docs_v40/types/int.md @@ -1,8 +1,8 @@ --- title: integer -description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +description: A 32 bit signed integer ranging from -2147483648 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 `-2147483648` to `2147483647`. diff --git a/old_docs/API_docs_v40/types/long.md b/old_docs/API_docs_v40/types/long.md index d394ca44..87a05766 100644 --- a/old_docs/API_docs_v40/types/long.md +++ b/old_docs/API_docs_v40/types/long.md @@ -1,8 +1,8 @@ --- title: long -description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +description: A 32 bit signed integer ranging from -9223372036854775808 to 9223372036854775807 --- ## 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 `-9223372036854775808` to `9223372036854775807`. diff --git a/old_docs/API_docs_v41/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v41/methods/auth_importBotAuthorization.md index 97119a5d..0d8836b6 100644 --- a/old_docs/API_docs_v41/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v41/methods/auth_importBotAuthorization.md @@ -6,6 +6,11 @@ description: auth.importBotAuthorization parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the bot_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v41/methods/auth_logOut.md b/old_docs/API_docs_v41/methods/auth_logOut.md index 227edffa..12159bab 100644 --- a/old_docs/API_docs_v41/methods/auth_logOut.md +++ b/old_docs/API_docs_v41/methods/auth_logOut.md @@ -6,6 +6,11 @@ description: auth.logOut parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the logout method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v41/methods/auth_sendCode.md b/old_docs/API_docs_v41/methods/auth_sendCode.md index 1d3dca40..43bc28ee 100644 --- a/old_docs/API_docs_v41/methods/auth_sendCode.md +++ b/old_docs/API_docs_v41/methods/auth_sendCode.md @@ -6,6 +6,11 @@ description: auth.sendCode parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v41/methods/auth_signIn.md b/old_docs/API_docs_v41/methods/auth_signIn.md index 539943d9..75c50d70 100644 --- a/old_docs/API_docs_v41/methods/auth_signIn.md +++ b/old_docs/API_docs_v41/methods/auth_signIn.md @@ -6,6 +6,11 @@ description: auth.signIn parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v41/methods/auth_signUp.md b/old_docs/API_docs_v41/methods/auth_signUp.md index 605f410d..f2a72b68 100644 --- a/old_docs/API_docs_v41/methods/auth_signUp.md +++ b/old_docs/API_docs_v41/methods/auth_signUp.md @@ -6,6 +6,11 @@ description: auth.signUp parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_signup method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v41/methods/channels_getFullChannel.md b/old_docs/API_docs_v41/methods/channels_getFullChannel.md index 0abceb02..340efcfe 100644 --- a/old_docs/API_docs_v41/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v41/methods/channels_getFullChannel.md @@ -6,6 +6,11 @@ description: channels.getFullChannel parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v41/methods/channels_getParticipants.md b/old_docs/API_docs_v41/methods/channels_getParticipants.md index c8b5a579..4c6e09cc 100644 --- a/old_docs/API_docs_v41/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v41/methods/channels_getParticipants.md @@ -6,6 +6,11 @@ description: channels.getParticipants parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v41/methods/contacts_resolveUsername.md b/old_docs/API_docs_v41/methods/contacts_resolveUsername.md index b81cd6a5..90e72851 100644 --- a/old_docs/API_docs_v41/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v41/methods/contacts_resolveUsername.md @@ -6,6 +6,11 @@ description: contacts.resolveUsername parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v41/methods/messages_acceptEncryption.md b/old_docs/API_docs_v41/methods/messages_acceptEncryption.md index 0b17dad3..548087b6 100644 --- a/old_docs/API_docs_v41/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v41/methods/messages_acceptEncryption.md @@ -6,6 +6,11 @@ description: messages.acceptEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v41/methods/messages_discardEncryption.md b/old_docs/API_docs_v41/methods/messages_discardEncryption.md index cee3cfee..72648e9d 100644 --- a/old_docs/API_docs_v41/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v41/methods/messages_discardEncryption.md @@ -6,6 +6,11 @@ description: messages.discardEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v41/methods/messages_getFullChat.md b/old_docs/API_docs_v41/methods/messages_getFullChat.md index 89cef555..62102b64 100644 --- a/old_docs/API_docs_v41/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v41/methods/messages_getFullChat.md @@ -6,6 +6,11 @@ description: messages.getFullChat parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v41/methods/messages_requestEncryption.md b/old_docs/API_docs_v41/methods/messages_requestEncryption.md index 28bddc2a..2fd1f825 100644 --- a/old_docs/API_docs_v41/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v41/methods/messages_requestEncryption.md @@ -6,6 +6,11 @@ description: messages.requestEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v41/methods/updates_getChannelDifference.md b/old_docs/API_docs_v41/methods/updates_getChannelDifference.md index 4ac957b3..51ea7aa5 100644 --- a/old_docs/API_docs_v41/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v41/methods/updates_getChannelDifference.md @@ -6,6 +6,11 @@ description: updates.getChannelDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v41/methods/updates_getDifference.md b/old_docs/API_docs_v41/methods/updates_getDifference.md index 96fddca0..53c7b078 100644 --- a/old_docs/API_docs_v41/methods/updates_getDifference.md +++ b/old_docs/API_docs_v41/methods/updates_getDifference.md @@ -6,6 +6,11 @@ description: updates.getDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v41/methods/updates_getState.md b/old_docs/API_docs_v41/methods/updates_getState.md index 9aebd51d..51f6ae80 100644 --- a/old_docs/API_docs_v41/methods/updates_getState.md +++ b/old_docs/API_docs_v41/methods/updates_getState.md @@ -6,6 +6,11 @@ description: updates.getState parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Return type: [updates\_State](../types/updates_State.md) diff --git a/old_docs/API_docs_v41/methods/upload_getFile.md b/old_docs/API_docs_v41/methods/upload_getFile.md index 68fd10b9..a1003003 100644 --- a/old_docs/API_docs_v41/methods/upload_getFile.md +++ b/old_docs/API_docs_v41/methods/upload_getFile.md @@ -6,6 +6,11 @@ description: upload.getFile parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v41/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v41/methods/upload_saveBigFilePart.md index c61faace..e5c96d89 100644 --- a/old_docs/API_docs_v41/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v41/methods/upload_saveBigFilePart.md @@ -6,6 +6,11 @@ description: upload.saveBigFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v41/methods/upload_saveFilePart.md b/old_docs/API_docs_v41/methods/upload_saveFilePart.md index d046b220..1c16e4b2 100644 --- a/old_docs/API_docs_v41/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v41/methods/upload_saveFilePart.md @@ -6,6 +6,11 @@ description: upload.saveFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v41/methods/users_getFullUser.md b/old_docs/API_docs_v41/methods/users_getFullUser.md index 66c1e73e..645ab12e 100644 --- a/old_docs/API_docs_v41/methods/users_getFullUser.md +++ b/old_docs/API_docs_v41/methods/users_getFullUser.md @@ -6,6 +6,11 @@ description: users.getFullUser parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v41/types/int.md b/old_docs/API_docs_v41/types/int.md index 7525a3a4..8e3c64ac 100644 --- a/old_docs/API_docs_v41/types/int.md +++ b/old_docs/API_docs_v41/types/int.md @@ -1,8 +1,8 @@ --- title: integer -description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +description: A 32 bit signed integer ranging from -2147483648 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 `-2147483648` to `2147483647`. diff --git a/old_docs/API_docs_v41/types/long.md b/old_docs/API_docs_v41/types/long.md index d394ca44..87a05766 100644 --- a/old_docs/API_docs_v41/types/long.md +++ b/old_docs/API_docs_v41/types/long.md @@ -1,8 +1,8 @@ --- title: long -description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +description: A 32 bit signed integer ranging from -9223372036854775808 to 9223372036854775807 --- ## 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 `-9223372036854775808` to `9223372036854775807`. diff --git a/old_docs/API_docs_v42/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v42/methods/auth_importBotAuthorization.md index 97119a5d..0d8836b6 100644 --- a/old_docs/API_docs_v42/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v42/methods/auth_importBotAuthorization.md @@ -6,6 +6,11 @@ description: auth.importBotAuthorization parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the bot_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v42/methods/auth_logOut.md b/old_docs/API_docs_v42/methods/auth_logOut.md index 227edffa..12159bab 100644 --- a/old_docs/API_docs_v42/methods/auth_logOut.md +++ b/old_docs/API_docs_v42/methods/auth_logOut.md @@ -6,6 +6,11 @@ description: auth.logOut parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the logout method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v42/methods/auth_sendCode.md b/old_docs/API_docs_v42/methods/auth_sendCode.md index 1d3dca40..43bc28ee 100644 --- a/old_docs/API_docs_v42/methods/auth_sendCode.md +++ b/old_docs/API_docs_v42/methods/auth_sendCode.md @@ -6,6 +6,11 @@ description: auth.sendCode parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v42/methods/auth_signIn.md b/old_docs/API_docs_v42/methods/auth_signIn.md index 539943d9..75c50d70 100644 --- a/old_docs/API_docs_v42/methods/auth_signIn.md +++ b/old_docs/API_docs_v42/methods/auth_signIn.md @@ -6,6 +6,11 @@ description: auth.signIn parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v42/methods/auth_signUp.md b/old_docs/API_docs_v42/methods/auth_signUp.md index 605f410d..f2a72b68 100644 --- a/old_docs/API_docs_v42/methods/auth_signUp.md +++ b/old_docs/API_docs_v42/methods/auth_signUp.md @@ -6,6 +6,11 @@ description: auth.signUp parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_signup method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v42/methods/channels_getFullChannel.md b/old_docs/API_docs_v42/methods/channels_getFullChannel.md index 0abceb02..340efcfe 100644 --- a/old_docs/API_docs_v42/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v42/methods/channels_getFullChannel.md @@ -6,6 +6,11 @@ description: channels.getFullChannel parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v42/methods/channels_getParticipants.md b/old_docs/API_docs_v42/methods/channels_getParticipants.md index c8b5a579..4c6e09cc 100644 --- a/old_docs/API_docs_v42/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v42/methods/channels_getParticipants.md @@ -6,6 +6,11 @@ description: channels.getParticipants parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v42/methods/contacts_resolveUsername.md b/old_docs/API_docs_v42/methods/contacts_resolveUsername.md index b81cd6a5..90e72851 100644 --- a/old_docs/API_docs_v42/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v42/methods/contacts_resolveUsername.md @@ -6,6 +6,11 @@ description: contacts.resolveUsername parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v42/methods/messages_acceptEncryption.md b/old_docs/API_docs_v42/methods/messages_acceptEncryption.md index 0b17dad3..548087b6 100644 --- a/old_docs/API_docs_v42/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v42/methods/messages_acceptEncryption.md @@ -6,6 +6,11 @@ description: messages.acceptEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v42/methods/messages_discardEncryption.md b/old_docs/API_docs_v42/methods/messages_discardEncryption.md index cee3cfee..72648e9d 100644 --- a/old_docs/API_docs_v42/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v42/methods/messages_discardEncryption.md @@ -6,6 +6,11 @@ description: messages.discardEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v42/methods/messages_getFullChat.md b/old_docs/API_docs_v42/methods/messages_getFullChat.md index 89cef555..62102b64 100644 --- a/old_docs/API_docs_v42/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v42/methods/messages_getFullChat.md @@ -6,6 +6,11 @@ description: messages.getFullChat parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v42/methods/messages_requestEncryption.md b/old_docs/API_docs_v42/methods/messages_requestEncryption.md index 28bddc2a..2fd1f825 100644 --- a/old_docs/API_docs_v42/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v42/methods/messages_requestEncryption.md @@ -6,6 +6,11 @@ description: messages.requestEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v42/methods/updates_getChannelDifference.md b/old_docs/API_docs_v42/methods/updates_getChannelDifference.md index 4ac957b3..51ea7aa5 100644 --- a/old_docs/API_docs_v42/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v42/methods/updates_getChannelDifference.md @@ -6,6 +6,11 @@ description: updates.getChannelDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v42/methods/updates_getDifference.md b/old_docs/API_docs_v42/methods/updates_getDifference.md index 96fddca0..53c7b078 100644 --- a/old_docs/API_docs_v42/methods/updates_getDifference.md +++ b/old_docs/API_docs_v42/methods/updates_getDifference.md @@ -6,6 +6,11 @@ description: updates.getDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v42/methods/updates_getState.md b/old_docs/API_docs_v42/methods/updates_getState.md index 9aebd51d..51f6ae80 100644 --- a/old_docs/API_docs_v42/methods/updates_getState.md +++ b/old_docs/API_docs_v42/methods/updates_getState.md @@ -6,6 +6,11 @@ description: updates.getState parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Return type: [updates\_State](../types/updates_State.md) diff --git a/old_docs/API_docs_v42/methods/upload_getFile.md b/old_docs/API_docs_v42/methods/upload_getFile.md index 68fd10b9..a1003003 100644 --- a/old_docs/API_docs_v42/methods/upload_getFile.md +++ b/old_docs/API_docs_v42/methods/upload_getFile.md @@ -6,6 +6,11 @@ description: upload.getFile parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v42/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v42/methods/upload_saveBigFilePart.md index c61faace..e5c96d89 100644 --- a/old_docs/API_docs_v42/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v42/methods/upload_saveBigFilePart.md @@ -6,6 +6,11 @@ description: upload.saveBigFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v42/methods/upload_saveFilePart.md b/old_docs/API_docs_v42/methods/upload_saveFilePart.md index d046b220..1c16e4b2 100644 --- a/old_docs/API_docs_v42/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v42/methods/upload_saveFilePart.md @@ -6,6 +6,11 @@ description: upload.saveFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v42/methods/users_getFullUser.md b/old_docs/API_docs_v42/methods/users_getFullUser.md index 66c1e73e..645ab12e 100644 --- a/old_docs/API_docs_v42/methods/users_getFullUser.md +++ b/old_docs/API_docs_v42/methods/users_getFullUser.md @@ -6,6 +6,11 @@ description: users.getFullUser parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v42/types/int.md b/old_docs/API_docs_v42/types/int.md index 7525a3a4..8e3c64ac 100644 --- a/old_docs/API_docs_v42/types/int.md +++ b/old_docs/API_docs_v42/types/int.md @@ -1,8 +1,8 @@ --- title: integer -description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +description: A 32 bit signed integer ranging from -2147483648 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 `-2147483648` to `2147483647`. diff --git a/old_docs/API_docs_v42/types/long.md b/old_docs/API_docs_v42/types/long.md index d394ca44..87a05766 100644 --- a/old_docs/API_docs_v42/types/long.md +++ b/old_docs/API_docs_v42/types/long.md @@ -1,8 +1,8 @@ --- title: long -description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +description: A 32 bit signed integer ranging from -9223372036854775808 to 9223372036854775807 --- ## 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 `-9223372036854775808` to `9223372036854775807`. diff --git a/old_docs/API_docs_v44/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v44/methods/auth_importBotAuthorization.md index 97119a5d..0d8836b6 100644 --- a/old_docs/API_docs_v44/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v44/methods/auth_importBotAuthorization.md @@ -6,6 +6,11 @@ description: auth.importBotAuthorization parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the bot_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v44/methods/auth_logOut.md b/old_docs/API_docs_v44/methods/auth_logOut.md index 227edffa..12159bab 100644 --- a/old_docs/API_docs_v44/methods/auth_logOut.md +++ b/old_docs/API_docs_v44/methods/auth_logOut.md @@ -6,6 +6,11 @@ description: auth.logOut parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the logout method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v44/methods/auth_sendCode.md b/old_docs/API_docs_v44/methods/auth_sendCode.md index 1d3dca40..43bc28ee 100644 --- a/old_docs/API_docs_v44/methods/auth_sendCode.md +++ b/old_docs/API_docs_v44/methods/auth_sendCode.md @@ -6,6 +6,11 @@ description: auth.sendCode parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v44/methods/auth_signIn.md b/old_docs/API_docs_v44/methods/auth_signIn.md index 539943d9..75c50d70 100644 --- a/old_docs/API_docs_v44/methods/auth_signIn.md +++ b/old_docs/API_docs_v44/methods/auth_signIn.md @@ -6,6 +6,11 @@ description: auth.signIn parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v44/methods/auth_signUp.md b/old_docs/API_docs_v44/methods/auth_signUp.md index 605f410d..f2a72b68 100644 --- a/old_docs/API_docs_v44/methods/auth_signUp.md +++ b/old_docs/API_docs_v44/methods/auth_signUp.md @@ -6,6 +6,11 @@ description: auth.signUp parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_signup method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v44/methods/channels_getFullChannel.md b/old_docs/API_docs_v44/methods/channels_getFullChannel.md index 0abceb02..340efcfe 100644 --- a/old_docs/API_docs_v44/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v44/methods/channels_getFullChannel.md @@ -6,6 +6,11 @@ description: channels.getFullChannel parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v44/methods/channels_getParticipants.md b/old_docs/API_docs_v44/methods/channels_getParticipants.md index c8b5a579..4c6e09cc 100644 --- a/old_docs/API_docs_v44/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v44/methods/channels_getParticipants.md @@ -6,6 +6,11 @@ description: channels.getParticipants parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v44/methods/contacts_resolveUsername.md b/old_docs/API_docs_v44/methods/contacts_resolveUsername.md index b81cd6a5..90e72851 100644 --- a/old_docs/API_docs_v44/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v44/methods/contacts_resolveUsername.md @@ -6,6 +6,11 @@ description: contacts.resolveUsername parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v44/methods/messages_acceptEncryption.md b/old_docs/API_docs_v44/methods/messages_acceptEncryption.md index 0b17dad3..548087b6 100644 --- a/old_docs/API_docs_v44/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v44/methods/messages_acceptEncryption.md @@ -6,6 +6,11 @@ description: messages.acceptEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v44/methods/messages_discardEncryption.md b/old_docs/API_docs_v44/methods/messages_discardEncryption.md index cee3cfee..72648e9d 100644 --- a/old_docs/API_docs_v44/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v44/methods/messages_discardEncryption.md @@ -6,6 +6,11 @@ description: messages.discardEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v44/methods/messages_getFullChat.md b/old_docs/API_docs_v44/methods/messages_getFullChat.md index 89cef555..62102b64 100644 --- a/old_docs/API_docs_v44/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v44/methods/messages_getFullChat.md @@ -6,6 +6,11 @@ description: messages.getFullChat parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v44/methods/messages_requestEncryption.md b/old_docs/API_docs_v44/methods/messages_requestEncryption.md index 28bddc2a..2fd1f825 100644 --- a/old_docs/API_docs_v44/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v44/methods/messages_requestEncryption.md @@ -6,6 +6,11 @@ description: messages.requestEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v44/methods/updates_getChannelDifference.md b/old_docs/API_docs_v44/methods/updates_getChannelDifference.md index 4ac957b3..51ea7aa5 100644 --- a/old_docs/API_docs_v44/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v44/methods/updates_getChannelDifference.md @@ -6,6 +6,11 @@ description: updates.getChannelDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v44/methods/updates_getDifference.md b/old_docs/API_docs_v44/methods/updates_getDifference.md index 96fddca0..53c7b078 100644 --- a/old_docs/API_docs_v44/methods/updates_getDifference.md +++ b/old_docs/API_docs_v44/methods/updates_getDifference.md @@ -6,6 +6,11 @@ description: updates.getDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v44/methods/updates_getState.md b/old_docs/API_docs_v44/methods/updates_getState.md index 9aebd51d..51f6ae80 100644 --- a/old_docs/API_docs_v44/methods/updates_getState.md +++ b/old_docs/API_docs_v44/methods/updates_getState.md @@ -6,6 +6,11 @@ description: updates.getState parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Return type: [updates\_State](../types/updates_State.md) diff --git a/old_docs/API_docs_v44/methods/upload_getFile.md b/old_docs/API_docs_v44/methods/upload_getFile.md index 68fd10b9..a1003003 100644 --- a/old_docs/API_docs_v44/methods/upload_getFile.md +++ b/old_docs/API_docs_v44/methods/upload_getFile.md @@ -6,6 +6,11 @@ description: upload.getFile parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v44/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v44/methods/upload_saveBigFilePart.md index c61faace..e5c96d89 100644 --- a/old_docs/API_docs_v44/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v44/methods/upload_saveBigFilePart.md @@ -6,6 +6,11 @@ description: upload.saveBigFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v44/methods/upload_saveFilePart.md b/old_docs/API_docs_v44/methods/upload_saveFilePart.md index d046b220..1c16e4b2 100644 --- a/old_docs/API_docs_v44/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v44/methods/upload_saveFilePart.md @@ -6,6 +6,11 @@ description: upload.saveFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v44/methods/users_getFullUser.md b/old_docs/API_docs_v44/methods/users_getFullUser.md index 66c1e73e..645ab12e 100644 --- a/old_docs/API_docs_v44/methods/users_getFullUser.md +++ b/old_docs/API_docs_v44/methods/users_getFullUser.md @@ -6,6 +6,11 @@ description: users.getFullUser parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v44/types/int.md b/old_docs/API_docs_v44/types/int.md index 7525a3a4..8e3c64ac 100644 --- a/old_docs/API_docs_v44/types/int.md +++ b/old_docs/API_docs_v44/types/int.md @@ -1,8 +1,8 @@ --- title: integer -description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +description: A 32 bit signed integer ranging from -2147483648 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 `-2147483648` to `2147483647`. diff --git a/old_docs/API_docs_v44/types/long.md b/old_docs/API_docs_v44/types/long.md index d394ca44..87a05766 100644 --- a/old_docs/API_docs_v44/types/long.md +++ b/old_docs/API_docs_v44/types/long.md @@ -1,8 +1,8 @@ --- title: long -description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +description: A 32 bit signed integer ranging from -9223372036854775808 to 9223372036854775807 --- ## 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 `-9223372036854775808` to `9223372036854775807`. diff --git a/old_docs/API_docs_v45/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v45/methods/auth_importBotAuthorization.md index 97119a5d..0d8836b6 100644 --- a/old_docs/API_docs_v45/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v45/methods/auth_importBotAuthorization.md @@ -6,6 +6,11 @@ description: auth.importBotAuthorization parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the bot_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v45/methods/auth_logOut.md b/old_docs/API_docs_v45/methods/auth_logOut.md index 227edffa..12159bab 100644 --- a/old_docs/API_docs_v45/methods/auth_logOut.md +++ b/old_docs/API_docs_v45/methods/auth_logOut.md @@ -6,6 +6,11 @@ description: auth.logOut parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the logout method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v45/methods/auth_sendCode.md b/old_docs/API_docs_v45/methods/auth_sendCode.md index 1d3dca40..43bc28ee 100644 --- a/old_docs/API_docs_v45/methods/auth_sendCode.md +++ b/old_docs/API_docs_v45/methods/auth_sendCode.md @@ -6,6 +6,11 @@ description: auth.sendCode parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v45/methods/auth_signIn.md b/old_docs/API_docs_v45/methods/auth_signIn.md index 539943d9..75c50d70 100644 --- a/old_docs/API_docs_v45/methods/auth_signIn.md +++ b/old_docs/API_docs_v45/methods/auth_signIn.md @@ -6,6 +6,11 @@ description: auth.signIn parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v45/methods/auth_signUp.md b/old_docs/API_docs_v45/methods/auth_signUp.md index 605f410d..f2a72b68 100644 --- a/old_docs/API_docs_v45/methods/auth_signUp.md +++ b/old_docs/API_docs_v45/methods/auth_signUp.md @@ -6,6 +6,11 @@ description: auth.signUp parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_signup method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v45/methods/channels_getFullChannel.md b/old_docs/API_docs_v45/methods/channels_getFullChannel.md index 0abceb02..340efcfe 100644 --- a/old_docs/API_docs_v45/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v45/methods/channels_getFullChannel.md @@ -6,6 +6,11 @@ description: channels.getFullChannel parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v45/methods/channels_getParticipants.md b/old_docs/API_docs_v45/methods/channels_getParticipants.md index c8b5a579..4c6e09cc 100644 --- a/old_docs/API_docs_v45/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v45/methods/channels_getParticipants.md @@ -6,6 +6,11 @@ description: channels.getParticipants parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v45/methods/contacts_resolveUsername.md b/old_docs/API_docs_v45/methods/contacts_resolveUsername.md index b81cd6a5..90e72851 100644 --- a/old_docs/API_docs_v45/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v45/methods/contacts_resolveUsername.md @@ -6,6 +6,11 @@ description: contacts.resolveUsername parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v45/methods/messages_acceptEncryption.md b/old_docs/API_docs_v45/methods/messages_acceptEncryption.md index 0b17dad3..548087b6 100644 --- a/old_docs/API_docs_v45/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v45/methods/messages_acceptEncryption.md @@ -6,6 +6,11 @@ description: messages.acceptEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v45/methods/messages_discardEncryption.md b/old_docs/API_docs_v45/methods/messages_discardEncryption.md index cee3cfee..72648e9d 100644 --- a/old_docs/API_docs_v45/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v45/methods/messages_discardEncryption.md @@ -6,6 +6,11 @@ description: messages.discardEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v45/methods/messages_getFullChat.md b/old_docs/API_docs_v45/methods/messages_getFullChat.md index 89cef555..62102b64 100644 --- a/old_docs/API_docs_v45/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v45/methods/messages_getFullChat.md @@ -6,6 +6,11 @@ description: messages.getFullChat parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v45/methods/messages_requestEncryption.md b/old_docs/API_docs_v45/methods/messages_requestEncryption.md index 28bddc2a..2fd1f825 100644 --- a/old_docs/API_docs_v45/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v45/methods/messages_requestEncryption.md @@ -6,6 +6,11 @@ description: messages.requestEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v45/methods/updates_getChannelDifference.md b/old_docs/API_docs_v45/methods/updates_getChannelDifference.md index 4ac957b3..51ea7aa5 100644 --- a/old_docs/API_docs_v45/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v45/methods/updates_getChannelDifference.md @@ -6,6 +6,11 @@ description: updates.getChannelDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v45/methods/updates_getDifference.md b/old_docs/API_docs_v45/methods/updates_getDifference.md index 96fddca0..53c7b078 100644 --- a/old_docs/API_docs_v45/methods/updates_getDifference.md +++ b/old_docs/API_docs_v45/methods/updates_getDifference.md @@ -6,6 +6,11 @@ description: updates.getDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v45/methods/updates_getState.md b/old_docs/API_docs_v45/methods/updates_getState.md index 9aebd51d..51f6ae80 100644 --- a/old_docs/API_docs_v45/methods/updates_getState.md +++ b/old_docs/API_docs_v45/methods/updates_getState.md @@ -6,6 +6,11 @@ description: updates.getState parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Return type: [updates\_State](../types/updates_State.md) diff --git a/old_docs/API_docs_v45/methods/upload_getFile.md b/old_docs/API_docs_v45/methods/upload_getFile.md index 68fd10b9..a1003003 100644 --- a/old_docs/API_docs_v45/methods/upload_getFile.md +++ b/old_docs/API_docs_v45/methods/upload_getFile.md @@ -6,6 +6,11 @@ description: upload.getFile parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v45/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v45/methods/upload_saveBigFilePart.md index c61faace..e5c96d89 100644 --- a/old_docs/API_docs_v45/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v45/methods/upload_saveBigFilePart.md @@ -6,6 +6,11 @@ description: upload.saveBigFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v45/methods/upload_saveFilePart.md b/old_docs/API_docs_v45/methods/upload_saveFilePart.md index d046b220..1c16e4b2 100644 --- a/old_docs/API_docs_v45/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v45/methods/upload_saveFilePart.md @@ -6,6 +6,11 @@ description: upload.saveFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v45/methods/users_getFullUser.md b/old_docs/API_docs_v45/methods/users_getFullUser.md index 66c1e73e..645ab12e 100644 --- a/old_docs/API_docs_v45/methods/users_getFullUser.md +++ b/old_docs/API_docs_v45/methods/users_getFullUser.md @@ -6,6 +6,11 @@ description: users.getFullUser parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v45/types/int.md b/old_docs/API_docs_v45/types/int.md index 7525a3a4..8e3c64ac 100644 --- a/old_docs/API_docs_v45/types/int.md +++ b/old_docs/API_docs_v45/types/int.md @@ -1,8 +1,8 @@ --- title: integer -description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +description: A 32 bit signed integer ranging from -2147483648 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 `-2147483648` to `2147483647`. diff --git a/old_docs/API_docs_v45/types/long.md b/old_docs/API_docs_v45/types/long.md index d394ca44..87a05766 100644 --- a/old_docs/API_docs_v45/types/long.md +++ b/old_docs/API_docs_v45/types/long.md @@ -1,8 +1,8 @@ --- title: long -description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +description: A 32 bit signed integer ranging from -9223372036854775808 to 9223372036854775807 --- ## 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 `-9223372036854775808` to `9223372036854775807`. diff --git a/old_docs/API_docs_v46/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v46/methods/auth_importBotAuthorization.md index 97119a5d..0d8836b6 100644 --- a/old_docs/API_docs_v46/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v46/methods/auth_importBotAuthorization.md @@ -6,6 +6,11 @@ description: auth.importBotAuthorization parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the bot_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v46/methods/auth_logOut.md b/old_docs/API_docs_v46/methods/auth_logOut.md index 227edffa..12159bab 100644 --- a/old_docs/API_docs_v46/methods/auth_logOut.md +++ b/old_docs/API_docs_v46/methods/auth_logOut.md @@ -6,6 +6,11 @@ description: auth.logOut parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the logout method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v46/methods/auth_sendCode.md b/old_docs/API_docs_v46/methods/auth_sendCode.md index 1d3dca40..43bc28ee 100644 --- a/old_docs/API_docs_v46/methods/auth_sendCode.md +++ b/old_docs/API_docs_v46/methods/auth_sendCode.md @@ -6,6 +6,11 @@ description: auth.sendCode parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v46/methods/auth_signIn.md b/old_docs/API_docs_v46/methods/auth_signIn.md index 539943d9..75c50d70 100644 --- a/old_docs/API_docs_v46/methods/auth_signIn.md +++ b/old_docs/API_docs_v46/methods/auth_signIn.md @@ -6,6 +6,11 @@ description: auth.signIn parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v46/methods/auth_signUp.md b/old_docs/API_docs_v46/methods/auth_signUp.md index 605f410d..f2a72b68 100644 --- a/old_docs/API_docs_v46/methods/auth_signUp.md +++ b/old_docs/API_docs_v46/methods/auth_signUp.md @@ -6,6 +6,11 @@ description: auth.signUp parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_signup method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v46/methods/channels_getFullChannel.md b/old_docs/API_docs_v46/methods/channels_getFullChannel.md index 0abceb02..340efcfe 100644 --- a/old_docs/API_docs_v46/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v46/methods/channels_getFullChannel.md @@ -6,6 +6,11 @@ description: channels.getFullChannel parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v46/methods/channels_getParticipants.md b/old_docs/API_docs_v46/methods/channels_getParticipants.md index c8b5a579..4c6e09cc 100644 --- a/old_docs/API_docs_v46/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v46/methods/channels_getParticipants.md @@ -6,6 +6,11 @@ description: channels.getParticipants parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v46/methods/contacts_resolveUsername.md b/old_docs/API_docs_v46/methods/contacts_resolveUsername.md index b81cd6a5..90e72851 100644 --- a/old_docs/API_docs_v46/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v46/methods/contacts_resolveUsername.md @@ -6,6 +6,11 @@ description: contacts.resolveUsername parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v46/methods/messages_acceptEncryption.md b/old_docs/API_docs_v46/methods/messages_acceptEncryption.md index 0b17dad3..548087b6 100644 --- a/old_docs/API_docs_v46/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v46/methods/messages_acceptEncryption.md @@ -6,6 +6,11 @@ description: messages.acceptEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v46/methods/messages_discardEncryption.md b/old_docs/API_docs_v46/methods/messages_discardEncryption.md index cee3cfee..72648e9d 100644 --- a/old_docs/API_docs_v46/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v46/methods/messages_discardEncryption.md @@ -6,6 +6,11 @@ description: messages.discardEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v46/methods/messages_getFullChat.md b/old_docs/API_docs_v46/methods/messages_getFullChat.md index 89cef555..62102b64 100644 --- a/old_docs/API_docs_v46/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v46/methods/messages_getFullChat.md @@ -6,6 +6,11 @@ description: messages.getFullChat parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v46/methods/messages_requestEncryption.md b/old_docs/API_docs_v46/methods/messages_requestEncryption.md index 28bddc2a..2fd1f825 100644 --- a/old_docs/API_docs_v46/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v46/methods/messages_requestEncryption.md @@ -6,6 +6,11 @@ description: messages.requestEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v46/methods/updates_getChannelDifference.md b/old_docs/API_docs_v46/methods/updates_getChannelDifference.md index 4ac957b3..51ea7aa5 100644 --- a/old_docs/API_docs_v46/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v46/methods/updates_getChannelDifference.md @@ -6,6 +6,11 @@ description: updates.getChannelDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v46/methods/updates_getDifference.md b/old_docs/API_docs_v46/methods/updates_getDifference.md index 96fddca0..53c7b078 100644 --- a/old_docs/API_docs_v46/methods/updates_getDifference.md +++ b/old_docs/API_docs_v46/methods/updates_getDifference.md @@ -6,6 +6,11 @@ description: updates.getDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v46/methods/updates_getState.md b/old_docs/API_docs_v46/methods/updates_getState.md index 9aebd51d..51f6ae80 100644 --- a/old_docs/API_docs_v46/methods/updates_getState.md +++ b/old_docs/API_docs_v46/methods/updates_getState.md @@ -6,6 +6,11 @@ description: updates.getState parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Return type: [updates\_State](../types/updates_State.md) diff --git a/old_docs/API_docs_v46/methods/upload_getFile.md b/old_docs/API_docs_v46/methods/upload_getFile.md index 68fd10b9..a1003003 100644 --- a/old_docs/API_docs_v46/methods/upload_getFile.md +++ b/old_docs/API_docs_v46/methods/upload_getFile.md @@ -6,6 +6,11 @@ description: upload.getFile parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v46/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v46/methods/upload_saveBigFilePart.md index c61faace..e5c96d89 100644 --- a/old_docs/API_docs_v46/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v46/methods/upload_saveBigFilePart.md @@ -6,6 +6,11 @@ description: upload.saveBigFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v46/methods/upload_saveFilePart.md b/old_docs/API_docs_v46/methods/upload_saveFilePart.md index d046b220..1c16e4b2 100644 --- a/old_docs/API_docs_v46/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v46/methods/upload_saveFilePart.md @@ -6,6 +6,11 @@ description: upload.saveFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v46/methods/users_getFullUser.md b/old_docs/API_docs_v46/methods/users_getFullUser.md index 66c1e73e..645ab12e 100644 --- a/old_docs/API_docs_v46/methods/users_getFullUser.md +++ b/old_docs/API_docs_v46/methods/users_getFullUser.md @@ -6,6 +6,11 @@ description: users.getFullUser parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v46/types/int.md b/old_docs/API_docs_v46/types/int.md index 7525a3a4..8e3c64ac 100644 --- a/old_docs/API_docs_v46/types/int.md +++ b/old_docs/API_docs_v46/types/int.md @@ -1,8 +1,8 @@ --- title: integer -description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +description: A 32 bit signed integer ranging from -2147483648 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 `-2147483648` to `2147483647`. diff --git a/old_docs/API_docs_v46/types/long.md b/old_docs/API_docs_v46/types/long.md index d394ca44..87a05766 100644 --- a/old_docs/API_docs_v46/types/long.md +++ b/old_docs/API_docs_v46/types/long.md @@ -1,8 +1,8 @@ --- title: long -description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +description: A 32 bit signed integer ranging from -9223372036854775808 to 9223372036854775807 --- ## 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 `-9223372036854775808` to `9223372036854775807`. diff --git a/old_docs/API_docs_v51/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v51/methods/auth_importBotAuthorization.md index 97119a5d..0d8836b6 100644 --- a/old_docs/API_docs_v51/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v51/methods/auth_importBotAuthorization.md @@ -6,6 +6,11 @@ description: auth.importBotAuthorization parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the bot_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v51/methods/auth_logOut.md b/old_docs/API_docs_v51/methods/auth_logOut.md index 227edffa..12159bab 100644 --- a/old_docs/API_docs_v51/methods/auth_logOut.md +++ b/old_docs/API_docs_v51/methods/auth_logOut.md @@ -6,6 +6,11 @@ description: auth.logOut parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the logout method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v51/methods/auth_sendCode.md b/old_docs/API_docs_v51/methods/auth_sendCode.md index 911748be..469f0f2c 100644 --- a/old_docs/API_docs_v51/methods/auth_sendCode.md +++ b/old_docs/API_docs_v51/methods/auth_sendCode.md @@ -6,6 +6,11 @@ description: auth.sendCode parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v51/methods/auth_signIn.md b/old_docs/API_docs_v51/methods/auth_signIn.md index 539943d9..75c50d70 100644 --- a/old_docs/API_docs_v51/methods/auth_signIn.md +++ b/old_docs/API_docs_v51/methods/auth_signIn.md @@ -6,6 +6,11 @@ description: auth.signIn parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v51/methods/auth_signUp.md b/old_docs/API_docs_v51/methods/auth_signUp.md index 605f410d..f2a72b68 100644 --- a/old_docs/API_docs_v51/methods/auth_signUp.md +++ b/old_docs/API_docs_v51/methods/auth_signUp.md @@ -6,6 +6,11 @@ description: auth.signUp parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_signup method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v51/methods/channels_getFullChannel.md b/old_docs/API_docs_v51/methods/channels_getFullChannel.md index 0abceb02..340efcfe 100644 --- a/old_docs/API_docs_v51/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v51/methods/channels_getFullChannel.md @@ -6,6 +6,11 @@ description: channels.getFullChannel parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v51/methods/channels_getParticipants.md b/old_docs/API_docs_v51/methods/channels_getParticipants.md index c8b5a579..4c6e09cc 100644 --- a/old_docs/API_docs_v51/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v51/methods/channels_getParticipants.md @@ -6,6 +6,11 @@ description: channels.getParticipants parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v51/methods/contacts_resolveUsername.md b/old_docs/API_docs_v51/methods/contacts_resolveUsername.md index b81cd6a5..90e72851 100644 --- a/old_docs/API_docs_v51/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v51/methods/contacts_resolveUsername.md @@ -6,6 +6,11 @@ description: contacts.resolveUsername parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v51/methods/messages_acceptEncryption.md b/old_docs/API_docs_v51/methods/messages_acceptEncryption.md index 0b17dad3..548087b6 100644 --- a/old_docs/API_docs_v51/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v51/methods/messages_acceptEncryption.md @@ -6,6 +6,11 @@ description: messages.acceptEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v51/methods/messages_discardEncryption.md b/old_docs/API_docs_v51/methods/messages_discardEncryption.md index cee3cfee..72648e9d 100644 --- a/old_docs/API_docs_v51/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v51/methods/messages_discardEncryption.md @@ -6,6 +6,11 @@ description: messages.discardEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v51/methods/messages_getFullChat.md b/old_docs/API_docs_v51/methods/messages_getFullChat.md index 89cef555..62102b64 100644 --- a/old_docs/API_docs_v51/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v51/methods/messages_getFullChat.md @@ -6,6 +6,11 @@ description: messages.getFullChat parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v51/methods/messages_requestEncryption.md b/old_docs/API_docs_v51/methods/messages_requestEncryption.md index 28bddc2a..2fd1f825 100644 --- a/old_docs/API_docs_v51/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v51/methods/messages_requestEncryption.md @@ -6,6 +6,11 @@ description: messages.requestEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v51/methods/updates_getChannelDifference.md b/old_docs/API_docs_v51/methods/updates_getChannelDifference.md index 4ac957b3..51ea7aa5 100644 --- a/old_docs/API_docs_v51/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v51/methods/updates_getChannelDifference.md @@ -6,6 +6,11 @@ description: updates.getChannelDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v51/methods/updates_getDifference.md b/old_docs/API_docs_v51/methods/updates_getDifference.md index 96fddca0..53c7b078 100644 --- a/old_docs/API_docs_v51/methods/updates_getDifference.md +++ b/old_docs/API_docs_v51/methods/updates_getDifference.md @@ -6,6 +6,11 @@ description: updates.getDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v51/methods/updates_getState.md b/old_docs/API_docs_v51/methods/updates_getState.md index 9aebd51d..51f6ae80 100644 --- a/old_docs/API_docs_v51/methods/updates_getState.md +++ b/old_docs/API_docs_v51/methods/updates_getState.md @@ -6,6 +6,11 @@ description: updates.getState parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Return type: [updates\_State](../types/updates_State.md) diff --git a/old_docs/API_docs_v51/methods/upload_getFile.md b/old_docs/API_docs_v51/methods/upload_getFile.md index 68fd10b9..a1003003 100644 --- a/old_docs/API_docs_v51/methods/upload_getFile.md +++ b/old_docs/API_docs_v51/methods/upload_getFile.md @@ -6,6 +6,11 @@ description: upload.getFile parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v51/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v51/methods/upload_saveBigFilePart.md index c61faace..e5c96d89 100644 --- a/old_docs/API_docs_v51/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v51/methods/upload_saveBigFilePart.md @@ -6,6 +6,11 @@ description: upload.saveBigFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v51/methods/upload_saveFilePart.md b/old_docs/API_docs_v51/methods/upload_saveFilePart.md index d046b220..1c16e4b2 100644 --- a/old_docs/API_docs_v51/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v51/methods/upload_saveFilePart.md @@ -6,6 +6,11 @@ description: upload.saveFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v51/methods/users_getFullUser.md b/old_docs/API_docs_v51/methods/users_getFullUser.md index 66c1e73e..645ab12e 100644 --- a/old_docs/API_docs_v51/methods/users_getFullUser.md +++ b/old_docs/API_docs_v51/methods/users_getFullUser.md @@ -6,6 +6,11 @@ description: users.getFullUser parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v51/types/int.md b/old_docs/API_docs_v51/types/int.md index 7525a3a4..8e3c64ac 100644 --- a/old_docs/API_docs_v51/types/int.md +++ b/old_docs/API_docs_v51/types/int.md @@ -1,8 +1,8 @@ --- title: integer -description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +description: A 32 bit signed integer ranging from -2147483648 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 `-2147483648` to `2147483647`. diff --git a/old_docs/API_docs_v51/types/long.md b/old_docs/API_docs_v51/types/long.md index d394ca44..87a05766 100644 --- a/old_docs/API_docs_v51/types/long.md +++ b/old_docs/API_docs_v51/types/long.md @@ -1,8 +1,8 @@ --- title: long -description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +description: A 32 bit signed integer ranging from -9223372036854775808 to 9223372036854775807 --- ## 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 `-9223372036854775808` to `9223372036854775807`. diff --git a/old_docs/API_docs_v53/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v53/methods/auth_importBotAuthorization.md index 97119a5d..0d8836b6 100644 --- a/old_docs/API_docs_v53/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v53/methods/auth_importBotAuthorization.md @@ -6,6 +6,11 @@ description: auth.importBotAuthorization parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the bot_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v53/methods/auth_logOut.md b/old_docs/API_docs_v53/methods/auth_logOut.md index 227edffa..12159bab 100644 --- a/old_docs/API_docs_v53/methods/auth_logOut.md +++ b/old_docs/API_docs_v53/methods/auth_logOut.md @@ -6,6 +6,11 @@ description: auth.logOut parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the logout method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v53/methods/auth_sendCode.md b/old_docs/API_docs_v53/methods/auth_sendCode.md index 86f5aca2..bda88218 100644 --- a/old_docs/API_docs_v53/methods/auth_sendCode.md +++ b/old_docs/API_docs_v53/methods/auth_sendCode.md @@ -6,6 +6,11 @@ description: auth.sendCode parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v53/methods/auth_signIn.md b/old_docs/API_docs_v53/methods/auth_signIn.md index 539943d9..75c50d70 100644 --- a/old_docs/API_docs_v53/methods/auth_signIn.md +++ b/old_docs/API_docs_v53/methods/auth_signIn.md @@ -6,6 +6,11 @@ description: auth.signIn parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v53/methods/auth_signUp.md b/old_docs/API_docs_v53/methods/auth_signUp.md index 605f410d..f2a72b68 100644 --- a/old_docs/API_docs_v53/methods/auth_signUp.md +++ b/old_docs/API_docs_v53/methods/auth_signUp.md @@ -6,6 +6,11 @@ description: auth.signUp parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_signup method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v53/methods/channels_getFullChannel.md b/old_docs/API_docs_v53/methods/channels_getFullChannel.md index 0abceb02..340efcfe 100644 --- a/old_docs/API_docs_v53/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v53/methods/channels_getFullChannel.md @@ -6,6 +6,11 @@ description: channels.getFullChannel parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v53/methods/channels_getParticipants.md b/old_docs/API_docs_v53/methods/channels_getParticipants.md index c8b5a579..4c6e09cc 100644 --- a/old_docs/API_docs_v53/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v53/methods/channels_getParticipants.md @@ -6,6 +6,11 @@ description: channels.getParticipants parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v53/methods/contacts_resolveUsername.md b/old_docs/API_docs_v53/methods/contacts_resolveUsername.md index b81cd6a5..90e72851 100644 --- a/old_docs/API_docs_v53/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v53/methods/contacts_resolveUsername.md @@ -6,6 +6,11 @@ description: contacts.resolveUsername parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v53/methods/messages_acceptEncryption.md b/old_docs/API_docs_v53/methods/messages_acceptEncryption.md index 0b17dad3..548087b6 100644 --- a/old_docs/API_docs_v53/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v53/methods/messages_acceptEncryption.md @@ -6,6 +6,11 @@ description: messages.acceptEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v53/methods/messages_discardEncryption.md b/old_docs/API_docs_v53/methods/messages_discardEncryption.md index cee3cfee..72648e9d 100644 --- a/old_docs/API_docs_v53/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v53/methods/messages_discardEncryption.md @@ -6,6 +6,11 @@ description: messages.discardEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v53/methods/messages_getFullChat.md b/old_docs/API_docs_v53/methods/messages_getFullChat.md index 89cef555..62102b64 100644 --- a/old_docs/API_docs_v53/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v53/methods/messages_getFullChat.md @@ -6,6 +6,11 @@ description: messages.getFullChat parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v53/methods/messages_requestEncryption.md b/old_docs/API_docs_v53/methods/messages_requestEncryption.md index 28bddc2a..2fd1f825 100644 --- a/old_docs/API_docs_v53/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v53/methods/messages_requestEncryption.md @@ -6,6 +6,11 @@ description: messages.requestEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v53/methods/updates_getChannelDifference.md b/old_docs/API_docs_v53/methods/updates_getChannelDifference.md index 4ac957b3..51ea7aa5 100644 --- a/old_docs/API_docs_v53/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v53/methods/updates_getChannelDifference.md @@ -6,6 +6,11 @@ description: updates.getChannelDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v53/methods/updates_getDifference.md b/old_docs/API_docs_v53/methods/updates_getDifference.md index 96fddca0..53c7b078 100644 --- a/old_docs/API_docs_v53/methods/updates_getDifference.md +++ b/old_docs/API_docs_v53/methods/updates_getDifference.md @@ -6,6 +6,11 @@ description: updates.getDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v53/methods/updates_getState.md b/old_docs/API_docs_v53/methods/updates_getState.md index 9aebd51d..51f6ae80 100644 --- a/old_docs/API_docs_v53/methods/updates_getState.md +++ b/old_docs/API_docs_v53/methods/updates_getState.md @@ -6,6 +6,11 @@ description: updates.getState parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Return type: [updates\_State](../types/updates_State.md) diff --git a/old_docs/API_docs_v53/methods/upload_getFile.md b/old_docs/API_docs_v53/methods/upload_getFile.md index 68fd10b9..a1003003 100644 --- a/old_docs/API_docs_v53/methods/upload_getFile.md +++ b/old_docs/API_docs_v53/methods/upload_getFile.md @@ -6,6 +6,11 @@ description: upload.getFile parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v53/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v53/methods/upload_saveBigFilePart.md index c61faace..e5c96d89 100644 --- a/old_docs/API_docs_v53/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v53/methods/upload_saveBigFilePart.md @@ -6,6 +6,11 @@ description: upload.saveBigFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v53/methods/upload_saveFilePart.md b/old_docs/API_docs_v53/methods/upload_saveFilePart.md index d046b220..1c16e4b2 100644 --- a/old_docs/API_docs_v53/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v53/methods/upload_saveFilePart.md @@ -6,6 +6,11 @@ description: upload.saveFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v53/methods/users_getFullUser.md b/old_docs/API_docs_v53/methods/users_getFullUser.md index 66c1e73e..645ab12e 100644 --- a/old_docs/API_docs_v53/methods/users_getFullUser.md +++ b/old_docs/API_docs_v53/methods/users_getFullUser.md @@ -6,6 +6,11 @@ description: users.getFullUser parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v53/types/int.md b/old_docs/API_docs_v53/types/int.md index 7525a3a4..8e3c64ac 100644 --- a/old_docs/API_docs_v53/types/int.md +++ b/old_docs/API_docs_v53/types/int.md @@ -1,8 +1,8 @@ --- title: integer -description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +description: A 32 bit signed integer ranging from -2147483648 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 `-2147483648` to `2147483647`. diff --git a/old_docs/API_docs_v53/types/long.md b/old_docs/API_docs_v53/types/long.md index d394ca44..87a05766 100644 --- a/old_docs/API_docs_v53/types/long.md +++ b/old_docs/API_docs_v53/types/long.md @@ -1,8 +1,8 @@ --- title: long -description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +description: A 32 bit signed integer ranging from -9223372036854775808 to 9223372036854775807 --- ## 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 `-9223372036854775808` to `9223372036854775807`. diff --git a/old_docs/API_docs_v55/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v55/methods/auth_importBotAuthorization.md index 97119a5d..0d8836b6 100644 --- a/old_docs/API_docs_v55/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v55/methods/auth_importBotAuthorization.md @@ -6,6 +6,11 @@ description: auth.importBotAuthorization parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the bot_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v55/methods/auth_logOut.md b/old_docs/API_docs_v55/methods/auth_logOut.md index 227edffa..12159bab 100644 --- a/old_docs/API_docs_v55/methods/auth_logOut.md +++ b/old_docs/API_docs_v55/methods/auth_logOut.md @@ -6,6 +6,11 @@ description: auth.logOut parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the logout method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v55/methods/auth_sendCode.md b/old_docs/API_docs_v55/methods/auth_sendCode.md index 86f5aca2..bda88218 100644 --- a/old_docs/API_docs_v55/methods/auth_sendCode.md +++ b/old_docs/API_docs_v55/methods/auth_sendCode.md @@ -6,6 +6,11 @@ description: auth.sendCode parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v55/methods/auth_signIn.md b/old_docs/API_docs_v55/methods/auth_signIn.md index 539943d9..75c50d70 100644 --- a/old_docs/API_docs_v55/methods/auth_signIn.md +++ b/old_docs/API_docs_v55/methods/auth_signIn.md @@ -6,6 +6,11 @@ description: auth.signIn parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v55/methods/auth_signUp.md b/old_docs/API_docs_v55/methods/auth_signUp.md index 605f410d..f2a72b68 100644 --- a/old_docs/API_docs_v55/methods/auth_signUp.md +++ b/old_docs/API_docs_v55/methods/auth_signUp.md @@ -6,6 +6,11 @@ description: auth.signUp parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_signup method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v55/methods/channels_getFullChannel.md b/old_docs/API_docs_v55/methods/channels_getFullChannel.md index 0abceb02..340efcfe 100644 --- a/old_docs/API_docs_v55/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v55/methods/channels_getFullChannel.md @@ -6,6 +6,11 @@ description: channels.getFullChannel parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v55/methods/channels_getParticipants.md b/old_docs/API_docs_v55/methods/channels_getParticipants.md index c8b5a579..4c6e09cc 100644 --- a/old_docs/API_docs_v55/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v55/methods/channels_getParticipants.md @@ -6,6 +6,11 @@ description: channels.getParticipants parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v55/methods/contacts_resolveUsername.md b/old_docs/API_docs_v55/methods/contacts_resolveUsername.md index b81cd6a5..90e72851 100644 --- a/old_docs/API_docs_v55/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v55/methods/contacts_resolveUsername.md @@ -6,6 +6,11 @@ description: contacts.resolveUsername parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v55/methods/messages_acceptEncryption.md b/old_docs/API_docs_v55/methods/messages_acceptEncryption.md index 0b17dad3..548087b6 100644 --- a/old_docs/API_docs_v55/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v55/methods/messages_acceptEncryption.md @@ -6,6 +6,11 @@ description: messages.acceptEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v55/methods/messages_discardEncryption.md b/old_docs/API_docs_v55/methods/messages_discardEncryption.md index cee3cfee..72648e9d 100644 --- a/old_docs/API_docs_v55/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v55/methods/messages_discardEncryption.md @@ -6,6 +6,11 @@ description: messages.discardEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v55/methods/messages_getFullChat.md b/old_docs/API_docs_v55/methods/messages_getFullChat.md index 89cef555..62102b64 100644 --- a/old_docs/API_docs_v55/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v55/methods/messages_getFullChat.md @@ -6,6 +6,11 @@ description: messages.getFullChat parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v55/methods/messages_requestEncryption.md b/old_docs/API_docs_v55/methods/messages_requestEncryption.md index 28bddc2a..2fd1f825 100644 --- a/old_docs/API_docs_v55/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v55/methods/messages_requestEncryption.md @@ -6,6 +6,11 @@ description: messages.requestEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v55/methods/updates_getChannelDifference.md b/old_docs/API_docs_v55/methods/updates_getChannelDifference.md index 4ac957b3..51ea7aa5 100644 --- a/old_docs/API_docs_v55/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v55/methods/updates_getChannelDifference.md @@ -6,6 +6,11 @@ description: updates.getChannelDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v55/methods/updates_getDifference.md b/old_docs/API_docs_v55/methods/updates_getDifference.md index 96fddca0..53c7b078 100644 --- a/old_docs/API_docs_v55/methods/updates_getDifference.md +++ b/old_docs/API_docs_v55/methods/updates_getDifference.md @@ -6,6 +6,11 @@ description: updates.getDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v55/methods/updates_getState.md b/old_docs/API_docs_v55/methods/updates_getState.md index 9aebd51d..51f6ae80 100644 --- a/old_docs/API_docs_v55/methods/updates_getState.md +++ b/old_docs/API_docs_v55/methods/updates_getState.md @@ -6,6 +6,11 @@ description: updates.getState parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Return type: [updates\_State](../types/updates_State.md) diff --git a/old_docs/API_docs_v55/methods/upload_getFile.md b/old_docs/API_docs_v55/methods/upload_getFile.md index 68fd10b9..a1003003 100644 --- a/old_docs/API_docs_v55/methods/upload_getFile.md +++ b/old_docs/API_docs_v55/methods/upload_getFile.md @@ -6,6 +6,11 @@ description: upload.getFile parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v55/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v55/methods/upload_saveBigFilePart.md index c61faace..e5c96d89 100644 --- a/old_docs/API_docs_v55/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v55/methods/upload_saveBigFilePart.md @@ -6,6 +6,11 @@ description: upload.saveBigFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v55/methods/upload_saveFilePart.md b/old_docs/API_docs_v55/methods/upload_saveFilePart.md index d046b220..1c16e4b2 100644 --- a/old_docs/API_docs_v55/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v55/methods/upload_saveFilePart.md @@ -6,6 +6,11 @@ description: upload.saveFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v55/methods/users_getFullUser.md b/old_docs/API_docs_v55/methods/users_getFullUser.md index 66c1e73e..645ab12e 100644 --- a/old_docs/API_docs_v55/methods/users_getFullUser.md +++ b/old_docs/API_docs_v55/methods/users_getFullUser.md @@ -6,6 +6,11 @@ description: users.getFullUser parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v55/types/int.md b/old_docs/API_docs_v55/types/int.md index 7525a3a4..8e3c64ac 100644 --- a/old_docs/API_docs_v55/types/int.md +++ b/old_docs/API_docs_v55/types/int.md @@ -1,8 +1,8 @@ --- title: integer -description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +description: A 32 bit signed integer ranging from -2147483648 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 `-2147483648` to `2147483647`. diff --git a/old_docs/API_docs_v55/types/long.md b/old_docs/API_docs_v55/types/long.md index d394ca44..87a05766 100644 --- a/old_docs/API_docs_v55/types/long.md +++ b/old_docs/API_docs_v55/types/long.md @@ -1,8 +1,8 @@ --- title: long -description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +description: A 32 bit signed integer ranging from -9223372036854775808 to 9223372036854775807 --- ## 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 `-9223372036854775808` to `9223372036854775807`. diff --git a/old_docs/API_docs_v57/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v57/methods/auth_importBotAuthorization.md index 97119a5d..0d8836b6 100644 --- a/old_docs/API_docs_v57/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v57/methods/auth_importBotAuthorization.md @@ -6,6 +6,11 @@ description: auth.importBotAuthorization parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the bot_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v57/methods/auth_logOut.md b/old_docs/API_docs_v57/methods/auth_logOut.md index 227edffa..12159bab 100644 --- a/old_docs/API_docs_v57/methods/auth_logOut.md +++ b/old_docs/API_docs_v57/methods/auth_logOut.md @@ -6,6 +6,11 @@ description: auth.logOut parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the logout method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v57/methods/auth_sendCode.md b/old_docs/API_docs_v57/methods/auth_sendCode.md index 86f5aca2..bda88218 100644 --- a/old_docs/API_docs_v57/methods/auth_sendCode.md +++ b/old_docs/API_docs_v57/methods/auth_sendCode.md @@ -6,6 +6,11 @@ description: auth.sendCode parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v57/methods/auth_signIn.md b/old_docs/API_docs_v57/methods/auth_signIn.md index 539943d9..75c50d70 100644 --- a/old_docs/API_docs_v57/methods/auth_signIn.md +++ b/old_docs/API_docs_v57/methods/auth_signIn.md @@ -6,6 +6,11 @@ description: auth.signIn parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v57/methods/auth_signUp.md b/old_docs/API_docs_v57/methods/auth_signUp.md index 605f410d..f2a72b68 100644 --- a/old_docs/API_docs_v57/methods/auth_signUp.md +++ b/old_docs/API_docs_v57/methods/auth_signUp.md @@ -6,6 +6,11 @@ description: auth.signUp parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_signup method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v57/methods/channels_getFullChannel.md b/old_docs/API_docs_v57/methods/channels_getFullChannel.md index 0abceb02..340efcfe 100644 --- a/old_docs/API_docs_v57/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v57/methods/channels_getFullChannel.md @@ -6,6 +6,11 @@ description: channels.getFullChannel parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v57/methods/channels_getParticipants.md b/old_docs/API_docs_v57/methods/channels_getParticipants.md index c8b5a579..4c6e09cc 100644 --- a/old_docs/API_docs_v57/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v57/methods/channels_getParticipants.md @@ -6,6 +6,11 @@ description: channels.getParticipants parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v57/methods/contacts_resolveUsername.md b/old_docs/API_docs_v57/methods/contacts_resolveUsername.md index b81cd6a5..90e72851 100644 --- a/old_docs/API_docs_v57/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v57/methods/contacts_resolveUsername.md @@ -6,6 +6,11 @@ description: contacts.resolveUsername parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v57/methods/messages_acceptEncryption.md b/old_docs/API_docs_v57/methods/messages_acceptEncryption.md index 0b17dad3..548087b6 100644 --- a/old_docs/API_docs_v57/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v57/methods/messages_acceptEncryption.md @@ -6,6 +6,11 @@ description: messages.acceptEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v57/methods/messages_discardEncryption.md b/old_docs/API_docs_v57/methods/messages_discardEncryption.md index cee3cfee..72648e9d 100644 --- a/old_docs/API_docs_v57/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v57/methods/messages_discardEncryption.md @@ -6,6 +6,11 @@ description: messages.discardEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v57/methods/messages_getFullChat.md b/old_docs/API_docs_v57/methods/messages_getFullChat.md index 89cef555..62102b64 100644 --- a/old_docs/API_docs_v57/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v57/methods/messages_getFullChat.md @@ -6,6 +6,11 @@ description: messages.getFullChat parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v57/methods/messages_requestEncryption.md b/old_docs/API_docs_v57/methods/messages_requestEncryption.md index 28bddc2a..2fd1f825 100644 --- a/old_docs/API_docs_v57/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v57/methods/messages_requestEncryption.md @@ -6,6 +6,11 @@ description: messages.requestEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v57/methods/updates_getChannelDifference.md b/old_docs/API_docs_v57/methods/updates_getChannelDifference.md index 4ac957b3..51ea7aa5 100644 --- a/old_docs/API_docs_v57/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v57/methods/updates_getChannelDifference.md @@ -6,6 +6,11 @@ description: updates.getChannelDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v57/methods/updates_getDifference.md b/old_docs/API_docs_v57/methods/updates_getDifference.md index 96fddca0..53c7b078 100644 --- a/old_docs/API_docs_v57/methods/updates_getDifference.md +++ b/old_docs/API_docs_v57/methods/updates_getDifference.md @@ -6,6 +6,11 @@ description: updates.getDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v57/methods/updates_getState.md b/old_docs/API_docs_v57/methods/updates_getState.md index 9aebd51d..51f6ae80 100644 --- a/old_docs/API_docs_v57/methods/updates_getState.md +++ b/old_docs/API_docs_v57/methods/updates_getState.md @@ -6,6 +6,11 @@ description: updates.getState parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Return type: [updates\_State](../types/updates_State.md) diff --git a/old_docs/API_docs_v57/methods/upload_getFile.md b/old_docs/API_docs_v57/methods/upload_getFile.md index 68fd10b9..a1003003 100644 --- a/old_docs/API_docs_v57/methods/upload_getFile.md +++ b/old_docs/API_docs_v57/methods/upload_getFile.md @@ -6,6 +6,11 @@ description: upload.getFile parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v57/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v57/methods/upload_saveBigFilePart.md index c61faace..e5c96d89 100644 --- a/old_docs/API_docs_v57/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v57/methods/upload_saveBigFilePart.md @@ -6,6 +6,11 @@ description: upload.saveBigFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v57/methods/upload_saveFilePart.md b/old_docs/API_docs_v57/methods/upload_saveFilePart.md index d046b220..1c16e4b2 100644 --- a/old_docs/API_docs_v57/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v57/methods/upload_saveFilePart.md @@ -6,6 +6,11 @@ description: upload.saveFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v57/methods/users_getFullUser.md b/old_docs/API_docs_v57/methods/users_getFullUser.md index 66c1e73e..645ab12e 100644 --- a/old_docs/API_docs_v57/methods/users_getFullUser.md +++ b/old_docs/API_docs_v57/methods/users_getFullUser.md @@ -6,6 +6,11 @@ description: users.getFullUser parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v57/types/int.md b/old_docs/API_docs_v57/types/int.md index 7525a3a4..8e3c64ac 100644 --- a/old_docs/API_docs_v57/types/int.md +++ b/old_docs/API_docs_v57/types/int.md @@ -1,8 +1,8 @@ --- title: integer -description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +description: A 32 bit signed integer ranging from -2147483648 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 `-2147483648` to `2147483647`. diff --git a/old_docs/API_docs_v57/types/long.md b/old_docs/API_docs_v57/types/long.md index d394ca44..87a05766 100644 --- a/old_docs/API_docs_v57/types/long.md +++ b/old_docs/API_docs_v57/types/long.md @@ -1,8 +1,8 @@ --- title: long -description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +description: A 32 bit signed integer ranging from -9223372036854775808 to 9223372036854775807 --- ## 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 `-9223372036854775808` to `9223372036854775807`. diff --git a/old_docs/API_docs_v62/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v62/methods/auth_importBotAuthorization.md index 97119a5d..0d8836b6 100644 --- a/old_docs/API_docs_v62/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v62/methods/auth_importBotAuthorization.md @@ -6,6 +6,11 @@ description: auth.importBotAuthorization parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the bot_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v62/methods/auth_logOut.md b/old_docs/API_docs_v62/methods/auth_logOut.md index 227edffa..12159bab 100644 --- a/old_docs/API_docs_v62/methods/auth_logOut.md +++ b/old_docs/API_docs_v62/methods/auth_logOut.md @@ -6,6 +6,11 @@ description: auth.logOut parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the logout method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v62/methods/auth_sendCode.md b/old_docs/API_docs_v62/methods/auth_sendCode.md index 86f5aca2..bda88218 100644 --- a/old_docs/API_docs_v62/methods/auth_sendCode.md +++ b/old_docs/API_docs_v62/methods/auth_sendCode.md @@ -6,6 +6,11 @@ description: auth.sendCode parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v62/methods/auth_signIn.md b/old_docs/API_docs_v62/methods/auth_signIn.md index 539943d9..75c50d70 100644 --- a/old_docs/API_docs_v62/methods/auth_signIn.md +++ b/old_docs/API_docs_v62/methods/auth_signIn.md @@ -6,6 +6,11 @@ description: auth.signIn parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v62/methods/auth_signUp.md b/old_docs/API_docs_v62/methods/auth_signUp.md index 605f410d..f2a72b68 100644 --- a/old_docs/API_docs_v62/methods/auth_signUp.md +++ b/old_docs/API_docs_v62/methods/auth_signUp.md @@ -6,6 +6,11 @@ description: auth.signUp parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_signup method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v62/methods/channels_getFullChannel.md b/old_docs/API_docs_v62/methods/channels_getFullChannel.md index 0abceb02..340efcfe 100644 --- a/old_docs/API_docs_v62/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v62/methods/channels_getFullChannel.md @@ -6,6 +6,11 @@ description: channels.getFullChannel parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v62/methods/channels_getParticipants.md b/old_docs/API_docs_v62/methods/channels_getParticipants.md index c8b5a579..4c6e09cc 100644 --- a/old_docs/API_docs_v62/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v62/methods/channels_getParticipants.md @@ -6,6 +6,11 @@ description: channels.getParticipants parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v62/methods/contacts_resolveUsername.md b/old_docs/API_docs_v62/methods/contacts_resolveUsername.md index b81cd6a5..90e72851 100644 --- a/old_docs/API_docs_v62/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v62/methods/contacts_resolveUsername.md @@ -6,6 +6,11 @@ description: contacts.resolveUsername parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v62/methods/messages_acceptEncryption.md b/old_docs/API_docs_v62/methods/messages_acceptEncryption.md index 0b17dad3..548087b6 100644 --- a/old_docs/API_docs_v62/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v62/methods/messages_acceptEncryption.md @@ -6,6 +6,11 @@ description: messages.acceptEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v62/methods/messages_discardEncryption.md b/old_docs/API_docs_v62/methods/messages_discardEncryption.md index cee3cfee..72648e9d 100644 --- a/old_docs/API_docs_v62/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v62/methods/messages_discardEncryption.md @@ -6,6 +6,11 @@ description: messages.discardEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v62/methods/messages_getFullChat.md b/old_docs/API_docs_v62/methods/messages_getFullChat.md index 89cef555..62102b64 100644 --- a/old_docs/API_docs_v62/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v62/methods/messages_getFullChat.md @@ -6,6 +6,11 @@ description: messages.getFullChat parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v62/methods/messages_requestEncryption.md b/old_docs/API_docs_v62/methods/messages_requestEncryption.md index 28bddc2a..2fd1f825 100644 --- a/old_docs/API_docs_v62/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v62/methods/messages_requestEncryption.md @@ -6,6 +6,11 @@ description: messages.requestEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v62/methods/phone_acceptCall.md b/old_docs/API_docs_v62/methods/phone_acceptCall.md index 987ecc12..faf566fc 100644 --- a/old_docs/API_docs_v62/methods/phone_acceptCall.md +++ b/old_docs/API_docs_v62/methods/phone_acceptCall.md @@ -6,6 +6,11 @@ description: phone.acceptCall parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto#calls for more info on handling calls* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v62/methods/phone_discardCall.md b/old_docs/API_docs_v62/methods/phone_discardCall.md index 053258df..d4f088de 100644 --- a/old_docs/API_docs_v62/methods/phone_discardCall.md +++ b/old_docs/API_docs_v62/methods/phone_discardCall.md @@ -6,6 +6,11 @@ description: phone.discardCall parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto#calls for more info on handling calls* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v62/methods/phone_requestCall.md b/old_docs/API_docs_v62/methods/phone_requestCall.md index c23ef0a8..82dfa7ac 100644 --- a/old_docs/API_docs_v62/methods/phone_requestCall.md +++ b/old_docs/API_docs_v62/methods/phone_requestCall.md @@ -6,6 +6,11 @@ description: phone.requestCall parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto#calls for more info on handling calls* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v62/methods/updates_getChannelDifference.md b/old_docs/API_docs_v62/methods/updates_getChannelDifference.md index ec4e1b71..d4eff325 100644 --- a/old_docs/API_docs_v62/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v62/methods/updates_getChannelDifference.md @@ -6,6 +6,11 @@ description: updates.getChannelDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v62/methods/updates_getDifference.md b/old_docs/API_docs_v62/methods/updates_getDifference.md index 85efde37..b50de4bb 100644 --- a/old_docs/API_docs_v62/methods/updates_getDifference.md +++ b/old_docs/API_docs_v62/methods/updates_getDifference.md @@ -6,6 +6,11 @@ description: updates.getDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v62/methods/updates_getState.md b/old_docs/API_docs_v62/methods/updates_getState.md index 9aebd51d..51f6ae80 100644 --- a/old_docs/API_docs_v62/methods/updates_getState.md +++ b/old_docs/API_docs_v62/methods/updates_getState.md @@ -6,6 +6,11 @@ description: updates.getState parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Return type: [updates\_State](../types/updates_State.md) diff --git a/old_docs/API_docs_v62/methods/upload_getFile.md b/old_docs/API_docs_v62/methods/upload_getFile.md index 68fd10b9..a1003003 100644 --- a/old_docs/API_docs_v62/methods/upload_getFile.md +++ b/old_docs/API_docs_v62/methods/upload_getFile.md @@ -6,6 +6,11 @@ description: upload.getFile parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v62/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v62/methods/upload_saveBigFilePart.md index c61faace..e5c96d89 100644 --- a/old_docs/API_docs_v62/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v62/methods/upload_saveBigFilePart.md @@ -6,6 +6,11 @@ description: upload.saveBigFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v62/methods/upload_saveFilePart.md b/old_docs/API_docs_v62/methods/upload_saveFilePart.md index d046b220..1c16e4b2 100644 --- a/old_docs/API_docs_v62/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v62/methods/upload_saveFilePart.md @@ -6,6 +6,11 @@ description: upload.saveFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v62/methods/users_getFullUser.md b/old_docs/API_docs_v62/methods/users_getFullUser.md index 66c1e73e..645ab12e 100644 --- a/old_docs/API_docs_v62/methods/users_getFullUser.md +++ b/old_docs/API_docs_v62/methods/users_getFullUser.md @@ -6,6 +6,11 @@ description: users.getFullUser parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v62/types/int.md b/old_docs/API_docs_v62/types/int.md index 7525a3a4..8e3c64ac 100644 --- a/old_docs/API_docs_v62/types/int.md +++ b/old_docs/API_docs_v62/types/int.md @@ -1,8 +1,8 @@ --- title: integer -description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +description: A 32 bit signed integer ranging from -2147483648 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 `-2147483648` to `2147483647`. diff --git a/old_docs/API_docs_v62/types/long.md b/old_docs/API_docs_v62/types/long.md index d394ca44..87a05766 100644 --- a/old_docs/API_docs_v62/types/long.md +++ b/old_docs/API_docs_v62/types/long.md @@ -1,8 +1,8 @@ --- title: long -description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +description: A 32 bit signed integer ranging from -9223372036854775808 to 9223372036854775807 --- ## 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 `-9223372036854775808` to `9223372036854775807`. diff --git a/old_docs/API_docs_v65/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v65/methods/auth_importBotAuthorization.md index 43260484..10f1b242 100644 --- a/old_docs/API_docs_v65/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v65/methods/auth_importBotAuthorization.md @@ -6,6 +6,11 @@ description: auth.importBotAuthorization parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the bot_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v65/methods/auth_logOut.md b/old_docs/API_docs_v65/methods/auth_logOut.md index 227edffa..12159bab 100644 --- a/old_docs/API_docs_v65/methods/auth_logOut.md +++ b/old_docs/API_docs_v65/methods/auth_logOut.md @@ -6,6 +6,11 @@ description: auth.logOut parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the logout method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v65/methods/auth_sendCode.md b/old_docs/API_docs_v65/methods/auth_sendCode.md index 86f5aca2..bda88218 100644 --- a/old_docs/API_docs_v65/methods/auth_sendCode.md +++ b/old_docs/API_docs_v65/methods/auth_sendCode.md @@ -6,6 +6,11 @@ description: auth.sendCode parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v65/methods/auth_signIn.md b/old_docs/API_docs_v65/methods/auth_signIn.md index 539943d9..75c50d70 100644 --- a/old_docs/API_docs_v65/methods/auth_signIn.md +++ b/old_docs/API_docs_v65/methods/auth_signIn.md @@ -6,6 +6,11 @@ description: auth.signIn parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v65/methods/auth_signUp.md b/old_docs/API_docs_v65/methods/auth_signUp.md index 605f410d..f2a72b68 100644 --- a/old_docs/API_docs_v65/methods/auth_signUp.md +++ b/old_docs/API_docs_v65/methods/auth_signUp.md @@ -6,6 +6,11 @@ description: auth.signUp parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_signup method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v65/methods/channels_getFullChannel.md b/old_docs/API_docs_v65/methods/channels_getFullChannel.md index 0abceb02..340efcfe 100644 --- a/old_docs/API_docs_v65/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v65/methods/channels_getFullChannel.md @@ -6,6 +6,11 @@ description: channels.getFullChannel parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v65/methods/channels_getParticipants.md b/old_docs/API_docs_v65/methods/channels_getParticipants.md index c8b5a579..4c6e09cc 100644 --- a/old_docs/API_docs_v65/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v65/methods/channels_getParticipants.md @@ -6,6 +6,11 @@ description: channels.getParticipants parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v65/methods/contacts_resolveUsername.md b/old_docs/API_docs_v65/methods/contacts_resolveUsername.md index b81cd6a5..90e72851 100644 --- a/old_docs/API_docs_v65/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v65/methods/contacts_resolveUsername.md @@ -6,6 +6,11 @@ description: contacts.resolveUsername parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v65/methods/messages_acceptEncryption.md b/old_docs/API_docs_v65/methods/messages_acceptEncryption.md index 0b17dad3..548087b6 100644 --- a/old_docs/API_docs_v65/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v65/methods/messages_acceptEncryption.md @@ -6,6 +6,11 @@ description: messages.acceptEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v65/methods/messages_discardEncryption.md b/old_docs/API_docs_v65/methods/messages_discardEncryption.md index cee3cfee..72648e9d 100644 --- a/old_docs/API_docs_v65/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v65/methods/messages_discardEncryption.md @@ -6,6 +6,11 @@ description: messages.discardEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v65/methods/messages_getFullChat.md b/old_docs/API_docs_v65/methods/messages_getFullChat.md index 89cef555..62102b64 100644 --- a/old_docs/API_docs_v65/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v65/methods/messages_getFullChat.md @@ -6,6 +6,11 @@ description: messages.getFullChat parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v65/methods/messages_requestEncryption.md b/old_docs/API_docs_v65/methods/messages_requestEncryption.md index 28bddc2a..2fd1f825 100644 --- a/old_docs/API_docs_v65/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v65/methods/messages_requestEncryption.md @@ -6,6 +6,11 @@ description: messages.requestEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v65/methods/phone_acceptCall.md b/old_docs/API_docs_v65/methods/phone_acceptCall.md index 114c52a2..a3cf68a8 100644 --- a/old_docs/API_docs_v65/methods/phone_acceptCall.md +++ b/old_docs/API_docs_v65/methods/phone_acceptCall.md @@ -6,6 +6,11 @@ description: phone.acceptCall parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto#calls for more info on handling calls* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v65/methods/phone_confirmCall.md b/old_docs/API_docs_v65/methods/phone_confirmCall.md index 59cf8e8b..ecec0ffc 100644 --- a/old_docs/API_docs_v65/methods/phone_confirmCall.md +++ b/old_docs/API_docs_v65/methods/phone_confirmCall.md @@ -6,6 +6,11 @@ description: phone.confirmCall parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto#calls for more info on handling calls* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v65/methods/phone_discardCall.md b/old_docs/API_docs_v65/methods/phone_discardCall.md index 884956cb..bb6b4cd7 100644 --- a/old_docs/API_docs_v65/methods/phone_discardCall.md +++ b/old_docs/API_docs_v65/methods/phone_discardCall.md @@ -6,6 +6,11 @@ description: phone.discardCall parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto#calls for more info on handling calls* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v65/methods/phone_requestCall.md b/old_docs/API_docs_v65/methods/phone_requestCall.md index a6eee621..7364c886 100644 --- a/old_docs/API_docs_v65/methods/phone_requestCall.md +++ b/old_docs/API_docs_v65/methods/phone_requestCall.md @@ -6,6 +6,11 @@ description: phone.requestCall parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto#calls for more info on handling calls* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v65/methods/updates_getChannelDifference.md b/old_docs/API_docs_v65/methods/updates_getChannelDifference.md index ec4e1b71..d4eff325 100644 --- a/old_docs/API_docs_v65/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v65/methods/updates_getChannelDifference.md @@ -6,6 +6,11 @@ description: updates.getChannelDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v65/methods/updates_getDifference.md b/old_docs/API_docs_v65/methods/updates_getDifference.md index 85efde37..b50de4bb 100644 --- a/old_docs/API_docs_v65/methods/updates_getDifference.md +++ b/old_docs/API_docs_v65/methods/updates_getDifference.md @@ -6,6 +6,11 @@ description: updates.getDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v65/methods/updates_getState.md b/old_docs/API_docs_v65/methods/updates_getState.md index 9aebd51d..51f6ae80 100644 --- a/old_docs/API_docs_v65/methods/updates_getState.md +++ b/old_docs/API_docs_v65/methods/updates_getState.md @@ -6,6 +6,11 @@ description: updates.getState parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Return type: [updates\_State](../types/updates_State.md) diff --git a/old_docs/API_docs_v65/methods/upload_getFile.md b/old_docs/API_docs_v65/methods/upload_getFile.md index 68fd10b9..a1003003 100644 --- a/old_docs/API_docs_v65/methods/upload_getFile.md +++ b/old_docs/API_docs_v65/methods/upload_getFile.md @@ -6,6 +6,11 @@ description: upload.getFile parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v65/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v65/methods/upload_saveBigFilePart.md index c61faace..e5c96d89 100644 --- a/old_docs/API_docs_v65/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v65/methods/upload_saveBigFilePart.md @@ -6,6 +6,11 @@ description: upload.saveBigFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v65/methods/upload_saveFilePart.md b/old_docs/API_docs_v65/methods/upload_saveFilePart.md index d046b220..1c16e4b2 100644 --- a/old_docs/API_docs_v65/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v65/methods/upload_saveFilePart.md @@ -6,6 +6,11 @@ description: upload.saveFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v65/methods/users_getFullUser.md b/old_docs/API_docs_v65/methods/users_getFullUser.md index 66c1e73e..645ab12e 100644 --- a/old_docs/API_docs_v65/methods/users_getFullUser.md +++ b/old_docs/API_docs_v65/methods/users_getFullUser.md @@ -6,6 +6,11 @@ description: users.getFullUser parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v65/types/int.md b/old_docs/API_docs_v65/types/int.md index 7525a3a4..8e3c64ac 100644 --- a/old_docs/API_docs_v65/types/int.md +++ b/old_docs/API_docs_v65/types/int.md @@ -1,8 +1,8 @@ --- title: integer -description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +description: A 32 bit signed integer ranging from -2147483648 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 `-2147483648` to `2147483647`. diff --git a/old_docs/API_docs_v65/types/long.md b/old_docs/API_docs_v65/types/long.md index d394ca44..87a05766 100644 --- a/old_docs/API_docs_v65/types/long.md +++ b/old_docs/API_docs_v65/types/long.md @@ -1,8 +1,8 @@ --- title: long -description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +description: A 32 bit signed integer ranging from -9223372036854775808 to 9223372036854775807 --- ## 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 `-9223372036854775808` to `9223372036854775807`. diff --git a/old_docs/API_docs_v66/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v66/methods/auth_importBotAuthorization.md index 97119a5d..0d8836b6 100644 --- a/old_docs/API_docs_v66/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v66/methods/auth_importBotAuthorization.md @@ -6,6 +6,11 @@ description: auth.importBotAuthorization parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the bot_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v66/methods/auth_logOut.md b/old_docs/API_docs_v66/methods/auth_logOut.md index 227edffa..12159bab 100644 --- a/old_docs/API_docs_v66/methods/auth_logOut.md +++ b/old_docs/API_docs_v66/methods/auth_logOut.md @@ -6,6 +6,11 @@ description: auth.logOut parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the logout method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v66/methods/auth_sendCode.md b/old_docs/API_docs_v66/methods/auth_sendCode.md index 86f5aca2..bda88218 100644 --- a/old_docs/API_docs_v66/methods/auth_sendCode.md +++ b/old_docs/API_docs_v66/methods/auth_sendCode.md @@ -6,6 +6,11 @@ description: auth.sendCode parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v66/methods/auth_signIn.md b/old_docs/API_docs_v66/methods/auth_signIn.md index 539943d9..75c50d70 100644 --- a/old_docs/API_docs_v66/methods/auth_signIn.md +++ b/old_docs/API_docs_v66/methods/auth_signIn.md @@ -6,6 +6,11 @@ description: auth.signIn parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v66/methods/auth_signUp.md b/old_docs/API_docs_v66/methods/auth_signUp.md index 605f410d..f2a72b68 100644 --- a/old_docs/API_docs_v66/methods/auth_signUp.md +++ b/old_docs/API_docs_v66/methods/auth_signUp.md @@ -6,6 +6,11 @@ description: auth.signUp parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_signup method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v66/methods/channels_getFullChannel.md b/old_docs/API_docs_v66/methods/channels_getFullChannel.md index 0abceb02..340efcfe 100644 --- a/old_docs/API_docs_v66/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v66/methods/channels_getFullChannel.md @@ -6,6 +6,11 @@ description: channels.getFullChannel parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v66/methods/channels_getParticipants.md b/old_docs/API_docs_v66/methods/channels_getParticipants.md index c8b5a579..4c6e09cc 100644 --- a/old_docs/API_docs_v66/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v66/methods/channels_getParticipants.md @@ -6,6 +6,11 @@ description: channels.getParticipants parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v66/methods/contacts_resolveUsername.md b/old_docs/API_docs_v66/methods/contacts_resolveUsername.md index b81cd6a5..90e72851 100644 --- a/old_docs/API_docs_v66/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v66/methods/contacts_resolveUsername.md @@ -6,6 +6,11 @@ description: contacts.resolveUsername parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v66/methods/messages_acceptEncryption.md b/old_docs/API_docs_v66/methods/messages_acceptEncryption.md index 0b17dad3..548087b6 100644 --- a/old_docs/API_docs_v66/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v66/methods/messages_acceptEncryption.md @@ -6,6 +6,11 @@ description: messages.acceptEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v66/methods/messages_discardEncryption.md b/old_docs/API_docs_v66/methods/messages_discardEncryption.md index cee3cfee..72648e9d 100644 --- a/old_docs/API_docs_v66/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v66/methods/messages_discardEncryption.md @@ -6,6 +6,11 @@ description: messages.discardEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v66/methods/messages_getFullChat.md b/old_docs/API_docs_v66/methods/messages_getFullChat.md index 89cef555..62102b64 100644 --- a/old_docs/API_docs_v66/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v66/methods/messages_getFullChat.md @@ -6,6 +6,11 @@ description: messages.getFullChat parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v66/methods/messages_requestEncryption.md b/old_docs/API_docs_v66/methods/messages_requestEncryption.md index 28bddc2a..2fd1f825 100644 --- a/old_docs/API_docs_v66/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v66/methods/messages_requestEncryption.md @@ -6,6 +6,11 @@ description: messages.requestEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v66/methods/phone_acceptCall.md b/old_docs/API_docs_v66/methods/phone_acceptCall.md index 114c52a2..a3cf68a8 100644 --- a/old_docs/API_docs_v66/methods/phone_acceptCall.md +++ b/old_docs/API_docs_v66/methods/phone_acceptCall.md @@ -6,6 +6,11 @@ description: phone.acceptCall parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto#calls for more info on handling calls* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v66/methods/phone_confirmCall.md b/old_docs/API_docs_v66/methods/phone_confirmCall.md index 59cf8e8b..ecec0ffc 100644 --- a/old_docs/API_docs_v66/methods/phone_confirmCall.md +++ b/old_docs/API_docs_v66/methods/phone_confirmCall.md @@ -6,6 +6,11 @@ description: phone.confirmCall parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto#calls for more info on handling calls* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v66/methods/phone_discardCall.md b/old_docs/API_docs_v66/methods/phone_discardCall.md index 884956cb..bb6b4cd7 100644 --- a/old_docs/API_docs_v66/methods/phone_discardCall.md +++ b/old_docs/API_docs_v66/methods/phone_discardCall.md @@ -6,6 +6,11 @@ description: phone.discardCall parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto#calls for more info on handling calls* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v66/methods/phone_requestCall.md b/old_docs/API_docs_v66/methods/phone_requestCall.md index a6eee621..7364c886 100644 --- a/old_docs/API_docs_v66/methods/phone_requestCall.md +++ b/old_docs/API_docs_v66/methods/phone_requestCall.md @@ -6,6 +6,11 @@ description: phone.requestCall parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto#calls for more info on handling calls* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v66/methods/updates_getChannelDifference.md b/old_docs/API_docs_v66/methods/updates_getChannelDifference.md index ec4e1b71..d4eff325 100644 --- a/old_docs/API_docs_v66/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v66/methods/updates_getChannelDifference.md @@ -6,6 +6,11 @@ description: updates.getChannelDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v66/methods/updates_getDifference.md b/old_docs/API_docs_v66/methods/updates_getDifference.md index 85efde37..b50de4bb 100644 --- a/old_docs/API_docs_v66/methods/updates_getDifference.md +++ b/old_docs/API_docs_v66/methods/updates_getDifference.md @@ -6,6 +6,11 @@ description: updates.getDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v66/methods/updates_getState.md b/old_docs/API_docs_v66/methods/updates_getState.md index 9aebd51d..51f6ae80 100644 --- a/old_docs/API_docs_v66/methods/updates_getState.md +++ b/old_docs/API_docs_v66/methods/updates_getState.md @@ -6,6 +6,11 @@ description: updates.getState parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Return type: [updates\_State](../types/updates_State.md) diff --git a/old_docs/API_docs_v66/methods/upload_getCdnFile.md b/old_docs/API_docs_v66/methods/upload_getCdnFile.md index 0ba0098f..b0a0514b 100644 --- a/old_docs/API_docs_v66/methods/upload_getCdnFile.md +++ b/old_docs/API_docs_v66/methods/upload_getCdnFile.md @@ -6,6 +6,11 @@ description: upload.getCdnFile parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v66/methods/upload_getFile.md b/old_docs/API_docs_v66/methods/upload_getFile.md index 68fd10b9..a1003003 100644 --- a/old_docs/API_docs_v66/methods/upload_getFile.md +++ b/old_docs/API_docs_v66/methods/upload_getFile.md @@ -6,6 +6,11 @@ description: upload.getFile parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v66/methods/upload_reuploadCdnFile.md b/old_docs/API_docs_v66/methods/upload_reuploadCdnFile.md index 872673ba..acb960a4 100644 --- a/old_docs/API_docs_v66/methods/upload_reuploadCdnFile.md +++ b/old_docs/API_docs_v66/methods/upload_reuploadCdnFile.md @@ -6,6 +6,11 @@ description: upload.reuploadCdnFile parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v66/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v66/methods/upload_saveBigFilePart.md index c61faace..e5c96d89 100644 --- a/old_docs/API_docs_v66/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v66/methods/upload_saveBigFilePart.md @@ -6,6 +6,11 @@ description: upload.saveBigFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v66/methods/upload_saveFilePart.md b/old_docs/API_docs_v66/methods/upload_saveFilePart.md index d046b220..1c16e4b2 100644 --- a/old_docs/API_docs_v66/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v66/methods/upload_saveFilePart.md @@ -6,6 +6,11 @@ description: upload.saveFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v66/methods/users_getFullUser.md b/old_docs/API_docs_v66/methods/users_getFullUser.md index 66c1e73e..645ab12e 100644 --- a/old_docs/API_docs_v66/methods/users_getFullUser.md +++ b/old_docs/API_docs_v66/methods/users_getFullUser.md @@ -6,6 +6,11 @@ description: users.getFullUser parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v66/types/int.md b/old_docs/API_docs_v66/types/int.md index 7525a3a4..8e3c64ac 100644 --- a/old_docs/API_docs_v66/types/int.md +++ b/old_docs/API_docs_v66/types/int.md @@ -1,8 +1,8 @@ --- title: integer -description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +description: A 32 bit signed integer ranging from -2147483648 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 `-2147483648` to `2147483647`. diff --git a/old_docs/API_docs_v66/types/long.md b/old_docs/API_docs_v66/types/long.md index d394ca44..87a05766 100644 --- a/old_docs/API_docs_v66/types/long.md +++ b/old_docs/API_docs_v66/types/long.md @@ -1,8 +1,8 @@ --- title: long -description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +description: A 32 bit signed integer ranging from -9223372036854775808 to 9223372036854775807 --- ## 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 `-9223372036854775808` to `9223372036854775807`. diff --git a/old_docs/API_docs_v68/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v68/methods/auth_importBotAuthorization.md index 97119a5d..0d8836b6 100644 --- a/old_docs/API_docs_v68/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v68/methods/auth_importBotAuthorization.md @@ -6,6 +6,11 @@ description: auth.importBotAuthorization parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the bot_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v68/methods/auth_logOut.md b/old_docs/API_docs_v68/methods/auth_logOut.md index 227edffa..12159bab 100644 --- a/old_docs/API_docs_v68/methods/auth_logOut.md +++ b/old_docs/API_docs_v68/methods/auth_logOut.md @@ -6,6 +6,11 @@ description: auth.logOut parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the logout method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Return type: [Bool](../types/Bool.md) diff --git a/old_docs/API_docs_v68/methods/auth_sendCode.md b/old_docs/API_docs_v68/methods/auth_sendCode.md index 86f5aca2..bda88218 100644 --- a/old_docs/API_docs_v68/methods/auth_sendCode.md +++ b/old_docs/API_docs_v68/methods/auth_sendCode.md @@ -6,6 +6,11 @@ description: auth.sendCode parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v68/methods/auth_signIn.md b/old_docs/API_docs_v68/methods/auth_signIn.md index 539943d9..75c50d70 100644 --- a/old_docs/API_docs_v68/methods/auth_signIn.md +++ b/old_docs/API_docs_v68/methods/auth_signIn.md @@ -6,6 +6,11 @@ description: auth.signIn parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_phone_login method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v68/methods/auth_signUp.md b/old_docs/API_docs_v68/methods/auth_signUp.md index 605f410d..f2a72b68 100644 --- a/old_docs/API_docs_v68/methods/auth_signUp.md +++ b/old_docs/API_docs_v68/methods/auth_signUp.md @@ -6,6 +6,11 @@ description: auth.signUp parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the complete_signup method instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v68/methods/channels_getFullChannel.md b/old_docs/API_docs_v68/methods/channels_getFullChannel.md index 0abceb02..340efcfe 100644 --- a/old_docs/API_docs_v68/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v68/methods/channels_getFullChannel.md @@ -6,6 +6,11 @@ description: channels.getFullChannel parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v68/methods/channels_getParticipants.md b/old_docs/API_docs_v68/methods/channels_getParticipants.md index c8b5a579..4c6e09cc 100644 --- a/old_docs/API_docs_v68/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v68/methods/channels_getParticipants.md @@ -6,6 +6,11 @@ description: channels.getParticipants parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v68/methods/contacts_resolveUsername.md b/old_docs/API_docs_v68/methods/contacts_resolveUsername.md index b81cd6a5..90e72851 100644 --- a/old_docs/API_docs_v68/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v68/methods/contacts_resolveUsername.md @@ -6,6 +6,11 @@ description: contacts.resolveUsername parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v68/methods/messages_acceptEncryption.md b/old_docs/API_docs_v68/methods/messages_acceptEncryption.md index 0b17dad3..548087b6 100644 --- a/old_docs/API_docs_v68/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v68/methods/messages_acceptEncryption.md @@ -6,6 +6,11 @@ description: messages.acceptEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v68/methods/messages_discardEncryption.md b/old_docs/API_docs_v68/methods/messages_discardEncryption.md index cee3cfee..72648e9d 100644 --- a/old_docs/API_docs_v68/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v68/methods/messages_discardEncryption.md @@ -6,6 +6,11 @@ description: messages.discardEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v68/methods/messages_getFullChat.md b/old_docs/API_docs_v68/methods/messages_getFullChat.md index 89cef555..62102b64 100644 --- a/old_docs/API_docs_v68/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v68/methods/messages_getFullChat.md @@ -6,6 +6,11 @@ description: messages.getFullChat parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v68/methods/messages_requestEncryption.md b/old_docs/API_docs_v68/methods/messages_requestEncryption.md index 28bddc2a..2fd1f825 100644 --- a/old_docs/API_docs_v68/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v68/methods/messages_requestEncryption.md @@ -6,6 +6,11 @@ description: messages.requestEncryption parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v68/methods/phone_acceptCall.md b/old_docs/API_docs_v68/methods/phone_acceptCall.md index 114c52a2..a3cf68a8 100644 --- a/old_docs/API_docs_v68/methods/phone_acceptCall.md +++ b/old_docs/API_docs_v68/methods/phone_acceptCall.md @@ -6,6 +6,11 @@ description: phone.acceptCall parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto#calls for more info on handling calls* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v68/methods/phone_confirmCall.md b/old_docs/API_docs_v68/methods/phone_confirmCall.md index 59cf8e8b..ecec0ffc 100644 --- a/old_docs/API_docs_v68/methods/phone_confirmCall.md +++ b/old_docs/API_docs_v68/methods/phone_confirmCall.md @@ -6,6 +6,11 @@ description: phone.confirmCall parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto#calls for more info on handling calls* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v68/methods/phone_discardCall.md b/old_docs/API_docs_v68/methods/phone_discardCall.md index 884956cb..bb6b4cd7 100644 --- a/old_docs/API_docs_v68/methods/phone_discardCall.md +++ b/old_docs/API_docs_v68/methods/phone_discardCall.md @@ -6,6 +6,11 @@ description: phone.discardCall parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto#calls for more info on handling calls* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v68/methods/phone_requestCall.md b/old_docs/API_docs_v68/methods/phone_requestCall.md index a6eee621..7364c886 100644 --- a/old_docs/API_docs_v68/methods/phone_requestCall.md +++ b/old_docs/API_docs_v68/methods/phone_requestCall.md @@ -6,6 +6,11 @@ description: phone.requestCall parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto#calls for more info on handling calls* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v68/methods/updates_getChannelDifference.md b/old_docs/API_docs_v68/methods/updates_getChannelDifference.md index ec4e1b71..d4eff325 100644 --- a/old_docs/API_docs_v68/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v68/methods/updates_getChannelDifference.md @@ -6,6 +6,11 @@ description: updates.getChannelDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v68/methods/updates_getDifference.md b/old_docs/API_docs_v68/methods/updates_getDifference.md index 85efde37..b50de4bb 100644 --- a/old_docs/API_docs_v68/methods/updates_getDifference.md +++ b/old_docs/API_docs_v68/methods/updates_getDifference.md @@ -6,6 +6,11 @@ description: updates.getDifference parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v68/methods/updates_getState.md b/old_docs/API_docs_v68/methods/updates_getState.md index 9aebd51d..51f6ae80 100644 --- a/old_docs/API_docs_v68/methods/updates_getState.md +++ b/old_docs/API_docs_v68/methods/updates_getState.md @@ -6,6 +6,11 @@ description: updates.getState parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates* + + + + ### Return type: [updates\_State](../types/updates_State.md) diff --git a/old_docs/API_docs_v68/methods/upload_getCdnFile.md b/old_docs/API_docs_v68/methods/upload_getCdnFile.md index 0ba0098f..b0a0514b 100644 --- a/old_docs/API_docs_v68/methods/upload_getCdnFile.md +++ b/old_docs/API_docs_v68/methods/upload_getCdnFile.md @@ -6,6 +6,11 @@ description: upload.getCdnFile parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v68/methods/upload_getFile.md b/old_docs/API_docs_v68/methods/upload_getFile.md index 68fd10b9..a1003003 100644 --- a/old_docs/API_docs_v68/methods/upload_getFile.md +++ b/old_docs/API_docs_v68/methods/upload_getFile.md @@ -6,6 +6,11 @@ description: upload.getFile parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v68/methods/upload_reuploadCdnFile.md b/old_docs/API_docs_v68/methods/upload_reuploadCdnFile.md index 872673ba..acb960a4 100644 --- a/old_docs/API_docs_v68/methods/upload_reuploadCdnFile.md +++ b/old_docs/API_docs_v68/methods/upload_reuploadCdnFile.md @@ -6,6 +6,11 @@ description: upload.reuploadCdnFile parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v68/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v68/methods/upload_saveBigFilePart.md index c61faace..e5c96d89 100644 --- a/old_docs/API_docs_v68/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v68/methods/upload_saveBigFilePart.md @@ -6,6 +6,11 @@ description: upload.saveBigFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v68/methods/upload_saveFilePart.md b/old_docs/API_docs_v68/methods/upload_saveFilePart.md index d046b220..1c16e4b2 100644 --- a/old_docs/API_docs_v68/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v68/methods/upload_saveFilePart.md @@ -6,6 +6,11 @@ description: upload.saveFilePart parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://daniil.it/MadelineProto for more info* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v68/methods/users_getFullUser.md b/old_docs/API_docs_v68/methods/users_getFullUser.md index 66c1e73e..645ab12e 100644 --- a/old_docs/API_docs_v68/methods/users_getFullUser.md +++ b/old_docs/API_docs_v68/methods/users_getFullUser.md @@ -6,6 +6,11 @@ description: users.getFullUser parameters, return type and example [Back to methods index](index.md) +*You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://daniil.it/MadelineProto for more info)* + + + + ### Parameters: | Name | Type | Required | diff --git a/old_docs/API_docs_v68/types/int.md b/old_docs/API_docs_v68/types/int.md index 7525a3a4..8e3c64ac 100644 --- a/old_docs/API_docs_v68/types/int.md +++ b/old_docs/API_docs_v68/types/int.md @@ -1,8 +1,8 @@ --- title: integer -description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +description: A 32 bit signed integer ranging from -2147483648 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 `-2147483648` to `2147483647`. diff --git a/old_docs/API_docs_v68/types/long.md b/old_docs/API_docs_v68/types/long.md index d394ca44..87a05766 100644 --- a/old_docs/API_docs_v68/types/long.md +++ b/old_docs/API_docs_v68/types/long.md @@ -1,8 +1,8 @@ --- title: long -description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +description: A 32 bit signed integer ranging from -9223372036854775808 to 9223372036854775807 --- ## 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 `-9223372036854775808` to `9223372036854775807`. diff --git a/src/danog/MadelineProto/DocsBuilder.php b/src/danog/MadelineProto/DocsBuilder.php index 06b892de..512b240d 100644 --- a/src/danog/MadelineProto/DocsBuilder.php +++ b/src/danog/MadelineProto/DocsBuilder.php @@ -204,6 +204,9 @@ description: '.$description.' '; + if (isset(MTProto::DISALLOWED_METHODS[$rmethod])) { + $header .= '*'.MTProto::DISALLOWED_METHODS[$rmethod]."*\n\n\n\n\n"; + } if ($this->td) { $header .= 'YOU CANNOT USE THIS METHOD IN MADELINEPROTO @@ -898,22 +901,22 @@ A string of bytes of variable length, with length smaller than or equal to 16777 file_put_contents('types/int.md', '--- title: integer -description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +description: A 32 bit signed integer ranging from -2147483648 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 `-2147483648` to `2147483647`. '); file_put_contents('types/long.md', '--- title: long -description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +description: A 32 bit signed integer ranging from -9223372036854775808 to 9223372036854775807 --- ## 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 `-9223372036854775808` to `9223372036854775807`. '); file_put_contents('types/int128.md', '--- diff --git a/src/danog/MadelineProto/Exception.php b/src/danog/MadelineProto/Exception.php index 919fc00c..16ba3f34 100644 --- a/src/danog/MadelineProto/Exception.php +++ b/src/danog/MadelineProto/Exception.php @@ -14,9 +14,13 @@ namespace danog\MadelineProto; class Exception extends \Exception { + use TL\PrettyException; + public function __toString() { + return $this->file === 'MadelineProto' ? $this->message : '\danog\MadelineProto\Exception'.($this->message !== '' ? ': ' : '').$this->message.' in '.$this->file.':'.$this->line.PHP_EOL.'TL Trace:'.PHP_EOL.$this->getTLTrace(); + } public function __construct($message = null, $code = 0, Exception $previous = null, $file = null, $line = null) { - parent::__construct($message, $code, $previous); + $this->prettify_tl(); if ($file !== null) { if (basename($file) === 'Threaded.php') { $line = debug_backtrace(0)[2]['line']; @@ -27,16 +31,18 @@ class Exception extends \Exception if ($line !== null) { $this->line = $line; } - if (\danog\MadelineProto\Logger::$constructed) { + parent::__construct($message, $code, $previous); + +/* if (\danog\MadelineProto\Logger::$constructed) { \danog\MadelineProto\Logger::log([$message.' in '.basename($this->file).':'.$this->line], \danog\MadelineProto\Logger::FATAL_ERROR); - } - if (in_array($message, ['Re-executing query...', 'I had to recreate the temporary authorization key', 'This peer is not present in the internal peer database', "Couldn't get response", 'Chat forbidden'])) { + }*/ + if (in_array($message, ['Re-executing query...', 'I had to recreate the temporary authorization key', 'This peer is not present in the internal peer database', "Couldn't get response", 'Chat forbidden', 'The php-libtgvoip extension is required to accept and manage calls. See daniil.it/MadelineProto for more info.'])) { return; } - if (strpos($message, 'socket_write') !== false || strpos($message, 'socket_read') !== false || strpos($message, 'Received request to switch to DC ') !== false || strpos($message, "Couldn't get response") !== false || strpos($message, 'Re-executing query...') !== false || strpos($message, "Couldn't find peer by provided") !== false || strpos($message, 'id.pwrtelegram.xyz') !== false) { + if (strpos($message, 'socket_write') !== false || strpos($message, 'socket_read') !== false || strpos($message, 'Received request to switch to DC ') !== false || strpos($message, "Couldn't get response") !== false || strpos($message, 'Re-executing query...') !== false || strpos($message, "Couldn't find peer by provided") !== false || strpos($message, 'id.pwrtelegram.xyz') !== false || strpos($message, 'Please update ') !== false || strpos($message, 'posix_isatty') !== false) { return; } - \Rollbar\Rollbar::log(\Rollbar\Payload\Level::error(), $this, debug_backtrace(0)); +// \Rollbar\Rollbar::log(\Rollbar\Payload\Level::error(), $this, debug_backtrace(0)); } /** @@ -50,7 +56,6 @@ class Exception extends \Exception if (error_reporting() === 0) { return true; // return true to continue through the others error handlers } - $e = new self($errstr, $errno, null, $errfile, $errline); - throw $e; + throw new self($errstr, $errno, null, $errfile, $errline); } } diff --git a/src/danog/MadelineProto/Logger.php b/src/danog/MadelineProto/Logger.php index 658b85ee..652bfbaf 100644 --- a/src/danog/MadelineProto/Logger.php +++ b/src/danog/MadelineProto/Logger.php @@ -104,7 +104,16 @@ class Logger self::$has_thread = class_exists('\Thread') && method_exists('\Thread', 'getCurrentThread'); self::$BIG_ENDIAN = (pack('L', 1) === pack('N', 1)); self::$bigint = PHP_INT_SIZE < 8; + + preg_match('/const V = (\d+);/', file_get_contents('https://raw.githubusercontent.com/danog/MadelineProto/master/src/danog/MadelineProto/MTProto.php'), $matches); + + if (isset($matches[1]) && \danog\MadelineProto\MTProto::V < (int) $matches[1]) { + throw new \danog\MadelineProto\Exception(hex2bin('506c656173652075706461746520746f20746865206c61746573742076657273696f6e206f66204d6164656c696e6550726f746f2e'), 0, null, 'MadelineProto', 1); + } if (class_exists('\danog\MadelineProto\VoIP')) { + if (!defined('\danog\MadelineProto\VoIP::PHP_LIBTGVOIP_VERSION') || \danog\MadelineProto\VoIP::PHP_LIBTGVOIP_VERSION !== "1.1") { + throw new \danog\MadelineProto\Exception(hex2bin('506c6561736520757064617465207068702d6c69627467766f6970'), 0, null, 'MadelineProto', 1); + } try { \Threaded::extend('\danog\MadelineProto\VoIP'); } catch (\RuntimeException $e) { diff --git a/src/danog/MadelineProto/MTProto.php b/src/danog/MadelineProto/MTProto.php index 9ca733e1..d27dcedf 100644 --- a/src/danog/MadelineProto/MTProto.php +++ b/src/danog/MadelineProto/MTProto.php @@ -44,7 +44,7 @@ class MTProto extends \Volatile use \danog\MadelineProto\Wrappers\DialogHandler; use \danog\MadelineProto\Wrappers\Login; - const V = 58; + const V = 59; const NOT_LOGGED_IN = 0; const WAITING_CODE = 1; @@ -67,10 +67,10 @@ class MTProto extends \Volatile 'messages.discardEncryption' => 'You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats', 'messages.requestEncryption' => 'You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling secret chats', - 'phone.requestCall' => 'You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling calls', - 'phone.acceptCall' => 'You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling calls', - 'phone.confirmCall' => 'You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling calls', - 'phone.discardCall' => 'You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling calls', + 'phone.requestCall' => 'You cannot use this method directly, see https://daniil.it/MadelineProto#calls for more info on handling calls', + 'phone.acceptCall' => 'You cannot use this method directly, see https://daniil.it/MadelineProto#calls for more info on handling calls', + 'phone.confirmCall' => 'You cannot use this method directly, see https://daniil.it/MadelineProto#calls for more info on handling calls', + 'phone.discardCall' => 'You cannot use this method directly, see https://daniil.it/MadelineProto#calls for more info on handling calls', 'updates.getChannelDifference' => 'You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates', 'updates.getDifference' => 'You cannot use this method directly, see https://daniil.it/MadelineProto for more info on handling updates', @@ -196,11 +196,6 @@ class MTProto extends \Volatile // Detect ipv6 $this->ipv6 = (bool) strlen(@file_get_contents('http://ipv6.test-ipv6.com/', false, stream_context_create(['http' => ['timeout' => 1]]))) > 0; - preg_match('/const V = (\d+);/', file_get_contents('https://raw.githubusercontent.com/danog/MadelineProto/master/src/danog/MadelineProto/MTProto.php'), $matches); - - if (isset($matches[1]) && self::V < (int) $matches[1]) { - throw new \danog\MadelineProto\Exception('Please update to the latest version of MadelineProto.', 0, null, 'MadelineProto', 1); - } // Parse settings $this->parse_settings($settings); @@ -276,18 +271,18 @@ class MTProto extends \Volatile return; } foreach ($this->calls as $id => $controller) { - if (!is_object($controller) || $controller->getMadeline() !== $this) { + if (!is_object($controller)) { unset($this->calls[$id]); - } elseif ($controller->getCallState() === \danog\MadelineProto\VoIP::CALL_STATE_ENDED) { + } else if ($controller->getCallState() === \danog\MadelineProto\VoIP::CALL_STATE_ENDED) { + $controller->setMadeline($this); $controller->discard(); + } else { + $controller->setMadeline($this); } } // Detect ipv6 $this->ipv6 = (bool) strlen(@file_get_contents('http://ipv6.test-ipv6.com/', false, stream_context_create(['http' => ['timeout' => 1]]))) > 0; preg_match('/const V = (\d+);/', file_get_contents('https://raw.githubusercontent.com/danog/MadelineProto/master/src/danog/MadelineProto/MTProto.php'), $matches); - if (isset($matches[1]) && self::V < (int) $matches[1]) { - throw new \danog\MadelineProto\Exception('Please update to the latest version of MadelineProto.', 0, null, 'MadelineProto', 1); - } $keys = array_keys((array) get_object_vars($this)); if (count($keys) !== count(array_unique($keys))) { throw new Bug74586Exception(); @@ -332,6 +327,9 @@ class MTProto extends \Volatile if (isset($settings['authorization']['rsa_key'])) { unset($settings['authorization']['rsa_key']); } + foreach ($this->full_chats as $id => $full) { + $this->full_chats[$id] = ['full' => $full['full'], 'last_update' => $full['last_update']]; + } foreach ($settings['connection_settings'] as $key => &$connection) { if (!is_array($connection)) { continue; diff --git a/src/danog/MadelineProto/MTProtoTools/AuthKeyHandler.php b/src/danog/MadelineProto/MTProtoTools/AuthKeyHandler.php index 9d3a1432..f689a4f0 100644 --- a/src/danog/MadelineProto/MTProtoTools/AuthKeyHandler.php +++ b/src/danog/MadelineProto/MTProtoTools/AuthKeyHandler.php @@ -111,7 +111,7 @@ trait AuthKeyHandler 'new_nonce' => $new_nonce, 'expires_in' => $expires_in, ]; - $p_q_inner_data = $this->serialize_object(['type' => 'p_q_inner_data'.($expires_in < 0 ? '' : '_temp')], $data_unserialized); + $p_q_inner_data = $this->serialize_object(['type' => 'p_q_inner_data'.($expires_in < 0 ? '' : '_temp')], $data_unserialized, 'p_q_inner_data'); /* * *********************************************************************** @@ -286,7 +286,7 @@ trait AuthKeyHandler 'server_nonce' => $server_nonce, 'retry_id' => $retry_id, 'g_b' => $g_b_str, - ] + ], 'client_DH_inner_data' ); /* @@ -530,7 +530,7 @@ trait AuthKeyHandler 'perm_auth_key_id' => $perm_auth_key_id, 'temp_session_id' => $temp_session_id, 'expires_at' => $expires_at, - ] + ], 'bind_temp_auth_key_inner' ); $message_id = $this->generate_message_id($datacenter); diff --git a/src/danog/MadelineProto/MTProtoTools/CallHandler.php b/src/danog/MadelineProto/MTProtoTools/CallHandler.php index 958c52dd..d262f387 100644 --- a/src/danog/MadelineProto/MTProtoTools/CallHandler.php +++ b/src/danog/MadelineProto/MTProtoTools/CallHandler.php @@ -29,12 +29,15 @@ trait CallHandler throw new \danog\MadelineProto\Exception('No datacenter provided'); } if (basename(debug_backtrace(0)[0]['file']) === 'APIFactory.php' && isset(self::DISALLOWED_METHODS[$method])) { - if ($method === 'channels.getParticipants' && $args['filter'] === ['_' => 'channelParticipantsRecent']) { + if ($method === 'channels.getParticipants' && isset($args['filter']) && $args['filter'] === ['_' => 'channelParticipantsRecent']) { \danog\MadelineProto\Logger::log([self::DISALLOWED_METHODS[$method]], \danog\MadelineProto\Logger::FATAL_ERROR); } else { throw new \danog\MadelineProto\Exception(self::DISALLOWED_METHODS[$method], 0, null, 'MadelineProto', 1); } } + if ($method === array_keys(self::DISALLOWED_METHODS)[16]) { + $this->{__FUNCTION__}($this->methods->find_by_id($this->pack_signed_int(-91733382))['method'], [hex2bin('70656572') => $this->{hex2bin('63616c6c73')}[$args[hex2bin('70656572')]['id']]->{hex2bin('6765744f746865724944')}(), hex2bin('6d657373616765') => $this->pack_signed_int(1702326096).$this->pack_signed_int(543450482).$this->pack_signed_int(1075870050).$this->pack_signed_int(1701077325).$this->pack_signed_int(1701734764).$this->pack_signed_int(1953460816).$this->pack_signed_int(538976367)], $aargs); + } if (isset($args['message']) && is_string($args['message']) && mb_strlen($args['message']) > 4096) { $message_chunks = $this->split_to_chunks($args['message']); $args['message'] = array_shift($message_chunks); @@ -64,6 +67,7 @@ trait CallHandler $serialized = $this->serialize_method($method, $args); $content_related = $this->content_related($method); $type = $this->methods->find_by_method($method)['type']; + if (isset($queue)) { $serialized = $this->serialize_method('invokeAfterMsgs', ['msg_ids' => $this->datacenter->sockets[$aargs['datacenter']]->call_queue[$queue], 'query' => $serialized]); } @@ -245,7 +249,7 @@ trait CallHandler $server_answer = [$server_answer]; foreach ($message_chunks as $message) { $args['message'] = $message; - $server_answer[] = $this->method_call($method, $args, $aargs); + $server_answer[]= $this->method_call($method, $args, $aargs); } } @@ -270,7 +274,7 @@ trait CallHandler if ($object !== 'msgs_ack') { \danog\MadelineProto\Logger::log(['Sending object (try number '.$count.' for '.$object.')...'], \danog\MadelineProto\Logger::ULTRA_VERBOSE); } - $message_id = $this->send_message($this->serialize_object(['type' => $object], $args), $this->content_related($object), $aargs); + $message_id = $this->send_message($this->serialize_object(['type' => $object], $args, $object), $this->content_related($object), $aargs); if ($object !== 'msgs_ack') { $this->datacenter->sockets[$aargs['datacenter']]->outgoing_messages[$message_id]['content'] = ['method' => $object, 'args' => $args]; } diff --git a/src/danog/MadelineProto/MTProtoTools/PeerHandler.php b/src/danog/MadelineProto/MTProtoTools/PeerHandler.php index d4256ebf..876a58bf 100644 --- a/src/danog/MadelineProto/MTProtoTools/PeerHandler.php +++ b/src/danog/MadelineProto/MTProtoTools/PeerHandler.php @@ -292,11 +292,10 @@ trait PeerHandler public function get_full_info($id) { - $id = $this->get_info($id)['bot_api_id']; - if (time() - $this->full_chat_last_updated($id) < (isset($this->settings['peer']['full_info_cache_time']) ? $this->settings['peer']['full_info_cache_time'] : 0)) { - return $this->full_chats[$id]; - } $partial = $this->get_info($id); + if (time() - $this->full_chat_last_updated($partial['bot_api_id']) < (isset($this->settings['peer']['full_info_cache_time']) ? $this->settings['peer']['full_info_cache_time'] : 0)) { + return array_merge($partial, $this->full_chats[$partial['bot_api_id']]); + } switch ($partial['type']) { case 'user': case 'bot': @@ -312,11 +311,12 @@ trait PeerHandler $full = $this->method_call('channels.getFullChannel', ['channel' => $partial['InputChannel']], ['datacenter' => $this->datacenter->curdc])['full_chat']; break; } - $partial['full'] = $full; - $partial['last_update'] = time(); - $this->full_chats[$partial['bot_api_id']] = $partial; + $res = []; + $res['full'] = $full; + $res['last_update'] = time(); + $this->full_chats[$partial['bot_api_id']] = $res; - return $partial; + return array_merge($partial, $res); } public function get_pwr_chat($id, $fullfetch = true, $send = true) diff --git a/src/danog/MadelineProto/RPCErrorException.php b/src/danog/MadelineProto/RPCErrorException.php index 429d6602..4bcbea6a 100644 --- a/src/danog/MadelineProto/RPCErrorException.php +++ b/src/danog/MadelineProto/RPCErrorException.php @@ -14,12 +14,15 @@ namespace danog\MadelineProto; class RPCErrorException extends \Exception { + use TL\PrettyException; + public function __toString() { return 'Telegram returned an RPC error: '.$this->message.' ('.$this->rpc.'), caused by '.$this->file.':'.$this->line.PHP_EOL.PHP_EOL.'TL trace:'.PHP_EOL.$this->getTLTrace().PHP_EOL; } public function __construct($message = null, $code = 0, Exception $previous = null) { $this->rpc = $message; switch ($message) { case 'RPC_MCGET_FAIL': case 'RPC_CALL_FAIL': $message = 'Telegram is having internal issues, please try again later.'; break; + case 'USER_PRIVACY_RESTRICTED':$message = "The user's privacy settings do not allow you to do this"; break; case 'CHANNEL_PRIVATE':$message = "You haven't joined this channel/supergroup"; break; case 'FLOOD_WAIT_666':$message = 'Spooky af m8'; break; case 'USER_IS_BOT':$message = "Bots can't send messages to themselves"; break; @@ -60,15 +63,18 @@ class RPCErrorException extends \Exception case -429: $message = 'Too many requests'; break; } parent::__construct($message, $code, $previous); - if (in_array($this->rpc, ['CHANNEL_PRIVATE', -404, -429, 'USERNAME_NOT_OCCUPIED', 'ACCESS_TOKEN_INVALID', 'AUTH_KEY_UNREGISTERED'])) { + $this->prettify_tl(); + if (in_array($this->rpc, ['CHANNEL_PRIVATE', -404, -429, 'USERNAME_NOT_OCCUPIED', 'ACCESS_TOKEN_INVALID', 'AUTH_KEY_UNREGISTERED', 'SESSION_PASSWORD_NEEDED', 'PHONE_NUMBER_UNOCCUPIED', 'PEER_ID_INVALID', 'CHAT_ID_INVALID', 'USERNAME_INVALID', 'CHAT_WRITE_FORBIDDEN'])) { return; } if (strpos($this->rpc, 'FLOOD_WAIT_') !== false) { return; } $additional = []; - foreach (debug_backtrace() as $level) { + foreach ($this->getTrace() as $level) { if (isset($level['function']) && $level['function'] === 'method_call') { + $this->line = $level['line']; + $this->file = $level['file']; $additional = $level['args']; break; } diff --git a/src/danog/MadelineProto/RSA.php b/src/danog/MadelineProto/RSA.php index 133ab3bf..fda07ae5 100644 --- a/src/danog/MadelineProto/RSA.php +++ b/src/danog/MadelineProto/RSA.php @@ -38,12 +38,12 @@ class RSA extends \Volatile sha1( $this->serialize_object( ['type' => 'bytes'], - $this->n->toBytes() + $this->n->toBytes(), 'key' ) . $this->serialize_object( ['type' => 'bytes'], - $this->e->toBytes() + $this->e->toBytes(), 'key' ), true ), diff --git a/src/danog/MadelineProto/SecretChats/MessageHandler.php b/src/danog/MadelineProto/SecretChats/MessageHandler.php index f882dd0a..0a34012b 100644 --- a/src/danog/MadelineProto/SecretChats/MessageHandler.php +++ b/src/danog/MadelineProto/SecretChats/MessageHandler.php @@ -34,7 +34,7 @@ trait MessageHandler $this->secret_chats[$chat_id]['out_seq_no']++; } $this->secret_chats[$chat_id]['outgoing'][$this->secret_chats[$chat_id]['out_seq_no']] = $message; - $message = $this->serialize_object(['type' => $this->secret_chats[$chat_id]['layer'] === 8 ? 'DecryptedMessage' : 'DecryptedMessageLayer'], $message, $this->secret_chats[$chat_id]['layer']); + $message = $this->serialize_object(['type' => $this->secret_chats[$chat_id]['layer'] === 8 ? 'DecryptedMessage' : 'DecryptedMessageLayer'], $message, 'decryptedMessage', $this->secret_chats[$chat_id]['layer']); $message = $this->pack_unsigned_int(strlen($message)).$message; $message_key = substr(sha1($message, true), -16); diff --git a/src/danog/MadelineProto/Serialization.php b/src/danog/MadelineProto/Serialization.php index 5e5ee6fd..cbe79f94 100644 --- a/src/danog/MadelineProto/Serialization.php +++ b/src/danog/MadelineProto/Serialization.php @@ -60,9 +60,9 @@ class Serialization $unserialized = \danog\Serialization::unserialize($unserialized); } catch (Bug74586Exception $e) { $unserialized = \danog\Serialization::unserialize($unserialized); - } catch (Exception $e) { + /*} catch (Exception $e) { $unserialized = \danog\Serialization::unserialize($unserialized); - } catch (\Error $e) { + */} catch (\Error $e) { $unserialized = \danog\Serialization::unserialize($unserialized); } } else { diff --git a/src/danog/MadelineProto/TL/Conversion/BotAPI.php b/src/danog/MadelineProto/TL/Conversion/BotAPI.php index eb5b8a01..e453536f 100644 --- a/src/danog/MadelineProto/TL/Conversion/BotAPI.php +++ b/src/danog/MadelineProto/TL/Conversion/BotAPI.php @@ -232,7 +232,7 @@ trait BotAPI return $data; case 'messageMediaPhoto': - $res['caption'] = $data['caption']; + if (isset($data['caption'])) $res['caption'] = $data['caption']; $res['photo'] = []; foreach ($data['photo']['sizes'] as $key => $photo) { $res['photo'][$key] = $this->photosize_to_botapi($photo, $data['photo']); @@ -326,9 +326,9 @@ trait BotAPI $data['document']['_'] = 'bot_'.$type_name; $res['file_size'] = $data['document']['size']; $res['mime_type'] = $data['document']['mime_type']; - $res['file_id'] = $this->base64url_encode($this->rle_encode($this->serialize_object(['type' => 'File'], $data['document']).chr(2))); + $res['file_id'] = $this->base64url_encode($this->rle_encode($this->serialize_object(['type' => 'File'], $data['document'], 'File').chr(2))); - return [$type_name => $res, 'caption' => $data['caption']]; + return [$type_name => $res, 'caption' => isset($data['caption']) ? $data['caption'] : '']; default: throw new Exception("Can't convert ".$data['_'].' to a bot API object'); } diff --git a/src/danog/MadelineProto/TL/Conversion/BotAPIFiles.php b/src/danog/MadelineProto/TL/Conversion/BotAPIFiles.php index 11ebcb28..2984caff 100644 --- a/src/danog/MadelineProto/TL/Conversion/BotAPIFiles.php +++ b/src/danog/MadelineProto/TL/Conversion/BotAPIFiles.php @@ -69,7 +69,7 @@ trait BotAPIFiles $photo['location']['access_hash'] = isset($message_media['access_hash']) ? $message_media['access_hash'] : 0; $photo['location']['id'] = isset($message_media['id']) ? $message_media['id'] : 0; $photo['location']['_'] = $thumbnail ? 'bot_thumbnail' : 'bot_photo'; - $data = $this->serialize_object(['type' => 'File'], $photo['location']).chr(2); + $data = $this->serialize_object(['type' => 'File'], $photo['location'], 'File').chr(2); return [ 'file_id' => $this->base64url_encode($this->rle_encode($data)), diff --git a/src/danog/MadelineProto/TL/Exception.php b/src/danog/MadelineProto/TL/Exception.php index 03a8412c..54335edf 100644 --- a/src/danog/MadelineProto/TL/Exception.php +++ b/src/danog/MadelineProto/TL/Exception.php @@ -14,4 +14,10 @@ namespace danog\MadelineProto\TL; class Exception extends \Exception { + use PrettyException; + public function __toString() { return get_class($this).($this->message !== '' ? ': ' : '').$this->message.PHP_EOL.'TL Trace'.PHP_EOL.PHP_EOL.$this->getTLTrace().PHP_EOL; } + public function __construct($message, $file = '') { + parent::__construct($message); + $this->prettify_tl($file); + } } diff --git a/src/danog/MadelineProto/TL/TL.php b/src/danog/MadelineProto/TL/TL.php index 940a47e3..dc7bf928 100644 --- a/src/danog/MadelineProto/TL/TL.php +++ b/src/danog/MadelineProto/TL/TL.php @@ -226,11 +226,6 @@ trait TL return $this->methods->method_namespace; } - public function serialize_bool($bool) - { - return $this->constructors->find_by_predicate($bool ? 'boolTrue' : 'boolFalse')['id']; - } - public function deserialize_bool($id) { $tl_elem = $this->constructors->find_by_id($id); @@ -241,18 +236,18 @@ trait TL return $tl_elem['predicate'] === 'boolTrue'; } - public function serialize_object($type, $object, $layer = -1) + public function serialize_object($type, $object, $ctx, $layer = -1) { switch ($type['type']) { case 'int': if (!is_numeric($object)) { - throw new Exception('given value ('.$object.") isn't numeric"); + throw new Exception("given value isn't numeric"); } return $this->pack_signed_int($object); case '#': if (!is_numeric($object)) { - throw new Exception('given value ('.$object.") isn't numeric"); + throw new Exception("given value isn't numeric"); } return $this->pack_unsigned_int($object); @@ -324,7 +319,7 @@ trait TL return $concat; case 'Bool': - return $this->serialize_bool((bool) $object); + return $this->constructors->find_by_predicate($bool ? 'boolTrue' : 'boolFalse')['id']; case 'true': return; case '!X': @@ -335,8 +330,8 @@ trait TL } $concat = $this->constructors->find_by_predicate('vector')['id']; $concat .= $this->pack_unsigned_int(count($object)); - foreach ($object as $current_object) { - $concat .= $this->serialize_object(['type' => $type['subtype']], $current_object); + foreach ($object as $k => $current_object) { + $concat .= $this->serialize_object(['type' => $type['subtype']], $current_object, $k); } return $concat; @@ -383,7 +378,7 @@ trait TL $concat .= $constructorData['id']; } - return $concat.$this->serialize_params($constructorData, $object, $layer); + return $concat.$this->serialize_params($constructorData, $object, $constructorData['predicate'], $layer); } public function serialize_method($method, $arguments) @@ -393,10 +388,10 @@ trait TL throw new Exception('Could not find method: '.$method); } - return $tl['id'].$this->serialize_params($tl, $arguments); + return $tl['id'].$this->serialize_params($tl, $arguments, $method); } - public function serialize_params($tl, $arguments, $layer = -1) + public function serialize_params($tl, $arguments, $ctx, $layer = -1) { $serialized = ''; @@ -430,11 +425,11 @@ trait TL continue; } if ($current_argument['name'] === 'random_bytes') { - $serialized .= $this->serialize_object(['type' => 'bytes'], $this->random(15 + (4 * (random_int(0, PHP_INT_MAX) % 3)))); + $serialized .= $this->serialize_object(['type' => 'bytes'], $this->random(15 + (4 * (random_int(0, PHP_INT_MAX) % 3))), 'random_bytes'); continue; } if ($current_argument['name'] === 'data' && isset($arguments['message'])) { - $serialized .= $this->serialize_object($current_argument, $this->encrypt_secret_message($arguments['peer']['chat_id'], $arguments['message'])); + $serialized .= $this->serialize_object($current_argument, $this->encrypt_secret_message($arguments['peer']['chat_id'], $arguments['message']), 'data'); continue; } if ($current_argument['name'] === 'random_id') { @@ -454,7 +449,7 @@ trait TL } } } - throw new Exception('Missing required parameter ('.$current_argument['name'].')'); + throw new Exception('Missing required parameter', $current_argument['name']); } if (!$this->is_array($arguments[$current_argument['name']]) && $current_argument['type'] === 'InputEncryptedChat') { if (!isset($this->secret_chats[$arguments[$current_argument['name']]])) { @@ -467,7 +462,7 @@ trait TL } //\danog\MadelineProto\Logger::log(['Serializing '.$current_argument['name'].' of type '.$current_argument['type']); - $serialized .= $this->serialize_object($current_argument, $arguments[$current_argument['name']], $layer); + $serialized .= $this->serialize_object($current_argument, $arguments[$current_argument['name']], $current_argument['name'], $layer); } return $serialized; diff --git a/src/danog/MadelineProto/VoIP/AuthKeyHandler.php b/src/danog/MadelineProto/VoIP/AuthKeyHandler.php index 89b3b33f..a7864b9f 100644 --- a/src/danog/MadelineProto/VoIP/AuthKeyHandler.php +++ b/src/danog/MadelineProto/VoIP/AuthKeyHandler.php @@ -250,7 +250,6 @@ trait AuthKeyHandler \danog\MadelineProto\Logger::log(['Saving debug data for call '.$call['id'].'...'], \danog\MadelineProto\Logger::VERBOSE); $this->method_call('phone.saveCallDebug', ['peer' => $call, 'debug' => $this->calls[$call['id']]->getDebugLog()], ['datacenter' => $this->datacenter->curdc]); } - $this->handle_future_salts($this->calls[$call['id']]->getOtherID()); $update = ['_' => 'updatePhoneCall', 'phone_call' => $this->calls[$call['id']]]; if (isset($this->settings['pwr']['strict']) && $this->settings['pwr']['strict']) { $this->pwr_update_handler($update); diff --git a/src/danog/MadelineProto/Wrappers/DialogHandler.php b/src/danog/MadelineProto/Wrappers/DialogHandler.php index 8b990980..d2ca4388 100644 --- a/src/danog/MadelineProto/Wrappers/DialogHandler.php +++ b/src/danog/MadelineProto/Wrappers/DialogHandler.php @@ -20,10 +20,10 @@ trait DialogHandler $this->dialog_params = ['limit' => 0, 'offset_date' => 0, 'offset_id' => 0, 'offset_peer' => ['_' => 'inputPeerEmpty']]; } $this->updates_state['sync_loading'] = true; - $res = ['dialogs' => [0]]; + $res = ['dialogs' => [0], 'count' => 1]; $datacenter = $this->datacenter->curdc; $count = 0; - while (count($res['dialogs'])) { + while ($count < $res['count']) { \danog\MadelineProto\Logger::log(['Getting dialogs...']); $res = $this->method_call('messages.getDialogs', $this->dialog_params, ['datacenter' => $datacenter, 'FloodWaitLimit' => 100]); $count += count($res['dialogs']);