diff --git a/docs/API_docs/methods/api_index.md b/docs/API_docs/methods/api_index.md
index ad19841a..68bc8037 100644
--- a/docs/API_docs/methods/api_index.md
+++ b/docs/API_docs/methods/api_index.md
@@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
***
-
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
+
+$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -95,7 +96,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)
***
-
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[auth->cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -130,12 +132,14 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
***
-
$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[bots->sendCustomRequest](bots_sendCustomRequest.md)(\['custom_method' => [string](../types/string.md), 'params' => [DataJSON](../types/DataJSON.md), \]) === [$DataJSON](../types/DataJSON.md)
***
-
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
@@ -200,7 +204,8 @@ $MadelineProto->[channels->updatePinnedMessage](channels_updatePinnedMessage.md)
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)
@@ -231,7 +236,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
+
+$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md)
@@ -254,22 +260,28 @@ $MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputApp
$MadelineProto->[help->setBotUpdatesStatus](help_setBotUpdatesStatus.md)(\['pending_updates_count' => [int](../types/int.md), 'message' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'system_lang_code' => [string](../types/string.md), 'lang_pack' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'system_lang_code' => [string](../types/string.md), 'lang_pack' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[langpack->getDifference](langpack_getDifference.md)(\['from_version' => [int](../types/int.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)
+
+$MadelineProto->[langpack->getDifference](langpack_getDifference.md)(\['from_version' => [int](../types/int.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)
$MadelineProto->[langpack->getLangPack](langpack_getLangPack.md)(\['lang_code' => [string](../types/string.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)
@@ -278,7 +290,8 @@ $MadelineProto->[langpack->getLanguages](langpack_getLanguages.md)(\[\]) === [$V
$MadelineProto->[langpack->getStrings](langpack_getStrings.md)(\['lang_code' => [string](../types/string.md), 'keys' => \[[string](../types/string.md)\], \]) === [$Vector\_of\_LangPackString](../types/LangPackString.md)
***
-
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
+
+$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)
@@ -467,7 +480,8 @@ $MadelineProto->[messages->uploadEncryptedFile](messages_uploadEncryptedFile.md)
$MadelineProto->[messages->uploadMedia](messages_uploadMedia.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$MessageMedia](../types/MessageMedia.md)
***
-
$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[payments->getPaymentForm](payments_getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md)
@@ -480,7 +494,8 @@ $MadelineProto->[payments->sendPaymentForm](payments_sendPaymentForm.md)(\['msg_
$MadelineProto->[payments->validateRequestedInfo](payments_validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md)
***
-
$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)
+
+$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)
$MadelineProto->[phone->confirmCall](phone_confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)
@@ -497,7 +512,8 @@ $MadelineProto->[phone->saveCallDebug](phone_saveCallDebug.md)(\['peer' => [Inpu
$MadelineProto->[phone->setCallRating](phone_setCallRating.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'rating' => [int](../types/int.md), 'comment' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
***
-
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
+
+$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)
@@ -506,7 +522,8 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md)
***
-
$MadelineProto->[stickers->addStickerToSet](stickers_addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)
+
+$MadelineProto->[stickers->addStickerToSet](stickers_addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)
$MadelineProto->[stickers->changeStickerPosition](stickers_changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)
@@ -515,14 +532,16 @@ $MadelineProto->[stickers->createStickerSet](stickers_createStickerSet.md)(\['ma
$MadelineProto->[stickers->removeStickerFromSet](stickers_removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)
***
-
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
+
+$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)
***
-
$MadelineProto->[upload->getCdnFile](upload_getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md)
+
+$MadelineProto->[upload->getCdnFile](upload_getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md)
$MadelineProto->[upload->getCdnFileHashes](upload_getCdnFileHashes.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), \]) === [$Vector\_of\_CdnFileHash](../types/CdnFileHash.md)
@@ -537,7 +556,8 @@ $MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id'
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
+
+$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)
diff --git a/docs/API_docs/methods/index.md b/docs/API_docs/methods/index.md
index da834e18..8752bc1f 100644
--- a/docs/API_docs/methods/index.md
+++ b/docs/API_docs/methods/index.md
@@ -27,8 +27,7 @@ description: What do you want to do?
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
-***
-
* Change the phone number associated to this account
+* Change the phone number associated to this account
* Check if this username is available
@@ -88,25 +87,12 @@ description: What do you want to do?
* Update this user's username
-***
-
* You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info
-
* Invalidate sent phone code
-* You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)
-
* Check if this phone number is registered on telegram
* Delete all temporary authorization keys except the ones provided
-* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)
-
* Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account
* Send an email to recover the 2FA password
@@ -115,21 +101,13 @@ description: What do you want to do?
* Delete all logged-in sessions.
-* Use phone_login instead
-
* Invite friends to telegram!
-* You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)
-
-***
-
* Send webhook request via bot API
+* Send webhook request via bot API
* Send a custom request to the bot API
-***
-
* Check if this username is free and can be assigned to a channel/supergroup
+* Check if this username is free and can be assigned to a channel/supergroup
* Create channel/supergroup
@@ -161,8 +139,6 @@ description: What do you want to do?
* Get info about multiple channels/supergroups
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get channel/supergroup messages
* Get info about a certain channel/supergroup participant
@@ -193,8 +169,7 @@ description: What do you want to do?
* Update the username of a supergroup/channel
-***
-
* Block a user
+* Block a user
* Delete a contact
@@ -218,14 +193,11 @@ description: What do you want to do?
* Reset top peer rating for a certain category/peer
-* You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Search contacts
* Unblock a user
-***
-
* Get the changelog of this app
+* Get the changelog of this app
* Get info about app updates
@@ -247,23 +219,17 @@ description: What do you want to do?
* Set the update status of webhook
-***
-
* Initializes connection and save information on the user's device and application.
+* Initializes connection and save information on the user's device and application.
-***
-
* Invokes a query after successfull completion of one of the previous queries.
+* Invokes a query after successfull completion of one of the previous queries.
-***
-
* Result type returned by a current query.
+* Result type returned by a current query.
-***
-
* Invoke this method with layer X
+* Invoke this method with layer X
-***
-
* Invoke with method without returning updates in the socket
+* Invoke with method without returning updates in the socket
-***
-
* Get language pack updates
+* Get language pack updates
* Get language pack
@@ -271,9 +237,6 @@ description: What do you want to do?
* Get language pack strings
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Add a user to a normal chat (use channels->inviteToChannel for supergroups)
* Check if an invitation link is valid
@@ -288,8 +251,6 @@ description: What do you want to do?
* Delete messages
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Edit admin permissions
* Edit the photo of a normal chat (not supergroup)
@@ -322,8 +283,6 @@ description: What do you want to do?
* Get chats in common with a user
-* You cannot use this method directly, instead use $MadelineProto->get_dh_config();
-
* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html
* Get document by SHA256 hash
@@ -332,8 +291,6 @@ description: What do you want to do?
* Get featured stickers
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get high scores of a game
* Get previous messages of a group
@@ -392,8 +349,6 @@ description: What do you want to do?
* Mark messages as read
-* You cannot use this method directly
-
* Reorder pinned dialogs
* Reorder sticker sets
@@ -402,8 +357,6 @@ description: What do you want to do?
* Report a peer for spam
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Save a message draft
* Save a GIF
@@ -460,8 +413,7 @@ description: What do you want to do?
* Upload a file without sending it to anyone
-***
-
* Clear saved payments info
+* Clear saved payments info
* Get payment form
@@ -473,25 +425,15 @@ description: What do you want to do?
* Validate requested payment info
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
* Get call configuration
* Notify server that you received a call (server will refuse all incoming calls until the current call is over)
-* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
* Save call debugging info
* Set phone call rating
-***
-
* Delete profile photos
+* Delete profile photos
* Get the profile photos of a user
@@ -499,8 +441,7 @@ description: What do you want to do?
* Upload profile photo
-***
-
* Add sticker to stickerset
+* Add sticker to stickerset
* Change sticker position in photo
@@ -508,30 +449,7 @@ description: What do you want to do?
* Remove sticker from stickerset
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-***
-
* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
* Download a file through telegram
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-***
-
* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get info about users
diff --git a/docs/MTProto_docs/methods/api_index.md b/docs/MTProto_docs/methods/api_index.md
index 0fb2097a..57963a89 100644
--- a/docs/MTProto_docs/methods/api_index.md
+++ b/docs/MTProto_docs/methods/api_index.md
@@ -34,29 +34,36 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
***
-
$MadelineProto->[destroy_session](destroy_session.md)(\['session_id' => [long](../types/long.md), \]) === [$DestroySessionRes](../types/DestroySessionRes.md)
+
+$MadelineProto->[destroy_session](destroy_session.md)(\['session_id' => [long](../types/long.md), \]) === [$DestroySessionRes](../types/DestroySessionRes.md)
***
-
$MadelineProto->[get_future_salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) === [$FutureSalts](../types/FutureSalts.md)
+
+$MadelineProto->[get_future_salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) === [$FutureSalts](../types/FutureSalts.md)
***
-
$MadelineProto->[http_wait](http_wait.md)(\['max_delay' => [int](../types/int.md), 'wait_after' => [int](../types/int.md), 'max_wait' => [int](../types/int.md), \]) === [$HttpWait](../types/HttpWait.md)
+
+$MadelineProto->[http_wait](http_wait.md)(\['max_delay' => [int](../types/int.md), 'wait_after' => [int](../types/int.md), 'max_wait' => [int](../types/int.md), \]) === [$HttpWait](../types/HttpWait.md)
***
-
$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) === [$Pong](../types/Pong.md)
+
+$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) === [$Pong](../types/Pong.md)
$MadelineProto->[ping_delay_disconnect](ping_delay_disconnect.md)(\['ping_id' => [long](../types/long.md), 'disconnect_delay' => [int](../types/int.md), \]) === [$Pong](../types/Pong.md)
***
-
$MadelineProto->[req_DH_params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [bytes](../types/bytes.md), 'q' => [bytes](../types/bytes.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [bytes](../types/bytes.md), \]) === [$Server\_DH\_Params](../types/Server_DH_Params.md)
+
+$MadelineProto->[req_DH_params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [bytes](../types/bytes.md), 'q' => [bytes](../types/bytes.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [bytes](../types/bytes.md), \]) === [$Server\_DH\_Params](../types/Server_DH_Params.md)
$MadelineProto->[req_pq](req_pq.md)(\['nonce' => [int128](../types/int128.md), \]) === [$ResPQ](../types/ResPQ.md)
$MadelineProto->[req_pq_multi](req_pq_multi.md)(\['nonce' => [int128](../types/int128.md), \]) === [$ResPQ](../types/ResPQ.md)
***
-
$MadelineProto->[rpc_drop_answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) === [$RpcDropAnswer](../types/RpcDropAnswer.md)
+
+$MadelineProto->[rpc_drop_answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) === [$RpcDropAnswer](../types/RpcDropAnswer.md)
***
-
$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [bytes](../types/bytes.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)
+
+$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [bytes](../types/bytes.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)
diff --git a/docs/MTProto_docs/methods/index.md b/docs/MTProto_docs/methods/index.md
index 28e3311d..a43e4382 100644
--- a/docs/MTProto_docs/methods/index.md
+++ b/docs/MTProto_docs/methods/index.md
@@ -27,30 +27,23 @@ description: What do you want to do?
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
-***
-
* Destroy the current MTProto session
+* Destroy the current MTProto session
-***
-
* Get future salts
+* Get future salts
-***
-
* Makes the server send messages waiting in the buffer
+* Makes the server send messages waiting in the buffer
-***
-
* pings the server
+* pings the server
* Pings the server and causes disconection if the same method is not called within ping_disconnect_delay
-***
-
* Requests Diffie-hellman parameters for key exchange
+* Requests Diffie-hellman parameters for key exchange
* Requests PQ for factorization
* Requests PQ for factorization (new version)
-***
-
* Do not send answer to provided request
+* Do not send answer to provided request
-***
-
* Sets client diffie-hellman parameters
+* Sets client diffie-hellman parameters
diff --git a/docs/TD_docs/methods/api_index.md b/docs/TD_docs/methods/api_index.md
index e0a8bfec..392a7774 100644
--- a/docs/TD_docs/methods/api_index.md
+++ b/docs/TD_docs/methods/api_index.md
@@ -34,692 +34,922 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
***
-
$MadelineProto->[acceptCall](acceptCall.md)(\['call_id' => [int](../types/int.md), 'protocol' => [callProtocol](../constructors/callProtocol.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[acceptCall](acceptCall.md)(\['call_id' => [int](../types/int.md), 'protocol' => [callProtocol](../constructors/callProtocol.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[addChatMember](addChatMember.md)(\['chat_id' => [int53](../types/int53.md), 'user_id' => [int](../types/int.md), 'forward_limit' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[addChatMember](addChatMember.md)(\['chat_id' => [int53](../types/int53.md), 'user_id' => [int](../types/int.md), 'forward_limit' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[addChatMembers](addChatMembers.md)(\['chat_id' => [int53](../types/int53.md), 'user_ids' => \[[int](../types/int.md)\], \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[addChatMembers](addChatMembers.md)(\['chat_id' => [int53](../types/int53.md), 'user_ids' => \[[int](../types/int.md)\], \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[addFavoriteSticker](addFavoriteSticker.md)(\['sticker' => [InputFile](../types/InputFile.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[addFavoriteSticker](addFavoriteSticker.md)(\['sticker' => [InputFile](../types/InputFile.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[addNetworkStatistics](addNetworkStatistics.md)(\['entry' => [NetworkStatisticsEntry](../types/NetworkStatisticsEntry.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[addNetworkStatistics](addNetworkStatistics.md)(\['entry' => [NetworkStatisticsEntry](../types/NetworkStatisticsEntry.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[addRecentSticker](addRecentSticker.md)(\['is_attached' => [Bool](../types/Bool.md), 'sticker' => [InputFile](../types/InputFile.md), \]) === [$Stickers](../types/Stickers.md)
+
+$MadelineProto->[addRecentSticker](addRecentSticker.md)(\['is_attached' => [Bool](../types/Bool.md), 'sticker' => [InputFile](../types/InputFile.md), \]) === [$Stickers](../types/Stickers.md)
***
-
$MadelineProto->[addRecentlyFoundChat](addRecentlyFoundChat.md)(\['chat_id' => [int53](../types/int53.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[addRecentlyFoundChat](addRecentlyFoundChat.md)(\['chat_id' => [int53](../types/int53.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[addSavedAnimation](addSavedAnimation.md)(\['animation' => [InputFile](../types/InputFile.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[addSavedAnimation](addSavedAnimation.md)(\['animation' => [InputFile](../types/InputFile.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[addStickerToSet](addStickerToSet.md)(\['user_id' => [int](../types/int.md), 'name' => [string](../types/string.md), 'sticker' => [inputSticker](../constructors/inputSticker.md), \]) === [$StickerSet](../types/StickerSet.md)
+
+$MadelineProto->[addStickerToSet](addStickerToSet.md)(\['user_id' => [int](../types/int.md), 'name' => [string](../types/string.md), 'sticker' => [inputSticker](../constructors/inputSticker.md), \]) === [$StickerSet](../types/StickerSet.md)
***
-
$MadelineProto->[answerCallbackQuery](answerCallbackQuery.md)(\['callback_query_id' => [int64](../constructors/int64.md), 'text' => [string](../types/string.md), 'show_alert' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[answerCallbackQuery](answerCallbackQuery.md)(\['callback_query_id' => [int64](../constructors/int64.md), 'text' => [string](../types/string.md), 'show_alert' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[answerCustomQuery](answerCustomQuery.md)(\['custom_query_id' => [int64](../constructors/int64.md), 'data' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[answerCustomQuery](answerCustomQuery.md)(\['custom_query_id' => [int64](../constructors/int64.md), 'data' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[answerInlineQuery](answerInlineQuery.md)(\['inline_query_id' => [int64](../constructors/int64.md), 'is_personal' => [Bool](../types/Bool.md), 'results' => \[[InputInlineQueryResult](../types/InputInlineQueryResult.md)\], 'cache_time' => [int](../types/int.md), 'next_offset' => [string](../types/string.md), 'switch_pm_text' => [string](../types/string.md), 'switch_pm_parameter' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[answerInlineQuery](answerInlineQuery.md)(\['inline_query_id' => [int64](../constructors/int64.md), 'is_personal' => [Bool](../types/Bool.md), 'results' => \[[InputInlineQueryResult](../types/InputInlineQueryResult.md)\], 'cache_time' => [int](../types/int.md), 'next_offset' => [string](../types/string.md), 'switch_pm_text' => [string](../types/string.md), 'switch_pm_parameter' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[answerPreCheckoutQuery](answerPreCheckoutQuery.md)(\['pre_checkout_query_id' => [int64](../constructors/int64.md), 'error_message' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[answerPreCheckoutQuery](answerPreCheckoutQuery.md)(\['pre_checkout_query_id' => [int64](../constructors/int64.md), 'error_message' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[answerShippingQuery](answerShippingQuery.md)(\['shipping_query_id' => [int64](../constructors/int64.md), 'shipping_options' => \[[shippingOption](../constructors/shippingOption.md)\], 'error_message' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[answerShippingQuery](answerShippingQuery.md)(\['shipping_query_id' => [int64](../constructors/int64.md), 'shipping_options' => \[[shippingOption](../constructors/shippingOption.md)\], 'error_message' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[blockUser](blockUser.md)(\['user_id' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[blockUser](blockUser.md)(\['user_id' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[cancelDownloadFile](cancelDownloadFile.md)(\['file_id' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[cancelDownloadFile](cancelDownloadFile.md)(\['file_id' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[cancelUploadFile](cancelUploadFile.md)(\['file_id' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[cancelUploadFile](cancelUploadFile.md)(\['file_id' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[changeAbout](changeAbout.md)(\['about' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[changeAbout](changeAbout.md)(\['about' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[changeAccountTtl](changeAccountTtl.md)(\['ttl' => [accountTtl](../constructors/accountTtl.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[changeAccountTtl](changeAccountTtl.md)(\['ttl' => [accountTtl](../constructors/accountTtl.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[changeChannelDescription](changeChannelDescription.md)(\['channel_id' => [int](../types/int.md), 'description' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[changeChannelDescription](changeChannelDescription.md)(\['channel_id' => [int](../types/int.md), 'description' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[changeChannelUsername](changeChannelUsername.md)(\['channel_id' => [int](../types/int.md), 'username' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[changeChannelUsername](changeChannelUsername.md)(\['channel_id' => [int](../types/int.md), 'username' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[changeChatDraftMessage](changeChatDraftMessage.md)(\['chat_id' => [int53](../types/int53.md), 'draft_message' => [draftMessage](../constructors/draftMessage.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[changeChatDraftMessage](changeChatDraftMessage.md)(\['chat_id' => [int53](../types/int53.md), 'draft_message' => [draftMessage](../constructors/draftMessage.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[changeChatMemberStatus](changeChatMemberStatus.md)(\['chat_id' => [int53](../types/int53.md), 'user_id' => [int](../types/int.md), 'status' => [ChatMemberStatus](../types/ChatMemberStatus.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[changeChatMemberStatus](changeChatMemberStatus.md)(\['chat_id' => [int53](../types/int53.md), 'user_id' => [int](../types/int.md), 'status' => [ChatMemberStatus](../types/ChatMemberStatus.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[changeChatPhoto](changeChatPhoto.md)(\['chat_id' => [int53](../types/int53.md), 'photo' => [InputFile](../types/InputFile.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[changeChatPhoto](changeChatPhoto.md)(\['chat_id' => [int53](../types/int53.md), 'photo' => [InputFile](../types/InputFile.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[changeChatReportSpamState](changeChatReportSpamState.md)(\['chat_id' => [int53](../types/int53.md), 'is_spam_chat' => [Bool](../types/Bool.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[changeChatReportSpamState](changeChatReportSpamState.md)(\['chat_id' => [int53](../types/int53.md), 'is_spam_chat' => [Bool](../types/Bool.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[changeChatTitle](changeChatTitle.md)(\['chat_id' => [int53](../types/int53.md), 'title' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[changeChatTitle](changeChatTitle.md)(\['chat_id' => [int53](../types/int53.md), 'title' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[changeName](changeName.md)(\['first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[changeName](changeName.md)(\['first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[changePhoneNumber](changePhoneNumber.md)(\['phone_number' => [string](../types/string.md), 'allow_flash_call' => [Bool](../types/Bool.md), 'is_current_phone_number' => [Bool](../types/Bool.md), \]) === [$AuthState](../types/AuthState.md)
+
+$MadelineProto->[changePhoneNumber](changePhoneNumber.md)(\['phone_number' => [string](../types/string.md), 'allow_flash_call' => [Bool](../types/Bool.md), 'is_current_phone_number' => [Bool](../types/Bool.md), \]) === [$AuthState](../types/AuthState.md)
***
-
$MadelineProto->[changeStickerSet](changeStickerSet.md)(\['set_id' => [int64](../constructors/int64.md), 'is_installed' => [Bool](../types/Bool.md), 'is_archived' => [Bool](../types/Bool.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[changeStickerSet](changeStickerSet.md)(\['set_id' => [int64](../constructors/int64.md), 'is_installed' => [Bool](../types/Bool.md), 'is_archived' => [Bool](../types/Bool.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[changeUsername](changeUsername.md)(\['username' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[changeUsername](changeUsername.md)(\['username' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[checkAuthBotToken](checkAuthBotToken.md)(\['token' => [string](../types/string.md), \]) === [$AuthState](../types/AuthState.md)
+
+$MadelineProto->[checkAuthBotToken](checkAuthBotToken.md)(\['token' => [string](../types/string.md), \]) === [$AuthState](../types/AuthState.md)
***
-
$MadelineProto->[checkAuthCode](checkAuthCode.md)(\['code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$AuthState](../types/AuthState.md)
+
+$MadelineProto->[checkAuthCode](checkAuthCode.md)(\['code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$AuthState](../types/AuthState.md)
***
-
$MadelineProto->[checkAuthPassword](checkAuthPassword.md)(\['password' => [string](../types/string.md), \]) === [$AuthState](../types/AuthState.md)
+
+$MadelineProto->[checkAuthPassword](checkAuthPassword.md)(\['password' => [string](../types/string.md), \]) === [$AuthState](../types/AuthState.md)
***
-
$MadelineProto->[checkChangePhoneNumberCode](checkChangePhoneNumberCode.md)(\['code' => [string](../types/string.md), \]) === [$AuthState](../types/AuthState.md)
+
+$MadelineProto->[checkChangePhoneNumberCode](checkChangePhoneNumberCode.md)(\['code' => [string](../types/string.md), \]) === [$AuthState](../types/AuthState.md)
***
-
$MadelineProto->[checkChatInviteLink](checkChatInviteLink.md)(\['invite_link' => [string](../types/string.md), \]) === [$ChatInviteLinkInfo](../types/ChatInviteLinkInfo.md)
+
+$MadelineProto->[checkChatInviteLink](checkChatInviteLink.md)(\['invite_link' => [string](../types/string.md), \]) === [$ChatInviteLinkInfo](../types/ChatInviteLinkInfo.md)
***
-
$MadelineProto->[clearRecentStickers](clearRecentStickers.md)(\['is_attached' => [Bool](../types/Bool.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[clearRecentStickers](clearRecentStickers.md)(\['is_attached' => [Bool](../types/Bool.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[closeChat](closeChat.md)(\['chat_id' => [int53](../types/int53.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[closeChat](closeChat.md)(\['chat_id' => [int53](../types/int53.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[closeSecretChat](closeSecretChat.md)(\['secret_chat_id' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[closeSecretChat](closeSecretChat.md)(\['secret_chat_id' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[createCall](createCall.md)(\['user_id' => [int](../types/int.md), 'protocol' => [callProtocol](../constructors/callProtocol.md), \]) === [$CallId](../types/CallId.md)
+
+$MadelineProto->[createCall](createCall.md)(\['user_id' => [int](../types/int.md), 'protocol' => [callProtocol](../constructors/callProtocol.md), \]) === [$CallId](../types/CallId.md)
***
-
$MadelineProto->[createChannelChat](createChannelChat.md)(\['channel_id' => [int](../types/int.md), \]) === [$Chat](../types/Chat.md)
+
+$MadelineProto->[createChannelChat](createChannelChat.md)(\['channel_id' => [int](../types/int.md), \]) === [$Chat](../types/Chat.md)
***
-
$MadelineProto->[createGroupChat](createGroupChat.md)(\['group_id' => [int](../types/int.md), \]) === [$Chat](../types/Chat.md)
+
+$MadelineProto->[createGroupChat](createGroupChat.md)(\['group_id' => [int](../types/int.md), \]) === [$Chat](../types/Chat.md)
***
-
$MadelineProto->[createNewChannelChat](createNewChannelChat.md)(\['title' => [string](../types/string.md), 'is_supergroup' => [Bool](../types/Bool.md), 'description' => [string](../types/string.md), \]) === [$Chat](../types/Chat.md)
+
+$MadelineProto->[createNewChannelChat](createNewChannelChat.md)(\['title' => [string](../types/string.md), 'is_supergroup' => [Bool](../types/Bool.md), 'description' => [string](../types/string.md), \]) === [$Chat](../types/Chat.md)
***
-
$MadelineProto->[createNewGroupChat](createNewGroupChat.md)(\['user_ids' => \[[int](../types/int.md)\], 'title' => [string](../types/string.md), \]) === [$Chat](../types/Chat.md)
+
+$MadelineProto->[createNewGroupChat](createNewGroupChat.md)(\['user_ids' => \[[int](../types/int.md)\], 'title' => [string](../types/string.md), \]) === [$Chat](../types/Chat.md)
***
-
$MadelineProto->[createNewSecretChat](createNewSecretChat.md)(\['user_id' => [int](../types/int.md), \]) === [$Chat](../types/Chat.md)
+
+$MadelineProto->[createNewSecretChat](createNewSecretChat.md)(\['user_id' => [int](../types/int.md), \]) === [$Chat](../types/Chat.md)
***
-
$MadelineProto->[createNewStickerSet](createNewStickerSet.md)(\['user_id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'name' => [string](../types/string.md), 'is_masks' => [Bool](../types/Bool.md), 'stickers' => \[[inputSticker](../constructors/inputSticker.md)\], \]) === [$StickerSet](../types/StickerSet.md)
+
+$MadelineProto->[createNewStickerSet](createNewStickerSet.md)(\['user_id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'name' => [string](../types/string.md), 'is_masks' => [Bool](../types/Bool.md), 'stickers' => \[[inputSticker](../constructors/inputSticker.md)\], \]) === [$StickerSet](../types/StickerSet.md)
***
-
$MadelineProto->[createPrivateChat](createPrivateChat.md)(\['user_id' => [int](../types/int.md), \]) === [$Chat](../types/Chat.md)
+
+$MadelineProto->[createPrivateChat](createPrivateChat.md)(\['user_id' => [int](../types/int.md), \]) === [$Chat](../types/Chat.md)
***
-
$MadelineProto->[createSecretChat](createSecretChat.md)(\['secret_chat_id' => [int](../types/int.md), \]) === [$Chat](../types/Chat.md)
+
+$MadelineProto->[createSecretChat](createSecretChat.md)(\['secret_chat_id' => [int](../types/int.md), \]) === [$Chat](../types/Chat.md)
***
-
$MadelineProto->[createTemporaryPassword](createTemporaryPassword.md)(\['password' => [string](../types/string.md), 'valid_for' => [int](../types/int.md), \]) === [$TemporaryPasswordState](../types/TemporaryPasswordState.md)
+
+$MadelineProto->[createTemporaryPassword](createTemporaryPassword.md)(\['password' => [string](../types/string.md), 'valid_for' => [int](../types/int.md), \]) === [$TemporaryPasswordState](../types/TemporaryPasswordState.md)
***
-
$MadelineProto->[debugCall](debugCall.md)(\['call_id' => [int](../types/int.md), 'debug' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[debugCall](debugCall.md)(\['call_id' => [int](../types/int.md), 'debug' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[deleteAccount](deleteAccount.md)(\['reason' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[deleteAccount](deleteAccount.md)(\['reason' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[deleteChannel](deleteChannel.md)(\['channel_id' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[deleteChannel](deleteChannel.md)(\['channel_id' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[deleteChatHistory](deleteChatHistory.md)(\['chat_id' => [int53](../types/int53.md), 'remove_from_chat_list' => [Bool](../types/Bool.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[deleteChatHistory](deleteChatHistory.md)(\['chat_id' => [int53](../types/int53.md), 'remove_from_chat_list' => [Bool](../types/Bool.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[deleteChatReplyMarkup](deleteChatReplyMarkup.md)(\['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[deleteChatReplyMarkup](deleteChatReplyMarkup.md)(\['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[deleteContacts](deleteContacts.md)(\['user_ids' => \[[int](../types/int.md)\], \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[deleteContacts](deleteContacts.md)(\['user_ids' => \[[int](../types/int.md)\], \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[deleteFavoriteSticker](deleteFavoriteSticker.md)(\['sticker' => [InputFile](../types/InputFile.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[deleteFavoriteSticker](deleteFavoriteSticker.md)(\['sticker' => [InputFile](../types/InputFile.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[deleteFile](deleteFile.md)(\['file_id' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[deleteFile](deleteFile.md)(\['file_id' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[deleteImportedContacts](deleteImportedContacts.md)(\[\]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[deleteImportedContacts](deleteImportedContacts.md)(\[\]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[deleteMessages](deleteMessages.md)(\['chat_id' => [int53](../types/int53.md), 'message_ids' => \[[int53](../types/int53.md)\], 'revoke' => [Bool](../types/Bool.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[deleteMessages](deleteMessages.md)(\['chat_id' => [int53](../types/int53.md), 'message_ids' => \[[int53](../types/int53.md)\], 'revoke' => [Bool](../types/Bool.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[deleteMessagesFromUser](deleteMessagesFromUser.md)(\['chat_id' => [int53](../types/int53.md), 'user_id' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[deleteMessagesFromUser](deleteMessagesFromUser.md)(\['chat_id' => [int53](../types/int53.md), 'user_id' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[deleteProfilePhoto](deleteProfilePhoto.md)(\['profile_photo_id' => [int64](../constructors/int64.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[deleteProfilePhoto](deleteProfilePhoto.md)(\['profile_photo_id' => [int64](../constructors/int64.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[deleteRecentHashtag](deleteRecentHashtag.md)(\['hashtag' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[deleteRecentHashtag](deleteRecentHashtag.md)(\['hashtag' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[deleteRecentSticker](deleteRecentSticker.md)(\['is_attached' => [Bool](../types/Bool.md), 'sticker' => [InputFile](../types/InputFile.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[deleteRecentSticker](deleteRecentSticker.md)(\['is_attached' => [Bool](../types/Bool.md), 'sticker' => [InputFile](../types/InputFile.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[deleteRecentlyFoundChat](deleteRecentlyFoundChat.md)(\['chat_id' => [int53](../types/int53.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[deleteRecentlyFoundChat](deleteRecentlyFoundChat.md)(\['chat_id' => [int53](../types/int53.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[deleteRecentlyFoundChats](deleteRecentlyFoundChats.md)(\[\]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[deleteRecentlyFoundChats](deleteRecentlyFoundChats.md)(\[\]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[deleteSavedAnimation](deleteSavedAnimation.md)(\['animation' => [InputFile](../types/InputFile.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[deleteSavedAnimation](deleteSavedAnimation.md)(\['animation' => [InputFile](../types/InputFile.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[deleteSavedCredentials](deleteSavedCredentials.md)(\[\]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[deleteSavedCredentials](deleteSavedCredentials.md)(\[\]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[deleteSavedOrderInfo](deleteSavedOrderInfo.md)(\[\]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[deleteSavedOrderInfo](deleteSavedOrderInfo.md)(\[\]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[deleteStickerFromSet](deleteStickerFromSet.md)(\['sticker' => [InputFile](../types/InputFile.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[deleteStickerFromSet](deleteStickerFromSet.md)(\['sticker' => [InputFile](../types/InputFile.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[deleteTopChat](deleteTopChat.md)(\['category' => [TopChatCategory](../types/TopChatCategory.md), 'chat_id' => [int53](../types/int53.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[deleteTopChat](deleteTopChat.md)(\['category' => [TopChatCategory](../types/TopChatCategory.md), 'chat_id' => [int53](../types/int53.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[discardCall](discardCall.md)(\['call_id' => [int](../types/int.md), 'is_disconnected' => [Bool](../types/Bool.md), 'duration' => [int](../types/int.md), 'connection_id' => [int64](../constructors/int64.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[discardCall](discardCall.md)(\['call_id' => [int](../types/int.md), 'is_disconnected' => [Bool](../types/Bool.md), 'duration' => [int](../types/int.md), 'connection_id' => [int64](../constructors/int64.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[downloadFile](downloadFile.md)(\['file_id' => [int](../types/int.md), 'priority' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[downloadFile](downloadFile.md)(\['file_id' => [int](../types/int.md), 'priority' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[editInlineMessageCaption](editInlineMessageCaption.md)(\['inline_message_id' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'caption' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[editInlineMessageCaption](editInlineMessageCaption.md)(\['inline_message_id' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'caption' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[editInlineMessageReplyMarkup](editInlineMessageReplyMarkup.md)(\['inline_message_id' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[editInlineMessageReplyMarkup](editInlineMessageReplyMarkup.md)(\['inline_message_id' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[editInlineMessageText](editInlineMessageText.md)(\['inline_message_id' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'input_message_content' => [InputMessageContent](../types/InputMessageContent.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[editInlineMessageText](editInlineMessageText.md)(\['inline_message_id' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'input_message_content' => [InputMessageContent](../types/InputMessageContent.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[editMessageCaption](editMessageCaption.md)(\['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'caption' => [string](../types/string.md), \]) === [$Message](../types/Message.md)
+
+$MadelineProto->[editMessageCaption](editMessageCaption.md)(\['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'caption' => [string](../types/string.md), \]) === [$Message](../types/Message.md)
***
-
$MadelineProto->[editMessageReplyMarkup](editMessageReplyMarkup.md)(\['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]) === [$Message](../types/Message.md)
+
+$MadelineProto->[editMessageReplyMarkup](editMessageReplyMarkup.md)(\['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]) === [$Message](../types/Message.md)
***
-
$MadelineProto->[editMessageText](editMessageText.md)(\['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'input_message_content' => [InputMessageContent](../types/InputMessageContent.md), \]) === [$Message](../types/Message.md)
+
+$MadelineProto->[editMessageText](editMessageText.md)(\['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'input_message_content' => [InputMessageContent](../types/InputMessageContent.md), \]) === [$Message](../types/Message.md)
***
-
$MadelineProto->[exportChatInviteLink](exportChatInviteLink.md)(\['chat_id' => [int53](../types/int53.md), \]) === [$ChatInviteLink](../types/ChatInviteLink.md)
+
+$MadelineProto->[exportChatInviteLink](exportChatInviteLink.md)(\['chat_id' => [int53](../types/int53.md), \]) === [$ChatInviteLink](../types/ChatInviteLink.md)
***
-
$MadelineProto->[finishFileGeneration](finishFileGeneration.md)(\['generation_id' => [int64](../constructors/int64.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[finishFileGeneration](finishFileGeneration.md)(\['generation_id' => [int64](../constructors/int64.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[forwardMessages](forwardMessages.md)(\['chat_id' => [int53](../types/int53.md), 'from_chat_id' => [int53](../types/int53.md), 'message_ids' => \[[int53](../types/int53.md)\], 'disable_notification' => [Bool](../types/Bool.md), 'from_background' => [Bool](../types/Bool.md), \]) === [$Messages](../types/Messages.md)
+
+$MadelineProto->[forwardMessages](forwardMessages.md)(\['chat_id' => [int53](../types/int53.md), 'from_chat_id' => [int53](../types/int53.md), 'message_ids' => \[[int53](../types/int53.md)\], 'disable_notification' => [Bool](../types/Bool.md), 'from_background' => [Bool](../types/Bool.md), \]) === [$Messages](../types/Messages.md)
***
-
$MadelineProto->[getAccountTtl](getAccountTtl.md)(\[\]) === [$AccountTtl](../types/AccountTtl.md)
+
+$MadelineProto->[getAccountTtl](getAccountTtl.md)(\[\]) === [$AccountTtl](../types/AccountTtl.md)
***
-
$MadelineProto->[getActiveSessions](getActiveSessions.md)(\[\]) === [$Sessions](../types/Sessions.md)
+
+$MadelineProto->[getActiveSessions](getActiveSessions.md)(\[\]) === [$Sessions](../types/Sessions.md)
***
-
$MadelineProto->[getArchivedStickerSets](getArchivedStickerSets.md)(\['is_masks' => [Bool](../types/Bool.md), 'offset_sticker_set_id' => [int64](../constructors/int64.md), 'limit' => [int](../types/int.md), \]) === [$StickerSets](../types/StickerSets.md)
+
+$MadelineProto->[getArchivedStickerSets](getArchivedStickerSets.md)(\['is_masks' => [Bool](../types/Bool.md), 'offset_sticker_set_id' => [int64](../constructors/int64.md), 'limit' => [int](../types/int.md), \]) === [$StickerSets](../types/StickerSets.md)
***
-
$MadelineProto->[getAttachedStickerSets](getAttachedStickerSets.md)(\['file_id' => [int](../types/int.md), \]) === [$StickerSets](../types/StickerSets.md)
+
+$MadelineProto->[getAttachedStickerSets](getAttachedStickerSets.md)(\['file_id' => [int](../types/int.md), \]) === [$StickerSets](../types/StickerSets.md)
***
-
$MadelineProto->[getAuthState](getAuthState.md)(\[\]) === [$AuthState](../types/AuthState.md)
+
+$MadelineProto->[getAuthState](getAuthState.md)(\[\]) === [$AuthState](../types/AuthState.md)
***
-
$MadelineProto->[getBlockedUsers](getBlockedUsers.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$Users](../types/Users.md)
+
+$MadelineProto->[getBlockedUsers](getBlockedUsers.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$Users](../types/Users.md)
***
-
$MadelineProto->[getCallbackQueryAnswer](getCallbackQueryAnswer.md)(\['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), 'payload' => [CallbackQueryPayload](../types/CallbackQueryPayload.md), \]) === [$CallbackQueryAnswer](../types/CallbackQueryAnswer.md)
+
+$MadelineProto->[getCallbackQueryAnswer](getCallbackQueryAnswer.md)(\['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), 'payload' => [CallbackQueryPayload](../types/CallbackQueryPayload.md), \]) === [$CallbackQueryAnswer](../types/CallbackQueryAnswer.md)
***
-
$MadelineProto->[getChannel](getChannel.md)(\['channel_id' => [int](../types/int.md), \]) === [$Channel](../types/Channel.md)
+
+$MadelineProto->[getChannel](getChannel.md)(\['channel_id' => [int](../types/int.md), \]) === [$Channel](../types/Channel.md)
***
-
$MadelineProto->[getChannelFull](getChannelFull.md)(\['channel_id' => [int](../types/int.md), \]) === [$ChannelFull](../types/ChannelFull.md)
+
+$MadelineProto->[getChannelFull](getChannelFull.md)(\['channel_id' => [int](../types/int.md), \]) === [$ChannelFull](../types/ChannelFull.md)
***
-
$MadelineProto->[getChannelMembers](getChannelMembers.md)(\['channel_id' => [int](../types/int.md), 'filter' => [ChannelMembersFilter](../types/ChannelMembersFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$ChatMembers](../types/ChatMembers.md)
+
+$MadelineProto->[getChannelMembers](getChannelMembers.md)(\['channel_id' => [int](../types/int.md), 'filter' => [ChannelMembersFilter](../types/ChannelMembersFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$ChatMembers](../types/ChatMembers.md)
***
-
$MadelineProto->[getChat](getChat.md)(\['chat_id' => [int53](../types/int53.md), \]) === [$Chat](../types/Chat.md)
+
+$MadelineProto->[getChat](getChat.md)(\['chat_id' => [int53](../types/int53.md), \]) === [$Chat](../types/Chat.md)
***
-
$MadelineProto->[getChatEventLog](getChatEventLog.md)(\['chat_id' => [int53](../types/int53.md), 'query' => [string](../types/string.md), 'from_event_id' => [int64](../constructors/int64.md), 'limit' => [int](../types/int.md), 'filters' => [chatEventLogFilters](../constructors/chatEventLogFilters.md), 'user_ids' => \[[int](../types/int.md)\], \]) === [$ChatEvents](../types/ChatEvents.md)
+
+$MadelineProto->[getChatEventLog](getChatEventLog.md)(\['chat_id' => [int53](../types/int53.md), 'query' => [string](../types/string.md), 'from_event_id' => [int64](../constructors/int64.md), 'limit' => [int](../types/int.md), 'filters' => [chatEventLogFilters](../constructors/chatEventLogFilters.md), 'user_ids' => \[[int](../types/int.md)\], \]) === [$ChatEvents](../types/ChatEvents.md)
***
-
$MadelineProto->[getChatHistory](getChatHistory.md)(\['chat_id' => [int53](../types/int53.md), 'from_message_id' => [int53](../types/int53.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'only_local' => [Bool](../types/Bool.md), \]) === [$Messages](../types/Messages.md)
+
+$MadelineProto->[getChatHistory](getChatHistory.md)(\['chat_id' => [int53](../types/int53.md), 'from_message_id' => [int53](../types/int53.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'only_local' => [Bool](../types/Bool.md), \]) === [$Messages](../types/Messages.md)
***
-
$MadelineProto->[getChatMember](getChatMember.md)(\['chat_id' => [int53](../types/int53.md), 'user_id' => [int](../types/int.md), \]) === [$ChatMember](../types/ChatMember.md)
+
+$MadelineProto->[getChatMember](getChatMember.md)(\['chat_id' => [int53](../types/int53.md), 'user_id' => [int](../types/int.md), \]) === [$ChatMember](../types/ChatMember.md)
***
-
$MadelineProto->[getChatReportSpamState](getChatReportSpamState.md)(\['chat_id' => [int53](../types/int53.md), \]) === [$ChatReportSpamState](../types/ChatReportSpamState.md)
+
+$MadelineProto->[getChatReportSpamState](getChatReportSpamState.md)(\['chat_id' => [int53](../types/int53.md), \]) === [$ChatReportSpamState](../types/ChatReportSpamState.md)
***
-
$MadelineProto->[getChats](getChats.md)(\['offset_order' => [int64](../constructors/int64.md), 'offset_chat_id' => [int53](../types/int53.md), 'limit' => [int](../types/int.md), \]) === [$Chats](../types/Chats.md)
+
+$MadelineProto->[getChats](getChats.md)(\['offset_order' => [int64](../constructors/int64.md), 'offset_chat_id' => [int53](../types/int53.md), 'limit' => [int](../types/int.md), \]) === [$Chats](../types/Chats.md)
***
-
$MadelineProto->[getCommonChats](getCommonChats.md)(\['user_id' => [int](../types/int.md), 'offset_chat_id' => [int53](../types/int53.md), 'limit' => [int](../types/int.md), \]) === [$Chats](../types/Chats.md)
+
+$MadelineProto->[getCommonChats](getCommonChats.md)(\['user_id' => [int](../types/int.md), 'offset_chat_id' => [int53](../types/int53.md), 'limit' => [int](../types/int.md), \]) === [$Chats](../types/Chats.md)
***
-
$MadelineProto->[getCreatedPublicChats](getCreatedPublicChats.md)(\[\]) === [$Chats](../types/Chats.md)
+
+$MadelineProto->[getCreatedPublicChats](getCreatedPublicChats.md)(\[\]) === [$Chats](../types/Chats.md)
***
-
$MadelineProto->[getFavoriteStickers](getFavoriteStickers.md)(\[\]) === [$Stickers](../types/Stickers.md)
+
+$MadelineProto->[getFavoriteStickers](getFavoriteStickers.md)(\[\]) === [$Stickers](../types/Stickers.md)
***
-
$MadelineProto->[getFile](getFile.md)(\['file_id' => [int](../types/int.md), \]) === [$File](../types/File.md)
+
+$MadelineProto->[getFile](getFile.md)(\['file_id' => [int](../types/int.md), \]) === [$File](../types/File.md)
***
-
$MadelineProto->[getFileExtension](getFileExtension.md)(\['mime_type' => [string](../types/string.md), \]) === [$Text](../types/Text.md)
+
+$MadelineProto->[getFileExtension](getFileExtension.md)(\['mime_type' => [string](../types/string.md), \]) === [$Text](../types/Text.md)
***
-
$MadelineProto->[getFileMimeType](getFileMimeType.md)(\['file_name' => [string](../types/string.md), \]) === [$Text](../types/Text.md)
+
+$MadelineProto->[getFileMimeType](getFileMimeType.md)(\['file_name' => [string](../types/string.md), \]) === [$Text](../types/Text.md)
***
-
$MadelineProto->[getFilePersistent](getFilePersistent.md)(\['persistent_file_id' => [string](../types/string.md), 'file_type' => [FileType](../types/FileType.md), \]) === [$File](../types/File.md)
+
+$MadelineProto->[getFilePersistent](getFilePersistent.md)(\['persistent_file_id' => [string](../types/string.md), 'file_type' => [FileType](../types/FileType.md), \]) === [$File](../types/File.md)
***
-
$MadelineProto->[getGameHighScores](getGameHighScores.md)(\['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), 'user_id' => [int](../types/int.md), \]) === [$GameHighScores](../types/GameHighScores.md)
+
+$MadelineProto->[getGameHighScores](getGameHighScores.md)(\['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), 'user_id' => [int](../types/int.md), \]) === [$GameHighScores](../types/GameHighScores.md)
***
-
$MadelineProto->[getGroup](getGroup.md)(\['group_id' => [int](../types/int.md), \]) === [$Group](../types/Group.md)
+
+$MadelineProto->[getGroup](getGroup.md)(\['group_id' => [int](../types/int.md), \]) === [$Group](../types/Group.md)
***
-
$MadelineProto->[getGroupFull](getGroupFull.md)(\['group_id' => [int](../types/int.md), \]) === [$GroupFull](../types/GroupFull.md)
+
+$MadelineProto->[getGroupFull](getGroupFull.md)(\['group_id' => [int](../types/int.md), \]) === [$GroupFull](../types/GroupFull.md)
***
-
$MadelineProto->[getImportedContactCount](getImportedContactCount.md)(\[\]) === [$Count](../types/Count.md)
+
+$MadelineProto->[getImportedContactCount](getImportedContactCount.md)(\[\]) === [$Count](../types/Count.md)
***
-
$MadelineProto->[getInlineGameHighScores](getInlineGameHighScores.md)(\['inline_message_id' => [string](../types/string.md), 'user_id' => [int](../types/int.md), \]) === [$GameHighScores](../types/GameHighScores.md)
+
+$MadelineProto->[getInlineGameHighScores](getInlineGameHighScores.md)(\['inline_message_id' => [string](../types/string.md), 'user_id' => [int](../types/int.md), \]) === [$GameHighScores](../types/GameHighScores.md)
***
-
$MadelineProto->[getInlineQueryResults](getInlineQueryResults.md)(\['bot_user_id' => [int](../types/int.md), 'chat_id' => [int53](../types/int53.md), 'user_location' => [location](../constructors/location.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$InlineQueryResults](../types/InlineQueryResults.md)
+
+$MadelineProto->[getInlineQueryResults](getInlineQueryResults.md)(\['bot_user_id' => [int](../types/int.md), 'chat_id' => [int53](../types/int53.md), 'user_location' => [location](../constructors/location.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$InlineQueryResults](../types/InlineQueryResults.md)
***
-
$MadelineProto->[getInstalledStickerSets](getInstalledStickerSets.md)(\['is_masks' => [Bool](../types/Bool.md), \]) === [$StickerSets](../types/StickerSets.md)
+
+$MadelineProto->[getInstalledStickerSets](getInstalledStickerSets.md)(\['is_masks' => [Bool](../types/Bool.md), \]) === [$StickerSets](../types/StickerSets.md)
***
-
$MadelineProto->[getInviteText](getInviteText.md)(\[\]) === [$Text](../types/Text.md)
+
+$MadelineProto->[getInviteText](getInviteText.md)(\[\]) === [$Text](../types/Text.md)
***
-
$MadelineProto->[getMe](getMe.md)(\[\]) === [$User](../types/User.md)
+
+$MadelineProto->[getMe](getMe.md)(\[\]) === [$User](../types/User.md)
***
-
$MadelineProto->[getMessage](getMessage.md)(\['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), \]) === [$Message](../types/Message.md)
+
+$MadelineProto->[getMessage](getMessage.md)(\['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), \]) === [$Message](../types/Message.md)
***
-
$MadelineProto->[getMessages](getMessages.md)(\['chat_id' => [int53](../types/int53.md), 'message_ids' => \[[int53](../types/int53.md)\], \]) === [$Messages](../types/Messages.md)
+
+$MadelineProto->[getMessages](getMessages.md)(\['chat_id' => [int53](../types/int53.md), 'message_ids' => \[[int53](../types/int53.md)\], \]) === [$Messages](../types/Messages.md)
***
-
$MadelineProto->[getNetworkStatistics](getNetworkStatistics.md)(\['only_current' => [Bool](../types/Bool.md), \]) === [$NetworkStatistics](../types/NetworkStatistics.md)
+
+$MadelineProto->[getNetworkStatistics](getNetworkStatistics.md)(\['only_current' => [Bool](../types/Bool.md), \]) === [$NetworkStatistics](../types/NetworkStatistics.md)
***
-
$MadelineProto->[getNotificationSettings](getNotificationSettings.md)(\['scope' => [NotificationSettingsScope](../types/NotificationSettingsScope.md), \]) === [$NotificationSettings](../types/NotificationSettings.md)
+
+$MadelineProto->[getNotificationSettings](getNotificationSettings.md)(\['scope' => [NotificationSettingsScope](../types/NotificationSettingsScope.md), \]) === [$NotificationSettings](../types/NotificationSettings.md)
***
-
$MadelineProto->[getOption](getOption.md)(\['name' => [string](../types/string.md), \]) === [$OptionValue](../types/OptionValue.md)
+
+$MadelineProto->[getOption](getOption.md)(\['name' => [string](../types/string.md), \]) === [$OptionValue](../types/OptionValue.md)
***
-
$MadelineProto->[getPasswordState](getPasswordState.md)(\[\]) === [$PasswordState](../types/PasswordState.md)
+
+$MadelineProto->[getPasswordState](getPasswordState.md)(\[\]) === [$PasswordState](../types/PasswordState.md)
***
-
$MadelineProto->[getPaymentForm](getPaymentForm.md)(\['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), \]) === [$PaymentForm](../types/PaymentForm.md)
+
+$MadelineProto->[getPaymentForm](getPaymentForm.md)(\['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), \]) === [$PaymentForm](../types/PaymentForm.md)
***
-
$MadelineProto->[getPaymentReceipt](getPaymentReceipt.md)(\['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), \]) === [$PaymentReceipt](../types/PaymentReceipt.md)
+
+$MadelineProto->[getPaymentReceipt](getPaymentReceipt.md)(\['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), \]) === [$PaymentReceipt](../types/PaymentReceipt.md)
***
-
$MadelineProto->[getPrivacy](getPrivacy.md)(\['key' => [PrivacyKey](../types/PrivacyKey.md), \]) === [$PrivacyRules](../types/PrivacyRules.md)
+
+$MadelineProto->[getPrivacy](getPrivacy.md)(\['key' => [PrivacyKey](../types/PrivacyKey.md), \]) === [$PrivacyRules](../types/PrivacyRules.md)
***
-
$MadelineProto->[getProxy](getProxy.md)(\[\]) === [$Proxy](../types/Proxy.md)
+
+$MadelineProto->[getProxy](getProxy.md)(\[\]) === [$Proxy](../types/Proxy.md)
***
-
$MadelineProto->[getPublicMessageLink](getPublicMessageLink.md)(\['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), \]) === [$PublicMessageLink](../types/PublicMessageLink.md)
+
+$MadelineProto->[getPublicMessageLink](getPublicMessageLink.md)(\['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), \]) === [$PublicMessageLink](../types/PublicMessageLink.md)
***
-
$MadelineProto->[getRecentInlineBots](getRecentInlineBots.md)(\[\]) === [$Users](../types/Users.md)
+
+$MadelineProto->[getRecentInlineBots](getRecentInlineBots.md)(\[\]) === [$Users](../types/Users.md)
***
-
$MadelineProto->[getRecentStickers](getRecentStickers.md)(\['is_attached' => [Bool](../types/Bool.md), \]) === [$Stickers](../types/Stickers.md)
+
+$MadelineProto->[getRecentStickers](getRecentStickers.md)(\['is_attached' => [Bool](../types/Bool.md), \]) === [$Stickers](../types/Stickers.md)
***
-
$MadelineProto->[getRecoveryEmail](getRecoveryEmail.md)(\['password' => [string](../types/string.md), \]) === [$RecoveryEmail](../types/RecoveryEmail.md)
+
+$MadelineProto->[getRecoveryEmail](getRecoveryEmail.md)(\['password' => [string](../types/string.md), \]) === [$RecoveryEmail](../types/RecoveryEmail.md)
***
-
$MadelineProto->[getSavedAnimations](getSavedAnimations.md)(\[\]) === [$Animations](../types/Animations.md)
+
+$MadelineProto->[getSavedAnimations](getSavedAnimations.md)(\[\]) === [$Animations](../types/Animations.md)
***
-
$MadelineProto->[getSavedOrderInfo](getSavedOrderInfo.md)(\[\]) === [$OrderInfo](../types/OrderInfo.md)
+
+$MadelineProto->[getSavedOrderInfo](getSavedOrderInfo.md)(\[\]) === [$OrderInfo](../types/OrderInfo.md)
***
-
$MadelineProto->[getSecretChat](getSecretChat.md)(\['secret_chat_id' => [int](../types/int.md), \]) === [$SecretChat](../types/SecretChat.md)
+
+$MadelineProto->[getSecretChat](getSecretChat.md)(\['secret_chat_id' => [int](../types/int.md), \]) === [$SecretChat](../types/SecretChat.md)
***
-
$MadelineProto->[getStickerEmojis](getStickerEmojis.md)(\['sticker' => [InputFile](../types/InputFile.md), \]) === [$StickerEmojis](../types/StickerEmojis.md)
+
+$MadelineProto->[getStickerEmojis](getStickerEmojis.md)(\['sticker' => [InputFile](../types/InputFile.md), \]) === [$StickerEmojis](../types/StickerEmojis.md)
***
-
$MadelineProto->[getStickerSet](getStickerSet.md)(\['set_id' => [int64](../constructors/int64.md), \]) === [$StickerSet](../types/StickerSet.md)
+
+$MadelineProto->[getStickerSet](getStickerSet.md)(\['set_id' => [int64](../constructors/int64.md), \]) === [$StickerSet](../types/StickerSet.md)
***
-
$MadelineProto->[getStickers](getStickers.md)(\['emoji' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$Stickers](../types/Stickers.md)
+
+$MadelineProto->[getStickers](getStickers.md)(\['emoji' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$Stickers](../types/Stickers.md)
***
-
$MadelineProto->[getStorageStatistics](getStorageStatistics.md)(\['chat_limit' => [int](../types/int.md), \]) === [$StorageStatistics](../types/StorageStatistics.md)
+
+$MadelineProto->[getStorageStatistics](getStorageStatistics.md)(\['chat_limit' => [int](../types/int.md), \]) === [$StorageStatistics](../types/StorageStatistics.md)
***
-
$MadelineProto->[getStorageStatisticsFast](getStorageStatisticsFast.md)(\[\]) === [$StorageStatisticsFast](../types/StorageStatisticsFast.md)
+
+$MadelineProto->[getStorageStatisticsFast](getStorageStatisticsFast.md)(\[\]) === [$StorageStatisticsFast](../types/StorageStatisticsFast.md)
***
-
$MadelineProto->[getSupportUser](getSupportUser.md)(\[\]) === [$User](../types/User.md)
+
+$MadelineProto->[getSupportUser](getSupportUser.md)(\[\]) === [$User](../types/User.md)
***
-
$MadelineProto->[getTemporaryPasswordState](getTemporaryPasswordState.md)(\[\]) === [$TemporaryPasswordState](../types/TemporaryPasswordState.md)
+
+$MadelineProto->[getTemporaryPasswordState](getTemporaryPasswordState.md)(\[\]) === [$TemporaryPasswordState](../types/TemporaryPasswordState.md)
***
-
$MadelineProto->[getTermsOfService](getTermsOfService.md)(\[\]) === [$Text](../types/Text.md)
+
+$MadelineProto->[getTermsOfService](getTermsOfService.md)(\[\]) === [$Text](../types/Text.md)
***
-
$MadelineProto->[getTextEntities](getTextEntities.md)(\['text' => [string](../types/string.md), \]) === [$TextEntities](../types/TextEntities.md)
+
+$MadelineProto->[getTextEntities](getTextEntities.md)(\['text' => [string](../types/string.md), \]) === [$TextEntities](../types/TextEntities.md)
***
-
$MadelineProto->[getTopChats](getTopChats.md)(\['category' => [TopChatCategory](../types/TopChatCategory.md), 'limit' => [int](../types/int.md), \]) === [$Chats](../types/Chats.md)
+
+$MadelineProto->[getTopChats](getTopChats.md)(\['category' => [TopChatCategory](../types/TopChatCategory.md), 'limit' => [int](../types/int.md), \]) === [$Chats](../types/Chats.md)
***
-
$MadelineProto->[getTrendingStickerSets](getTrendingStickerSets.md)(\[\]) === [$StickerSets](../types/StickerSets.md)
+
+$MadelineProto->[getTrendingStickerSets](getTrendingStickerSets.md)(\[\]) === [$StickerSets](../types/StickerSets.md)
***
-
$MadelineProto->[getUser](getUser.md)(\['user_id' => [int](../types/int.md), \]) === [$User](../types/User.md)
+
+$MadelineProto->[getUser](getUser.md)(\['user_id' => [int](../types/int.md), \]) === [$User](../types/User.md)
***
-
$MadelineProto->[getUserFull](getUserFull.md)(\['user_id' => [int](../types/int.md), \]) === [$UserFull](../types/UserFull.md)
+
+$MadelineProto->[getUserFull](getUserFull.md)(\['user_id' => [int](../types/int.md), \]) === [$UserFull](../types/UserFull.md)
***
-
$MadelineProto->[getUserProfilePhotos](getUserProfilePhotos.md)(\['user_id' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$UserProfilePhotos](../types/UserProfilePhotos.md)
+
+$MadelineProto->[getUserProfilePhotos](getUserProfilePhotos.md)(\['user_id' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$UserProfilePhotos](../types/UserProfilePhotos.md)
***
-
$MadelineProto->[getWallpapers](getWallpapers.md)(\[\]) === [$Wallpapers](../types/Wallpapers.md)
+
+$MadelineProto->[getWallpapers](getWallpapers.md)(\[\]) === [$Wallpapers](../types/Wallpapers.md)
***
-
$MadelineProto->[getWebPageInstantView](getWebPageInstantView.md)(\['url' => [string](../types/string.md), 'force_full' => [Bool](../types/Bool.md), \]) === [$WebPageInstantView](../types/WebPageInstantView.md)
+
+$MadelineProto->[getWebPageInstantView](getWebPageInstantView.md)(\['url' => [string](../types/string.md), 'force_full' => [Bool](../types/Bool.md), \]) === [$WebPageInstantView](../types/WebPageInstantView.md)
***
-
$MadelineProto->[getWebPagePreview](getWebPagePreview.md)(\['message_text' => [string](../types/string.md), \]) === [$WebPage](../types/WebPage.md)
+
+$MadelineProto->[getWebPagePreview](getWebPagePreview.md)(\['message_text' => [string](../types/string.md), \]) === [$WebPage](../types/WebPage.md)
***
-
$MadelineProto->[importChatInviteLink](importChatInviteLink.md)(\['invite_link' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[importChatInviteLink](importChatInviteLink.md)(\['invite_link' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[importContacts](importContacts.md)(\['contacts' => \[[contact](../constructors/contact.md)\], \]) === [$ImportedContacts](../types/ImportedContacts.md)
+
+$MadelineProto->[importContacts](importContacts.md)(\['contacts' => \[[contact](../constructors/contact.md)\], \]) === [$ImportedContacts](../types/ImportedContacts.md)
***
-
$MadelineProto->[migrateGroupChatToChannelChat](migrateGroupChatToChannelChat.md)(\['chat_id' => [int53](../types/int53.md), \]) === [$Chat](../types/Chat.md)
+
+$MadelineProto->[migrateGroupChatToChannelChat](migrateGroupChatToChannelChat.md)(\['chat_id' => [int53](../types/int53.md), \]) === [$Chat](../types/Chat.md)
***
-
$MadelineProto->[openChat](openChat.md)(\['chat_id' => [int53](../types/int53.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[openChat](openChat.md)(\['chat_id' => [int53](../types/int53.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[openMessageContent](openMessageContent.md)(\['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[openMessageContent](openMessageContent.md)(\['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[optimizeStorage](optimizeStorage.md)(\['size' => [int53](../types/int53.md), 'ttl' => [int](../types/int.md), 'count' => [int](../types/int.md), 'immunity_delay' => [int](../types/int.md), 'file_types' => \[[FileType](../types/FileType.md)\], 'chat_ids' => \[[int53](../types/int53.md)\], 'exclude_chat_ids' => \[[int53](../types/int53.md)\], 'chat_limit' => [int](../types/int.md), \]) === [$StorageStatistics](../types/StorageStatistics.md)
+
+$MadelineProto->[optimizeStorage](optimizeStorage.md)(\['size' => [int53](../types/int53.md), 'ttl' => [int](../types/int.md), 'count' => [int](../types/int.md), 'immunity_delay' => [int](../types/int.md), 'file_types' => \[[FileType](../types/FileType.md)\], 'chat_ids' => \[[int53](../types/int53.md)\], 'exclude_chat_ids' => \[[int53](../types/int53.md)\], 'chat_limit' => [int](../types/int.md), \]) === [$StorageStatistics](../types/StorageStatistics.md)
***
-
$MadelineProto->[pinChannelMessage](pinChannelMessage.md)(\['channel_id' => [int](../types/int.md), 'message_id' => [int53](../types/int53.md), 'disable_notification' => [Bool](../types/Bool.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[pinChannelMessage](pinChannelMessage.md)(\['channel_id' => [int](../types/int.md), 'message_id' => [int53](../types/int53.md), 'disable_notification' => [Bool](../types/Bool.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[processDcUpdate](processDcUpdate.md)(\['dc' => [string](../types/string.md), 'addr' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[processDcUpdate](processDcUpdate.md)(\['dc' => [string](../types/string.md), 'addr' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[rateCall](rateCall.md)(\['call_id' => [int](../types/int.md), 'rating' => [int](../types/int.md), 'comment' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[rateCall](rateCall.md)(\['call_id' => [int](../types/int.md), 'rating' => [int](../types/int.md), 'comment' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[recoverAuthPassword](recoverAuthPassword.md)(\['recovery_code' => [string](../types/string.md), \]) === [$AuthState](../types/AuthState.md)
+
+$MadelineProto->[recoverAuthPassword](recoverAuthPassword.md)(\['recovery_code' => [string](../types/string.md), \]) === [$AuthState](../types/AuthState.md)
***
-
$MadelineProto->[recoverPassword](recoverPassword.md)(\['recovery_code' => [string](../types/string.md), \]) === [$PasswordState](../types/PasswordState.md)
+
+$MadelineProto->[recoverPassword](recoverPassword.md)(\['recovery_code' => [string](../types/string.md), \]) === [$PasswordState](../types/PasswordState.md)
***
-
$MadelineProto->[registerDevice](registerDevice.md)(\['device_token' => [DeviceToken](../types/DeviceToken.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[registerDevice](registerDevice.md)(\['device_token' => [DeviceToken](../types/DeviceToken.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[reorderInstalledStickerSets](reorderInstalledStickerSets.md)(\['is_masks' => [Bool](../types/Bool.md), 'sticker_set_ids' => \[[int64](../constructors/int64.md)\], \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[reorderInstalledStickerSets](reorderInstalledStickerSets.md)(\['is_masks' => [Bool](../types/Bool.md), 'sticker_set_ids' => \[[int64](../constructors/int64.md)\], \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[reportChannelSpam](reportChannelSpam.md)(\['channel_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'message_ids' => \[[int53](../types/int53.md)\], \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[reportChannelSpam](reportChannelSpam.md)(\['channel_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'message_ids' => \[[int53](../types/int53.md)\], \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[reportChat](reportChat.md)(\['chat_id' => [int53](../types/int53.md), 'reason' => [ChatReportReason](../types/ChatReportReason.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[reportChat](reportChat.md)(\['chat_id' => [int53](../types/int53.md), 'reason' => [ChatReportReason](../types/ChatReportReason.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[requestAuthPasswordRecovery](requestAuthPasswordRecovery.md)(\[\]) === [$AuthState](../types/AuthState.md)
+
+$MadelineProto->[requestAuthPasswordRecovery](requestAuthPasswordRecovery.md)(\[\]) === [$AuthState](../types/AuthState.md)
***
-
$MadelineProto->[requestPasswordRecovery](requestPasswordRecovery.md)(\[\]) === [$PasswordRecoveryInfo](../types/PasswordRecoveryInfo.md)
+
+$MadelineProto->[requestPasswordRecovery](requestPasswordRecovery.md)(\[\]) === [$PasswordRecoveryInfo](../types/PasswordRecoveryInfo.md)
***
-
$MadelineProto->[resendAuthCode](resendAuthCode.md)(\[\]) === [$AuthState](../types/AuthState.md)
+
+$MadelineProto->[resendAuthCode](resendAuthCode.md)(\[\]) === [$AuthState](../types/AuthState.md)
***
-
$MadelineProto->[resendChangePhoneNumberCode](resendChangePhoneNumberCode.md)(\[\]) === [$AuthState](../types/AuthState.md)
+
+$MadelineProto->[resendChangePhoneNumberCode](resendChangePhoneNumberCode.md)(\[\]) === [$AuthState](../types/AuthState.md)
***
-
$MadelineProto->[resetAllNotificationSettings](resetAllNotificationSettings.md)(\[\]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[resetAllNotificationSettings](resetAllNotificationSettings.md)(\[\]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[resetAuth](resetAuth.md)(\['force' => [Bool](../types/Bool.md), \]) === [$AuthState](../types/AuthState.md)
+
+$MadelineProto->[resetAuth](resetAuth.md)(\['force' => [Bool](../types/Bool.md), \]) === [$AuthState](../types/AuthState.md)
***
-
$MadelineProto->[resetNetworkStatistics](resetNetworkStatistics.md)(\[\]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[resetNetworkStatistics](resetNetworkStatistics.md)(\[\]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[searchCallMessages](searchCallMessages.md)(\['from_message_id' => [int53](../types/int53.md), 'limit' => [int](../types/int.md), 'only_missed' => [Bool](../types/Bool.md), \]) === [$Messages](../types/Messages.md)
+
+$MadelineProto->[searchCallMessages](searchCallMessages.md)(\['from_message_id' => [int53](../types/int53.md), 'limit' => [int](../types/int.md), 'only_missed' => [Bool](../types/Bool.md), \]) === [$Messages](../types/Messages.md)
***
-
$MadelineProto->[searchChatMembers](searchChatMembers.md)(\['chat_id' => [int53](../types/int53.md), 'query' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$ChatMembers](../types/ChatMembers.md)
+
+$MadelineProto->[searchChatMembers](searchChatMembers.md)(\['chat_id' => [int53](../types/int53.md), 'query' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$ChatMembers](../types/ChatMembers.md)
***
-
$MadelineProto->[searchChatMessages](searchChatMessages.md)(\['chat_id' => [int53](../types/int53.md), 'query' => [string](../types/string.md), 'sender_user_id' => [int](../types/int.md), 'from_message_id' => [int53](../types/int53.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'filter' => [SearchMessagesFilter](../types/SearchMessagesFilter.md), \]) === [$Messages](../types/Messages.md)
+
+$MadelineProto->[searchChatMessages](searchChatMessages.md)(\['chat_id' => [int53](../types/int53.md), 'query' => [string](../types/string.md), 'sender_user_id' => [int](../types/int.md), 'from_message_id' => [int53](../types/int53.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'filter' => [SearchMessagesFilter](../types/SearchMessagesFilter.md), \]) === [$Messages](../types/Messages.md)
***
-
$MadelineProto->[searchChats](searchChats.md)(\['query' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$Chats](../types/Chats.md)
+
+$MadelineProto->[searchChats](searchChats.md)(\['query' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$Chats](../types/Chats.md)
***
-
$MadelineProto->[searchContacts](searchContacts.md)(\['query' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$Users](../types/Users.md)
+
+$MadelineProto->[searchContacts](searchContacts.md)(\['query' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$Users](../types/Users.md)
***
-
$MadelineProto->[searchHashtags](searchHashtags.md)(\['prefix' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$Hashtags](../types/Hashtags.md)
+
+$MadelineProto->[searchHashtags](searchHashtags.md)(\['prefix' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$Hashtags](../types/Hashtags.md)
***
-
$MadelineProto->[searchMessages](searchMessages.md)(\['query' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_chat_id' => [int53](../types/int53.md), 'offset_message_id' => [int53](../types/int53.md), 'limit' => [int](../types/int.md), \]) === [$Messages](../types/Messages.md)
+
+$MadelineProto->[searchMessages](searchMessages.md)(\['query' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_chat_id' => [int53](../types/int53.md), 'offset_message_id' => [int53](../types/int53.md), 'limit' => [int](../types/int.md), \]) === [$Messages](../types/Messages.md)
***
-
$MadelineProto->[searchPublicChat](searchPublicChat.md)(\['username' => [string](../types/string.md), \]) === [$Chat](../types/Chat.md)
+
+$MadelineProto->[searchPublicChat](searchPublicChat.md)(\['username' => [string](../types/string.md), \]) === [$Chat](../types/Chat.md)
***
-
$MadelineProto->[searchPublicChats](searchPublicChats.md)(\['username_prefix' => [string](../types/string.md), \]) === [$Chats](../types/Chats.md)
+
+$MadelineProto->[searchPublicChats](searchPublicChats.md)(\['username_prefix' => [string](../types/string.md), \]) === [$Chats](../types/Chats.md)
***
-
$MadelineProto->[searchSecretMessages](searchSecretMessages.md)(\['chat_id' => [int53](../types/int53.md), 'query' => [string](../types/string.md), 'from_search_id' => [int64](../constructors/int64.md), 'limit' => [int](../types/int.md), 'filter' => [SearchMessagesFilter](../types/SearchMessagesFilter.md), \]) === [$FoundMessages](../types/FoundMessages.md)
+
+$MadelineProto->[searchSecretMessages](searchSecretMessages.md)(\['chat_id' => [int53](../types/int53.md), 'query' => [string](../types/string.md), 'from_search_id' => [int64](../constructors/int64.md), 'limit' => [int](../types/int.md), 'filter' => [SearchMessagesFilter](../types/SearchMessagesFilter.md), \]) === [$FoundMessages](../types/FoundMessages.md)
***
-
$MadelineProto->[searchStickerSet](searchStickerSet.md)(\['name' => [string](../types/string.md), \]) === [$StickerSet](../types/StickerSet.md)
+
+$MadelineProto->[searchStickerSet](searchStickerSet.md)(\['name' => [string](../types/string.md), \]) === [$StickerSet](../types/StickerSet.md)
***
-
$MadelineProto->[sendBotStartMessage](sendBotStartMessage.md)(\['bot_user_id' => [int](../types/int.md), 'chat_id' => [int53](../types/int53.md), 'parameter' => [string](../types/string.md), \]) === [$Message](../types/Message.md)
+
+$MadelineProto->[sendBotStartMessage](sendBotStartMessage.md)(\['bot_user_id' => [int](../types/int.md), 'chat_id' => [int53](../types/int53.md), 'parameter' => [string](../types/string.md), \]) === [$Message](../types/Message.md)
***
-
$MadelineProto->[sendChatAction](sendChatAction.md)(\['chat_id' => [int53](../types/int53.md), 'action' => [ChatAction](../types/ChatAction.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[sendChatAction](sendChatAction.md)(\['chat_id' => [int53](../types/int53.md), 'action' => [ChatAction](../types/ChatAction.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[sendChatScreenshotTakenNotification](sendChatScreenshotTakenNotification.md)(\['chat_id' => [int53](../types/int53.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[sendChatScreenshotTakenNotification](sendChatScreenshotTakenNotification.md)(\['chat_id' => [int53](../types/int53.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[sendChatSetTtlMessage](sendChatSetTtlMessage.md)(\['chat_id' => [int53](../types/int53.md), 'ttl' => [int](../types/int.md), \]) === [$Message](../types/Message.md)
+
+$MadelineProto->[sendChatSetTtlMessage](sendChatSetTtlMessage.md)(\['chat_id' => [int53](../types/int53.md), 'ttl' => [int](../types/int.md), \]) === [$Message](../types/Message.md)
***
-
$MadelineProto->[sendCustomRequest](sendCustomRequest.md)(\['method' => [string](../types/string.md), 'parameters' => [string](../types/string.md), \]) === [$CustomRequestResult](../types/CustomRequestResult.md)
+
+$MadelineProto->[sendCustomRequest](sendCustomRequest.md)(\['method' => [string](../types/string.md), 'parameters' => [string](../types/string.md), \]) === [$CustomRequestResult](../types/CustomRequestResult.md)
***
-
$MadelineProto->[sendInlineQueryResultMessage](sendInlineQueryResultMessage.md)(\['chat_id' => [int53](../types/int53.md), 'reply_to_message_id' => [int53](../types/int53.md), 'disable_notification' => [Bool](../types/Bool.md), 'from_background' => [Bool](../types/Bool.md), 'query_id' => [int64](../constructors/int64.md), 'result_id' => [string](../types/string.md), \]) === [$Message](../types/Message.md)
+
+$MadelineProto->[sendInlineQueryResultMessage](sendInlineQueryResultMessage.md)(\['chat_id' => [int53](../types/int53.md), 'reply_to_message_id' => [int53](../types/int53.md), 'disable_notification' => [Bool](../types/Bool.md), 'from_background' => [Bool](../types/Bool.md), 'query_id' => [int64](../constructors/int64.md), 'result_id' => [string](../types/string.md), \]) === [$Message](../types/Message.md)
***
-
$MadelineProto->[sendMessage](sendMessage.md)(\['chat_id' => [int53](../types/int53.md), 'reply_to_message_id' => [int53](../types/int53.md), 'disable_notification' => [Bool](../types/Bool.md), 'from_background' => [Bool](../types/Bool.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'input_message_content' => [InputMessageContent](../types/InputMessageContent.md), \]) === [$Message](../types/Message.md)
+
+$MadelineProto->[sendMessage](sendMessage.md)(\['chat_id' => [int53](../types/int53.md), 'reply_to_message_id' => [int53](../types/int53.md), 'disable_notification' => [Bool](../types/Bool.md), 'from_background' => [Bool](../types/Bool.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'input_message_content' => [InputMessageContent](../types/InputMessageContent.md), \]) === [$Message](../types/Message.md)
***
-
$MadelineProto->[sendPaymentForm](sendPaymentForm.md)(\['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), 'order_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputCredentials](../types/InputCredentials.md), \]) === [$PaymentResult](../types/PaymentResult.md)
+
+$MadelineProto->[sendPaymentForm](sendPaymentForm.md)(\['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), 'order_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputCredentials](../types/InputCredentials.md), \]) === [$PaymentResult](../types/PaymentResult.md)
***
-
$MadelineProto->[setAlarm](setAlarm.md)(\['seconds' => [double](../types/double.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[setAlarm](setAlarm.md)(\['seconds' => [double](../types/double.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[setAuthPhoneNumber](setAuthPhoneNumber.md)(\['phone_number' => [string](../types/string.md), 'allow_flash_call' => [Bool](../types/Bool.md), 'is_current_phone_number' => [Bool](../types/Bool.md), \]) === [$AuthState](../types/AuthState.md)
+
+$MadelineProto->[setAuthPhoneNumber](setAuthPhoneNumber.md)(\['phone_number' => [string](../types/string.md), 'allow_flash_call' => [Bool](../types/Bool.md), 'is_current_phone_number' => [Bool](../types/Bool.md), \]) === [$AuthState](../types/AuthState.md)
***
-
$MadelineProto->[setBotUpdatesStatus](setBotUpdatesStatus.md)(\['pending_update_count' => [int](../types/int.md), 'error_message' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[setBotUpdatesStatus](setBotUpdatesStatus.md)(\['pending_update_count' => [int](../types/int.md), 'error_message' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[setChannelStickerSet](setChannelStickerSet.md)(\['channel_id' => [int](../types/int.md), 'sticker_set_id' => [int64](../constructors/int64.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[setChannelStickerSet](setChannelStickerSet.md)(\['channel_id' => [int](../types/int.md), 'sticker_set_id' => [int64](../constructors/int64.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[setChatClientData](setChatClientData.md)(\['chat_id' => [int53](../types/int53.md), 'client_data' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[setChatClientData](setChatClientData.md)(\['chat_id' => [int53](../types/int53.md), 'client_data' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[setFileGenerationProgress](setFileGenerationProgress.md)(\['generation_id' => [int64](../constructors/int64.md), 'size' => [int](../types/int.md), 'local_size' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[setFileGenerationProgress](setFileGenerationProgress.md)(\['generation_id' => [int64](../constructors/int64.md), 'size' => [int](../types/int.md), 'local_size' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[setGameScore](setGameScore.md)(\['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), 'edit_message' => [Bool](../types/Bool.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), 'force' => [Bool](../types/Bool.md), \]) === [$Message](../types/Message.md)
+
+$MadelineProto->[setGameScore](setGameScore.md)(\['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), 'edit_message' => [Bool](../types/Bool.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), 'force' => [Bool](../types/Bool.md), \]) === [$Message](../types/Message.md)
***
-
$MadelineProto->[setInlineGameScore](setInlineGameScore.md)(\['inline_message_id' => [string](../types/string.md), 'edit_message' => [Bool](../types/Bool.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), 'force' => [Bool](../types/Bool.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[setInlineGameScore](setInlineGameScore.md)(\['inline_message_id' => [string](../types/string.md), 'edit_message' => [Bool](../types/Bool.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), 'force' => [Bool](../types/Bool.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[setNetworkType](setNetworkType.md)(\['type' => [NetworkType](../types/NetworkType.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[setNetworkType](setNetworkType.md)(\['type' => [NetworkType](../types/NetworkType.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[setNotificationSettings](setNotificationSettings.md)(\['scope' => [NotificationSettingsScope](../types/NotificationSettingsScope.md), 'notification_settings' => [notificationSettings](../constructors/notificationSettings.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[setNotificationSettings](setNotificationSettings.md)(\['scope' => [NotificationSettingsScope](../types/NotificationSettingsScope.md), 'notification_settings' => [notificationSettings](../constructors/notificationSettings.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[setOption](setOption.md)(\['name' => [string](../types/string.md), 'value' => [OptionValue](../types/OptionValue.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[setOption](setOption.md)(\['name' => [string](../types/string.md), 'value' => [OptionValue](../types/OptionValue.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[setPassword](setPassword.md)(\['old_password' => [string](../types/string.md), 'new_password' => [string](../types/string.md), 'new_hint' => [string](../types/string.md), 'set_recovery_email' => [Bool](../types/Bool.md), 'new_recovery_email' => [string](../types/string.md), \]) === [$PasswordState](../types/PasswordState.md)
+
+$MadelineProto->[setPassword](setPassword.md)(\['old_password' => [string](../types/string.md), 'new_password' => [string](../types/string.md), 'new_hint' => [string](../types/string.md), 'set_recovery_email' => [Bool](../types/Bool.md), 'new_recovery_email' => [string](../types/string.md), \]) === [$PasswordState](../types/PasswordState.md)
***
-
$MadelineProto->[setPinnedChats](setPinnedChats.md)(\['chat_ids' => \[[int53](../types/int53.md)\], \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[setPinnedChats](setPinnedChats.md)(\['chat_ids' => \[[int53](../types/int53.md)\], \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[setPrivacy](setPrivacy.md)(\['key' => [PrivacyKey](../types/PrivacyKey.md), 'rules' => [privacyRules](../constructors/privacyRules.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[setPrivacy](setPrivacy.md)(\['key' => [PrivacyKey](../types/PrivacyKey.md), 'rules' => [privacyRules](../constructors/privacyRules.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[setProfilePhoto](setProfilePhoto.md)(\['photo' => [InputFile](../types/InputFile.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[setProfilePhoto](setProfilePhoto.md)(\['photo' => [InputFile](../types/InputFile.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[setProxy](setProxy.md)(\['proxy' => [Proxy](../types/Proxy.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[setProxy](setProxy.md)(\['proxy' => [Proxy](../types/Proxy.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[setRecoveryEmail](setRecoveryEmail.md)(\['password' => [string](../types/string.md), 'new_recovery_email' => [string](../types/string.md), \]) === [$PasswordState](../types/PasswordState.md)
+
+$MadelineProto->[setRecoveryEmail](setRecoveryEmail.md)(\['password' => [string](../types/string.md), 'new_recovery_email' => [string](../types/string.md), \]) === [$PasswordState](../types/PasswordState.md)
***
-
$MadelineProto->[setStickerPositionInSet](setStickerPositionInSet.md)(\['sticker' => [InputFile](../types/InputFile.md), 'position' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[setStickerPositionInSet](setStickerPositionInSet.md)(\['sticker' => [InputFile](../types/InputFile.md), 'position' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[terminateAllOtherSessions](terminateAllOtherSessions.md)(\[\]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[terminateAllOtherSessions](terminateAllOtherSessions.md)(\[\]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[terminateSession](terminateSession.md)(\['session_id' => [int64](../constructors/int64.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[terminateSession](terminateSession.md)(\['session_id' => [int64](../constructors/int64.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[testCallBytes](testCallBytes.md)(\['x' => [bytes](../types/bytes.md), \]) === [$TestBytes](../types/TestBytes.md)
+
+$MadelineProto->[testCallBytes](testCallBytes.md)(\['x' => [bytes](../types/bytes.md), \]) === [$TestBytes](../types/TestBytes.md)
***
-
$MadelineProto->[testCallEmpty](testCallEmpty.md)(\[\]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[testCallEmpty](testCallEmpty.md)(\[\]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[testCallString](testCallString.md)(\['x' => [string](../types/string.md), \]) === [$TestString](../types/TestString.md)
+
+$MadelineProto->[testCallString](testCallString.md)(\['x' => [string](../types/string.md), \]) === [$TestString](../types/TestString.md)
***
-
$MadelineProto->[testCallVectorInt](testCallVectorInt.md)(\['x' => \[[int](../types/int.md)\], \]) === [$TestVectorInt](../types/TestVectorInt.md)
+
+$MadelineProto->[testCallVectorInt](testCallVectorInt.md)(\['x' => \[[int](../types/int.md)\], \]) === [$TestVectorInt](../types/TestVectorInt.md)
***
-
$MadelineProto->[testCallVectorIntObject](testCallVectorIntObject.md)(\['x' => \[[testInt](../constructors/testInt.md)\], \]) === [$TestVectorIntObject](../types/TestVectorIntObject.md)
+
+$MadelineProto->[testCallVectorIntObject](testCallVectorIntObject.md)(\['x' => \[[testInt](../constructors/testInt.md)\], \]) === [$TestVectorIntObject](../types/TestVectorIntObject.md)
***
-
$MadelineProto->[testCallVectorString](testCallVectorString.md)(\['x' => \[[string](../types/string.md)\], \]) === [$TestVectorString](../types/TestVectorString.md)
+
+$MadelineProto->[testCallVectorString](testCallVectorString.md)(\['x' => \[[string](../types/string.md)\], \]) === [$TestVectorString](../types/TestVectorString.md)
***
-
$MadelineProto->[testCallVectorStringObject](testCallVectorStringObject.md)(\['x' => \[[testString](../constructors/testString.md)\], \]) === [$TestVectorStringObject](../types/TestVectorStringObject.md)
+
+$MadelineProto->[testCallVectorStringObject](testCallVectorStringObject.md)(\['x' => \[[testString](../constructors/testString.md)\], \]) === [$TestVectorStringObject](../types/TestVectorStringObject.md)
***
-
$MadelineProto->[testGetDifference](testGetDifference.md)(\[\]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[testGetDifference](testGetDifference.md)(\[\]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[testNetwork](testNetwork.md)(\[\]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[testNetwork](testNetwork.md)(\[\]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[testSquareInt](testSquareInt.md)(\['x' => [int](../types/int.md), \]) === [$TestInt](../types/TestInt.md)
+
+$MadelineProto->[testSquareInt](testSquareInt.md)(\['x' => [int](../types/int.md), \]) === [$TestInt](../types/TestInt.md)
***
-
$MadelineProto->[testUseError](testUseError.md)(\[\]) === [$Error](../types/Error.md)
+
+$MadelineProto->[testUseError](testUseError.md)(\[\]) === [$Error](../types/Error.md)
***
-
$MadelineProto->[testUseUpdate](testUseUpdate.md)(\[\]) === [$Update](../types/Update.md)
+
+$MadelineProto->[testUseUpdate](testUseUpdate.md)(\[\]) === [$Update](../types/Update.md)
***
-
$MadelineProto->[toggleChannelInvites](toggleChannelInvites.md)(\['channel_id' => [int](../types/int.md), 'anyone_can_invite' => [Bool](../types/Bool.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[toggleChannelInvites](toggleChannelInvites.md)(\['channel_id' => [int](../types/int.md), 'anyone_can_invite' => [Bool](../types/Bool.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[toggleChannelSignMessages](toggleChannelSignMessages.md)(\['channel_id' => [int](../types/int.md), 'sign_messages' => [Bool](../types/Bool.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[toggleChannelSignMessages](toggleChannelSignMessages.md)(\['channel_id' => [int](../types/int.md), 'sign_messages' => [Bool](../types/Bool.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[toggleChatIsPinned](toggleChatIsPinned.md)(\['chat_id' => [int53](../types/int53.md), 'is_pinned' => [Bool](../types/Bool.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[toggleChatIsPinned](toggleChatIsPinned.md)(\['chat_id' => [int53](../types/int53.md), 'is_pinned' => [Bool](../types/Bool.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[toggleGroupAdministrators](toggleGroupAdministrators.md)(\['group_id' => [int](../types/int.md), 'everyone_is_administrator' => [Bool](../types/Bool.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[toggleGroupAdministrators](toggleGroupAdministrators.md)(\['group_id' => [int](../types/int.md), 'everyone_is_administrator' => [Bool](../types/Bool.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[unblockUser](unblockUser.md)(\['user_id' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[unblockUser](unblockUser.md)(\['user_id' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[unpinChannelMessage](unpinChannelMessage.md)(\['channel_id' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[unpinChannelMessage](unpinChannelMessage.md)(\['channel_id' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[uploadFile](uploadFile.md)(\['file' => [InputFile](../types/InputFile.md), 'file_type' => [FileType](../types/FileType.md), 'priority' => [int](../types/int.md), \]) === [$File](../types/File.md)
+
+$MadelineProto->[uploadFile](uploadFile.md)(\['file' => [InputFile](../types/InputFile.md), 'file_type' => [FileType](../types/FileType.md), 'priority' => [int](../types/int.md), \]) === [$File](../types/File.md)
***
-
$MadelineProto->[uploadStickerFile](uploadStickerFile.md)(\['user_id' => [int](../types/int.md), 'png_sticker' => [InputFile](../types/InputFile.md), \]) === [$File](../types/File.md)
+
+$MadelineProto->[uploadStickerFile](uploadStickerFile.md)(\['user_id' => [int](../types/int.md), 'png_sticker' => [InputFile](../types/InputFile.md), \]) === [$File](../types/File.md)
***
-
$MadelineProto->[validateOrderInfo](validateOrderInfo.md)(\['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), 'order_info' => [orderInfo](../constructors/orderInfo.md), 'allow_save' => [Bool](../types/Bool.md), \]) === [$ValidatedOrderInfo](../types/ValidatedOrderInfo.md)
+
+$MadelineProto->[validateOrderInfo](validateOrderInfo.md)(\['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), 'order_info' => [orderInfo](../constructors/orderInfo.md), 'allow_save' => [Bool](../types/Bool.md), \]) === [$ValidatedOrderInfo](../types/ValidatedOrderInfo.md)
***
-
$MadelineProto->[viewMessages](viewMessages.md)(\['chat_id' => [int53](../types/int53.md), 'message_ids' => \[[int53](../types/int53.md)\], \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[viewMessages](viewMessages.md)(\['chat_id' => [int53](../types/int53.md), 'message_ids' => \[[int53](../types/int53.md)\], \]) === [$Ok](../types/Ok.md)
***
-
$MadelineProto->[viewTrendingStickerSets](viewTrendingStickerSets.md)(\['sticker_set_ids' => \[[int64](../constructors/int64.md)\], \]) === [$Ok](../types/Ok.md)
+
+$MadelineProto->[viewTrendingStickerSets](viewTrendingStickerSets.md)(\['sticker_set_ids' => \[[int64](../constructors/int64.md)\], \]) === [$Ok](../types/Ok.md)
diff --git a/docs/TD_docs/methods/index.md b/docs/TD_docs/methods/index.md
index 787d8813..285b8ad9 100644
--- a/docs/TD_docs/methods/index.md
+++ b/docs/TD_docs/methods/index.md
@@ -27,693 +27,463 @@ description: What do you want to do?
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
-***
-
* Accepts incoming call
+* Accepts incoming call
-***
-
* Adds new member to chat. Members can't be added to private or secret chats. Member will not be added until chat state will be synchronized with the server
+* Adds new member to chat. Members can't be added to private or secret chats. Member will not be added until chat state will be synchronized with the server
-***
-
* Adds many new members to the chat. Currently, available only for channels. Can't be used to join the channel. Members can't be added to broadcast channel if it has more than 200 members. Members will not be added until chat state will be synchronized with the server
+* Adds many new members to the chat. Currently, available only for channels. Can't be used to join the channel. Members can't be added to broadcast channel if it has more than 200 members. Members will not be added until chat state will be synchronized with the server
-***
-
* Adds new sticker to the list of favorite stickers. New sticker is added to the beginning of the list. If the sticker is already in the list, at first it is removed from the list. Only stickers belonging to a sticker set can be added to the list
+* Adds new sticker to the list of favorite stickers. New sticker is added to the beginning of the list. If the sticker is already in the list, at first it is removed from the list. Only stickers belonging to a sticker set can be added to the list
-***
-
* Adds specified data to data usage statistics. Can be called before authorization
+* Adds specified data to data usage statistics. Can be called before authorization
-***
-
* Manually adds new sticker to the list of recently used stickers. New sticker is added to the beginning of the list. If the sticker is already in the list, at first it is removed from the list. Only stickers belonging to a sticker set can be added to the list
+* Manually adds new sticker to the list of recently used stickers. New sticker is added to the beginning of the list. If the sticker is already in the list, at first it is removed from the list. Only stickers belonging to a sticker set can be added to the list
-***
-
* Adds chat to the list of recently found chats. The chat is added to the beginning of the list. If the chat is already in the list, at first it is removed from the list
+* Adds chat to the list of recently found chats. The chat is added to the beginning of the list. If the chat is already in the list, at first it is removed from the list
-***
-
* Manually adds new animation to the list of saved animations. New animation is added to the beginning of the list. If the animation is already in the list, at first it is removed from the list. Only non-secret video animations with MIME type "video/mp4" can be added to the list
+* Manually adds new animation to the list of saved animations. New animation is added to the beginning of the list. If the animation is already in the list, at first it is removed from the list. Only non-secret video animations with MIME type "video/mp4" can be added to the list
-***
-
* Bots only. Adds new sticker to a set. Returns the sticker set
+* Bots only. Adds new sticker to a set. Returns the sticker set
-***
-
* Bots only. Sets result of a callback query
+* Bots only. Sets result of a callback query
-***
-
* Bots only. Answers a custom query
+* Bots only. Answers a custom query
-***
-
* Bots only. Sets result of an inline query
+* Bots only. Sets result of an inline query
-***
-
* Bots only. Sets result of a pre checkout query
+* Bots only. Sets result of a pre checkout query
-***
-
* Bots only. Sets result of a shipping query
+* Bots only. Sets result of a shipping query
-***
-
* Adds user to black list
+* Adds user to black list
-***
-
* Stops file downloading. If file is already downloaded, does nothing
+* Stops file downloading. If file is already downloaded, does nothing
-***
-
* Stops file uploading. Works only for files uploaded using uploadFile. For other files the behavior is undefined
+* Stops file uploading. Works only for files uploaded using uploadFile. For other files the behavior is undefined
-***
-
* Changes about information of logged in user
+* Changes about information of logged in user
-***
-
* Changes period of inactivity, after which the account of currently logged in user will be automatically deleted
+* Changes period of inactivity, after which the account of currently logged in user will be automatically deleted
-***
-
* Changes information about the channel. Needs appropriate rights in the channel
+* Changes information about the channel. Needs appropriate rights in the channel
-***
-
* Changes username of the channel. Needs creator privileges in the channel
+* Changes username of the channel. Needs creator privileges in the channel
-***
-
* Changes chat draft message
+* Changes chat draft message
-***
-
* Changes status of the chat member, need appropriate privileges. This function is currently not suitable for adding new members to the chat, use addChatMember instead. Status will not be changed until chat state will be synchronized with the server
+* Changes status of the chat member, need appropriate privileges. This function is currently not suitable for adding new members to the chat, use addChatMember instead. Status will not be changed until chat state will be synchronized with the server
-***
-
* Changes chat photo. Works only for group and channel chats. Requires administrator rights in groups and appropriate administrator right in channels. Photo will not change before request to the server completes
+* Changes chat photo. Works only for group and channel chats. Requires administrator rights in groups and appropriate administrator right in channels. Photo will not change before request to the server completes
-***
-
* Reports chat as a spam chat or as not a spam chat. Can be used only if ChatReportSpamState.can_report_spam is true. After this request ChatReportSpamState.can_report_spam became false forever
+* Reports chat as a spam chat or as not a spam chat. Can be used only if ChatReportSpamState.can_report_spam is true. After this request ChatReportSpamState.can_report_spam became false forever
-***
-
* Changes chat title. Works only for group and channel chats. Requires administrator rights in groups and appropriate administrator right in channels. Title will not change before request to the server completes
+* Changes chat title. Works only for group and channel chats. Requires administrator rights in groups and appropriate administrator right in channels. Title will not change before request to the server completes
-***
-
* Changes first and last names of logged in user. If something changes, updateUser will be sent
+* Changes first and last names of logged in user. If something changes, updateUser will be sent
-***
-
* Changes user's phone number and sends authentication code to the new user's phone number. Returns authStateWaitCode with information about sent code on success
+* Changes user's phone number and sends authentication code to the new user's phone number. Returns authStateWaitCode with information about sent code on success
-***
-
* Installs/uninstalls or enables/archives sticker set
+* Installs/uninstalls or enables/archives sticker set
-***
-
* Changes username of logged in user. If something changes, updateUser will be sent
+* Changes username of logged in user. If something changes, updateUser will be sent
-***
-
* Check bot's authentication token to log in as a bot. Works only when getAuthState returns authStateWaitPhoneNumber. Can be used instead of setAuthPhoneNumber and checkAuthCode to log in. Returns authStateOk on success
+* Check bot's authentication token to log in as a bot. Works only when getAuthState returns authStateWaitPhoneNumber. Can be used instead of setAuthPhoneNumber and checkAuthCode to log in. Returns authStateOk on success
-***
-
* Checks authentication code. Works only when getAuthState returns authStateWaitCode. Returns authStateWaitPassword or authStateOk on success
+* Checks authentication code. Works only when getAuthState returns authStateWaitCode. Returns authStateWaitPassword or authStateOk on success
-***
-
* Checks password for correctness. Works only when getAuthState returns authStateWaitPassword. Returns authStateOk on success
+* Checks password for correctness. Works only when getAuthState returns authStateWaitPassword. Returns authStateOk on success
-***
-
* Checks authentication code sent to change user's phone number. Returns authStateOk on success
+* Checks authentication code sent to change user's phone number. Returns authStateOk on success
-***
-
* Checks chat invite link for validness and returns information about the corresponding chat
+* Checks chat invite link for validness and returns information about the corresponding chat
-***
-
* Clears list of recently used stickers
+* Clears list of recently used stickers
-***
-
* Chat is closed by the user. Many useful activities depends on chat being opened or closed.
+* Chat is closed by the user. Many useful activities depends on chat being opened or closed.
-***
-
* Closes secret chat, effectively transfering its state to "Closed"
+* Closes secret chat, effectively transfering its state to "Closed"
-***
-
* Creates new call
+* Creates new call
-***
-
* Returns existing chat corresponding to the known channel
+* Returns existing chat corresponding to the known channel
-***
-
* Returns existing chat corresponding to the known group
+* Returns existing chat corresponding to the known group
-***
-
* Creates new channel chat and send corresponding messageChannelChatCreate, returns created chat
+* Creates new channel chat and send corresponding messageChannelChatCreate, returns created chat
-***
-
* Creates new group chat and send corresponding messageGroupChatCreate, returns created chat
+* Creates new group chat and send corresponding messageGroupChatCreate, returns created chat
-***
-
* Creates new secret chat, returns created chat
+* Creates new secret chat, returns created chat
-***
-
* Bots only. Creates new sticker set. Returns created sticker set
+* Bots only. Creates new sticker set. Returns created sticker set
-***
-
* Returns existing chat corresponding to the given user
+* Returns existing chat corresponding to the given user
-***
-
* Returns existing chat corresponding to the known secret chat
+* Returns existing chat corresponding to the known secret chat
-***
-
* Creates new temporary password for payments processing
+* Creates new temporary password for payments processing
-***
-
* Sends call debug information
+* Sends call debug information
-***
-
* Deletes the account of currently logged in user, deleting from the server all information associated with it. Account's phone number can be used to create new account, but only once in two weeks
+* Deletes the account of currently logged in user, deleting from the server all information associated with it. Account's phone number can be used to create new account, but only once in two weeks
-***
-
* Deletes channel along with all messages in corresponding chat. Releases channel username and removes all members. Needs creator privileges in the channel. Channels with more than 1000 members can't be deleted
+* Deletes channel along with all messages in corresponding chat. Releases channel username and removes all members. Needs creator privileges in the channel. Channels with more than 1000 members can't be deleted
-***
-
* Deletes all messages in the chat. Can't be used for channel chats
+* Deletes all messages in the chat. Can't be used for channel chats
-***
-
* Deletes default reply markup from chat. This method needs to be called after one-time keyboard or ForceReply reply markup has been used. UpdateChatReplyMarkup will be send if reply markup will be changed
+* Deletes default reply markup from chat. This method needs to be called after one-time keyboard or ForceReply reply markup has been used. UpdateChatReplyMarkup will be send if reply markup will be changed
-***
-
* Deletes users from contacts list
+* Deletes users from contacts list
-***
-
* Removes a sticker from the list of favorite stickers
+* Removes a sticker from the list of favorite stickers
-***
-
* Deletes a file from TDLib file cache
+* Deletes a file from TDLib file cache
-***
-
* Deletes all imported contacts
+* Deletes all imported contacts
-***
-
* Deletes messages
+* Deletes messages
-***
-
* Deletes all messages in the chat sent by the specified user. Works only in supergroup channel chats, needs can_delete_messages administrator privileges
+* Deletes all messages in the chat sent by the specified user. Works only in supergroup channel chats, needs can_delete_messages administrator privileges
-***
-
* Deletes profile photo. If something changes, updateUser will be sent
+* Deletes profile photo. If something changes, updateUser will be sent
-***
-
* Deletes a hashtag from the list of recently used hashtags
+* Deletes a hashtag from the list of recently used hashtags
-***
-
* Removes a sticker from the list of recently used stickers
+* Removes a sticker from the list of recently used stickers
-***
-
* Deletes chat from the list of recently found chats
+* Deletes chat from the list of recently found chats
-***
-
* Clears list of recently found chats
+* Clears list of recently found chats
-***
-
* Removes an animation from the list of saved animations
+* Removes an animation from the list of saved animations
-***
-
* Deletes saved credentials for all payments provider bots
+* Deletes saved credentials for all payments provider bots
-***
-
* Deletes saved order info
+* Deletes saved order info
-***
-
* Bots only. Deletes a sticker from the set it belongs to. Sticker set should be created by the bot
+* Bots only. Deletes a sticker from the set it belongs to. Sticker set should be created by the bot
-***
-
* Delete a chat from a list of frequently used chats. Supported only if chat info database is enabled
+* Delete a chat from a list of frequently used chats. Supported only if chat info database is enabled
-***
-
* Discards a call
+* Discards a call
-***
-
* Asynchronously downloads file from cloud. Updates updateFile will notify about download progress and successful download
+* Asynchronously downloads file from cloud. Updates updateFile will notify about download progress and successful download
-***
-
* Bots only. Edits caption of an inline message content sent via bot
+* Bots only. Edits caption of an inline message content sent via bot
-***
-
* Bots only. Edits reply markup of an inline message sent via bot
+* Bots only. Edits reply markup of an inline message sent via bot
-***
-
* Bots only. Edits text of an inline text or game message sent via bot
+* Bots only. Edits text of an inline text or game message sent via bot
-***
-
* Edits message content caption. Non-bots can edit message in a limited period of time. Returns edited message after edit is complete server side
+* Edits message content caption. Non-bots can edit message in a limited period of time. Returns edited message after edit is complete server side
-***
-
* Bots only. Edits message reply markup. Returns edited message after edit is complete server side
+* Bots only. Edits message reply markup. Returns edited message after edit is complete server side
-***
-
* Edits text of text or game message. Non-bots can edit message in a limited period of time. Returns edited message after edit is complete server side
+* Edits text of text or game message. Non-bots can edit message in a limited period of time. Returns edited message after edit is complete server side
-***
-
* Generates new chat invite link, previously generated link is revoked. Available for group and channel chats. In groups can be called only by creator, in channels requires appropriate rights
+* Generates new chat invite link, previously generated link is revoked. Available for group and channel chats. In groups can be called only by creator, in channels requires appropriate rights
-***
-
* Finishes file generation
+* Finishes file generation
-***
-
* Forwards previously sent messages. Returns forwarded messages in the same order as message identifiers passed in message_ids. If message can't be forwarded, null will be returned instead of the message
+* Forwards previously sent messages. Returns forwarded messages in the same order as message identifiers passed in message_ids. If message can't be forwarded, null will be returned instead of the message
-***
-
* Returns period of inactivity, after which the account of currently logged in user will be automatically deleted
+* Returns period of inactivity, after which the account of currently logged in user will be automatically deleted
-***
-
* Returns all active sessions of logged in user
+* Returns all active sessions of logged in user
-***
-
* Returns list of archived sticker sets
+* Returns list of archived sticker sets
-***
-
* Returns list of sticker sets attached to a file, currently only photos and videos can have attached sticker sets
+* Returns list of sticker sets attached to a file, currently only photos and videos can have attached sticker sets
-***
-
* Returns current authorization state, offline request
+* Returns current authorization state, offline request
-***
-
* Returns users blocked by the current user
+* Returns users blocked by the current user
-***
-
* Sends callback query to a bot and returns answer to it. Returns error with code 502 if bot fails to answer the query before query timeout expires. Unavailable for bots
+* Sends callback query to a bot and returns answer to it. Returns error with code 502 if bot fails to answer the query before query timeout expires. Unavailable for bots
-***
-
* Returns information about a channel by its identifier, offline request if current user is not a bot
+* Returns information about a channel by its identifier, offline request if current user is not a bot
-***
-
* Returns full information about a channel by its identifier, cached for at most 1 minute
+* Returns full information about a channel by its identifier, cached for at most 1 minute
-***
-
* Returns information about channel members or banned users. Can be used only if channel_full->can_get_members == true. Administrator privileges may be additionally needed for some filters
+* Returns information about channel members or banned users. Can be used only if channel_full->can_get_members == true. Administrator privileges may be additionally needed for some filters
-***
-
* Returns information about a chat by its identifier, offline request if current user is not a bot
+* Returns information about a chat by its identifier, offline request if current user is not a bot
-***
-
* Returns list of service actions taken by chat members and administrators in the last 48 hours, available only in channels. Requires administrator rights. Returns result in reverse chronological order, i. e. in order of decreasing event_id
+* Returns list of service actions taken by chat members and administrators in the last 48 hours, available only in channels. Requires administrator rights. Returns result in reverse chronological order, i. e. in order of decreasing event_id
-***
-
* Returns messages in a chat. Returns result in reverse chronological order, i.e. in order of decreasing message.message_id. Offline request if only_local is true
+* Returns messages in a chat. Returns result in reverse chronological order, i.e. in order of decreasing message.message_id. Offline request if only_local is true
-***
-
* Returns information about one participant of the chat
+* Returns information about one participant of the chat
-***
-
* Returns current chat report spam state
+* Returns current chat report spam state
-***
-
* Returns list of chats in the right order, chats are sorted by (order, chat_id) in decreasing order. For example, to get list of chats from the beginning, the offset_order should be equal 2^63 - 1
+* Returns list of chats in the right order, chats are sorted by (order, chat_id) in decreasing order. For example, to get list of chats from the beginning, the offset_order should be equal 2^63 - 1
-***
-
* Returns list of common chats with an other given user. Chats are sorted by their type and creation date
+* Returns list of common chats with an other given user. Chats are sorted by their type and creation date
-***
-
* Returns list of created public chats
+* Returns list of created public chats
-***
-
* Returns favorite stickers
+* Returns favorite stickers
-***
-
* Returns information about a file, offline request
+* Returns information about a file, offline request
-***
-
* Returns file's extension guessing only by its mime type. Returns empty string on failure. Offline method. Can be called before authorization. Can be called synchronously
+* Returns file's extension guessing only by its mime type. Returns empty string on failure. Offline method. Can be called before authorization. Can be called synchronously
-***
-
* Returns file's mime type guessing only by its extension. Returns empty string on failure. Offline method. Can be called before authorization. Can be called synchronously
+* Returns file's mime type guessing only by its extension. Returns empty string on failure. Offline method. Can be called before authorization. Can be called synchronously
-***
-
* Returns information about a file by its persistent id, offline request. May be used to register a URL as a file for further uploading or sending as message
+* Returns information about a file by its persistent id, offline request. May be used to register a URL as a file for further uploading or sending as message
-***
-
* Bots only. Returns game high scores and some part of the score table around of the specified user in the game
+* Bots only. Returns game high scores and some part of the score table around of the specified user in the game
-***
-
* Returns information about a group by its identifier, offline request if current user is not a bot
+* Returns information about a group by its identifier, offline request if current user is not a bot
-***
-
* Returns full information about a group by its identifier
+* Returns full information about a group by its identifier
-***
-
* Returns total number of imported contacts
+* Returns total number of imported contacts
-***
-
* Bots only. Returns game high scores and some part of the score table around of the specified user in the game
+* Bots only. Returns game high scores and some part of the score table around of the specified user in the game
-***
-
* Sends inline query to a bot and returns its results. Returns error with code 502 if bot fails to answer the query before query timeout expires. Unavailable for bots
+* Sends inline query to a bot and returns its results. Returns error with code 502 if bot fails to answer the query before query timeout expires. Unavailable for bots
-***
-
* Returns list of installed sticker sets
+* Returns list of installed sticker sets
-***
-
* Returns invite text for invitation of new users
+* Returns invite text for invitation of new users
-***
-
* Returns current logged in user
+* Returns current logged in user
-***
-
* Returns information about a message
+* Returns information about a message
-***
-
* Returns information about messages. If message is not found, returns null on the corresponding position of the result
+* Returns information about messages. If message is not found, returns null on the corresponding position of the result
-***
-
* Returns network data usage statistics. Can be called before authorization
+* Returns network data usage statistics. Can be called before authorization
-***
-
* Returns notification settings for a given scope
+* Returns notification settings for a given scope
-***
-
* Returns value of an option by its name. See list of available options on https: core.telegram.org/tdlib/options. Can be called before authorization
+* Returns value of an option by its name. See list of available options on https: core.telegram.org/tdlib/options. Can be called before authorization
-***
-
* Returns current state of two-step verification
+* Returns current state of two-step verification
-***
-
* Returns invoice payment form. The method should be called when user presses inlineKeyboardButtonBuy
+* Returns invoice payment form. The method should be called when user presses inlineKeyboardButtonBuy
-***
-
* Returns information about successful payment
+* Returns information about successful payment
-***
-
* Returns current privacy settings
+* Returns current privacy settings
-***
-
* Returns current set up proxy. Can be called before authorization
+* Returns current set up proxy. Can be called before authorization
-***
-
* Returns public HTTPS link to a message. Available only for messages in public channels
+* Returns public HTTPS link to a message. Available only for messages in public channels
-***
-
* Returns up to 20 recently used inline bots in the order of the last usage
+* Returns up to 20 recently used inline bots in the order of the last usage
-***
-
* Returns list of recently used stickers
+* Returns list of recently used stickers
-***
-
* Returns set up recovery email. This method can be used to verify a password provided by the user
+* Returns set up recovery email. This method can be used to verify a password provided by the user
-***
-
* Returns saved animations
+* Returns saved animations
-***
-
* Returns saved order info if any
+* Returns saved order info if any
-***
-
* Returns information about a secret chat by its identifier, offline request
+* Returns information about a secret chat by its identifier, offline request
-***
-
* Returns emojis corresponding to a sticker
+* Returns emojis corresponding to a sticker
-***
-
* Returns information about sticker set by its identifier
+* Returns information about sticker set by its identifier
-***
-
* Returns stickers from installed ordinary sticker sets corresponding to the given emoji. If emoji is not empty, elso favorite and recently used stickers may be returned
+* Returns stickers from installed ordinary sticker sets corresponding to the given emoji. If emoji is not empty, elso favorite and recently used stickers may be returned
-***
-
* Returns storage usage statistics
+* Returns storage usage statistics
-***
-
* Quickly returns approximate storage usage statistics
+* Quickly returns approximate storage usage statistics
-***
-
* Returns user that can be contacted to get support
+* Returns user that can be contacted to get support
-***
-
* Returns information about current temporary password
+* Returns information about current temporary password
-***
-
* Returns terms of service. Can be called before authorization
+* Returns terms of service. Can be called before authorization
-***
-
* Returns all mentions, hashtags, bot commands, URLs and emails contained in the text. Offline method. Can be called before authorization. Can be called synchronously
+* Returns all mentions, hashtags, bot commands, URLs and emails contained in the text. Offline method. Can be called before authorization. Can be called synchronously
-***
-
* Returns a list of frequently used chats. Supported only if chat info database is enabled
+* Returns a list of frequently used chats. Supported only if chat info database is enabled
-***
-
* Returns list of trending sticker sets
+* Returns list of trending sticker sets
-***
-
* Returns information about a user by its identifier, offline request if current user is not a bot
+* Returns information about a user by its identifier, offline request if current user is not a bot
-***
-
* Returns full information about a user by its identifier
+* Returns full information about a user by its identifier
-***
-
* Returns profile photos of the user. Result of this query may be outdated: some photos may be already deleted
+* Returns profile photos of the user. Result of this query may be outdated: some photos may be already deleted
-***
-
* Returns background wallpapers
+* Returns background wallpapers
-***
-
* Returns web page instant view if available. Returns error 404 if web page has no instant view
+* Returns web page instant view if available. Returns error 404 if web page has no instant view
-***
-
* Returns web page preview by text of the message. Do not call this function to often. Returns error 404 if web page has no preview
+* Returns web page preview by text of the message. Do not call this function to often. Returns error 404 if web page has no preview
-***
-
* Imports chat invite link, adds current user to a chat if possible. Member will not be added until chat state will be synchronized with the server
+* Imports chat invite link, adds current user to a chat if possible. Member will not be added until chat state will be synchronized with the server
-***
-
* Adds new contacts/edits existing contacts, contacts user identifiers are ignored
+* Adds new contacts/edits existing contacts, contacts user identifiers are ignored
-***
-
* Creates new channel supergroup chat from existing group chat and send corresponding messageChatMigrateTo and messageChatMigrateFrom. Deactivates group
+* Creates new channel supergroup chat from existing group chat and send corresponding messageChatMigrateTo and messageChatMigrateFrom. Deactivates group
-***
-
* Chat is opened by the user. Many useful activities depends on chat being opened or closed. For example, in channels all updates are received only for opened chats
+* Chat is opened by the user. Many useful activities depends on chat being opened or closed. For example, in channels all updates are received only for opened chats
-***
-
* Message content is opened, for example the user has opened a photo, a video, a document, a location or a venue or have listened to an audio or a voice message. You will receive updateOpenMessageContent if something has changed
+* Message content is opened, for example the user has opened a photo, a video, a document, a location or a venue or have listened to an audio or a voice message. You will receive updateOpenMessageContent if something has changed
-***
-
* Optimizes storage usage, i.e. deletes some files and return new storage usage statistics. Secret thumbnails can't be deleted
+* Optimizes storage usage, i.e. deletes some files and return new storage usage statistics. Secret thumbnails can't be deleted
-***
-
* Pins a message in a supergroup channel chat. Needs appropriate rights in the channel
+* Pins a message in a supergroup channel chat. Needs appropriate rights in the channel
-***
-
* Handles DC_UPDATE push service notification. Can be called before authorization
+* Handles DC_UPDATE push service notification. Can be called before authorization
-***
-
* Sends call rating
+* Sends call rating
-***
-
* Recovers password with recovery code sent to email. Works only when getAuthState returns authStateWaitPassword. Returns authStateOk on success
+* Recovers password with recovery code sent to email. Works only when getAuthState returns authStateWaitPassword. Returns authStateOk on success
-***
-
* Recovers password with recovery code sent to email
+* Recovers password with recovery code sent to email
-***
-
* Registers current used device for receiving push notifications
+* Registers current used device for receiving push notifications
-***
-
* Changes the order of installed sticker sets
+* Changes the order of installed sticker sets
-***
-
* Reports some supergroup channel messages from a user as spam messages
+* Reports some supergroup channel messages from a user as spam messages
-***
-
* Reports chat to Telegram moderators. Can be used only for a channel chat or a private chat with a bot, because all other chats can't be checked by moderators
+* Reports chat to Telegram moderators. Can be used only for a channel chat or a private chat with a bot, because all other chats can't be checked by moderators
-***
-
* Requests to send password recovery code to email. Works only when getAuthState returns authStateWaitPassword. Returns authStateWaitPassword on success
+* Requests to send password recovery code to email. Works only when getAuthState returns authStateWaitPassword. Returns authStateWaitPassword on success
-***
-
* Requests to send password recovery code to email
+* Requests to send password recovery code to email
-***
-
* Resends authentication code to the user. Works only when getAuthState returns authStateWaitCode and next_code_type of result is not null. Returns authStateWaitCode on success
+* Resends authentication code to the user. Works only when getAuthState returns authStateWaitCode and next_code_type of result is not null. Returns authStateWaitCode on success
-***
-
* Resends authentication code sent to change user's phone number. Wotks only if in previously received authStateWaitCode next_code_type was not null. Returns authStateWaitCode on success
+* Resends authentication code sent to change user's phone number. Wotks only if in previously received authStateWaitCode next_code_type was not null. Returns authStateWaitCode on success
-***
-
* Resets all notification settings to the default value. By default the only muted chats are supergroups, sound is set to 'default' and message previews are showed
+* Resets all notification settings to the default value. By default the only muted chats are supergroups, sound is set to 'default' and message previews are showed
-***
-
* Logs out user. If force == false, begins to perform soft log out, returns authStateLoggingOut after completion. If force == true then succeeds almost immediately without cleaning anything at the server, but returns error with code 401 and description "Unauthorized"
+* Logs out user. If force == false, begins to perform soft log out, returns authStateLoggingOut after completion. If force == true then succeeds almost immediately without cleaning anything at the server, but returns error with code 401 and description "Unauthorized"
-***
-
* Resets all network data usage statistics to zero. Can be called before authorization
+* Resets all network data usage statistics to zero. Can be called before authorization
-***
-
* Searches for call messages. Returns result in reverse chronological order, i. e. in order of decreasing message_id
+* Searches for call messages. Returns result in reverse chronological order, i. e. in order of decreasing message_id
-***
-
* Searches for the specified query in the first name, last name and username among members of the specified chat. Requires administrator rights in broadcast channels
+* Searches for the specified query in the first name, last name and username among members of the specified chat. Requires administrator rights in broadcast channels
-***
-
* Searches for messages with given words in the chat. Returns result in reverse chronological order, i. e. in order of decreasing message_id. Doesn't work in secret chats with non-empty query (searchSecretMessages should be used instead) or without enabled message database
+* Searches for messages with given words in the chat. Returns result in reverse chronological order, i. e. in order of decreasing message_id. Doesn't work in secret chats with non-empty query (searchSecretMessages should be used instead) or without enabled message database
-***
-
* Searches for specified query in the title and username of known chats, offline request. Returns chats in the order of them in the chat list
+* Searches for specified query in the title and username of known chats, offline request. Returns chats in the order of them in the chat list
-***
-
* Searches for specified query in the first name, last name and username of the known user contacts
+* Searches for specified query in the first name, last name and username of the known user contacts
-***
-
* Searches for recently used hashtags by their prefix
+* Searches for recently used hashtags by their prefix
-***
-
* Searches for messages in all chats except secret chats. Returns result in reverse chronological order, i. e. in order of decreasing (date, chat_id, message_id)
+* Searches for messages in all chats except secret chats. Returns result in reverse chronological order, i. e. in order of decreasing (date, chat_id, message_id)
-***
-
* Searches public chat by its username. Currently only private and channel chats can be public. Returns chat if found, otherwise some error is returned
+* Searches public chat by its username. Currently only private and channel chats can be public. Returns chat if found, otherwise some error is returned
-***
-
* Searches public chats by prefix of their username. Currently only private and channel (including supergroup) chats can be public. Returns meaningful number of results. Returns nothing if length of the searched username prefix is less than 5. Excludes private chats with contacts from the results
+* Searches public chats by prefix of their username. Currently only private and channel (including supergroup) chats can be public. Returns meaningful number of results. Returns nothing if length of the searched username prefix is less than 5. Excludes private chats with contacts from the results
-***
-
* Searches for messages in secret chats. Returns result in reverse chronological order
+* Searches for messages in secret chats. Returns result in reverse chronological order
-***
-
* Searches sticker set by its short name
+* Searches sticker set by its short name
-***
-
* Invites bot to a chat (if it is not in the chat) and send /start to it. Bot can't be invited to a private chat other than chat with the bot. Bots can't be invited to broadcast channel chats and secret chats. Returns sent message
+* Invites bot to a chat (if it is not in the chat) and send /start to it. Bot can't be invited to a private chat other than chat with the bot. Bots can't be invited to broadcast channel chats and secret chats. Returns sent message
-***
-
* Sends notification about user activity in a chat
+* Sends notification about user activity in a chat
-***
-
* Sends notification about screenshot taken in a chat. Works only in private and secret chats
+* Sends notification about screenshot taken in a chat. Works only in private and secret chats
-***
-
* Changes current ttl setting in a secret chat and sends corresponding message
+* Changes current ttl setting in a secret chat and sends corresponding message
-***
-
* Bots only. Sends custom request
+* Bots only. Sends custom request
-***
-
* Sends result of the inline query as a message. Returns sent message. Always clears chat draft message
+* Sends result of the inline query as a message. Returns sent message. Always clears chat draft message
-***
-
* Sends a message. Returns sent message
+* Sends a message. Returns sent message
-***
-
* Sends filled payment form to the bot for the final verification
+* Sends filled payment form to the bot for the final verification
-***
-
* Returns Ok after specified amount of the time passed. Can be called before authorization
+* Returns Ok after specified amount of the time passed. Can be called before authorization
-***
-
* Sets user's phone number and sends authentication code to the user. Works only when getAuthState returns authStateWaitPhoneNumber. If phone number is not recognized or another error has happened, returns an error. Otherwise returns authStateWaitCode
+* Sets user's phone number and sends authentication code to the user. Works only when getAuthState returns authStateWaitPhoneNumber. If phone number is not recognized or another error has happened, returns an error. Otherwise returns authStateWaitCode
-***
-
* Bots only. Informs server about number of pending bot updates if they aren't processed for a long time
+* Bots only. Informs server about number of pending bot updates if they aren't processed for a long time
-***
-
* Changes sticker set of the channel. Needs appropriate rights in the channel
+* Changes sticker set of the channel. Needs appropriate rights in the channel
-***
-
* Changes client data associated with a chat
+* Changes client data associated with a chat
-***
-
* Next part of a file was generated
+* Next part of a file was generated
-***
-
* Bots only. Updates game score of the specified user in the game
+* Bots only. Updates game score of the specified user in the game
-***
-
* Bots only. Updates game score of the specified user in the game
+* Bots only. Updates game score of the specified user in the game
-***
-
* Sets current network type. Can be called before authorization. Call to this method forces reopening of all network connections mitigating delay in switching between different networks, so it should be called whenever network is changed even network type remains the same. -Network type is used to check if library can use network at all and for collecting detailed network data usage statistics
+* Sets current network type. Can be called before authorization. Call to this method forces reopening of all network connections mitigating delay in switching between different networks, so it should be called whenever network is changed even network type remains the same. -Network type is used to check if library can use network at all and for collecting detailed network data usage statistics
-***
-
* Changes notification settings for a given scope
+* Changes notification settings for a given scope
-***
-
* Sets value of an option. See list of available options on https: core.telegram.org/tdlib/options. Only writable options can be set. Can be called before authorization
+* Sets value of an option. See list of available options on https: core.telegram.org/tdlib/options. Only writable options can be set. Can be called before authorization
-***
-
* Changes user password. If new recovery email is specified, then error EMAIL_UNCONFIRMED is returned and password change will not be applied until email confirmation. Application should call getPasswordState from time to time to check if email is already confirmed
+* Changes user password. If new recovery email is specified, then error EMAIL_UNCONFIRMED is returned and password change will not be applied until email confirmation. Application should call getPasswordState from time to time to check if email is already confirmed
-***
-
* Changes list or order of pinned chats
+* Changes list or order of pinned chats
-***
-
* Changes privacy settings
+* Changes privacy settings
-***
-
* Uploads new profile photo for logged in user. If something changes, updateUser will be sent
+* Uploads new profile photo for logged in user. If something changes, updateUser will be sent
-***
-
* Sets proxy server for network requests. Can be called before authorization
+* Sets proxy server for network requests. Can be called before authorization
-***
-
* Changes user recovery email. If new recovery email is specified, then error EMAIL_UNCONFIRMED is returned and email will not be changed until email confirmation. Application should call getPasswordState from time to time to check if email is already confirmed. -If new_recovery_email coincides with the current set up email succeeds immediately and aborts all other requests waiting for email confirmation
+* Changes user recovery email. If new recovery email is specified, then error EMAIL_UNCONFIRMED is returned and email will not be changed until email confirmation. Application should call getPasswordState from time to time to check if email is already confirmed. -If new_recovery_email coincides with the current set up email succeeds immediately and aborts all other requests waiting for email confirmation
-***
-
* Bots only. Changes position of a sticker in the set it belongs to. Sticker set should be created by the bot
+* Bots only. Changes position of a sticker in the set it belongs to. Sticker set should be created by the bot
-***
-
* Terminates all other sessions of logged in user
+* Terminates all other sessions of logged in user
-***
-
* Terminates another session of logged in user
+* Terminates another session of logged in user
-***
-
* Test request. Returns back received bytes
+* Test request. Returns back received bytes
-***
-
* Test request. Does nothing
+* Test request. Does nothing
-***
-
* Test request. Returns back received string
+* Test request. Returns back received string
-***
-
* Test request. Returns back received vector of numbers
+* Test request. Returns back received vector of numbers
-***
-
* Test request. Returns back received vector of objects containing a number
+* Test request. Returns back received vector of objects containing a number
-***
-
* Test request. Returns back received vector of strings
+* Test request. Returns back received vector of strings
-***
-
* Test request. Returns back received vector of objects containing a string
+* Test request. Returns back received vector of objects containing a string
-***
-
* Test request. Forces updates.getDifference call to telegram servers
+* Test request. Forces updates.getDifference call to telegram servers
-***
-
* Test request. Sends simple network request to telegram servers
+* Test request. Sends simple network request to telegram servers
-***
-
* Test request. Returns squared received number
+* Test request. Returns squared received number
-***
-
* Test request. Does nothing, ensures that the Error object is used
+* Test request. Does nothing, ensures that the Error object is used
-***
-
* Test request. Does nothing, ensures that the Update object is used
+* Test request. Does nothing, ensures that the Update object is used
-***
-
* Gives or revokes right to invite new members to all current members of the channel. Needs appropriate rights in the channel. Available only for supergroups
+* Gives or revokes right to invite new members to all current members of the channel. Needs appropriate rights in the channel. Available only for supergroups
-***
-
* Enables or disables sender signature on sent messages in the channel. Needs appropriate rights in the channel. Not available for supergroups
+* Enables or disables sender signature on sent messages in the channel. Needs appropriate rights in the channel. Not available for supergroups
-***
-
* Changes chat pinned state. You can pin up to getOption("pinned_chat_count_max") non-secret chats and the same number of secret chats
+* Changes chat pinned state. You can pin up to getOption("pinned_chat_count_max") non-secret chats and the same number of secret chats
-***
-
* Gives or revokes all members of the group administrator rights. Needs creator privileges in the group
+* Gives or revokes all members of the group administrator rights. Needs creator privileges in the group
-***
-
* Removes user from black list
+* Removes user from black list
-***
-
* Removes pinned message in the supergroup channel. Needs appropriate rights in the channel
+* Removes pinned message in the supergroup channel. Needs appropriate rights in the channel
-***
-
* Asynchronously uploads file to the cloud without sending it in a message. Updates updateFile will notify about upload progress and successful upload. The file will not have persistent identifier until it will be sent in a message
+* Asynchronously uploads file to the cloud without sending it in a message. Updates updateFile will notify about upload progress and successful upload. The file will not have persistent identifier until it will be sent in a message
-***
-
* Bots only. Uploads a png image with a sticker. Returns uploaded file
+* Bots only. Uploads a png image with a sticker. Returns uploaded file
-***
-
* Validates order information provided by the user and returns available shipping options for flexible invoice
+* Validates order information provided by the user and returns available shipping options for flexible invoice
-***
-
* Messages are viewed by the user. Many useful activities depends on message being viewed. For example, marking messages as read, incrementing of view counter, updating of view counter, removing of deleted messages in channels
+* Messages are viewed by the user. Many useful activities depends on message being viewed. For example, marking messages as read, incrementing of view counter, updating of view counter, removing of deleted messages in channels
-***
-
* Informs that some trending sticker sets are viewed by the user
+* Informs that some trending sticker sets are viewed by the user
diff --git a/old_docs/API_docs_v18/methods/README.md b/old_docs/API_docs_v18/methods/README.md
index 7e3c9301..21d688a3 100644
--- a/old_docs/API_docs_v18/methods/README.md
+++ b/old_docs/API_docs_v18/methods/README.md
@@ -27,8 +27,7 @@ description: What do you want to do?
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
-***
-
* Check if this username is available
+* Check if this username is available
* Get notification settings
@@ -48,33 +47,17 @@ description: What do you want to do?
* Update this user's username
-***
-
* You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info
-
* Check if this phone number is registered on telegram
-* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)
-
* Delete all logged-in sessions.
* Send verification phone call
-* Use phone_login instead
-
* Invite friends to telegram!
* Send SMS verification code
-* You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)
-
-***
-
* Block a user
+* Block a user
* Delete a contact
@@ -98,8 +81,7 @@ description: What do you want to do?
* Unblock a user
-***
-
* Get info about app updates
+* Get info about app updates
* Get server configuration
@@ -111,20 +93,13 @@ description: What do you want to do?
* Log data for developer of this app
-***
-
* Initializes connection and save information on the user's device and application.
+* Initializes connection and save information on the user's device and application.
-***
-
* Invokes a query after successfull completion of one of the previous queries.
+* Invokes a query after successfull completion of one of the previous queries.
-***
-
* Result type returned by a current query.
+* Result type returned by a current query.
-***
-
* Invoke this method with layer 18
-
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
+* Invoke this method with layer 18
* Add a user to a normal chat (use channels->inviteToChannel for supergroups)
@@ -136,8 +111,6 @@ description: What do you want to do?
* Delete messages
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Edit the photo of a normal chat (not supergroup)
* Edit the title of a normal chat (not supergroup)
@@ -148,12 +121,8 @@ description: What do you want to do?
* Get info about chats
-* You cannot use this method directly, instead use $MadelineProto->get_dh_config();
-
* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get previous messages of a group
* Get messages
@@ -166,12 +135,8 @@ description: What do you want to do?
* Mark messages as read
-* You cannot use this method directly
-
* Report a peer for spam
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Search peers or messages
* Send a message to all users in the chat list
@@ -190,8 +155,7 @@ description: What do you want to do?
* Change typing status
-***
-
* Delete profile photos
+* Delete profile photos
* Get the profile photos of a user
@@ -199,20 +163,5 @@ description: What do you want to do?
* Upload profile photo
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-***
-
* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-***
-
* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get info about users
diff --git a/old_docs/API_docs_v18/methods/api_README.md b/old_docs/API_docs_v18/methods/api_README.md
index b4089452..0c981522 100644
--- a/old_docs/API_docs_v18/methods/api_README.md
+++ b/old_docs/API_docs_v18/methods/api_README.md
@@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
***
-
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[account->getNotifySettings](account_getNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), \]) === [$PeerNotifySettings](../types/PeerNotifySettings.md)
@@ -55,7 +56,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)
***
-
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[auth->checkPhone](auth_checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth\_CheckedPhone](../types/auth_CheckedPhone.md)
@@ -80,7 +82,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
***
-
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)
@@ -105,7 +108,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)
+
+$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)
$MadelineProto->[help->getConfig](help_getConfig.md)(\[\]) === [$Config](../types/Config.md)
@@ -118,19 +122,24 @@ $MadelineProto->[help->getSupport](help_getSupport.md)(\[\]) === [$help\_Support
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithLayer18](invokeWithLayer18.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithLayer18](invokeWithLayer18.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
+
+$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$messages\_StatedMessage](../types/messages_StatedMessage.md)
@@ -197,7 +206,8 @@ $MadelineProto->[messages->setEncryptedTyping](messages_setEncryptedTyping.md)(\
$MadelineProto->[messages->setTyping](messages_setTyping.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
+
+$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)
@@ -206,19 +216,22 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md)
***
-
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)
+
+$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)
***
-
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
+
+$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
+
+$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)
diff --git a/old_docs/API_docs_v23/methods/README.md b/old_docs/API_docs_v23/methods/README.md
index 99de501c..d22cf5f6 100644
--- a/old_docs/API_docs_v23/methods/README.md
+++ b/old_docs/API_docs_v23/methods/README.md
@@ -27,8 +27,7 @@ description: What do you want to do?
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
-***
-
* Change the phone number associated to this account
+* Change the phone number associated to this account
* Check if this username is available
@@ -66,33 +65,17 @@ description: What do you want to do?
* Update this user's username
-***
-
* You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info
-
* Check if this phone number is registered on telegram
-* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)
-
* Delete all logged-in sessions.
* Send verification phone call
-* Use phone_login instead
-
* Invite friends to telegram!
* Send SMS verification code
-* You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)
-
-***
-
* Block a user
+* Block a user
* Delete a contact
@@ -112,14 +95,11 @@ description: What do you want to do?
* Add phone number as contact
-* You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Search contacts
* Unblock a user
-***
-
* Get info about app updates
+* Get info about app updates
* Get server configuration
@@ -131,20 +111,13 @@ description: What do you want to do?
* Log data for developer of this app
-***
-
* Initializes connection and save information on the user's device and application.
+* Initializes connection and save information on the user's device and application.
-***
-
* Invokes a query after successfull completion of one of the previous queries.
+* Invokes a query after successfull completion of one of the previous queries.
-***
-
* Result type returned by a current query.
+* Result type returned by a current query.
-***
-
* Invoke this method with layer X
-
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
+* Invoke this method with layer X
* Add a user to a normal chat (use channels->inviteToChannel for supergroups)
@@ -156,8 +129,6 @@ description: What do you want to do?
* Delete messages
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Edit the photo of a normal chat (not supergroup)
* Edit the title of a normal chat (not supergroup)
@@ -170,12 +141,8 @@ description: What do you want to do?
* Get info about chats
-* You cannot use this method directly, instead use $MadelineProto->get_dh_config();
-
* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get previous messages of a group
* Get messages
@@ -190,12 +157,8 @@ description: What do you want to do?
* Mark messages as read
-* You cannot use this method directly
-
* Report a peer for spam
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Search peers or messages
* Send a message to all users in the chat list
@@ -214,8 +177,7 @@ description: What do you want to do?
* Change typing status
-***
-
* Delete profile photos
+* Delete profile photos
* Get the profile photos of a user
@@ -223,20 +185,5 @@ description: What do you want to do?
* Upload profile photo
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-***
-
* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-***
-
* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get info about users
diff --git a/old_docs/API_docs_v23/methods/api_README.md b/old_docs/API_docs_v23/methods/api_README.md
index 0502ee70..c4910dbf 100644
--- a/old_docs/API_docs_v23/methods/api_README.md
+++ b/old_docs/API_docs_v23/methods/api_README.md
@@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
***
-
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
+
+$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -73,7 +74,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)
***
-
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[auth->checkPhone](auth_checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth\_CheckedPhone](../types/auth_CheckedPhone.md)
@@ -98,7 +100,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
***
-
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)
@@ -125,7 +128,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)
+
+$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)
$MadelineProto->[help->getConfig](help_getConfig.md)(\[\]) === [$Config](../types/Config.md)
@@ -138,19 +142,24 @@ $MadelineProto->[help->getSupport](help_getSupport.md)(\[\]) === [$help\_Support
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
+
+$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$messages\_StatedMessage](../types/messages_StatedMessage.md)
@@ -221,7 +230,8 @@ $MadelineProto->[messages->setEncryptedTyping](messages_setEncryptedTyping.md)(\
$MadelineProto->[messages->setTyping](messages_setTyping.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
+
+$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)
@@ -230,19 +240,22 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md)
***
-
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)
+
+$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)
***
-
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
+
+$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
+
+$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)
diff --git a/old_docs/API_docs_v25/methods/README.md b/old_docs/API_docs_v25/methods/README.md
index d8a743a2..96a07248 100644
--- a/old_docs/API_docs_v25/methods/README.md
+++ b/old_docs/API_docs_v25/methods/README.md
@@ -27,8 +27,7 @@ description: What do you want to do?
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
-***
-
* Change the phone number associated to this account
+* Change the phone number associated to this account
* Check if this username is available
@@ -68,35 +67,17 @@ description: What do you want to do?
* Update this user's username
-***
-
* You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info
-
-* You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)
-
* Check if this phone number is registered on telegram
-* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)
-
* Delete all logged-in sessions.
* Send verification phone call
-* Use phone_login instead
-
* Invite friends to telegram!
* Send SMS verification code
-* You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)
-
-***
-
* Block a user
+* Block a user
* Delete a contact
@@ -116,14 +97,11 @@ description: What do you want to do?
* Add phone number as contact
-* You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Search contacts
* Unblock a user
-***
-
* Join a geochat
+* Join a geochat
* Create geochat
@@ -147,8 +125,7 @@ description: What do you want to do?
* Send typing notification to geochat
-***
-
* Get info about app updates
+* Get info about app updates
* Get server configuration
@@ -160,20 +137,13 @@ description: What do you want to do?
* Log data for developer of this app
-***
-
* Initializes connection and save information on the user's device and application.
+* Initializes connection and save information on the user's device and application.
-***
-
* Invokes a query after successfull completion of one of the previous queries.
+* Invokes a query after successfull completion of one of the previous queries.
-***
-
* Result type returned by a current query.
+* Result type returned by a current query.
-***
-
* Invoke this method with layer X
-
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
+* Invoke this method with layer X
* Add a user to a normal chat (use channels->inviteToChannel for supergroups)
@@ -185,8 +155,6 @@ description: What do you want to do?
* Delete messages
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Edit the photo of a normal chat (not supergroup)
* Edit the title of a normal chat (not supergroup)
@@ -199,12 +167,8 @@ description: What do you want to do?
* Get info about chats
-* You cannot use this method directly, instead use $MadelineProto->get_dh_config();
-
* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get previous messages of a group
* Get messages
@@ -219,10 +183,6 @@ description: What do you want to do?
* Mark messages as read
-* You cannot use this method directly
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Search peers or messages
* Send a message to all users in the chat list
@@ -241,8 +201,7 @@ description: What do you want to do?
* Change typing status
-***
-
* Delete profile photos
+* Delete profile photos
* Get the profile photos of a user
@@ -250,20 +209,5 @@ description: What do you want to do?
* Upload profile photo
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-***
-
* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-***
-
* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get info about users
diff --git a/old_docs/API_docs_v25/methods/api_README.md b/old_docs/API_docs_v25/methods/api_README.md
index 155cdf0d..a67a8b19 100644
--- a/old_docs/API_docs_v25/methods/api_README.md
+++ b/old_docs/API_docs_v25/methods/api_README.md
@@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
***
-
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
+
+$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -75,7 +76,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)
***
-
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[auth->checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
@@ -102,7 +104,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
***
-
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)
@@ -129,7 +132,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[geochats->checkin](geochats_checkin.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md)
+
+$MadelineProto->[geochats->checkin](geochats_checkin.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md)
$MadelineProto->[geochats->createGeoChat](geochats_createGeoChat.md)(\['title' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'address' => [string](../types/string.md), 'venue' => [string](../types/string.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md)
@@ -154,7 +158,8 @@ $MadelineProto->[geochats->sendMessage](geochats_sendMessage.md)(\['peer' => [In
$MadelineProto->[geochats->setTyping](geochats_setTyping.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'typing' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)
+
+$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)
$MadelineProto->[help->getConfig](help_getConfig.md)(\[\]) === [$Config](../types/Config.md)
@@ -167,19 +172,24 @@ $MadelineProto->[help->getSupport](help_getSupport.md)(\[\]) === [$help\_Support
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
+
+$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$messages\_StatedMessage](../types/messages_StatedMessage.md)
@@ -248,7 +258,8 @@ $MadelineProto->[messages->setEncryptedTyping](messages_setEncryptedTyping.md)(\
$MadelineProto->[messages->setTyping](messages_setTyping.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
+
+$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)
@@ -257,19 +268,22 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md)
***
-
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)
+
+$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)
***
-
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
+
+$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
+
+$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)
diff --git a/old_docs/API_docs_v27/methods/README.md b/old_docs/API_docs_v27/methods/README.md
index c112b90d..c418cee1 100644
--- a/old_docs/API_docs_v27/methods/README.md
+++ b/old_docs/API_docs_v27/methods/README.md
@@ -27,8 +27,7 @@ description: What do you want to do?
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
-***
-
* Change the phone number associated to this account
+* Change the phone number associated to this account
* Check if this username is available
@@ -74,19 +73,8 @@ description: What do you want to do?
* Update this user's username
-***
-
* You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info
-
-* You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)
-
* Check if this phone number is registered on telegram
-* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)
-
* Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account
* Send an email to recover the 2FA password
@@ -95,18 +83,11 @@ description: What do you want to do?
* Send verification phone call
-* Use phone_login instead
-
* Invite friends to telegram!
* Send SMS verification code
-* You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)
-
-***
-
* Block a user
+* Block a user
* Delete a contact
@@ -126,14 +107,11 @@ description: What do you want to do?
* Add phone number as contact
-* You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Search contacts
* Unblock a user
-***
-
* Join a geochat
+* Join a geochat
* Create geochat
@@ -157,8 +135,7 @@ description: What do you want to do?
* Send typing notification to geochat
-***
-
* Get info about app updates
+* Get info about app updates
* Get server configuration
@@ -170,20 +147,13 @@ description: What do you want to do?
* Log data for developer of this app
-***
-
* Initializes connection and save information on the user's device and application.
+* Initializes connection and save information on the user's device and application.
-***
-
* Invokes a query after successfull completion of one of the previous queries.
+* Invokes a query after successfull completion of one of the previous queries.
-***
-
* Result type returned by a current query.
+* Result type returned by a current query.
-***
-
* Invoke this method with layer X
-
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
+* Invoke this method with layer X
* Add a user to a normal chat (use channels->inviteToChannel for supergroups)
@@ -195,8 +165,6 @@ description: What do you want to do?
* Delete messages
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Edit the photo of a normal chat (not supergroup)
* Edit the title of a normal chat (not supergroup)
@@ -209,12 +177,8 @@ description: What do you want to do?
* Get info about chats
-* You cannot use this method directly, instead use $MadelineProto->get_dh_config();
-
* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get previous messages of a group
* Get messages
@@ -231,10 +195,6 @@ description: What do you want to do?
* Mark messages as read
-* You cannot use this method directly
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Search peers or messages
* Send a message to all users in the chat list
@@ -253,8 +213,7 @@ description: What do you want to do?
* Change typing status
-***
-
* Delete profile photos
+* Delete profile photos
* Get the profile photos of a user
@@ -262,20 +221,5 @@ description: What do you want to do?
* Upload profile photo
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-***
-
* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-***
-
* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get info about users
diff --git a/old_docs/API_docs_v27/methods/api_README.md b/old_docs/API_docs_v27/methods/api_README.md
index b66f885e..f36d1ab6 100644
--- a/old_docs/API_docs_v27/methods/api_README.md
+++ b/old_docs/API_docs_v27/methods/api_README.md
@@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
***
-
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
+
+$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -81,7 +82,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)
***
-
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[auth->checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
@@ -112,7 +114,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
***
-
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)
@@ -139,7 +142,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[geochats->checkin](geochats_checkin.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md)
+
+$MadelineProto->[geochats->checkin](geochats_checkin.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md)
$MadelineProto->[geochats->createGeoChat](geochats_createGeoChat.md)(\['title' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'address' => [string](../types/string.md), 'venue' => [string](../types/string.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md)
@@ -164,7 +168,8 @@ $MadelineProto->[geochats->sendMessage](geochats_sendMessage.md)(\['peer' => [In
$MadelineProto->[geochats->setTyping](geochats_setTyping.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'typing' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)
+
+$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)
$MadelineProto->[help->getConfig](help_getConfig.md)(\[\]) === [$Config](../types/Config.md)
@@ -177,19 +182,24 @@ $MadelineProto->[help->getSupport](help_getSupport.md)(\[\]) === [$help\_Support
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
+
+$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)
@@ -260,7 +270,8 @@ $MadelineProto->[messages->setEncryptedTyping](messages_setEncryptedTyping.md)(\
$MadelineProto->[messages->setTyping](messages_setTyping.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
+
+$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)
@@ -269,19 +280,22 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md)
***
-
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)
+
+$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)
***
-
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
+
+$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
+
+$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)
diff --git a/old_docs/API_docs_v33/methods/README.md b/old_docs/API_docs_v33/methods/README.md
index 2eb1f983..67a136f1 100644
--- a/old_docs/API_docs_v33/methods/README.md
+++ b/old_docs/API_docs_v33/methods/README.md
@@ -27,8 +27,7 @@ description: What do you want to do?
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
-***
-
* Change the phone number associated to this account
+* Change the phone number associated to this account
* Check if this username is available
@@ -74,21 +73,8 @@ description: What do you want to do?
* Update this user's username
-***
-
* You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info
-
-* You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)
-
* Check if this phone number is registered on telegram
-* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)
-
* Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account
* Send an email to recover the 2FA password
@@ -97,18 +83,11 @@ description: What do you want to do?
* Send verification phone call
-* Use phone_login instead
-
* Invite friends to telegram!
* Send SMS verification code
-* You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)
-
-***
-
* Block a user
+* Block a user
* Delete a contact
@@ -128,14 +107,11 @@ description: What do you want to do?
* Add phone number as contact
-* You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Search contacts
* Unblock a user
-***
-
* Join a geochat
+* Join a geochat
* Create geochat
@@ -159,8 +135,7 @@ description: What do you want to do?
* Send typing notification to geochat
-***
-
* Get the changelog of this app
+* Get the changelog of this app
* Get info about app updates
@@ -174,23 +149,15 @@ description: What do you want to do?
* Log data for developer of this app
-***
-
* Initializes connection and save information on the user's device and application.
+* Initializes connection and save information on the user's device and application.
-***
-
* Invokes a query after successfull completion of one of the previous queries.
+* Invokes a query after successfull completion of one of the previous queries.
-***
-
* Result type returned by a current query.
+* Result type returned by a current query.
-***
-
* Invoke this method with layer X
+* Invoke this method with layer X
-***
-
* Invoke with method without returning updates in the socket
-
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
+* Invoke with method without returning updates in the socket
* Add a user to a normal chat (use channels->inviteToChannel for supergroups)
@@ -204,8 +171,6 @@ description: What do you want to do?
* Delete messages
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Edit the photo of a normal chat (not supergroup)
* Edit the title of a normal chat (not supergroup)
@@ -220,12 +185,8 @@ description: What do you want to do?
* Get info about chats
-* You cannot use this method directly, instead use $MadelineProto->get_dh_config();
-
* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get previous messages of a group
* Get messages
@@ -248,10 +209,6 @@ description: What do you want to do?
* Mark messages as read
-* You cannot use this method directly
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Search peers or messages
* Send a message to all users in the chat list
@@ -274,8 +231,7 @@ description: What do you want to do?
* Remove a sticker set
-***
-
* Delete profile photos
+* Delete profile photos
* Get the profile photos of a user
@@ -283,20 +239,5 @@ description: What do you want to do?
* Upload profile photo
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-***
-
* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-***
-
* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get info about users
diff --git a/old_docs/API_docs_v33/methods/api_README.md b/old_docs/API_docs_v33/methods/api_README.md
index 8bd47686..c2d154ff 100644
--- a/old_docs/API_docs_v33/methods/api_README.md
+++ b/old_docs/API_docs_v33/methods/api_README.md
@@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
***
-
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
+
+$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -81,7 +82,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)
***
-
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[auth->checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
@@ -114,7 +116,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
***
-
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)
@@ -141,7 +144,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[geochats->checkin](geochats_checkin.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md)
+
+$MadelineProto->[geochats->checkin](geochats_checkin.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md)
$MadelineProto->[geochats->createGeoChat](geochats_createGeoChat.md)(\['title' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'address' => [string](../types/string.md), 'venue' => [string](../types/string.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md)
@@ -166,7 +170,8 @@ $MadelineProto->[geochats->sendMessage](geochats_sendMessage.md)(\['peer' => [In
$MadelineProto->[geochats->setTyping](geochats_setTyping.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'typing' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)
+
+$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)
@@ -181,22 +186,28 @@ $MadelineProto->[help->getSupport](help_getSupport.md)(\[\]) === [$help\_Support
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
+
+$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)
@@ -281,7 +292,8 @@ $MadelineProto->[messages->startBot](messages_startBot.md)(\['bot' => [InputUser
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
+
+$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)
@@ -290,19 +302,22 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md)
***
-
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)
+
+$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)
***
-
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
+
+$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
+
+$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)
diff --git a/old_docs/API_docs_v38/methods/README.md b/old_docs/API_docs_v38/methods/README.md
index d70f034c..125605ff 100644
--- a/old_docs/API_docs_v38/methods/README.md
+++ b/old_docs/API_docs_v38/methods/README.md
@@ -27,8 +27,7 @@ description: What do you want to do?
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
-***
-
* Change the phone number associated to this account
+* Change the phone number associated to this account
* Check if this username is available
@@ -74,21 +73,8 @@ description: What do you want to do?
* Update this user's username
-***
-
* You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info
-
-* You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)
-
* Check if this phone number is registered on telegram
-* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)
-
* Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account
* Send an email to recover the 2FA password
@@ -97,18 +83,11 @@ description: What do you want to do?
* Send verification phone call
-* Use phone_login instead
-
* Invite friends to telegram!
* Send SMS verification code
-* You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)
-
-***
-
* Check if this username is free and can be assigned to a channel/supergroup
+* Check if this username is free and can be assigned to a channel/supergroup
* Create channel/supergroup
@@ -132,8 +111,6 @@ description: What do you want to do?
* Get channel dialogs
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get important channel/supergroup history
* Get channel/supergroup messages
@@ -158,8 +135,7 @@ description: What do you want to do?
* Update the username of a supergroup/channel
-***
-
* Block a user
+* Block a user
* Delete a contact
@@ -179,14 +155,11 @@ description: What do you want to do?
* Add phone number as contact
-* You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Search contacts
* Unblock a user
-***
-
* Get the changelog of this app
+* Get the changelog of this app
* Get info about app updates
@@ -200,23 +173,15 @@ description: What do you want to do?
* Log data for developer of this app
-***
-
* Initializes connection and save information on the user's device and application.
+* Initializes connection and save information on the user's device and application.
-***
-
* Invokes a query after successfull completion of one of the previous queries.
+* Invokes a query after successfull completion of one of the previous queries.
-***
-
* Result type returned by a current query.
+* Result type returned by a current query.
-***
-
* Invoke this method with layer X
+* Invoke this method with layer X
-***
-
* Invoke with method without returning updates in the socket
-
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
+* Invoke with method without returning updates in the socket
* Add a user to a normal chat (use channels->inviteToChannel for supergroups)
@@ -230,8 +195,6 @@ description: What do you want to do?
* Delete messages
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Edit the photo of a normal chat (not supergroup)
* Edit the title of a normal chat (not supergroup)
@@ -246,12 +209,8 @@ description: What do you want to do?
* Get info about chats
-* You cannot use this method directly, instead use $MadelineProto->get_dh_config();
-
* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get previous messages of a group
* Get messages
@@ -276,12 +235,8 @@ description: What do you want to do?
* Mark messages as read
-* You cannot use this method directly
-
* Report a peer for spam
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Search peers or messages
* Send a message to all users in the chat list
@@ -304,8 +259,7 @@ description: What do you want to do?
* Remove a sticker set
-***
-
* Delete profile photos
+* Delete profile photos
* Get the profile photos of a user
@@ -313,22 +267,5 @@ description: What do you want to do?
* Upload profile photo
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-***
-
* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-***
-
* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get info about users
diff --git a/old_docs/API_docs_v38/methods/api_README.md b/old_docs/API_docs_v38/methods/api_README.md
index b62a7dfd..4b388b94 100644
--- a/old_docs/API_docs_v38/methods/api_README.md
+++ b/old_docs/API_docs_v38/methods/api_README.md
@@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
***
-
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
+
+$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -81,7 +82,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)
***
-
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[auth->checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
@@ -114,7 +116,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
***
-
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['title' => [string](../types/string.md), 'about' => [string](../types/string.md), 'users' => \[[InputUser](../types/InputUser.md)\], \]) === [$Updates](../types/Updates.md)
@@ -165,7 +168,8 @@ $MadelineProto->[channels->toggleComments](channels_toggleComments.md)(\['channe
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)
@@ -192,7 +196,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)
+
+$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)
@@ -207,22 +212,28 @@ $MadelineProto->[help->getSupport](help_getSupport.md)(\[\]) === [$help\_Support
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
+
+$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)
@@ -311,7 +322,8 @@ $MadelineProto->[messages->startBot](messages_startBot.md)(\['bot' => [InputUser
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
+
+$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)
@@ -320,21 +332,24 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md)
***
-
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
+
+$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)
***
-
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
+
+$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
+
+$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)
diff --git a/old_docs/API_docs_v40/methods/README.md b/old_docs/API_docs_v40/methods/README.md
index 7376b766..b3c15ea5 100644
--- a/old_docs/API_docs_v40/methods/README.md
+++ b/old_docs/API_docs_v40/methods/README.md
@@ -27,8 +27,7 @@ description: What do you want to do?
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
-***
-
* Change the phone number associated to this account
+* Change the phone number associated to this account
* Check if this username is available
@@ -74,21 +73,8 @@ description: What do you want to do?
* Update this user's username
-***
-
* You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info
-
-* You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)
-
* Check if this phone number is registered on telegram
-* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)
-
* Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account
* Send an email to recover the 2FA password
@@ -97,18 +83,11 @@ description: What do you want to do?
* Send verification phone call
-* Use phone_login instead
-
* Invite friends to telegram!
* Send SMS verification code
-* You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)
-
-***
-
* Block a user
+* Block a user
* Delete a contact
@@ -128,14 +107,11 @@ description: What do you want to do?
* Add phone number as contact
-* You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Search contacts
* Unblock a user
-***
-
* Get the changelog of this app
+* Get the changelog of this app
* Get info about app updates
@@ -149,23 +125,15 @@ description: What do you want to do?
* Log data for developer of this app
-***
-
* Initializes connection and save information on the user's device and application.
+* Initializes connection and save information on the user's device and application.
-***
-
* Invokes a query after successfull completion of one of the previous queries.
+* Invokes a query after successfull completion of one of the previous queries.
-***
-
* Result type returned by a current query.
+* Result type returned by a current query.
-***
-
* Invoke this method with layer X
+* Invoke this method with layer X
-***
-
* Invoke with method without returning updates in the socket
-
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
+* Invoke with method without returning updates in the socket
* Add a user to a normal chat (use channels->inviteToChannel for supergroups)
@@ -183,8 +151,6 @@ description: What do you want to do?
* Delete messages
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Edit the photo of a normal chat (not supergroup)
* Edit the title of a normal chat (not supergroup)
@@ -201,12 +167,8 @@ description: What do you want to do?
* Get info about chats
-* You cannot use this method directly, instead use $MadelineProto->get_dh_config();
-
* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get previous messages of a group
* Get important message history
@@ -233,10 +195,6 @@ description: What do you want to do?
* Mark messages as read
-* You cannot use this method directly
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Search peers or messages
* Send a message to all users in the chat list
@@ -259,8 +217,7 @@ description: What do you want to do?
* Remove a sticker set
-***
-
* Delete profile photos
+* Delete profile photos
* Get the profile photos of a user
@@ -268,22 +225,5 @@ description: What do you want to do?
* Upload profile photo
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-***
-
* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-***
-
* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get info about users
diff --git a/old_docs/API_docs_v40/methods/api_README.md b/old_docs/API_docs_v40/methods/api_README.md
index a75dfc4e..3cbf95c2 100644
--- a/old_docs/API_docs_v40/methods/api_README.md
+++ b/old_docs/API_docs_v40/methods/api_README.md
@@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
***
-
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
+
+$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -81,7 +82,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)
***
-
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[auth->checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
@@ -114,7 +116,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
***
-
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)
@@ -141,7 +144,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)
+
+$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)
@@ -156,22 +160,28 @@ $MadelineProto->[help->getSupport](help_getSupport.md)(\[\]) === [$help\_Support
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
+
+$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)
@@ -266,7 +276,8 @@ $MadelineProto->[messages->startBot](messages_startBot.md)(\['bot' => [InputUser
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
+
+$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)
@@ -275,21 +286,24 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md)
***
-
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
+
+$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)
***
-
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
+
+$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
+
+$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)
diff --git a/old_docs/API_docs_v41/methods/README.md b/old_docs/API_docs_v41/methods/README.md
index 2a7f9b31..7669165b 100644
--- a/old_docs/API_docs_v41/methods/README.md
+++ b/old_docs/API_docs_v41/methods/README.md
@@ -27,8 +27,7 @@ description: What do you want to do?
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
-***
-
* Change the phone number associated to this account
+* Change the phone number associated to this account
* Check if this username is available
@@ -74,21 +73,8 @@ description: What do you want to do?
* Update this user's username
-***
-
* You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info
-
-* You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)
-
* Check if this phone number is registered on telegram
-* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)
-
* Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account
* Send an email to recover the 2FA password
@@ -97,18 +83,11 @@ description: What do you want to do?
* Send verification phone call
-* Use phone_login instead
-
* Invite friends to telegram!
* Send SMS verification code
-* You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)
-
-***
-
* Check if this username is free and can be assigned to a channel/supergroup
+* Check if this username is free and can be assigned to a channel/supergroup
* Create channel/supergroup
@@ -132,8 +111,6 @@ description: What do you want to do?
* Get channel dialogs
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get important channel/supergroup history
* Get channel/supergroup messages
@@ -158,8 +135,7 @@ description: What do you want to do?
* Update the username of a supergroup/channel
-***
-
* Block a user
+* Block a user
* Delete a contact
@@ -179,14 +155,11 @@ description: What do you want to do?
* Add phone number as contact
-* You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Search contacts
* Unblock a user
-***
-
* Get the changelog of this app
+* Get the changelog of this app
* Get info about app updates
@@ -200,23 +173,15 @@ description: What do you want to do?
* Log data for developer of this app
-***
-
* Initializes connection and save information on the user's device and application.
+* Initializes connection and save information on the user's device and application.
-***
-
* Invokes a query after successfull completion of one of the previous queries.
+* Invokes a query after successfull completion of one of the previous queries.
-***
-
* Result type returned by a current query.
+* Result type returned by a current query.
-***
-
* Invoke this method with layer X
+* Invoke this method with layer X
-***
-
* Invoke with method without returning updates in the socket
-
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
+* Invoke with method without returning updates in the socket
* Add a user to a normal chat (use channels->inviteToChannel for supergroups)
@@ -232,8 +197,6 @@ description: What do you want to do?
* Delete messages
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Edit admin permissions
* Edit the photo of a normal chat (not supergroup)
@@ -250,12 +213,8 @@ description: What do you want to do?
* Get info about chats
-* You cannot use this method directly, instead use $MadelineProto->get_dh_config();
-
* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get previous messages of a group
* Get messages
@@ -282,12 +241,8 @@ description: What do you want to do?
* Mark messages as read
-* You cannot use this method directly
-
* Report a peer for spam
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Search peers or messages
* Global message search
@@ -314,8 +269,7 @@ description: What do you want to do?
* Remove a sticker set
-***
-
* Delete profile photos
+* Delete profile photos
* Get the profile photos of a user
@@ -323,22 +277,5 @@ description: What do you want to do?
* Upload profile photo
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-***
-
* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-***
-
* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get info about users
diff --git a/old_docs/API_docs_v41/methods/api_README.md b/old_docs/API_docs_v41/methods/api_README.md
index 4080b470..00da63fb 100644
--- a/old_docs/API_docs_v41/methods/api_README.md
+++ b/old_docs/API_docs_v41/methods/api_README.md
@@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
***
-
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
+
+$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -81,7 +82,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)
***
-
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[auth->checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
@@ -114,7 +116,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
***
-
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
@@ -165,7 +168,8 @@ $MadelineProto->[channels->toggleComments](channels_toggleComments.md)(\['channe
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)
@@ -192,7 +196,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)
+
+$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)
@@ -207,22 +212,28 @@ $MadelineProto->[help->getSupport](help_getSupport.md)(\[\]) === [$help\_Support
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
+
+$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)
@@ -321,7 +332,8 @@ $MadelineProto->[messages->toggleChatAdmins](messages_toggleChatAdmins.md)(\['ch
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
+
+$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)
@@ -330,21 +342,24 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md)
***
-
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
+
+$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)
***
-
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
+
+$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
+
+$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)
diff --git a/old_docs/API_docs_v42/methods/README.md b/old_docs/API_docs_v42/methods/README.md
index 39acd13e..e56124ff 100644
--- a/old_docs/API_docs_v42/methods/README.md
+++ b/old_docs/API_docs_v42/methods/README.md
@@ -27,8 +27,7 @@ description: What do you want to do?
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
-***
-
* Change the phone number associated to this account
+* Change the phone number associated to this account
* Check if this username is available
@@ -74,21 +73,8 @@ description: What do you want to do?
* Update this user's username
-***
-
* You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info
-
-* You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)
-
* Check if this phone number is registered on telegram
-* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)
-
* Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account
* Send an email to recover the 2FA password
@@ -97,18 +83,11 @@ description: What do you want to do?
* Send verification phone call
-* Use phone_login instead
-
* Invite friends to telegram!
* Send SMS verification code
-* You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)
-
-***
-
* Check if this username is free and can be assigned to a channel/supergroup
+* Check if this username is free and can be assigned to a channel/supergroup
* Create channel/supergroup
@@ -132,8 +111,6 @@ description: What do you want to do?
* Get channel dialogs
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get important channel/supergroup history
* Get channel/supergroup messages
@@ -158,8 +135,7 @@ description: What do you want to do?
* Update the username of a supergroup/channel
-***
-
* Block a user
+* Block a user
* Delete a contact
@@ -179,14 +155,11 @@ description: What do you want to do?
* Add phone number as contact
-* You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Search contacts
* Unblock a user
-***
-
* Get the changelog of this app
+* Get the changelog of this app
* Get info about app updates
@@ -200,23 +173,15 @@ description: What do you want to do?
* Log data for developer of this app
-***
-
* Initializes connection and save information on the user's device and application.
+* Initializes connection and save information on the user's device and application.
-***
-
* Invokes a query after successfull completion of one of the previous queries.
+* Invokes a query after successfull completion of one of the previous queries.
-***
-
* Result type returned by a current query.
+* Result type returned by a current query.
-***
-
* Invoke this method with layer X
+* Invoke this method with layer X
-***
-
* Invoke with method without returning updates in the socket
-
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
+* Invoke with method without returning updates in the socket
* Add a user to a normal chat (use channels->inviteToChannel for supergroups)
@@ -230,8 +195,6 @@ description: What do you want to do?
* Delete messages
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Edit admin permissions
* Edit the photo of a normal chat (not supergroup)
@@ -248,12 +211,8 @@ description: What do you want to do?
* Get info about chats
-* You cannot use this method directly, instead use $MadelineProto->get_dh_config();
-
* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get previous messages of a group
* Get messages
@@ -280,12 +239,8 @@ description: What do you want to do?
* Mark messages as read
-* You cannot use this method directly
-
* Report a peer for spam
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Search peers or messages
* Global message search
@@ -312,8 +267,7 @@ description: What do you want to do?
* Remove a sticker set
-***
-
* Delete profile photos
+* Delete profile photos
* Get the profile photos of a user
@@ -321,22 +275,5 @@ description: What do you want to do?
* Upload profile photo
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-***
-
* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-***
-
* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get info about users
diff --git a/old_docs/API_docs_v42/methods/api_README.md b/old_docs/API_docs_v42/methods/api_README.md
index 134e6f57..064fc12e 100644
--- a/old_docs/API_docs_v42/methods/api_README.md
+++ b/old_docs/API_docs_v42/methods/api_README.md
@@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
***
-
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
+
+$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -81,7 +82,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)
***
-
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[auth->checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
@@ -114,7 +116,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
***
-
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
@@ -165,7 +168,8 @@ $MadelineProto->[channels->toggleComments](channels_toggleComments.md)(\['channe
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)
@@ -192,7 +196,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)
+
+$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)
@@ -207,22 +212,28 @@ $MadelineProto->[help->getSupport](help_getSupport.md)(\[\]) === [$help\_Support
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
+
+$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)
@@ -319,7 +330,8 @@ $MadelineProto->[messages->toggleChatAdmins](messages_toggleChatAdmins.md)(\['ch
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
+
+$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)
@@ -328,21 +340,24 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md)
***
-
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
+
+$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)
***
-
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
+
+$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
+
+$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)
diff --git a/old_docs/API_docs_v44/methods/README.md b/old_docs/API_docs_v44/methods/README.md
index a7390e76..39070eec 100644
--- a/old_docs/API_docs_v44/methods/README.md
+++ b/old_docs/API_docs_v44/methods/README.md
@@ -27,8 +27,7 @@ description: What do you want to do?
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
-***
-
* Change the phone number associated to this account
+* Change the phone number associated to this account
* Check if this username is available
@@ -76,21 +75,8 @@ description: What do you want to do?
* Update this user's username
-***
-
* You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info
-
-* You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)
-
* Check if this phone number is registered on telegram
-* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)
-
* Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account
* Send an email to recover the 2FA password
@@ -99,18 +85,11 @@ description: What do you want to do?
* Send verification phone call
-* Use phone_login instead
-
* Invite friends to telegram!
* Send SMS verification code
-* You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)
-
-***
-
* Check if this username is free and can be assigned to a channel/supergroup
+* Check if this username is free and can be assigned to a channel/supergroup
* Create channel/supergroup
@@ -134,8 +113,6 @@ description: What do you want to do?
* Get channel dialogs
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get important channel/supergroup history
* Get channel/supergroup messages
@@ -160,8 +137,7 @@ description: What do you want to do?
* Update the username of a supergroup/channel
-***
-
* Block a user
+* Block a user
* Delete a contact
@@ -181,14 +157,11 @@ description: What do you want to do?
* Add phone number as contact
-* You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Search contacts
* Unblock a user
-***
-
* Get the changelog of this app
+* Get the changelog of this app
* Get info about app updates
@@ -204,23 +177,15 @@ description: What do you want to do?
* Log data for developer of this app
-***
-
* Initializes connection and save information on the user's device and application.
+* Initializes connection and save information on the user's device and application.
-***
-
* Invokes a query after successfull completion of one of the previous queries.
+* Invokes a query after successfull completion of one of the previous queries.
-***
-
* Result type returned by a current query.
+* Result type returned by a current query.
-***
-
* Invoke this method with layer X
+* Invoke this method with layer X
-***
-
* Invoke with method without returning updates in the socket
-
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
+* Invoke with method without returning updates in the socket
* Add a user to a normal chat (use channels->inviteToChannel for supergroups)
@@ -234,8 +199,6 @@ description: What do you want to do?
* Delete messages
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Edit admin permissions
* Edit the photo of a normal chat (not supergroup)
@@ -252,14 +215,10 @@ description: What do you want to do?
* Get info about chats
-* You cannot use this method directly, instead use $MadelineProto->get_dh_config();
-
* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html
* Get document by SHA256 hash
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get previous messages of a group
* Get messages
@@ -286,14 +245,10 @@ description: What do you want to do?
* Mark messages as read
-* You cannot use this method directly
-
* Reorder sticker sets
* Report a peer for spam
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Search peers or messages
* Search gifs
@@ -322,8 +277,7 @@ description: What do you want to do?
* Remove a sticker set
-***
-
* Delete profile photos
+* Delete profile photos
* Get the profile photos of a user
@@ -331,22 +285,5 @@ description: What do you want to do?
* Upload profile photo
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-***
-
* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-***
-
* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get info about users
diff --git a/old_docs/API_docs_v44/methods/api_README.md b/old_docs/API_docs_v44/methods/api_README.md
index 738dad88..b6c8c52d 100644
--- a/old_docs/API_docs_v44/methods/api_README.md
+++ b/old_docs/API_docs_v44/methods/api_README.md
@@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
***
-
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
+
+$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -83,7 +84,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)
***
-
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[auth->checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
@@ -116,7 +118,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
***
-
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
@@ -167,7 +170,8 @@ $MadelineProto->[channels->toggleComments](channels_toggleComments.md)(\['channe
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)
@@ -194,7 +198,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)
+
+$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)
@@ -211,22 +216,28 @@ $MadelineProto->[help->getTermsOfService](help_getTermsOfService.md)(\['lang_cod
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
+
+$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)
@@ -329,7 +340,8 @@ $MadelineProto->[messages->toggleChatAdmins](messages_toggleChatAdmins.md)(\['ch
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
+
+$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)
@@ -338,21 +350,24 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md)
***
-
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
+
+$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)
***
-
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
+
+$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
+
+$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)
diff --git a/old_docs/API_docs_v45/methods/README.md b/old_docs/API_docs_v45/methods/README.md
index 3f0f9e9c..4322457a 100644
--- a/old_docs/API_docs_v45/methods/README.md
+++ b/old_docs/API_docs_v45/methods/README.md
@@ -27,8 +27,7 @@ description: What do you want to do?
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
-***
-
* Change the phone number associated to this account
+* Change the phone number associated to this account
* Check if this username is available
@@ -76,21 +75,8 @@ description: What do you want to do?
* Update this user's username
-***
-
* You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info
-
-* You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)
-
* Check if this phone number is registered on telegram
-* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)
-
* Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account
* Send an email to recover the 2FA password
@@ -99,18 +85,11 @@ description: What do you want to do?
* Send verification phone call
-* Use phone_login instead
-
* Invite friends to telegram!
* Send SMS verification code
-* You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)
-
-***
-
* Check if this username is free and can be assigned to a channel/supergroup
+* Check if this username is free and can be assigned to a channel/supergroup
* Create channel/supergroup
@@ -134,8 +113,6 @@ description: What do you want to do?
* Get channel dialogs
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get important channel/supergroup history
* Get channel/supergroup messages
@@ -160,8 +137,7 @@ description: What do you want to do?
* Update the username of a supergroup/channel
-***
-
* Block a user
+* Block a user
* Delete a contact
@@ -181,14 +157,11 @@ description: What do you want to do?
* Add phone number as contact
-* You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Search contacts
* Unblock a user
-***
-
* Get the changelog of this app
+* Get the changelog of this app
* Get info about app updates
@@ -204,23 +177,15 @@ description: What do you want to do?
* Log data for developer of this app
-***
-
* Initializes connection and save information on the user's device and application.
+* Initializes connection and save information on the user's device and application.
-***
-
* Invokes a query after successfull completion of one of the previous queries.
+* Invokes a query after successfull completion of one of the previous queries.
-***
-
* Result type returned by a current query.
+* Result type returned by a current query.
-***
-
* Invoke this method with layer X
+* Invoke this method with layer X
-***
-
* Invoke with method without returning updates in the socket
-
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
+* Invoke with method without returning updates in the socket
* Add a user to a normal chat (use channels->inviteToChannel for supergroups)
@@ -234,8 +199,6 @@ description: What do you want to do?
* Delete messages
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Edit admin permissions
* Edit the photo of a normal chat (not supergroup)
@@ -252,14 +215,10 @@ description: What do you want to do?
* Get info about chats
-* You cannot use this method directly, instead use $MadelineProto->get_dh_config();
-
* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html
* Get document by SHA256 hash
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get previous messages of a group
* Call inline bot
@@ -290,14 +249,10 @@ description: What do you want to do?
* Mark messages as read
-* You cannot use this method directly
-
* Reorder sticker sets
* Report a peer for spam
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Save a GIF
* Search peers or messages
@@ -332,8 +287,7 @@ description: What do you want to do?
* Remove a sticker set
-***
-
* Delete profile photos
+* Delete profile photos
* Get the profile photos of a user
@@ -341,22 +295,5 @@ description: What do you want to do?
* Upload profile photo
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-***
-
* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-***
-
* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get info about users
diff --git a/old_docs/API_docs_v45/methods/api_README.md b/old_docs/API_docs_v45/methods/api_README.md
index d4616d3d..1099b7db 100644
--- a/old_docs/API_docs_v45/methods/api_README.md
+++ b/old_docs/API_docs_v45/methods/api_README.md
@@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
***
-
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
+
+$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -83,7 +84,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)
***
-
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[auth->checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
@@ -116,7 +118,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
***
-
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
@@ -167,7 +170,8 @@ $MadelineProto->[channels->toggleComments](channels_toggleComments.md)(\['channe
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)
@@ -194,7 +198,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)
+
+$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)
@@ -211,22 +216,28 @@ $MadelineProto->[help->getTermsOfService](help_getTermsOfService.md)(\['lang_cod
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
+
+$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)
@@ -339,7 +350,8 @@ $MadelineProto->[messages->toggleChatAdmins](messages_toggleChatAdmins.md)(\['ch
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
+
+$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)
@@ -348,21 +360,24 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md)
***
-
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
+
+$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)
***
-
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
+
+$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
+
+$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)
diff --git a/old_docs/API_docs_v46/methods/README.md b/old_docs/API_docs_v46/methods/README.md
index 3f0f9e9c..4322457a 100644
--- a/old_docs/API_docs_v46/methods/README.md
+++ b/old_docs/API_docs_v46/methods/README.md
@@ -27,8 +27,7 @@ description: What do you want to do?
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
-***
-
* Change the phone number associated to this account
+* Change the phone number associated to this account
* Check if this username is available
@@ -76,21 +75,8 @@ description: What do you want to do?
* Update this user's username
-***
-
* You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info
-
-* You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)
-
* Check if this phone number is registered on telegram
-* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)
-
* Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account
* Send an email to recover the 2FA password
@@ -99,18 +85,11 @@ description: What do you want to do?
* Send verification phone call
-* Use phone_login instead
-
* Invite friends to telegram!
* Send SMS verification code
-* You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)
-
-***
-
* Check if this username is free and can be assigned to a channel/supergroup
+* Check if this username is free and can be assigned to a channel/supergroup
* Create channel/supergroup
@@ -134,8 +113,6 @@ description: What do you want to do?
* Get channel dialogs
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get important channel/supergroup history
* Get channel/supergroup messages
@@ -160,8 +137,7 @@ description: What do you want to do?
* Update the username of a supergroup/channel
-***
-
* Block a user
+* Block a user
* Delete a contact
@@ -181,14 +157,11 @@ description: What do you want to do?
* Add phone number as contact
-* You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Search contacts
* Unblock a user
-***
-
* Get the changelog of this app
+* Get the changelog of this app
* Get info about app updates
@@ -204,23 +177,15 @@ description: What do you want to do?
* Log data for developer of this app
-***
-
* Initializes connection and save information on the user's device and application.
+* Initializes connection and save information on the user's device and application.
-***
-
* Invokes a query after successfull completion of one of the previous queries.
+* Invokes a query after successfull completion of one of the previous queries.
-***
-
* Result type returned by a current query.
+* Result type returned by a current query.
-***
-
* Invoke this method with layer X
+* Invoke this method with layer X
-***
-
* Invoke with method without returning updates in the socket
-
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
+* Invoke with method without returning updates in the socket
* Add a user to a normal chat (use channels->inviteToChannel for supergroups)
@@ -234,8 +199,6 @@ description: What do you want to do?
* Delete messages
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Edit admin permissions
* Edit the photo of a normal chat (not supergroup)
@@ -252,14 +215,10 @@ description: What do you want to do?
* Get info about chats
-* You cannot use this method directly, instead use $MadelineProto->get_dh_config();
-
* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html
* Get document by SHA256 hash
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get previous messages of a group
* Call inline bot
@@ -290,14 +249,10 @@ description: What do you want to do?
* Mark messages as read
-* You cannot use this method directly
-
* Reorder sticker sets
* Report a peer for spam
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Save a GIF
* Search peers or messages
@@ -332,8 +287,7 @@ description: What do you want to do?
* Remove a sticker set
-***
-
* Delete profile photos
+* Delete profile photos
* Get the profile photos of a user
@@ -341,22 +295,5 @@ description: What do you want to do?
* Upload profile photo
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-***
-
* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-***
-
* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get info about users
diff --git a/old_docs/API_docs_v46/methods/api_README.md b/old_docs/API_docs_v46/methods/api_README.md
index d4616d3d..1099b7db 100644
--- a/old_docs/API_docs_v46/methods/api_README.md
+++ b/old_docs/API_docs_v46/methods/api_README.md
@@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
***
-
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
+
+$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -83,7 +84,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)
***
-
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[auth->checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
@@ -116,7 +118,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
***
-
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
@@ -167,7 +170,8 @@ $MadelineProto->[channels->toggleComments](channels_toggleComments.md)(\['channe
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)
@@ -194,7 +198,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)
+
+$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)
@@ -211,22 +216,28 @@ $MadelineProto->[help->getTermsOfService](help_getTermsOfService.md)(\['lang_cod
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
+
+$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)
@@ -339,7 +350,8 @@ $MadelineProto->[messages->toggleChatAdmins](messages_toggleChatAdmins.md)(\['ch
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
+
+$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)
@@ -348,21 +360,24 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md)
***
-
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
+
+$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)
***
-
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
+
+$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
+
+$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)
diff --git a/old_docs/API_docs_v51/methods/README.md b/old_docs/API_docs_v51/methods/README.md
index 2df1352c..b715618a 100644
--- a/old_docs/API_docs_v51/methods/README.md
+++ b/old_docs/API_docs_v51/methods/README.md
@@ -27,8 +27,7 @@ description: What do you want to do?
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
-***
-
* Change the phone number associated to this account
+* Change the phone number associated to this account
* Check if this username is available
@@ -76,23 +75,10 @@ description: What do you want to do?
* Update this user's username
-***
-
* You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info
-
* Invalidate sent phone code
-* You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)
-
* Check if this phone number is registered on telegram
-* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)
-
* Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account
* Send an email to recover the 2FA password
@@ -101,16 +87,9 @@ description: What do you want to do?
* Delete all logged-in sessions.
-* Use phone_login instead
-
* Invite friends to telegram!
-* You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)
-
-***
-
* Check if this username is free and can be assigned to a channel/supergroup
+* Check if this username is free and can be assigned to a channel/supergroup
* Create channel/supergroup
@@ -136,8 +115,6 @@ description: What do you want to do?
* Get channel dialogs
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get important channel/supergroup history
* Get channel/supergroup messages
@@ -168,8 +145,7 @@ description: What do you want to do?
* Update the username of a supergroup/channel
-***
-
* Block a user
+* Block a user
* Delete a contact
@@ -187,14 +163,11 @@ description: What do you want to do?
* Add phone number as contact
-* You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Search contacts
* Unblock a user
-***
-
* Get the changelog of this app
+* Get the changelog of this app
* Get info about app updates
@@ -210,23 +183,15 @@ description: What do you want to do?
* Log data for developer of this app
-***
-
* Initializes connection and save information on the user's device and application.
+* Initializes connection and save information on the user's device and application.
-***
-
* Invokes a query after successfull completion of one of the previous queries.
+* Invokes a query after successfull completion of one of the previous queries.
-***
-
* Result type returned by a current query.
+* Result type returned by a current query.
-***
-
* Invoke this method with layer X
+* Invoke this method with layer X
-***
-
* Invoke with method without returning updates in the socket
-
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
+* Invoke with method without returning updates in the socket
* Add a user to a normal chat (use channels->inviteToChannel for supergroups)
@@ -240,8 +205,6 @@ description: What do you want to do?
* Delete messages
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Edit admin permissions
* Edit the photo of a normal chat (not supergroup)
@@ -264,14 +227,10 @@ description: What do you want to do?
* Get info about chats
-* You cannot use this method directly, instead use $MadelineProto->get_dh_config();
-
* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html
* Get document by SHA256 hash
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get previous messages of a group
* Call inline bot
@@ -308,14 +267,10 @@ description: What do you want to do?
* Mark messages as read
-* You cannot use this method directly
-
* Reorder sticker sets
* Report a peer for spam
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Save a GIF
* Search peers or messages
@@ -352,8 +307,7 @@ description: What do you want to do?
* Remove a sticker set
-***
-
* Delete profile photos
+* Delete profile photos
* Get the profile photos of a user
@@ -361,22 +315,5 @@ description: What do you want to do?
* Upload profile photo
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-***
-
* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-***
-
* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get info about users
diff --git a/old_docs/API_docs_v51/methods/api_README.md b/old_docs/API_docs_v51/methods/api_README.md
index 3f13d470..fa805c58 100644
--- a/old_docs/API_docs_v51/methods/api_README.md
+++ b/old_docs/API_docs_v51/methods/api_README.md
@@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
***
-
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
+
+$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -83,7 +84,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)
***
-
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[auth->cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -116,7 +118,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
***
-
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
@@ -175,7 +178,8 @@ $MadelineProto->[channels->updatePinnedMessage](channels_updatePinnedMessage.md)
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)
@@ -200,7 +204,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)
+
+$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)
@@ -217,22 +222,28 @@ $MadelineProto->[help->getTermsOfService](help_getTermsOfService.md)(\['lang_cod
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
+
+$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)
@@ -359,7 +370,8 @@ $MadelineProto->[messages->toggleChatAdmins](messages_toggleChatAdmins.md)(\['ch
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
+
+$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)
@@ -368,21 +380,24 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md)
***
-
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
+
+$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)
***
-
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
+
+$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
+
+$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)
diff --git a/old_docs/API_docs_v53/methods/README.md b/old_docs/API_docs_v53/methods/README.md
index 951c4c72..03e688b2 100644
--- a/old_docs/API_docs_v53/methods/README.md
+++ b/old_docs/API_docs_v53/methods/README.md
@@ -27,8 +27,7 @@ description: What do you want to do?
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
-***
-
* Change the phone number associated to this account
+* Change the phone number associated to this account
* Check if this username is available
@@ -76,23 +75,10 @@ description: What do you want to do?
* Update this user's username
-***
-
* You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info
-
* Invalidate sent phone code
-* You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)
-
* Check if this phone number is registered on telegram
-* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)
-
* Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account
* Send an email to recover the 2FA password
@@ -101,16 +87,9 @@ description: What do you want to do?
* Delete all logged-in sessions.
-* Use phone_login instead
-
* Invite friends to telegram!
-* You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)
-
-***
-
* Check if this username is free and can be assigned to a channel/supergroup
+* Check if this username is free and can be assigned to a channel/supergroup
* Create channel/supergroup
@@ -134,8 +113,6 @@ description: What do you want to do?
* Get info about multiple channels/supergroups
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get channel/supergroup messages
* Get info about a certain channel/supergroup participant
@@ -162,8 +139,7 @@ description: What do you want to do?
* Update the username of a supergroup/channel
-***
-
* Block a user
+* Block a user
* Delete a contact
@@ -185,14 +161,11 @@ description: What do you want to do?
* Reset top peer rating for a certain category/peer
-* You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Search contacts
* Unblock a user
-***
-
* Get the changelog of this app
+* Get the changelog of this app
* Get info about app updates
@@ -208,23 +181,15 @@ description: What do you want to do?
* Log data for developer of this app
-***
-
* Initializes connection and save information on the user's device and application.
+* Initializes connection and save information on the user's device and application.
-***
-
* Invokes a query after successfull completion of one of the previous queries.
+* Invokes a query after successfull completion of one of the previous queries.
-***
-
* Result type returned by a current query.
+* Result type returned by a current query.
-***
-
* Invoke this method with layer X
+* Invoke this method with layer X
-***
-
* Invoke with method without returning updates in the socket
-
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
+* Invoke with method without returning updates in the socket
* Add a user to a normal chat (use channels->inviteToChannel for supergroups)
@@ -238,8 +203,6 @@ description: What do you want to do?
* Delete messages
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Edit admin permissions
* Edit the photo of a normal chat (not supergroup)
@@ -264,14 +227,10 @@ description: What do you want to do?
* Get info about chats
-* You cannot use this method directly, instead use $MadelineProto->get_dh_config();
-
* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html
* Get document by SHA256 hash
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get previous messages of a group
* Call inline bot
@@ -310,14 +269,10 @@ description: What do you want to do?
* Mark messages as read
-* You cannot use this method directly
-
* Reorder sticker sets
* Report a peer for spam
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Save a message draft
* Save a GIF
@@ -356,8 +311,7 @@ description: What do you want to do?
* Remove a sticker set
-***
-
* Delete profile photos
+* Delete profile photos
* Get the profile photos of a user
@@ -365,22 +319,5 @@ description: What do you want to do?
* Upload profile photo
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-***
-
* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-***
-
* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get info about users
diff --git a/old_docs/API_docs_v53/methods/api_README.md b/old_docs/API_docs_v53/methods/api_README.md
index 21893d65..6303a318 100644
--- a/old_docs/API_docs_v53/methods/api_README.md
+++ b/old_docs/API_docs_v53/methods/api_README.md
@@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
***
-
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
+
+$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -83,7 +84,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)
***
-
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[auth->cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -116,7 +118,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
***
-
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
@@ -169,7 +172,8 @@ $MadelineProto->[channels->updatePinnedMessage](channels_updatePinnedMessage.md)
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)
@@ -198,7 +202,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\[\]) === [$help\_AppChangelog](../types/help_AppChangelog.md)
+
+$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\[\]) === [$help\_AppChangelog](../types/help_AppChangelog.md)
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md)
@@ -215,22 +220,28 @@ $MadelineProto->[help->getTermsOfService](help_getTermsOfService.md)(\[\]) === [
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
+
+$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)
@@ -363,7 +374,8 @@ $MadelineProto->[messages->toggleChatAdmins](messages_toggleChatAdmins.md)(\['ch
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
+
+$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)
@@ -372,21 +384,24 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md)
***
-
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
+
+$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)
***
-
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
+
+$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
+
+$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)
diff --git a/old_docs/API_docs_v55/methods/README.md b/old_docs/API_docs_v55/methods/README.md
index 539626ef..5a18cd3a 100644
--- a/old_docs/API_docs_v55/methods/README.md
+++ b/old_docs/API_docs_v55/methods/README.md
@@ -27,8 +27,7 @@ description: What do you want to do?
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
-***
-
* Change the phone number associated to this account
+* Change the phone number associated to this account
* Check if this username is available
@@ -80,23 +79,10 @@ description: What do you want to do?
* Update this user's username
-***
-
* You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info
-
* Invalidate sent phone code
-* You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)
-
* Check if this phone number is registered on telegram
-* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)
-
* Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account
* Send an email to recover the 2FA password
@@ -105,16 +91,9 @@ description: What do you want to do?
* Delete all logged-in sessions.
-* Use phone_login instead
-
* Invite friends to telegram!
-* You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)
-
-***
-
* Check if this username is free and can be assigned to a channel/supergroup
+* Check if this username is free and can be assigned to a channel/supergroup
* Create channel/supergroup
@@ -138,8 +117,6 @@ description: What do you want to do?
* Get info about multiple channels/supergroups
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get channel/supergroup messages
* Get info about a certain channel/supergroup participant
@@ -166,8 +143,7 @@ description: What do you want to do?
* Update the username of a supergroup/channel
-***
-
* Block a user
+* Block a user
* Delete a contact
@@ -189,14 +165,11 @@ description: What do you want to do?
* Reset top peer rating for a certain category/peer
-* You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Search contacts
* Unblock a user
-***
-
* Get the changelog of this app
+* Get the changelog of this app
* Get info about app updates
@@ -212,23 +185,15 @@ description: What do you want to do?
* Log data for developer of this app
-***
-
* Initializes connection and save information on the user's device and application.
+* Initializes connection and save information on the user's device and application.
-***
-
* Invokes a query after successfull completion of one of the previous queries.
+* Invokes a query after successfull completion of one of the previous queries.
-***
-
* Result type returned by a current query.
+* Result type returned by a current query.
-***
-
* Invoke this method with layer X
+* Invoke this method with layer X
-***
-
* Invoke with method without returning updates in the socket
-
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
+* Invoke with method without returning updates in the socket
* Add a user to a normal chat (use channels->inviteToChannel for supergroups)
@@ -244,8 +209,6 @@ description: What do you want to do?
* Delete messages
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Edit admin permissions
* Edit the photo of a normal chat (not supergroup)
@@ -272,16 +235,12 @@ description: What do you want to do?
* Get info about chats
-* You cannot use this method directly, instead use $MadelineProto->get_dh_config();
-
* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html
* Get document by SHA256 hash
* Get featured stickers
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get previous messages of a group
* Call inline bot
@@ -326,14 +285,10 @@ description: What do you want to do?
* Mark messages as read
-* You cannot use this method directly
-
* Reorder sticker sets
* Report a peer for spam
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Save a message draft
* Save a GIF
@@ -374,8 +329,7 @@ description: What do you want to do?
* Remove a sticker set
-***
-
* Delete profile photos
+* Delete profile photos
* Get the profile photos of a user
@@ -383,22 +337,5 @@ description: What do you want to do?
* Upload profile photo
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-***
-
* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-***
-
* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get info about users
diff --git a/old_docs/API_docs_v55/methods/api_README.md b/old_docs/API_docs_v55/methods/api_README.md
index 35780a0c..5ac84dfd 100644
--- a/old_docs/API_docs_v55/methods/api_README.md
+++ b/old_docs/API_docs_v55/methods/api_README.md
@@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
***
-
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
+
+$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -87,7 +88,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)
***
-
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[auth->cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -120,7 +122,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
***
-
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
@@ -173,7 +176,8 @@ $MadelineProto->[channels->updatePinnedMessage](channels_updatePinnedMessage.md)
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)
@@ -202,7 +206,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\[\]) === [$help\_AppChangelog](../types/help_AppChangelog.md)
+
+$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\[\]) === [$help\_AppChangelog](../types/help_AppChangelog.md)
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md)
@@ -219,22 +224,28 @@ $MadelineProto->[help->getTermsOfService](help_getTermsOfService.md)(\[\]) === [
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
+
+$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)
@@ -381,7 +392,8 @@ $MadelineProto->[messages->toggleChatAdmins](messages_toggleChatAdmins.md)(\['ch
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
+
+$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)
@@ -390,21 +402,24 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md)
***
-
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
+
+$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)
***
-
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
+
+$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
+
+$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)
diff --git a/old_docs/API_docs_v57/methods/README.md b/old_docs/API_docs_v57/methods/README.md
index f1867bb2..267ec6ad 100644
--- a/old_docs/API_docs_v57/methods/README.md
+++ b/old_docs/API_docs_v57/methods/README.md
@@ -27,8 +27,7 @@ description: What do you want to do?
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
-***
-
* Change the phone number associated to this account
+* Change the phone number associated to this account
* Check if this username is available
@@ -80,25 +79,12 @@ description: What do you want to do?
* Update this user's username
-***
-
* You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info
-
* Invalidate sent phone code
-* You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)
-
* Check if this phone number is registered on telegram
* Delete all temporary authorization keys except the ones provided
-* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)
-
* Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account
* Send an email to recover the 2FA password
@@ -107,16 +93,9 @@ description: What do you want to do?
* Delete all logged-in sessions.
-* Use phone_login instead
-
* Invite friends to telegram!
-* You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)
-
-***
-
* Check if this username is free and can be assigned to a channel/supergroup
+* Check if this username is free and can be assigned to a channel/supergroup
* Create channel/supergroup
@@ -142,8 +121,6 @@ description: What do you want to do?
* Get info about multiple channels/supergroups
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get channel/supergroup messages
* Get info about a certain channel/supergroup participant
@@ -170,8 +147,7 @@ description: What do you want to do?
* Update the username of a supergroup/channel
-***
-
* Block a user
+* Block a user
* Delete a contact
@@ -193,14 +169,11 @@ description: What do you want to do?
* Reset top peer rating for a certain category/peer
-* You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Search contacts
* Unblock a user
-***
-
* Get the changelog of this app
+* Get the changelog of this app
* Get info about app updates
@@ -216,23 +189,15 @@ description: What do you want to do?
* Log data for developer of this app
-***
-
* Initializes connection and save information on the user's device and application.
+* Initializes connection and save information on the user's device and application.
-***
-
* Invokes a query after successfull completion of one of the previous queries.
+* Invokes a query after successfull completion of one of the previous queries.
-***
-
* Result type returned by a current query.
+* Result type returned by a current query.
-***
-
* Invoke this method with layer X
+* Invoke this method with layer X
-***
-
* Invoke with method without returning updates in the socket
-
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
+* Invoke with method without returning updates in the socket
* Add a user to a normal chat (use channels->inviteToChannel for supergroups)
@@ -248,8 +213,6 @@ description: What do you want to do?
* Delete messages
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Edit admin permissions
* Edit the photo of a normal chat (not supergroup)
@@ -278,16 +241,12 @@ description: What do you want to do?
* Get info about chats
-* You cannot use this method directly, instead use $MadelineProto->get_dh_config();
-
* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html
* Get document by SHA256 hash
* Get featured stickers
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get high scores of a game
* Get previous messages of a group
@@ -334,14 +293,10 @@ description: What do you want to do?
* Mark messages as read
-* You cannot use this method directly
-
* Reorder sticker sets
* Report a peer for spam
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Save a message draft
* Save a GIF
@@ -384,8 +339,7 @@ description: What do you want to do?
* Remove a sticker set
-***
-
* Delete profile photos
+* Delete profile photos
* Get the profile photos of a user
@@ -393,22 +347,5 @@ description: What do you want to do?
* Upload profile photo
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-***
-
* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-***
-
* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get info about users
diff --git a/old_docs/API_docs_v57/methods/api_README.md b/old_docs/API_docs_v57/methods/api_README.md
index 4a2e83db..5954692c 100644
--- a/old_docs/API_docs_v57/methods/api_README.md
+++ b/old_docs/API_docs_v57/methods/api_README.md
@@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
***
-
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
+
+$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -87,7 +88,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)
***
-
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[auth->cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -122,7 +124,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
***
-
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
@@ -177,7 +180,8 @@ $MadelineProto->[channels->updatePinnedMessage](channels_updatePinnedMessage.md)
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)
@@ -206,7 +210,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\[\]) === [$help\_AppChangelog](../types/help_AppChangelog.md)
+
+$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\[\]) === [$help\_AppChangelog](../types/help_AppChangelog.md)
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md)
@@ -223,22 +228,28 @@ $MadelineProto->[help->getTermsOfService](help_getTermsOfService.md)(\[\]) === [
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
+
+$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)
@@ -391,7 +402,8 @@ $MadelineProto->[messages->toggleChatAdmins](messages_toggleChatAdmins.md)(\['ch
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
+
+$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)
@@ -400,21 +412,24 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md)
***
-
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
+
+$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)
***
-
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
+
+$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
+
+$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)
diff --git a/old_docs/API_docs_v62/methods/README.md b/old_docs/API_docs_v62/methods/README.md
index 39bfef20..ec608da1 100644
--- a/old_docs/API_docs_v62/methods/README.md
+++ b/old_docs/API_docs_v62/methods/README.md
@@ -27,8 +27,7 @@ description: What do you want to do?
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
-***
-
* Change the phone number associated to this account
+* Change the phone number associated to this account
* Check if this username is available
@@ -80,25 +79,12 @@ description: What do you want to do?
* Update this user's username
-***
-
* You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info
-
* Invalidate sent phone code
-* You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)
-
* Check if this phone number is registered on telegram
* Delete all temporary authorization keys except the ones provided
-* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)
-
* Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account
* Send an email to recover the 2FA password
@@ -107,16 +93,9 @@ description: What do you want to do?
* Delete all logged-in sessions.
-* Use phone_login instead
-
* Invite friends to telegram!
-* You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)
-
-***
-
* Check if this username is free and can be assigned to a channel/supergroup
+* Check if this username is free and can be assigned to a channel/supergroup
* Create channel/supergroup
@@ -142,8 +121,6 @@ description: What do you want to do?
* Get info about multiple channels/supergroups
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get channel/supergroup messages
* Get info about a certain channel/supergroup participant
@@ -170,8 +147,7 @@ description: What do you want to do?
* Update the username of a supergroup/channel
-***
-
* Block a user
+* Block a user
* Delete a contact
@@ -193,17 +169,13 @@ description: What do you want to do?
* Reset top peer rating for a certain category/peer
-* You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Search contacts
* Unblock a user
-***
-
* Destroy current authorization key
+* Destroy current authorization key
-***
-
* Get the changelog of this app
+* Get the changelog of this app
* Get info about app updates
@@ -221,23 +193,15 @@ description: What do you want to do?
* Set the update status of webhook
-***
-
* Initializes connection and save information on the user's device and application.
+* Initializes connection and save information on the user's device and application.
-***
-
* Invokes a query after successfull completion of one of the previous queries.
+* Invokes a query after successfull completion of one of the previous queries.
-***
-
* Result type returned by a current query.
+* Result type returned by a current query.
-***
-
* Invoke this method with layer X
+* Invoke this method with layer X
-***
-
* Invoke with method without returning updates in the socket
-
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
+* Invoke with method without returning updates in the socket
* Add a user to a normal chat (use channels->inviteToChannel for supergroups)
@@ -253,8 +217,6 @@ description: What do you want to do?
* Delete messages
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Edit admin permissions
* Edit the photo of a normal chat (not supergroup)
@@ -287,16 +249,12 @@ description: What do you want to do?
* Get chats in common with a user
-* You cannot use this method directly, instead use $MadelineProto->get_dh_config();
-
* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html
* Get document by SHA256 hash
* Get featured stickers
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get high scores of a game
* Get previous messages of a group
@@ -347,8 +305,6 @@ description: What do you want to do?
* Mark messages as read
-* You cannot use this method directly
-
* Reorder pinned dialogs
* Reorder sticker sets
@@ -357,8 +313,6 @@ description: What do you want to do?
* Report a peer for spam
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Save a message draft
* Save a GIF
@@ -403,17 +357,9 @@ description: What do you want to do?
* Remove a sticker set
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
* Notify server that you received a call (server will refuse all incoming calls until the current call is over)
-* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
-***
-
* Delete profile photos
+* Delete profile photos
* Get the profile photos of a user
@@ -421,22 +367,5 @@ description: What do you want to do?
* Upload profile photo
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-***
-
* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-***
-
* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get info about users
diff --git a/old_docs/API_docs_v62/methods/api_README.md b/old_docs/API_docs_v62/methods/api_README.md
index 5801b92b..c53dbab3 100644
--- a/old_docs/API_docs_v62/methods/api_README.md
+++ b/old_docs/API_docs_v62/methods/api_README.md
@@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
***
-
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
+
+$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -87,7 +88,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)
***
-
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[auth->cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -122,7 +124,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
***
-
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
@@ -177,7 +180,8 @@ $MadelineProto->[channels->updatePinnedMessage](channels_updatePinnedMessage.md)
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)
@@ -206,10 +210,12 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[destroy_auth_key](destroy_auth_key.md)(\[\]) === [$DestroyAuthKeyRes](../types/DestroyAuthKeyRes.md)
+
+$MadelineProto->[destroy_auth_key](destroy_auth_key.md)(\[\]) === [$DestroyAuthKeyRes](../types/DestroyAuthKeyRes.md)
***
-
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\[\]) === [$help\_AppChangelog](../types/help_AppChangelog.md)
+
+$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\[\]) === [$help\_AppChangelog](../types/help_AppChangelog.md)
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md)
@@ -228,22 +234,28 @@ $MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputApp
$MadelineProto->[help->setBotUpdatesStatus](help_setBotUpdatesStatus.md)(\['pending_updates_count' => [int](../types/int.md), 'message' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
+
+$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)
@@ -410,7 +422,8 @@ $MadelineProto->[messages->toggleDialogPin](messages_toggleDialogPin.md)(\['pinn
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)
+
+$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)
$MadelineProto->[phone->discardCall](phone_discardCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'duration' => [int](../types/int.md), 'reason' => [PhoneCallDiscardReason](../types/PhoneCallDiscardReason.md), 'connection_id' => [long](../types/long.md), \]) === [$Bool](../types/Bool.md)
@@ -419,7 +432,8 @@ $MadelineProto->[phone->receivedCall](phone_receivedCall.md)(\['peer' => [InputP
$MadelineProto->[phone->requestCall](phone_requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)
***
-
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
+
+$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)
@@ -428,21 +442,24 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md)
***
-
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
+
+$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)
***
-
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
+
+$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
+
+$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)
diff --git a/old_docs/API_docs_v65/methods/README.md b/old_docs/API_docs_v65/methods/README.md
index f37729b0..9c7ef594 100644
--- a/old_docs/API_docs_v65/methods/README.md
+++ b/old_docs/API_docs_v65/methods/README.md
@@ -27,8 +27,7 @@ description: What do you want to do?
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
-***
-
* Change the phone number associated to this account
+* Change the phone number associated to this account
* Check if this username is available
@@ -82,25 +81,12 @@ description: What do you want to do?
* Update this user's username
-***
-
* You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info
-
* Invalidate sent phone code
-* You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)
-
* Check if this phone number is registered on telegram
* Delete all temporary authorization keys except the ones provided
-* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)
-
* Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account
* Send an email to recover the 2FA password
@@ -109,21 +95,13 @@ description: What do you want to do?
* Delete all logged-in sessions.
-* Use phone_login instead
-
* Invite friends to telegram!
-* You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)
-
-***
-
* Send webhook request via bot API
+* Send webhook request via bot API
* Send a custom request to the bot API
-***
-
* Check if this username is free and can be assigned to a channel/supergroup
+* Check if this username is free and can be assigned to a channel/supergroup
* Create channel/supergroup
@@ -149,8 +127,6 @@ description: What do you want to do?
* Get info about multiple channels/supergroups
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get channel/supergroup messages
* Get info about a certain channel/supergroup participant
@@ -177,8 +153,7 @@ description: What do you want to do?
* Update the username of a supergroup/channel
-***
-
* Block a user
+* Block a user
* Delete a contact
@@ -200,25 +175,19 @@ description: What do you want to do?
* Reset top peer rating for a certain category/peer
-* You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Search contacts
* Unblock a user
-***
-
* Save developer info for telegram contest
+* Save developer info for telegram contest
-***
-
* Destroy current authorization key
+* Destroy current authorization key
* Destroy the current MTProto session
-***
-
* Get future salts
+* Get future salts
-***
-
* Get the changelog of this app
+* Get the changelog of this app
* Get info about app updates
@@ -236,23 +205,15 @@ description: What do you want to do?
* Set the update status of webhook
-***
-
* Initializes connection and save information on the user's device and application.
+* Initializes connection and save information on the user's device and application.
-***
-
* Invokes a query after successfull completion of one of the previous queries.
+* Invokes a query after successfull completion of one of the previous queries.
-***
-
* Result type returned by a current query.
+* Result type returned by a current query.
-***
-
* Invoke this method with layer X
+* Invoke this method with layer X
-***
-
* Invoke with method without returning updates in the socket
-
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
+* Invoke with method without returning updates in the socket
* Add a user to a normal chat (use channels->inviteToChannel for supergroups)
@@ -268,8 +229,6 @@ description: What do you want to do?
* Delete messages
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Edit admin permissions
* Edit the photo of a normal chat (not supergroup)
@@ -302,16 +261,12 @@ description: What do you want to do?
* Get chats in common with a user
-* You cannot use this method directly, instead use $MadelineProto->get_dh_config();
-
* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html
* Get document by SHA256 hash
* Get featured stickers
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get high scores of a game
* Get previous messages of a group
@@ -362,8 +317,6 @@ description: What do you want to do?
* Mark messages as read
-* You cannot use this method directly
-
* Reorder pinned dialogs
* Reorder sticker sets
@@ -372,8 +325,6 @@ description: What do you want to do?
* Report a peer for spam
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Save a message draft
* Save a GIF
@@ -422,8 +373,7 @@ description: What do you want to do?
* Remove a sticker set
-***
-
* Clear saved payments info
+* Clear saved payments info
* Get payment form
@@ -435,25 +385,15 @@ description: What do you want to do?
* Validate requested payment info
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
* Get call configuration
* Notify server that you received a call (server will refuse all incoming calls until the current call is over)
-* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
* Save call debugging info
* Set phone call rating
-***
-
* Delete profile photos
+* Delete profile photos
* Get the profile photos of a user
@@ -461,40 +401,19 @@ description: What do you want to do?
* Upload profile photo
-***
-
* pings the server
+* pings the server
* Pings the server and causes disconection if the same method is not called within ping_disconnect_delay
-***
-
* Requests Diffie-hellman parameters for key exchange
+* Requests Diffie-hellman parameters for key exchange
* Requests PQ for factorization
-***
-
* Do not send answer to provided request
+* Do not send answer to provided request
-***
-
* Sets client diffie-hellman parameters
-
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-***
-
* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
+* Sets client diffie-hellman parameters
* Download a file through telegram
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-***
-
* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get info about users
diff --git a/old_docs/API_docs_v65/methods/api_README.md b/old_docs/API_docs_v65/methods/api_README.md
index c8dfe6ad..f3ccc6bb 100644
--- a/old_docs/API_docs_v65/methods/api_README.md
+++ b/old_docs/API_docs_v65/methods/api_README.md
@@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
***
-
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
+
+$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -89,7 +90,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)
***
-
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[auth->cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -124,12 +126,14 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
***
-
$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[bots->sendCustomRequest](bots_sendCustomRequest.md)(\['custom_method' => [string](../types/string.md), 'params' => [DataJSON](../types/DataJSON.md), \]) === [$DataJSON](../types/DataJSON.md)
***
-
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
@@ -184,7 +188,8 @@ $MadelineProto->[channels->updatePinnedMessage](channels_updatePinnedMessage.md)
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)
@@ -213,18 +218,22 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[contest->saveDeveloperInfo](contest_saveDeveloperInfo.md)(\['vk_id' => [int](../types/int.md), 'name' => [string](../types/string.md), 'phone_number' => [string](../types/string.md), 'age' => [int](../types/int.md), 'city' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contest->saveDeveloperInfo](contest_saveDeveloperInfo.md)(\['vk_id' => [int](../types/int.md), 'name' => [string](../types/string.md), 'phone_number' => [string](../types/string.md), 'age' => [int](../types/int.md), 'city' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[destroy_auth_key](destroy_auth_key.md)(\[\]) === [$DestroyAuthKeyRes](../types/DestroyAuthKeyRes.md)
+
+$MadelineProto->[destroy_auth_key](destroy_auth_key.md)(\[\]) === [$DestroyAuthKeyRes](../types/DestroyAuthKeyRes.md)
$MadelineProto->[destroy_session](destroy_session.md)(\['session_id' => [long](../types/long.md), \]) === [$DestroySessionRes](../types/DestroySessionRes.md)
***
-
$MadelineProto->[get_future_salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) === [$FutureSalts](../types/FutureSalts.md)
+
+$MadelineProto->[get_future_salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) === [$FutureSalts](../types/FutureSalts.md)
***
-
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
+
+$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md)
@@ -243,22 +252,28 @@ $MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputApp
$MadelineProto->[help->setBotUpdatesStatus](help_setBotUpdatesStatus.md)(\['pending_updates_count' => [int](../types/int.md), 'message' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
+
+$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)
@@ -429,7 +444,8 @@ $MadelineProto->[messages->toggleDialogPin](messages_toggleDialogPin.md)(\['pinn
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[payments->getPaymentForm](payments_getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md)
@@ -442,7 +458,8 @@ $MadelineProto->[payments->sendPaymentForm](payments_sendPaymentForm.md)(\['msg_
$MadelineProto->[payments->validateRequestedInfo](payments_validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md)
***
-
$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)
+
+$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)
$MadelineProto->[phone->confirmCall](phone_confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)
@@ -459,7 +476,8 @@ $MadelineProto->[phone->saveCallDebug](phone_saveCallDebug.md)(\['peer' => [Inpu
$MadelineProto->[phone->setCallRating](phone_setCallRating.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'rating' => [int](../types/int.md), 'comment' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
***
-
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
+
+$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)
@@ -468,30 +486,36 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md)
***
-
$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) === [$Pong](../types/Pong.md)
+
+$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) === [$Pong](../types/Pong.md)
$MadelineProto->[ping_delay_disconnect](ping_delay_disconnect.md)(\['ping_id' => [long](../types/long.md), 'disconnect_delay' => [int](../types/int.md), \]) === [$Pong](../types/Pong.md)
***
-
$MadelineProto->[req_DH_params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [string](../types/string.md), 'q' => [string](../types/string.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Server\_DH\_Params](../types/Server_DH_Params.md)
+
+$MadelineProto->[req_DH_params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [string](../types/string.md), 'q' => [string](../types/string.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Server\_DH\_Params](../types/Server_DH_Params.md)
$MadelineProto->[req_pq](req_pq.md)(\['nonce' => [int128](../types/int128.md), \]) === [$ResPQ](../types/ResPQ.md)
***
-
$MadelineProto->[rpc_drop_answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) === [$RpcDropAnswer](../types/RpcDropAnswer.md)
+
+$MadelineProto->[rpc_drop_answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) === [$RpcDropAnswer](../types/RpcDropAnswer.md)
***
-
$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)
+
+$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)
***
-
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
+
+$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)
***
-
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
+
+$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
$MadelineProto->[upload->getWebFile](upload_getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_WebFile](../types/upload_WebFile.md)
@@ -500,7 +524,8 @@ $MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id'
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
+
+$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)
diff --git a/old_docs/API_docs_v66/methods/README.md b/old_docs/API_docs_v66/methods/README.md
index b95a13ee..bcfef9f4 100644
--- a/old_docs/API_docs_v66/methods/README.md
+++ b/old_docs/API_docs_v66/methods/README.md
@@ -27,8 +27,7 @@ description: What do you want to do?
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
-***
-
* Change the phone number associated to this account
+* Change the phone number associated to this account
* Check if this username is available
@@ -82,25 +81,12 @@ description: What do you want to do?
* Update this user's username
-***
-
* You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info
-
* Invalidate sent phone code
-* You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)
-
* Check if this phone number is registered on telegram
* Delete all temporary authorization keys except the ones provided
-* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)
-
* Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account
* Send an email to recover the 2FA password
@@ -109,21 +95,13 @@ description: What do you want to do?
* Delete all logged-in sessions.
-* Use phone_login instead
-
* Invite friends to telegram!
-* You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)
-
-***
-
* Send webhook request via bot API
+* Send webhook request via bot API
* Send a custom request to the bot API
-***
-
* Check if this username is free and can be assigned to a channel/supergroup
+* Check if this username is free and can be assigned to a channel/supergroup
* Create channel/supergroup
@@ -149,8 +127,6 @@ description: What do you want to do?
* Get info about multiple channels/supergroups
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get channel/supergroup messages
* Get info about a certain channel/supergroup participant
@@ -177,8 +153,7 @@ description: What do you want to do?
* Update the username of a supergroup/channel
-***
-
* Block a user
+* Block a user
* Delete a contact
@@ -200,25 +175,19 @@ description: What do you want to do?
* Reset top peer rating for a certain category/peer
-* You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Search contacts
* Unblock a user
-***
-
* Save developer info for telegram contest
+* Save developer info for telegram contest
-***
-
* Destroy current authorization key
+* Destroy current authorization key
* Destroy the current MTProto session
-***
-
* Get future salts
+* Get future salts
-***
-
* Get the changelog of this app
+* Get the changelog of this app
* Get info about app updates
@@ -238,23 +207,15 @@ description: What do you want to do?
* Set the update status of webhook
-***
-
* Initializes connection and save information on the user's device and application.
+* Initializes connection and save information on the user's device and application.
-***
-
* Invokes a query after successfull completion of one of the previous queries.
+* Invokes a query after successfull completion of one of the previous queries.
-***
-
* Result type returned by a current query.
+* Result type returned by a current query.
-***
-
* Invoke this method with layer X
+* Invoke this method with layer X
-***
-
* Invoke with method without returning updates in the socket
-
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
+* Invoke with method without returning updates in the socket
* Add a user to a normal chat (use channels->inviteToChannel for supergroups)
@@ -270,8 +231,6 @@ description: What do you want to do?
* Delete messages
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Edit admin permissions
* Edit the photo of a normal chat (not supergroup)
@@ -304,16 +263,12 @@ description: What do you want to do?
* Get chats in common with a user
-* You cannot use this method directly, instead use $MadelineProto->get_dh_config();
-
* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html
* Get document by SHA256 hash
* Get featured stickers
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get high scores of a game
* Get previous messages of a group
@@ -364,8 +319,6 @@ description: What do you want to do?
* Mark messages as read
-* You cannot use this method directly
-
* Reorder pinned dialogs
* Reorder sticker sets
@@ -374,8 +327,6 @@ description: What do you want to do?
* Report a peer for spam
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Save a message draft
* Save a GIF
@@ -424,8 +375,7 @@ description: What do you want to do?
* Remove a sticker set
-***
-
* Clear saved payments info
+* Clear saved payments info
* Get payment form
@@ -437,25 +387,15 @@ description: What do you want to do?
* Validate requested payment info
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
* Get call configuration
* Notify server that you received a call (server will refuse all incoming calls until the current call is over)
-* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
* Save call debugging info
* Set phone call rating
-***
-
* Delete profile photos
+* Delete profile photos
* Get the profile photos of a user
@@ -463,44 +403,19 @@ description: What do you want to do?
* Upload profile photo
-***
-
* pings the server
+* pings the server
* Pings the server and causes disconection if the same method is not called within ping_disconnect_delay
-***
-
* Requests Diffie-hellman parameters for key exchange
+* Requests Diffie-hellman parameters for key exchange
* Requests PQ for factorization
-***
-
* Do not send answer to provided request
+* Do not send answer to provided request
-***
-
* Sets client diffie-hellman parameters
-
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-***
-
* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
+* Sets client diffie-hellman parameters
* Download a file through telegram
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-***
-
* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get info about users
diff --git a/old_docs/API_docs_v66/methods/api_README.md b/old_docs/API_docs_v66/methods/api_README.md
index 90f35fd6..bc6ef190 100644
--- a/old_docs/API_docs_v66/methods/api_README.md
+++ b/old_docs/API_docs_v66/methods/api_README.md
@@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
***
-
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
+
+$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -89,7 +90,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)
***
-
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[auth->cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -124,12 +126,14 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
***
-
$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[bots->sendCustomRequest](bots_sendCustomRequest.md)(\['custom_method' => [string](../types/string.md), 'params' => [DataJSON](../types/DataJSON.md), \]) === [$DataJSON](../types/DataJSON.md)
***
-
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
@@ -184,7 +188,8 @@ $MadelineProto->[channels->updatePinnedMessage](channels_updatePinnedMessage.md)
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)
@@ -213,18 +218,22 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[contest->saveDeveloperInfo](contest_saveDeveloperInfo.md)(\['vk_id' => [int](../types/int.md), 'name' => [string](../types/string.md), 'phone_number' => [string](../types/string.md), 'age' => [int](../types/int.md), 'city' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contest->saveDeveloperInfo](contest_saveDeveloperInfo.md)(\['vk_id' => [int](../types/int.md), 'name' => [string](../types/string.md), 'phone_number' => [string](../types/string.md), 'age' => [int](../types/int.md), 'city' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[destroy_auth_key](destroy_auth_key.md)(\[\]) === [$DestroyAuthKeyRes](../types/DestroyAuthKeyRes.md)
+
+$MadelineProto->[destroy_auth_key](destroy_auth_key.md)(\[\]) === [$DestroyAuthKeyRes](../types/DestroyAuthKeyRes.md)
$MadelineProto->[destroy_session](destroy_session.md)(\['session_id' => [long](../types/long.md), \]) === [$DestroySessionRes](../types/DestroySessionRes.md)
***
-
$MadelineProto->[get_future_salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) === [$FutureSalts](../types/FutureSalts.md)
+
+$MadelineProto->[get_future_salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) === [$FutureSalts](../types/FutureSalts.md)
***
-
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
+
+$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md)
@@ -245,22 +254,28 @@ $MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputApp
$MadelineProto->[help->setBotUpdatesStatus](help_setBotUpdatesStatus.md)(\['pending_updates_count' => [int](../types/int.md), 'message' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
+
+$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)
@@ -431,7 +446,8 @@ $MadelineProto->[messages->toggleDialogPin](messages_toggleDialogPin.md)(\['pinn
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[payments->getPaymentForm](payments_getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md)
@@ -444,7 +460,8 @@ $MadelineProto->[payments->sendPaymentForm](payments_sendPaymentForm.md)(\['msg_
$MadelineProto->[payments->validateRequestedInfo](payments_validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md)
***
-
$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)
+
+$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)
$MadelineProto->[phone->confirmCall](phone_confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)
@@ -461,7 +478,8 @@ $MadelineProto->[phone->saveCallDebug](phone_saveCallDebug.md)(\['peer' => [Inpu
$MadelineProto->[phone->setCallRating](phone_setCallRating.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'rating' => [int](../types/int.md), 'comment' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
***
-
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
+
+$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)
@@ -470,30 +488,36 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md)
***
-
$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) === [$Pong](../types/Pong.md)
+
+$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) === [$Pong](../types/Pong.md)
$MadelineProto->[ping_delay_disconnect](ping_delay_disconnect.md)(\['ping_id' => [long](../types/long.md), 'disconnect_delay' => [int](../types/int.md), \]) === [$Pong](../types/Pong.md)
***
-
$MadelineProto->[req_DH_params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [string](../types/string.md), 'q' => [string](../types/string.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Server\_DH\_Params](../types/Server_DH_Params.md)
+
+$MadelineProto->[req_DH_params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [string](../types/string.md), 'q' => [string](../types/string.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Server\_DH\_Params](../types/Server_DH_Params.md)
$MadelineProto->[req_pq](req_pq.md)(\['nonce' => [int128](../types/int128.md), \]) === [$ResPQ](../types/ResPQ.md)
***
-
$MadelineProto->[rpc_drop_answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) === [$RpcDropAnswer](../types/RpcDropAnswer.md)
+
+$MadelineProto->[rpc_drop_answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) === [$RpcDropAnswer](../types/RpcDropAnswer.md)
***
-
$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)
+
+$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)
***
-
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
+
+$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)
***
-
$MadelineProto->[upload->getCdnFile](upload_getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md)
+
+$MadelineProto->[upload->getCdnFile](upload_getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md)
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
@@ -506,7 +530,8 @@ $MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id'
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
+
+$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)
diff --git a/old_docs/API_docs_v68/methods/README.md b/old_docs/API_docs_v68/methods/README.md
index 80343f0c..01ac836a 100644
--- a/old_docs/API_docs_v68/methods/README.md
+++ b/old_docs/API_docs_v68/methods/README.md
@@ -27,8 +27,7 @@ description: What do you want to do?
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
-***
-
* Change the phone number associated to this account
+* Change the phone number associated to this account
* Check if this username is available
@@ -82,25 +81,12 @@ description: What do you want to do?
* Update this user's username
-***
-
* You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info
-
* Invalidate sent phone code
-* You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)
-
* Check if this phone number is registered on telegram
* Delete all temporary authorization keys except the ones provided
-* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)
-
* Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account
* Send an email to recover the 2FA password
@@ -109,21 +95,13 @@ description: What do you want to do?
* Delete all logged-in sessions.
-* Use phone_login instead
-
* Invite friends to telegram!
-* You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)
-
-***
-
* Send webhook request via bot API
+* Send webhook request via bot API
* Send a custom request to the bot API
-***
-
* Check if this username is free and can be assigned to a channel/supergroup
+* Check if this username is free and can be assigned to a channel/supergroup
* Create channel/supergroup
@@ -153,8 +131,6 @@ description: What do you want to do?
* Get info about multiple channels/supergroups
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get channel/supergroup messages
* Get info about a certain channel/supergroup participant
@@ -179,8 +155,7 @@ description: What do you want to do?
* Update the username of a supergroup/channel
-***
-
* Block a user
+* Block a user
* Delete a contact
@@ -202,25 +177,19 @@ description: What do you want to do?
* Reset top peer rating for a certain category/peer
-* You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Search contacts
* Unblock a user
-***
-
* Save developer info for telegram contest
+* Save developer info for telegram contest
-***
-
* Destroy current authorization key
+* Destroy current authorization key
* Destroy the current MTProto session
-***
-
* Get future salts
+* Get future salts
-***
-
* Get the changelog of this app
+* Get the changelog of this app
* Get info about app updates
@@ -240,23 +209,17 @@ description: What do you want to do?
* Set the update status of webhook
-***
-
* Initializes connection and save information on the user's device and application.
+* Initializes connection and save information on the user's device and application.
-***
-
* Invokes a query after successfull completion of one of the previous queries.
+* Invokes a query after successfull completion of one of the previous queries.
-***
-
* Result type returned by a current query.
+* Result type returned by a current query.
-***
-
* Invoke this method with layer X
+* Invoke this method with layer X
-***
-
* Invoke with method without returning updates in the socket
+* Invoke with method without returning updates in the socket
-***
-
* Get language pack updates
+* Get language pack updates
* Get language pack
@@ -264,9 +227,6 @@ description: What do you want to do?
* Get language pack strings
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Add a user to a normal chat (use channels->inviteToChannel for supergroups)
* Check if an invitation link is valid
@@ -281,8 +241,6 @@ description: What do you want to do?
* Delete messages
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Edit admin permissions
* Edit the photo of a normal chat (not supergroup)
@@ -315,16 +273,12 @@ description: What do you want to do?
* Get chats in common with a user
-* You cannot use this method directly, instead use $MadelineProto->get_dh_config();
-
* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html
* Get document by SHA256 hash
* Get featured stickers
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get high scores of a game
* Get previous messages of a group
@@ -375,8 +329,6 @@ description: What do you want to do?
* Mark messages as read
-* You cannot use this method directly
-
* Reorder pinned dialogs
* Reorder sticker sets
@@ -385,8 +337,6 @@ description: What do you want to do?
* Report a peer for spam
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Save a message draft
* Save a GIF
@@ -437,8 +387,7 @@ description: What do you want to do?
* Upload a file without sending it to anyone
-***
-
* Clear saved payments info
+* Clear saved payments info
* Get payment form
@@ -450,25 +399,15 @@ description: What do you want to do?
* Validate requested payment info
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
* Get call configuration
* Notify server that you received a call (server will refuse all incoming calls until the current call is over)
-* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
* Save call debugging info
* Set phone call rating
-***
-
* Delete profile photos
+* Delete profile photos
* Get the profile photos of a user
@@ -476,24 +415,19 @@ description: What do you want to do?
* Upload profile photo
-***
-
* pings the server
+* pings the server
* Pings the server and causes disconection if the same method is not called within ping_disconnect_delay
-***
-
* Requests Diffie-hellman parameters for key exchange
+* Requests Diffie-hellman parameters for key exchange
* Requests PQ for factorization
-***
-
* Do not send answer to provided request
+* Do not send answer to provided request
-***
-
* Sets client diffie-hellman parameters
+* Sets client diffie-hellman parameters
-***
-
* Add sticker to stickerset
+* Add sticker to stickerset
* Change sticker position in photo
@@ -501,28 +435,7 @@ description: What do you want to do?
* Remove sticker from stickerset
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-***
-
* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
* Download a file through telegram
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-***
-
* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get info about users
diff --git a/old_docs/API_docs_v68/methods/api_README.md b/old_docs/API_docs_v68/methods/api_README.md
index 05af64fe..a85c8067 100644
--- a/old_docs/API_docs_v68/methods/api_README.md
+++ b/old_docs/API_docs_v68/methods/api_README.md
@@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
***
-
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
+
+$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -89,7 +90,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)
***
-
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[auth->cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -124,12 +126,14 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
***
-
$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[bots->sendCustomRequest](bots_sendCustomRequest.md)(\['custom_method' => [string](../types/string.md), 'params' => [DataJSON](../types/DataJSON.md), \]) === [$DataJSON](../types/DataJSON.md)
***
-
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
@@ -186,7 +190,8 @@ $MadelineProto->[channels->updatePinnedMessage](channels_updatePinnedMessage.md)
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)
@@ -215,18 +220,22 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[contest->saveDeveloperInfo](contest_saveDeveloperInfo.md)(\['vk_id' => [int](../types/int.md), 'name' => [string](../types/string.md), 'phone_number' => [string](../types/string.md), 'age' => [int](../types/int.md), 'city' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contest->saveDeveloperInfo](contest_saveDeveloperInfo.md)(\['vk_id' => [int](../types/int.md), 'name' => [string](../types/string.md), 'phone_number' => [string](../types/string.md), 'age' => [int](../types/int.md), 'city' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[destroy_auth_key](destroy_auth_key.md)(\[\]) === [$DestroyAuthKeyRes](../types/DestroyAuthKeyRes.md)
+
+$MadelineProto->[destroy_auth_key](destroy_auth_key.md)(\[\]) === [$DestroyAuthKeyRes](../types/DestroyAuthKeyRes.md)
$MadelineProto->[destroy_session](destroy_session.md)(\['session_id' => [long](../types/long.md), \]) === [$DestroySessionRes](../types/DestroySessionRes.md)
***
-
$MadelineProto->[get_future_salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) === [$FutureSalts](../types/FutureSalts.md)
+
+$MadelineProto->[get_future_salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) === [$FutureSalts](../types/FutureSalts.md)
***
-
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
+
+$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md)
@@ -247,22 +256,28 @@ $MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputApp
$MadelineProto->[help->setBotUpdatesStatus](help_setBotUpdatesStatus.md)(\['pending_updates_count' => [int](../types/int.md), 'message' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'system_lang_code' => [string](../types/string.md), 'lang_pack' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'system_lang_code' => [string](../types/string.md), 'lang_pack' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[langpack->getDifference](langpack_getDifference.md)(\['from_version' => [int](../types/int.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)
+
+$MadelineProto->[langpack->getDifference](langpack_getDifference.md)(\['from_version' => [int](../types/int.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)
$MadelineProto->[langpack->getLangPack](langpack_getLangPack.md)(\['lang_code' => [string](../types/string.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)
@@ -271,7 +286,8 @@ $MadelineProto->[langpack->getLanguages](langpack_getLanguages.md)(\[\]) === [$V
$MadelineProto->[langpack->getStrings](langpack_getStrings.md)(\['lang_code' => [string](../types/string.md), 'keys' => \[[string](../types/string.md)\], \]) === [$Vector\_of\_LangPackString](../types/LangPackString.md)
***
-
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
+
+$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)
@@ -444,7 +460,8 @@ $MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)
$MadelineProto->[messages->uploadMedia](messages_uploadMedia.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$MessageMedia](../types/MessageMedia.md)
***
-
$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[payments->getPaymentForm](payments_getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md)
@@ -457,7 +474,8 @@ $MadelineProto->[payments->sendPaymentForm](payments_sendPaymentForm.md)(\['msg_
$MadelineProto->[payments->validateRequestedInfo](payments_validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md)
***
-
$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)
+
+$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)
$MadelineProto->[phone->confirmCall](phone_confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)
@@ -474,7 +492,8 @@ $MadelineProto->[phone->saveCallDebug](phone_saveCallDebug.md)(\['peer' => [Inpu
$MadelineProto->[phone->setCallRating](phone_setCallRating.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'rating' => [int](../types/int.md), 'comment' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
***
-
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
+
+$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)
@@ -483,23 +502,28 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md)
***
-
$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) === [$Pong](../types/Pong.md)
+
+$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) === [$Pong](../types/Pong.md)
$MadelineProto->[ping_delay_disconnect](ping_delay_disconnect.md)(\['ping_id' => [long](../types/long.md), 'disconnect_delay' => [int](../types/int.md), \]) === [$Pong](../types/Pong.md)
***
-
$MadelineProto->[req_DH_params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [string](../types/string.md), 'q' => [string](../types/string.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Server\_DH\_Params](../types/Server_DH_Params.md)
+
+$MadelineProto->[req_DH_params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [string](../types/string.md), 'q' => [string](../types/string.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Server\_DH\_Params](../types/Server_DH_Params.md)
$MadelineProto->[req_pq](req_pq.md)(\['nonce' => [int128](../types/int128.md), \]) === [$ResPQ](../types/ResPQ.md)
***
-
$MadelineProto->[rpc_drop_answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) === [$RpcDropAnswer](../types/RpcDropAnswer.md)
+
+$MadelineProto->[rpc_drop_answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) === [$RpcDropAnswer](../types/RpcDropAnswer.md)
***
-
$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)
+
+$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)
***
-
$MadelineProto->[stickers->addStickerToSet](stickers_addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)
+
+$MadelineProto->[stickers->addStickerToSet](stickers_addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)
$MadelineProto->[stickers->changeStickerPosition](stickers_changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$Bool](../types/Bool.md)
@@ -508,14 +532,16 @@ $MadelineProto->[stickers->createStickerSet](stickers_createStickerSet.md)(\['ma
$MadelineProto->[stickers->removeStickerFromSet](stickers_removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
+
+$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)
***
-
$MadelineProto->[upload->getCdnFile](upload_getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md)
+
+$MadelineProto->[upload->getCdnFile](upload_getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md)
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)
@@ -528,7 +554,8 @@ $MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id'
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
+
+$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)
diff --git a/old_docs/API_docs_v70/methods/README.md b/old_docs/API_docs_v70/methods/README.md
index e66f9748..2ee6491c 100644
--- a/old_docs/API_docs_v70/methods/README.md
+++ b/old_docs/API_docs_v70/methods/README.md
@@ -27,8 +27,7 @@ description: What do you want to do?
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
-***
-
* Change the phone number associated to this account
+* Change the phone number associated to this account
* Check if this username is available
@@ -82,25 +81,12 @@ description: What do you want to do?
* Update this user's username
-***
-
* You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info
-
* Invalidate sent phone code
-* You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)
-
* Check if this phone number is registered on telegram
* Delete all temporary authorization keys except the ones provided
-* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)
-
* Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account
* Send an email to recover the 2FA password
@@ -109,21 +95,13 @@ description: What do you want to do?
* Delete all logged-in sessions.
-* Use phone_login instead
-
* Invite friends to telegram!
-* You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)
-
-***
-
* Send webhook request via bot API
+* Send webhook request via bot API
* Send a custom request to the bot API
-***
-
* Check if this username is free and can be assigned to a channel/supergroup
+* Check if this username is free and can be assigned to a channel/supergroup
* Create channel/supergroup
@@ -153,8 +131,6 @@ description: What do you want to do?
* Get info about multiple channels/supergroups
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get channel/supergroup messages
* Get info about a certain channel/supergroup participant
@@ -179,8 +155,7 @@ description: What do you want to do?
* Update the username of a supergroup/channel
-***
-
* Block a user
+* Block a user
* Delete a contact
@@ -202,25 +177,19 @@ description: What do you want to do?
* Reset top peer rating for a certain category/peer
-* You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Search contacts
* Unblock a user
-***
-
* Save developer info for telegram contest
+* Save developer info for telegram contest
-***
-
* Destroy current authorization key
+* Destroy current authorization key
* Destroy the current MTProto session
-***
-
* Get future salts
+* Get future salts
-***
-
* Get the changelog of this app
+* Get the changelog of this app
* Get info about app updates
@@ -240,23 +209,17 @@ description: What do you want to do?
* Set the update status of webhook
-***
-
* Initializes connection and save information on the user's device and application.
+* Initializes connection and save information on the user's device and application.
-***
-
* Invokes a query after successfull completion of one of the previous queries.
+* Invokes a query after successfull completion of one of the previous queries.
-***
-
* Result type returned by a current query.
+* Result type returned by a current query.
-***
-
* Invoke this method with layer X
+* Invoke this method with layer X
-***
-
* Invoke with method without returning updates in the socket
+* Invoke with method without returning updates in the socket
-***
-
* Get language pack updates
+* Get language pack updates
* Get language pack
@@ -264,9 +227,6 @@ description: What do you want to do?
* Get language pack strings
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Add a user to a normal chat (use channels->inviteToChannel for supergroups)
* Check if an invitation link is valid
@@ -281,8 +241,6 @@ description: What do you want to do?
* Delete messages
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Edit admin permissions
* Edit the photo of a normal chat (not supergroup)
@@ -315,16 +273,12 @@ description: What do you want to do?
* Get chats in common with a user
-* You cannot use this method directly, instead use $MadelineProto->get_dh_config();
-
* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html
* Get document by SHA256 hash
* Get featured stickers
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get high scores of a game
* Get previous messages of a group
@@ -375,8 +329,6 @@ description: What do you want to do?
* Mark messages as read
-* You cannot use this method directly
-
* Reorder pinned dialogs
* Reorder sticker sets
@@ -385,8 +337,6 @@ description: What do you want to do?
* Report a peer for spam
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Save a message draft
* Save a GIF
@@ -439,8 +389,7 @@ description: What do you want to do?
* Upload a file without sending it to anyone
-***
-
* Clear saved payments info
+* Clear saved payments info
* Get payment form
@@ -452,25 +401,15 @@ description: What do you want to do?
* Validate requested payment info
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
* Get call configuration
* Notify server that you received a call (server will refuse all incoming calls until the current call is over)
-* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
* Save call debugging info
* Set phone call rating
-***
-
* Delete profile photos
+* Delete profile photos
* Get the profile photos of a user
@@ -478,24 +417,19 @@ description: What do you want to do?
* Upload profile photo
-***
-
* pings the server
+* pings the server
* Pings the server and causes disconection if the same method is not called within ping_disconnect_delay
-***
-
* Requests Diffie-hellman parameters for key exchange
+* Requests Diffie-hellman parameters for key exchange
* Requests PQ for factorization
-***
-
* Do not send answer to provided request
+* Do not send answer to provided request
-***
-
* Sets client diffie-hellman parameters
+* Sets client diffie-hellman parameters
-***
-
* Add sticker to stickerset
+* Add sticker to stickerset
* Change sticker position in photo
@@ -503,30 +437,7 @@ description: What do you want to do?
* Remove sticker from stickerset
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-***
-
* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
* Download a file through telegram
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-***
-
* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get info about users
diff --git a/old_docs/API_docs_v70/methods/api_README.md b/old_docs/API_docs_v70/methods/api_README.md
index 6eb6277b..1ac2fd83 100644
--- a/old_docs/API_docs_v70/methods/api_README.md
+++ b/old_docs/API_docs_v70/methods/api_README.md
@@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
***
-
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
+
+$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -89,7 +90,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)
***
-
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[auth->cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -124,12 +126,14 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
***
-
$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[bots->sendCustomRequest](bots_sendCustomRequest.md)(\['custom_method' => [string](../types/string.md), 'params' => [DataJSON](../types/DataJSON.md), \]) === [$DataJSON](../types/DataJSON.md)
***
-
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
@@ -186,7 +190,8 @@ $MadelineProto->[channels->updatePinnedMessage](channels_updatePinnedMessage.md)
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)
@@ -215,18 +220,22 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[contest->saveDeveloperInfo](contest_saveDeveloperInfo.md)(\['vk_id' => [int](../types/int.md), 'name' => [string](../types/string.md), 'phone_number' => [string](../types/string.md), 'age' => [int](../types/int.md), 'city' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contest->saveDeveloperInfo](contest_saveDeveloperInfo.md)(\['vk_id' => [int](../types/int.md), 'name' => [string](../types/string.md), 'phone_number' => [string](../types/string.md), 'age' => [int](../types/int.md), 'city' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[destroy_auth_key](destroy_auth_key.md)(\[\]) === [$DestroyAuthKeyRes](../types/DestroyAuthKeyRes.md)
+
+$MadelineProto->[destroy_auth_key](destroy_auth_key.md)(\[\]) === [$DestroyAuthKeyRes](../types/DestroyAuthKeyRes.md)
$MadelineProto->[destroy_session](destroy_session.md)(\['session_id' => [long](../types/long.md), \]) === [$DestroySessionRes](../types/DestroySessionRes.md)
***
-
$MadelineProto->[get_future_salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) === [$FutureSalts](../types/FutureSalts.md)
+
+$MadelineProto->[get_future_salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) === [$FutureSalts](../types/FutureSalts.md)
***
-
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
+
+$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md)
@@ -247,22 +256,28 @@ $MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputApp
$MadelineProto->[help->setBotUpdatesStatus](help_setBotUpdatesStatus.md)(\['pending_updates_count' => [int](../types/int.md), 'message' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'system_lang_code' => [string](../types/string.md), 'lang_pack' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'system_lang_code' => [string](../types/string.md), 'lang_pack' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[langpack->getDifference](langpack_getDifference.md)(\['from_version' => [int](../types/int.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)
+
+$MadelineProto->[langpack->getDifference](langpack_getDifference.md)(\['from_version' => [int](../types/int.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)
$MadelineProto->[langpack->getLangPack](langpack_getLangPack.md)(\['lang_code' => [string](../types/string.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)
@@ -271,7 +286,8 @@ $MadelineProto->[langpack->getLanguages](langpack_getLanguages.md)(\[\]) === [$V
$MadelineProto->[langpack->getStrings](langpack_getStrings.md)(\['lang_code' => [string](../types/string.md), 'keys' => \[[string](../types/string.md)\], \]) === [$Vector\_of\_LangPackString](../types/LangPackString.md)
***
-
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
+
+$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)
@@ -446,7 +462,8 @@ $MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)
$MadelineProto->[messages->uploadMedia](messages_uploadMedia.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$MessageMedia](../types/MessageMedia.md)
***
-
$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[payments->getPaymentForm](payments_getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md)
@@ -459,7 +476,8 @@ $MadelineProto->[payments->sendPaymentForm](payments_sendPaymentForm.md)(\['msg_
$MadelineProto->[payments->validateRequestedInfo](payments_validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md)
***
-
$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)
+
+$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)
$MadelineProto->[phone->confirmCall](phone_confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)
@@ -476,7 +494,8 @@ $MadelineProto->[phone->saveCallDebug](phone_saveCallDebug.md)(\['peer' => [Inpu
$MadelineProto->[phone->setCallRating](phone_setCallRating.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'rating' => [int](../types/int.md), 'comment' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
***
-
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
+
+$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)
@@ -485,23 +504,28 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md)
***
-
$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) === [$Pong](../types/Pong.md)
+
+$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) === [$Pong](../types/Pong.md)
$MadelineProto->[ping_delay_disconnect](ping_delay_disconnect.md)(\['ping_id' => [long](../types/long.md), 'disconnect_delay' => [int](../types/int.md), \]) === [$Pong](../types/Pong.md)
***
-
$MadelineProto->[req_DH_params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [string](../types/string.md), 'q' => [string](../types/string.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Server\_DH\_Params](../types/Server_DH_Params.md)
+
+$MadelineProto->[req_DH_params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [string](../types/string.md), 'q' => [string](../types/string.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Server\_DH\_Params](../types/Server_DH_Params.md)
$MadelineProto->[req_pq](req_pq.md)(\['nonce' => [int128](../types/int128.md), \]) === [$ResPQ](../types/ResPQ.md)
***
-
$MadelineProto->[rpc_drop_answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) === [$RpcDropAnswer](../types/RpcDropAnswer.md)
+
+$MadelineProto->[rpc_drop_answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) === [$RpcDropAnswer](../types/RpcDropAnswer.md)
***
-
$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)
+
+$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)
***
-
$MadelineProto->[stickers->addStickerToSet](stickers_addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)
+
+$MadelineProto->[stickers->addStickerToSet](stickers_addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)
$MadelineProto->[stickers->changeStickerPosition](stickers_changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)
@@ -510,14 +534,16 @@ $MadelineProto->[stickers->createStickerSet](stickers_createStickerSet.md)(\['ma
$MadelineProto->[stickers->removeStickerFromSet](stickers_removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)
***
-
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
+
+$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)
***
-
$MadelineProto->[upload->getCdnFile](upload_getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md)
+
+$MadelineProto->[upload->getCdnFile](upload_getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md)
$MadelineProto->[upload->getCdnFileHashes](upload_getCdnFileHashes.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), \]) === [$Vector\_of\_CdnFileHash](../types/CdnFileHash.md)
@@ -532,7 +558,8 @@ $MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id'
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
+
+$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)
diff --git a/old_docs/API_docs_v71/methods/README.md b/old_docs/API_docs_v71/methods/README.md
index 47285f6a..24b75a1c 100644
--- a/old_docs/API_docs_v71/methods/README.md
+++ b/old_docs/API_docs_v71/methods/README.md
@@ -27,8 +27,7 @@ description: What do you want to do?
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
-***
-
* Change the phone number associated to this account
+* Change the phone number associated to this account
* Check if this username is available
@@ -82,25 +81,12 @@ description: What do you want to do?
* Update this user's username
-***
-
* You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info
-
* Invalidate sent phone code
-* You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)
-
* Check if this phone number is registered on telegram
* Delete all temporary authorization keys except the ones provided
-* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)
-
* Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account
* Send an email to recover the 2FA password
@@ -109,21 +95,13 @@ description: What do you want to do?
* Delete all logged-in sessions.
-* Use phone_login instead
-
* Invite friends to telegram!
-* You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)
-
-***
-
* Send webhook request via bot API
+* Send webhook request via bot API
* Send a custom request to the bot API
-***
-
* Check if this username is free and can be assigned to a channel/supergroup
+* Check if this username is free and can be assigned to a channel/supergroup
* Create channel/supergroup
@@ -153,8 +131,6 @@ description: What do you want to do?
* Get info about multiple channels/supergroups
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get channel/supergroup messages
* Get info about a certain channel/supergroup participant
@@ -183,8 +159,7 @@ description: What do you want to do?
* Update the username of a supergroup/channel
-***
-
* Block a user
+* Block a user
* Delete a contact
@@ -208,25 +183,19 @@ description: What do you want to do?
* Reset top peer rating for a certain category/peer
-* You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Search contacts
* Unblock a user
-***
-
* Save developer info for telegram contest
+* Save developer info for telegram contest
-***
-
* Destroy current authorization key
+* Destroy current authorization key
* Destroy the current MTProto session
-***
-
* Get future salts
+* Get future salts
-***
-
* Get the changelog of this app
+* Get the changelog of this app
* Get info about app updates
@@ -246,23 +215,17 @@ description: What do you want to do?
* Set the update status of webhook
-***
-
* Initializes connection and save information on the user's device and application.
+* Initializes connection and save information on the user's device and application.
-***
-
* Invokes a query after successfull completion of one of the previous queries.
+* Invokes a query after successfull completion of one of the previous queries.
-***
-
* Result type returned by a current query.
+* Result type returned by a current query.
-***
-
* Invoke this method with layer X
+* Invoke this method with layer X
-***
-
* Invoke with method without returning updates in the socket
+* Invoke with method without returning updates in the socket
-***
-
* Get language pack updates
+* Get language pack updates
* Get language pack
@@ -270,9 +233,6 @@ description: What do you want to do?
* Get language pack strings
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Add a user to a normal chat (use channels->inviteToChannel for supergroups)
* Check if an invitation link is valid
@@ -287,8 +247,6 @@ description: What do you want to do?
* Delete messages
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Edit admin permissions
* Edit the photo of a normal chat (not supergroup)
@@ -323,8 +281,6 @@ description: What do you want to do?
* Get chats in common with a user
-* You cannot use this method directly, instead use $MadelineProto->get_dh_config();
-
* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html
* Get document by SHA256 hash
@@ -333,8 +289,6 @@ description: What do you want to do?
* Get featured stickers
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get high scores of a game
* Get previous messages of a group
@@ -387,8 +341,6 @@ description: What do you want to do?
* Mark messages as read
-* You cannot use this method directly
-
* Reorder pinned dialogs
* Reorder sticker sets
@@ -397,8 +349,6 @@ description: What do you want to do?
* Report a peer for spam
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Save a message draft
* Save a GIF
@@ -451,8 +401,7 @@ description: What do you want to do?
* Upload a file without sending it to anyone
-***
-
* Clear saved payments info
+* Clear saved payments info
* Get payment form
@@ -464,25 +413,15 @@ description: What do you want to do?
* Validate requested payment info
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
* Get call configuration
* Notify server that you received a call (server will refuse all incoming calls until the current call is over)
-* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
* Save call debugging info
* Set phone call rating
-***
-
* Delete profile photos
+* Delete profile photos
* Get the profile photos of a user
@@ -490,24 +429,19 @@ description: What do you want to do?
* Upload profile photo
-***
-
* pings the server
+* pings the server
* Pings the server and causes disconection if the same method is not called within ping_disconnect_delay
-***
-
* Requests Diffie-hellman parameters for key exchange
+* Requests Diffie-hellman parameters for key exchange
* Requests PQ for factorization
-***
-
* Do not send answer to provided request
+* Do not send answer to provided request
-***
-
* Sets client diffie-hellman parameters
+* Sets client diffie-hellman parameters
-***
-
* Add sticker to stickerset
+* Add sticker to stickerset
* Change sticker position in photo
@@ -515,30 +449,7 @@ description: What do you want to do?
* Remove sticker from stickerset
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-***
-
* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
* Download a file through telegram
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-***
-
* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get info about users
diff --git a/old_docs/API_docs_v71/methods/api_README.md b/old_docs/API_docs_v71/methods/api_README.md
index ff7c8e56..bd419d30 100644
--- a/old_docs/API_docs_v71/methods/api_README.md
+++ b/old_docs/API_docs_v71/methods/api_README.md
@@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
***
-
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
+
+$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -89,7 +90,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)
***
-
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[auth->cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -124,12 +126,14 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
***
-
$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[bots->sendCustomRequest](bots_sendCustomRequest.md)(\['custom_method' => [string](../types/string.md), 'params' => [DataJSON](../types/DataJSON.md), \]) === [$DataJSON](../types/DataJSON.md)
***
-
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
@@ -190,7 +194,8 @@ $MadelineProto->[channels->updatePinnedMessage](channels_updatePinnedMessage.md)
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)
@@ -221,18 +226,22 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[contest->saveDeveloperInfo](contest_saveDeveloperInfo.md)(\['vk_id' => [int](../types/int.md), 'name' => [string](../types/string.md), 'phone_number' => [string](../types/string.md), 'age' => [int](../types/int.md), 'city' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contest->saveDeveloperInfo](contest_saveDeveloperInfo.md)(\['vk_id' => [int](../types/int.md), 'name' => [string](../types/string.md), 'phone_number' => [string](../types/string.md), 'age' => [int](../types/int.md), 'city' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[destroy_auth_key](destroy_auth_key.md)(\[\]) === [$DestroyAuthKeyRes](../types/DestroyAuthKeyRes.md)
+
+$MadelineProto->[destroy_auth_key](destroy_auth_key.md)(\[\]) === [$DestroyAuthKeyRes](../types/DestroyAuthKeyRes.md)
$MadelineProto->[destroy_session](destroy_session.md)(\['session_id' => [long](../types/long.md), \]) === [$DestroySessionRes](../types/DestroySessionRes.md)
***
-
$MadelineProto->[get_future_salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) === [$FutureSalts](../types/FutureSalts.md)
+
+$MadelineProto->[get_future_salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) === [$FutureSalts](../types/FutureSalts.md)
***
-
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
+
+$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md)
@@ -253,22 +262,28 @@ $MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputApp
$MadelineProto->[help->setBotUpdatesStatus](help_setBotUpdatesStatus.md)(\['pending_updates_count' => [int](../types/int.md), 'message' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'system_lang_code' => [string](../types/string.md), 'lang_pack' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'system_lang_code' => [string](../types/string.md), 'lang_pack' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[langpack->getDifference](langpack_getDifference.md)(\['from_version' => [int](../types/int.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)
+
+$MadelineProto->[langpack->getDifference](langpack_getDifference.md)(\['from_version' => [int](../types/int.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)
$MadelineProto->[langpack->getLangPack](langpack_getLangPack.md)(\['lang_code' => [string](../types/string.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)
@@ -277,7 +292,8 @@ $MadelineProto->[langpack->getLanguages](langpack_getLanguages.md)(\[\]) === [$V
$MadelineProto->[langpack->getStrings](langpack_getStrings.md)(\['lang_code' => [string](../types/string.md), 'keys' => \[[string](../types/string.md)\], \]) === [$Vector\_of\_LangPackString](../types/LangPackString.md)
***
-
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
+
+$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)
@@ -458,7 +474,8 @@ $MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)
$MadelineProto->[messages->uploadMedia](messages_uploadMedia.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$MessageMedia](../types/MessageMedia.md)
***
-
$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[payments->getPaymentForm](payments_getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md)
@@ -471,7 +488,8 @@ $MadelineProto->[payments->sendPaymentForm](payments_sendPaymentForm.md)(\['msg_
$MadelineProto->[payments->validateRequestedInfo](payments_validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md)
***
-
$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)
+
+$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)
$MadelineProto->[phone->confirmCall](phone_confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)
@@ -488,7 +506,8 @@ $MadelineProto->[phone->saveCallDebug](phone_saveCallDebug.md)(\['peer' => [Inpu
$MadelineProto->[phone->setCallRating](phone_setCallRating.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'rating' => [int](../types/int.md), 'comment' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
***
-
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
+
+$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)
@@ -497,23 +516,28 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md)
***
-
$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) === [$Pong](../types/Pong.md)
+
+$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) === [$Pong](../types/Pong.md)
$MadelineProto->[ping_delay_disconnect](ping_delay_disconnect.md)(\['ping_id' => [long](../types/long.md), 'disconnect_delay' => [int](../types/int.md), \]) === [$Pong](../types/Pong.md)
***
-
$MadelineProto->[req_DH_params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [string](../types/string.md), 'q' => [string](../types/string.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Server\_DH\_Params](../types/Server_DH_Params.md)
+
+$MadelineProto->[req_DH_params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [string](../types/string.md), 'q' => [string](../types/string.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Server\_DH\_Params](../types/Server_DH_Params.md)
$MadelineProto->[req_pq](req_pq.md)(\['nonce' => [int128](../types/int128.md), \]) === [$ResPQ](../types/ResPQ.md)
***
-
$MadelineProto->[rpc_drop_answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) === [$RpcDropAnswer](../types/RpcDropAnswer.md)
+
+$MadelineProto->[rpc_drop_answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) === [$RpcDropAnswer](../types/RpcDropAnswer.md)
***
-
$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)
+
+$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)
***
-
$MadelineProto->[stickers->addStickerToSet](stickers_addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)
+
+$MadelineProto->[stickers->addStickerToSet](stickers_addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)
$MadelineProto->[stickers->changeStickerPosition](stickers_changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)
@@ -522,14 +546,16 @@ $MadelineProto->[stickers->createStickerSet](stickers_createStickerSet.md)(\['ma
$MadelineProto->[stickers->removeStickerFromSet](stickers_removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)
***
-
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
+
+$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)
***
-
$MadelineProto->[upload->getCdnFile](upload_getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md)
+
+$MadelineProto->[upload->getCdnFile](upload_getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md)
$MadelineProto->[upload->getCdnFileHashes](upload_getCdnFileHashes.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), \]) === [$Vector\_of\_CdnFileHash](../types/CdnFileHash.md)
@@ -544,7 +570,8 @@ $MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id'
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
+
+$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)
diff --git a/old_docs/API_docs_v72/methods/README.md b/old_docs/API_docs_v72/methods/README.md
index e1fa8797..2b0b99ce 100644
--- a/old_docs/API_docs_v72/methods/README.md
+++ b/old_docs/API_docs_v72/methods/README.md
@@ -27,8 +27,7 @@ description: What do you want to do?
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
-***
-
* Change the phone number associated to this account
+* Change the phone number associated to this account
* Check if this username is available
@@ -82,25 +81,12 @@ description: What do you want to do?
* Update this user's username
-***
-
* You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info
-
* Invalidate sent phone code
-* You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)
-
* Check if this phone number is registered on telegram
* Delete all temporary authorization keys except the ones provided
-* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)
-
* Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account
* Send an email to recover the 2FA password
@@ -109,21 +95,13 @@ description: What do you want to do?
* Delete all logged-in sessions.
-* Use phone_login instead
-
* Invite friends to telegram!
-* You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)
-
-***
-
* Send webhook request via bot API
+* Send webhook request via bot API
* Send a custom request to the bot API
-***
-
* Check if this username is free and can be assigned to a channel/supergroup
+* Check if this username is free and can be assigned to a channel/supergroup
* Create channel/supergroup
@@ -155,8 +133,6 @@ description: What do you want to do?
* Get info about multiple channels/supergroups
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get channel/supergroup messages
* Get info about a certain channel/supergroup participant
@@ -187,8 +163,7 @@ description: What do you want to do?
* Update the username of a supergroup/channel
-***
-
* Block a user
+* Block a user
* Delete a contact
@@ -212,25 +187,19 @@ description: What do you want to do?
* Reset top peer rating for a certain category/peer
-* You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Search contacts
* Unblock a user
-***
-
* Save developer info for telegram contest
+* Save developer info for telegram contest
-***
-
* Destroy current authorization key
+* Destroy current authorization key
* Destroy the current MTProto session
-***
-
* Get future salts
+* Get future salts
-***
-
* Get the changelog of this app
+* Get the changelog of this app
* Get info about app updates
@@ -252,23 +221,17 @@ description: What do you want to do?
* Set the update status of webhook
-***
-
* Initializes connection and save information on the user's device and application.
+* Initializes connection and save information on the user's device and application.
-***
-
* Invokes a query after successfull completion of one of the previous queries.
+* Invokes a query after successfull completion of one of the previous queries.
-***
-
* Result type returned by a current query.
+* Result type returned by a current query.
-***
-
* Invoke this method with layer X
+* Invoke this method with layer X
-***
-
* Invoke with method without returning updates in the socket
+* Invoke with method without returning updates in the socket
-***
-
* Get language pack updates
+* Get language pack updates
* Get language pack
@@ -276,9 +239,6 @@ description: What do you want to do?
* Get language pack strings
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Add a user to a normal chat (use channels->inviteToChannel for supergroups)
* Check if an invitation link is valid
@@ -293,8 +253,6 @@ description: What do you want to do?
* Delete messages
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Edit admin permissions
* Edit the photo of a normal chat (not supergroup)
@@ -329,8 +287,6 @@ description: What do you want to do?
* Get chats in common with a user
-* You cannot use this method directly, instead use $MadelineProto->get_dh_config();
-
* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html
* Get document by SHA256 hash
@@ -339,8 +295,6 @@ description: What do you want to do?
* Get featured stickers
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get high scores of a game
* Get previous messages of a group
@@ -397,8 +351,6 @@ description: What do you want to do?
* Mark messages as read
-* You cannot use this method directly
-
* Reorder pinned dialogs
* Reorder sticker sets
@@ -407,8 +359,6 @@ description: What do you want to do?
* Report a peer for spam
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Save a message draft
* Save a GIF
@@ -461,8 +411,7 @@ description: What do you want to do?
* Upload a file without sending it to anyone
-***
-
* Clear saved payments info
+* Clear saved payments info
* Get payment form
@@ -474,25 +423,15 @@ description: What do you want to do?
* Validate requested payment info
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
* Get call configuration
* Notify server that you received a call (server will refuse all incoming calls until the current call is over)
-* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
* Save call debugging info
* Set phone call rating
-***
-
* Delete profile photos
+* Delete profile photos
* Get the profile photos of a user
@@ -500,24 +439,19 @@ description: What do you want to do?
* Upload profile photo
-***
-
* pings the server
+* pings the server
* Pings the server and causes disconection if the same method is not called within ping_disconnect_delay
-***
-
* Requests Diffie-hellman parameters for key exchange
+* Requests Diffie-hellman parameters for key exchange
* Requests PQ for factorization
-***
-
* Do not send answer to provided request
+* Do not send answer to provided request
-***
-
* Sets client diffie-hellman parameters
+* Sets client diffie-hellman parameters
-***
-
* Add sticker to stickerset
+* Add sticker to stickerset
* Change sticker position in photo
@@ -525,30 +459,7 @@ description: What do you want to do?
* Remove sticker from stickerset
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-***
-
* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
* Download a file through telegram
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-***
-
* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get info about users
diff --git a/old_docs/API_docs_v72/methods/api_README.md b/old_docs/API_docs_v72/methods/api_README.md
index 0b99df05..1b71df42 100644
--- a/old_docs/API_docs_v72/methods/api_README.md
+++ b/old_docs/API_docs_v72/methods/api_README.md
@@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
***
-
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
+
+$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -89,7 +90,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)
***
-
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[auth->cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -124,12 +126,14 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
***
-
$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[bots->sendCustomRequest](bots_sendCustomRequest.md)(\['custom_method' => [string](../types/string.md), 'params' => [DataJSON](../types/DataJSON.md), \]) === [$DataJSON](../types/DataJSON.md)
***
-
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
@@ -194,7 +198,8 @@ $MadelineProto->[channels->updatePinnedMessage](channels_updatePinnedMessage.md)
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)
@@ -225,18 +230,22 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[contest->saveDeveloperInfo](contest_saveDeveloperInfo.md)(\['vk_id' => [int](../types/int.md), 'name' => [string](../types/string.md), 'phone_number' => [string](../types/string.md), 'age' => [int](../types/int.md), 'city' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contest->saveDeveloperInfo](contest_saveDeveloperInfo.md)(\['vk_id' => [int](../types/int.md), 'name' => [string](../types/string.md), 'phone_number' => [string](../types/string.md), 'age' => [int](../types/int.md), 'city' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[destroy_auth_key](destroy_auth_key.md)(\[\]) === [$DestroyAuthKeyRes](../types/DestroyAuthKeyRes.md)
+
+$MadelineProto->[destroy_auth_key](destroy_auth_key.md)(\[\]) === [$DestroyAuthKeyRes](../types/DestroyAuthKeyRes.md)
$MadelineProto->[destroy_session](destroy_session.md)(\['session_id' => [long](../types/long.md), \]) === [$DestroySessionRes](../types/DestroySessionRes.md)
***
-
$MadelineProto->[get_future_salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) === [$FutureSalts](../types/FutureSalts.md)
+
+$MadelineProto->[get_future_salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) === [$FutureSalts](../types/FutureSalts.md)
***
-
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
+
+$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md)
@@ -259,22 +268,28 @@ $MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputApp
$MadelineProto->[help->setBotUpdatesStatus](help_setBotUpdatesStatus.md)(\['pending_updates_count' => [int](../types/int.md), 'message' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'system_lang_code' => [string](../types/string.md), 'lang_pack' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'system_lang_code' => [string](../types/string.md), 'lang_pack' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[langpack->getDifference](langpack_getDifference.md)(\['from_version' => [int](../types/int.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)
+
+$MadelineProto->[langpack->getDifference](langpack_getDifference.md)(\['from_version' => [int](../types/int.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)
$MadelineProto->[langpack->getLangPack](langpack_getLangPack.md)(\['lang_code' => [string](../types/string.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)
@@ -283,7 +298,8 @@ $MadelineProto->[langpack->getLanguages](langpack_getLanguages.md)(\[\]) === [$V
$MadelineProto->[langpack->getStrings](langpack_getStrings.md)(\['lang_code' => [string](../types/string.md), 'keys' => \[[string](../types/string.md)\], \]) === [$Vector\_of\_LangPackString](../types/LangPackString.md)
***
-
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
+
+$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)
@@ -468,7 +484,8 @@ $MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)
$MadelineProto->[messages->uploadMedia](messages_uploadMedia.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$MessageMedia](../types/MessageMedia.md)
***
-
$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[payments->getPaymentForm](payments_getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md)
@@ -481,7 +498,8 @@ $MadelineProto->[payments->sendPaymentForm](payments_sendPaymentForm.md)(\['msg_
$MadelineProto->[payments->validateRequestedInfo](payments_validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md)
***
-
$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)
+
+$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)
$MadelineProto->[phone->confirmCall](phone_confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)
@@ -498,7 +516,8 @@ $MadelineProto->[phone->saveCallDebug](phone_saveCallDebug.md)(\['peer' => [Inpu
$MadelineProto->[phone->setCallRating](phone_setCallRating.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'rating' => [int](../types/int.md), 'comment' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
***
-
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
+
+$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)
@@ -507,23 +526,28 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md)
***
-
$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) === [$Pong](../types/Pong.md)
+
+$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) === [$Pong](../types/Pong.md)
$MadelineProto->[ping_delay_disconnect](ping_delay_disconnect.md)(\['ping_id' => [long](../types/long.md), 'disconnect_delay' => [int](../types/int.md), \]) === [$Pong](../types/Pong.md)
***
-
$MadelineProto->[req_DH_params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [string](../types/string.md), 'q' => [string](../types/string.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Server\_DH\_Params](../types/Server_DH_Params.md)
+
+$MadelineProto->[req_DH_params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [string](../types/string.md), 'q' => [string](../types/string.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Server\_DH\_Params](../types/Server_DH_Params.md)
$MadelineProto->[req_pq](req_pq.md)(\['nonce' => [int128](../types/int128.md), \]) === [$ResPQ](../types/ResPQ.md)
***
-
$MadelineProto->[rpc_drop_answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) === [$RpcDropAnswer](../types/RpcDropAnswer.md)
+
+$MadelineProto->[rpc_drop_answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) === [$RpcDropAnswer](../types/RpcDropAnswer.md)
***
-
$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)
+
+$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)
***
-
$MadelineProto->[stickers->addStickerToSet](stickers_addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)
+
+$MadelineProto->[stickers->addStickerToSet](stickers_addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)
$MadelineProto->[stickers->changeStickerPosition](stickers_changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)
@@ -532,14 +556,16 @@ $MadelineProto->[stickers->createStickerSet](stickers_createStickerSet.md)(\['ma
$MadelineProto->[stickers->removeStickerFromSet](stickers_removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)
***
-
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
+
+$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)
***
-
$MadelineProto->[upload->getCdnFile](upload_getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md)
+
+$MadelineProto->[upload->getCdnFile](upload_getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md)
$MadelineProto->[upload->getCdnFileHashes](upload_getCdnFileHashes.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), \]) === [$Vector\_of\_CdnFileHash](../types/CdnFileHash.md)
@@ -554,7 +580,8 @@ $MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id'
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
+
+$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)
diff --git a/old_docs/API_docs_v73/methods/README.md b/old_docs/API_docs_v73/methods/README.md
index 7f1be761..c0e93be6 100644
--- a/old_docs/API_docs_v73/methods/README.md
+++ b/old_docs/API_docs_v73/methods/README.md
@@ -27,8 +27,7 @@ description: What do you want to do?
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
-***
-
* Change the phone number associated to this account
+* Change the phone number associated to this account
* Check if this username is available
@@ -82,25 +81,12 @@ description: What do you want to do?
* Update this user's username
-***
-
* You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info
-
* Invalidate sent phone code
-* You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)
-
* Check if this phone number is registered on telegram
* Delete all temporary authorization keys except the ones provided
-* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
-
-* You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)
-
* Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account
* Send an email to recover the 2FA password
@@ -109,21 +95,13 @@ description: What do you want to do?
* Delete all logged-in sessions.
-* Use phone_login instead
-
* Invite friends to telegram!
-* You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)
-
-* You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)
-
-***
-
* Send webhook request via bot API
+* Send webhook request via bot API
* Send a custom request to the bot API
-***
-
* Check if this username is free and can be assigned to a channel/supergroup
+* Check if this username is free and can be assigned to a channel/supergroup
* Create channel/supergroup
@@ -155,8 +133,6 @@ description: What do you want to do?
* Get info about multiple channels/supergroups
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get channel/supergroup messages
* Get info about a certain channel/supergroup participant
@@ -187,8 +163,7 @@ description: What do you want to do?
* Update the username of a supergroup/channel
-***
-
* Block a user
+* Block a user
* Delete a contact
@@ -212,14 +187,11 @@ description: What do you want to do?
* Reset top peer rating for a certain category/peer
-* You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Search contacts
* Unblock a user
-***
-
* Get the changelog of this app
+* Get the changelog of this app
* Get info about app updates
@@ -241,23 +213,17 @@ description: What do you want to do?
* Set the update status of webhook
-***
-
* Initializes connection and save information on the user's device and application.
+* Initializes connection and save information on the user's device and application.
-***
-
* Invokes a query after successfull completion of one of the previous queries.
+* Invokes a query after successfull completion of one of the previous queries.
-***
-
* Result type returned by a current query.
+* Result type returned by a current query.
-***
-
* Invoke this method with layer X
+* Invoke this method with layer X
-***
-
* Invoke with method without returning updates in the socket
+* Invoke with method without returning updates in the socket
-***
-
* Get language pack updates
+* Get language pack updates
* Get language pack
@@ -265,9 +231,6 @@ description: What do you want to do?
* Get language pack strings
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Add a user to a normal chat (use channels->inviteToChannel for supergroups)
* Check if an invitation link is valid
@@ -282,8 +245,6 @@ description: What do you want to do?
* Delete messages
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Edit admin permissions
* Edit the photo of a normal chat (not supergroup)
@@ -318,8 +279,6 @@ description: What do you want to do?
* Get chats in common with a user
-* You cannot use this method directly, instead use $MadelineProto->get_dh_config();
-
* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html
* Get document by SHA256 hash
@@ -328,8 +287,6 @@ description: What do you want to do?
* Get featured stickers
-* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get high scores of a game
* Get previous messages of a group
@@ -386,8 +343,6 @@ description: What do you want to do?
* Mark messages as read
-* You cannot use this method directly
-
* Reorder pinned dialogs
* Reorder sticker sets
@@ -396,8 +351,6 @@ description: What do you want to do?
* Report a peer for spam
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
-
* Save a message draft
* Save a GIF
@@ -454,8 +407,7 @@ description: What do you want to do?
* Upload a file without sending it to anyone
-***
-
* Clear saved payments info
+* Clear saved payments info
* Get payment form
@@ -467,25 +419,15 @@ description: What do you want to do?
* Validate requested payment info
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
* Get call configuration
* Notify server that you received a call (server will refuse all incoming calls until the current call is over)
-* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
-
* Save call debugging info
* Set phone call rating
-***
-
* Delete profile photos
+* Delete profile photos
* Get the profile photos of a user
@@ -493,8 +435,7 @@ description: What do you want to do?
* Upload profile photo
-***
-
* Add sticker to stickerset
+* Add sticker to stickerset
* Change sticker position in photo
@@ -502,30 +443,7 @@ description: What do you want to do?
* Remove sticker from stickerset
-***
-
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
-
-***
-
* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
* Download a file through telegram
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-* You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info
-
-***
-
* You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)
-
* Get info about users
diff --git a/old_docs/API_docs_v73/methods/api_README.md b/old_docs/API_docs_v73/methods/api_README.md
index f3851772..53855998 100644
--- a/old_docs/API_docs_v73/methods/api_README.md
+++ b/old_docs/API_docs_v73/methods/api_README.md
@@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
***
-
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
+
+$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -89,7 +90,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)
***
-
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[auth->cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
@@ -124,12 +126,14 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)
***
-
$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[bots->sendCustomRequest](bots_sendCustomRequest.md)(\['custom_method' => [string](../types/string.md), 'params' => [DataJSON](../types/DataJSON.md), \]) === [$DataJSON](../types/DataJSON.md)
***
-
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
@@ -194,7 +198,8 @@ $MadelineProto->[channels->updatePinnedMessage](channels_updatePinnedMessage.md)
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)
@@ -225,7 +230,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
+
+$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md)
@@ -248,22 +254,28 @@ $MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputApp
$MadelineProto->[help->setBotUpdatesStatus](help_setBotUpdatesStatus.md)(\['pending_updates_count' => [int](../types/int.md), 'message' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'system_lang_code' => [string](../types/string.md), 'lang_pack' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'system_lang_code' => [string](../types/string.md), 'lang_pack' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
+
+$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)
***
-
$MadelineProto->[langpack->getDifference](langpack_getDifference.md)(\['from_version' => [int](../types/int.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)
+
+$MadelineProto->[langpack->getDifference](langpack_getDifference.md)(\['from_version' => [int](../types/int.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)
$MadelineProto->[langpack->getLangPack](langpack_getLangPack.md)(\['lang_code' => [string](../types/string.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)
@@ -272,7 +284,8 @@ $MadelineProto->[langpack->getLanguages](langpack_getLanguages.md)(\[\]) === [$V
$MadelineProto->[langpack->getStrings](langpack_getStrings.md)(\['lang_code' => [string](../types/string.md), 'keys' => \[[string](../types/string.md)\], \]) === [$Vector\_of\_LangPackString](../types/LangPackString.md)
***
-
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
+
+$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)
@@ -461,7 +474,8 @@ $MadelineProto->[messages->uploadEncryptedFile](messages_uploadEncryptedFile.md)
$MadelineProto->[messages->uploadMedia](messages_uploadMedia.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$MessageMedia](../types/MessageMedia.md)
***
-
$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)
+
+$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)
$MadelineProto->[payments->getPaymentForm](payments_getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md)
@@ -474,7 +488,8 @@ $MadelineProto->[payments->sendPaymentForm](payments_sendPaymentForm.md)(\['msg_
$MadelineProto->[payments->validateRequestedInfo](payments_validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md)
***
-
$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)
+
+$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)
$MadelineProto->[phone->confirmCall](phone_confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)
@@ -491,7 +506,8 @@ $MadelineProto->[phone->saveCallDebug](phone_saveCallDebug.md)(\['peer' => [Inpu
$MadelineProto->[phone->setCallRating](phone_setCallRating.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'rating' => [int](../types/int.md), 'comment' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)
***
-
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
+
+$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)
@@ -500,7 +516,8 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md)
***
-
$MadelineProto->[stickers->addStickerToSet](stickers_addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)
+
+$MadelineProto->[stickers->addStickerToSet](stickers_addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)
$MadelineProto->[stickers->changeStickerPosition](stickers_changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)
@@ -509,14 +526,16 @@ $MadelineProto->[stickers->createStickerSet](stickers_createStickerSet.md)(\['ma
$MadelineProto->[stickers->removeStickerFromSet](stickers_removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)
***
-
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
+
+$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)
***
-
$MadelineProto->[upload->getCdnFile](upload_getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md)
+
+$MadelineProto->[upload->getCdnFile](upload_getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md)
$MadelineProto->[upload->getCdnFileHashes](upload_getCdnFileHashes.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), \]) === [$Vector\_of\_CdnFileHash](../types/CdnFileHash.md)
@@ -531,7 +550,8 @@ $MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id'
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)
***
-
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
+
+$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)
diff --git a/src/danog/MadelineProto/DocsBuilder/Methods.php b/src/danog/MadelineProto/DocsBuilder/Methods.php
index 98228230..27b1f3b2 100644
--- a/src/danog/MadelineProto/DocsBuilder/Methods.php
+++ b/src/danog/MadelineProto/DocsBuilder/Methods.php
@@ -70,9 +70,11 @@ trait Methods
$this->docs_methods[$method] = '$MadelineProto->'.$md_method.'(\\['.$params.'\\]) === [$'.str_replace('_', '\\_', $type).'](../types/'.$php_type.'.md)
';
- $this->human_docs_methods[$method] = '* '.$this->td_descriptions['methods'][$data['method']]['description'].'
+ if (!isset(\danog\MadelineProto\MTProto::DISALLOWED_METHODS[$data['method']])) {
+ $this->human_docs_methods[$method] = '* '.$this->td_descriptions['methods'][$data['method']]['description'].'
';
+ }
$params = '';
$lua_params = '';
$pwr_params = '';
@@ -314,15 +316,8 @@ MadelineProto supports all html entities supported by [html_entity_decode](http:
foreach ($this->docs_methods as $method => &$value) {
$new_namespace = preg_replace('/_.*/', '', $method);
$br = $new_namespace != $last_namespace ? '***
-
' : '';
- $value = $br.$value;
- $last_namespace = $new_namespace;
- }
- $last_namespace = '';
- foreach ($this->human_docs_methods as $method => &$value) {
- $new_namespace = preg_replace('/_.*/', '', $method);
- $br = $new_namespace != $last_namespace ? '***
-
' : '';
+
+' : '';
$value = $br.$value;
$last_namespace = $new_namespace;
}