diff --git a/build_docs.php b/build_docs.php index c586f359..065e7632 100755 --- a/build_docs.php +++ b/build_docs.php @@ -158,7 +158,7 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$'.$type.' = $MadelineProto->'.$method.'(['.$params.']); +$'.$type.' = $MadelineProto->'.str_replace('_', '->', $method).'(['.$params.']); ```'); file_put_contents('methods/'.$method.'.md', $header.$table.$return.$example); } diff --git a/docs/API_docs/methods/account_changePhone.md b/docs/API_docs/methods/account_changePhone.md index dfbe82a4..440614fd 100644 --- a/docs/API_docs/methods/account_changePhone.md +++ b/docs/API_docs/methods/account_changePhone.md @@ -35,5 +35,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account_changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/account_checkUsername.md b/docs/API_docs/methods/account_checkUsername.md index 91468608..227397af 100644 --- a/docs/API_docs/methods/account_checkUsername.md +++ b/docs/API_docs/methods/account_checkUsername.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account_checkUsername(['username' => string, ]); +$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/account_confirmPhone.md b/docs/API_docs/methods/account_confirmPhone.md index 4dfe8c2b..5c2ef861 100644 --- a/docs/API_docs/methods/account_confirmPhone.md +++ b/docs/API_docs/methods/account_confirmPhone.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account_confirmPhone(['phone_code_hash' => string, 'phone_code' => string, ]); +$Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => string, 'phone_code' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/account_deleteAccount.md b/docs/API_docs/methods/account_deleteAccount.md index f8e43a01..108a8ffd 100644 --- a/docs/API_docs/methods/account_deleteAccount.md +++ b/docs/API_docs/methods/account_deleteAccount.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account_deleteAccount(['reason' => string, ]); +$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/account_getAccountTTL.md b/docs/API_docs/methods/account_getAccountTTL.md index 12f66b81..50bf17d7 100644 --- a/docs/API_docs/methods/account_getAccountTTL.md +++ b/docs/API_docs/methods/account_getAccountTTL.md @@ -28,5 +28,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$AccountDaysTTL = $MadelineProto->account_getAccountTTL(); +$AccountDaysTTL = $MadelineProto->account->getAccountTTL(); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/account_getAuthorizations.md b/docs/API_docs/methods/account_getAuthorizations.md index 529d12e4..889b01ab 100644 --- a/docs/API_docs/methods/account_getAuthorizations.md +++ b/docs/API_docs/methods/account_getAuthorizations.md @@ -28,5 +28,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$account_Authorizations = $MadelineProto->account_getAuthorizations(); +$account_Authorizations = $MadelineProto->account->getAuthorizations(); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/account_getNotifySettings.md b/docs/API_docs/methods/account_getNotifySettings.md index 097de3ae..158882a3 100644 --- a/docs/API_docs/methods/account_getNotifySettings.md +++ b/docs/API_docs/methods/account_getNotifySettings.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$PeerNotifySettings = $MadelineProto->account_getNotifySettings(['peer' => InputNotifyPeer, ]); +$PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/account_getPassword.md b/docs/API_docs/methods/account_getPassword.md index 78b83de5..2604bba5 100644 --- a/docs/API_docs/methods/account_getPassword.md +++ b/docs/API_docs/methods/account_getPassword.md @@ -28,5 +28,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$account_Password = $MadelineProto->account_getPassword(); +$account_Password = $MadelineProto->account->getPassword(); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/account_getPasswordSettings.md b/docs/API_docs/methods/account_getPasswordSettings.md index d39418ae..5d3a3b1d 100644 --- a/docs/API_docs/methods/account_getPasswordSettings.md +++ b/docs/API_docs/methods/account_getPasswordSettings.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$account_PasswordSettings = $MadelineProto->account_getPasswordSettings(['current_password_hash' => bytes, ]); +$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/account_getPrivacy.md b/docs/API_docs/methods/account_getPrivacy.md index 872fce23..19efe04b 100644 --- a/docs/API_docs/methods/account_getPrivacy.md +++ b/docs/API_docs/methods/account_getPrivacy.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$account_PrivacyRules = $MadelineProto->account_getPrivacy(['key' => InputPrivacyKey, ]); +$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/account_getWallPapers.md b/docs/API_docs/methods/account_getWallPapers.md index cce0fd21..350fe01e 100644 --- a/docs/API_docs/methods/account_getWallPapers.md +++ b/docs/API_docs/methods/account_getWallPapers.md @@ -28,5 +28,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Vector_of_WallPaper = $MadelineProto->account_getWallPapers(); +$Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/account_registerDevice.md b/docs/API_docs/methods/account_registerDevice.md index f1d9b638..8bbd8756 100644 --- a/docs/API_docs/methods/account_registerDevice.md +++ b/docs/API_docs/methods/account_registerDevice.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account_registerDevice(['token_type' => int, 'token' => string, ]); +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/account_reportPeer.md b/docs/API_docs/methods/account_reportPeer.md index 053cd0a5..ec2a3db1 100644 --- a/docs/API_docs/methods/account_reportPeer.md +++ b/docs/API_docs/methods/account_reportPeer.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account_reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); +$Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/account_resetAuthorization.md b/docs/API_docs/methods/account_resetAuthorization.md index c555f113..f7be9b89 100644 --- a/docs/API_docs/methods/account_resetAuthorization.md +++ b/docs/API_docs/methods/account_resetAuthorization.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account_resetAuthorization(['hash' => long, ]); +$Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/account_resetNotifySettings.md b/docs/API_docs/methods/account_resetNotifySettings.md index cd10f4f3..edf89b11 100644 --- a/docs/API_docs/methods/account_resetNotifySettings.md +++ b/docs/API_docs/methods/account_resetNotifySettings.md @@ -28,5 +28,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account_resetNotifySettings(); +$Bool = $MadelineProto->account->resetNotifySettings(); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/account_sendChangePhoneCode.md b/docs/API_docs/methods/account_sendChangePhoneCode.md index 12bdea8e..0d767c8b 100644 --- a/docs/API_docs/methods/account_sendChangePhoneCode.md +++ b/docs/API_docs/methods/account_sendChangePhoneCode.md @@ -35,5 +35,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->account_sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, ]); +$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/account_sendConfirmPhoneCode.md b/docs/API_docs/methods/account_sendConfirmPhoneCode.md index 8c61a295..3ba52efd 100644 --- a/docs/API_docs/methods/account_sendConfirmPhoneCode.md +++ b/docs/API_docs/methods/account_sendConfirmPhoneCode.md @@ -35,5 +35,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->account_sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => string, 'current_number' => Bool, ]); +$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => string, 'current_number' => Bool, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/account_setAccountTTL.md b/docs/API_docs/methods/account_setAccountTTL.md index 9739beb5..f778cbc3 100644 --- a/docs/API_docs/methods/account_setAccountTTL.md +++ b/docs/API_docs/methods/account_setAccountTTL.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account_setAccountTTL(['ttl' => AccountDaysTTL, ]); +$Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/account_setPrivacy.md b/docs/API_docs/methods/account_setPrivacy.md index 109ddf53..4459f7d9 100644 --- a/docs/API_docs/methods/account_setPrivacy.md +++ b/docs/API_docs/methods/account_setPrivacy.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$account_PrivacyRules = $MadelineProto->account_setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); +$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/account_unregisterDevice.md b/docs/API_docs/methods/account_unregisterDevice.md index dd22109f..638ed69d 100644 --- a/docs/API_docs/methods/account_unregisterDevice.md +++ b/docs/API_docs/methods/account_unregisterDevice.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account_unregisterDevice(['token_type' => int, 'token' => string, ]); +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/account_updateDeviceLocked.md b/docs/API_docs/methods/account_updateDeviceLocked.md index a953292b..79ef3731 100644 --- a/docs/API_docs/methods/account_updateDeviceLocked.md +++ b/docs/API_docs/methods/account_updateDeviceLocked.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account_updateDeviceLocked(['period' => int, ]); +$Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/account_updateNotifySettings.md b/docs/API_docs/methods/account_updateNotifySettings.md index d6e1cbd9..9507ce08 100644 --- a/docs/API_docs/methods/account_updateNotifySettings.md +++ b/docs/API_docs/methods/account_updateNotifySettings.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account_updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); +$Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/account_updatePasswordSettings.md b/docs/API_docs/methods/account_updatePasswordSettings.md index 7e9458c4..f1dd9b84 100644 --- a/docs/API_docs/methods/account_updatePasswordSettings.md +++ b/docs/API_docs/methods/account_updatePasswordSettings.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account_updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); +$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/account_updateProfile.md b/docs/API_docs/methods/account_updateProfile.md index 66adbe89..8076a484 100644 --- a/docs/API_docs/methods/account_updateProfile.md +++ b/docs/API_docs/methods/account_updateProfile.md @@ -35,5 +35,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account_updateProfile(['first_name' => string, 'last_name' => string, 'about' => string, ]); +$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, 'about' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/account_updateStatus.md b/docs/API_docs/methods/account_updateStatus.md index 063b9855..c130e5ab 100644 --- a/docs/API_docs/methods/account_updateStatus.md +++ b/docs/API_docs/methods/account_updateStatus.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->account_updateStatus(['offline' => Bool, ]); +$Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/account_updateUsername.md b/docs/API_docs/methods/account_updateUsername.md index f2dc0b4f..22e31b43 100644 --- a/docs/API_docs/methods/account_updateUsername.md +++ b/docs/API_docs/methods/account_updateUsername.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->account_updateUsername(['username' => string, ]); +$User = $MadelineProto->account->updateUsername(['username' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth_bindTempAuthKey.md b/docs/API_docs/methods/auth_bindTempAuthKey.md index a4931ca9..9fec7643 100644 --- a/docs/API_docs/methods/auth_bindTempAuthKey.md +++ b/docs/API_docs/methods/auth_bindTempAuthKey.md @@ -36,5 +36,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth_bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth_cancelCode.md b/docs/API_docs/methods/auth_cancelCode.md index d857bb85..090e1386 100644 --- a/docs/API_docs/methods/auth_cancelCode.md +++ b/docs/API_docs/methods/auth_cancelCode.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth_cancelCode(['phone_number' => string, 'phone_code_hash' => string, ]); +$Bool = $MadelineProto->auth->cancelCode(['phone_number' => string, 'phone_code_hash' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth_checkPassword.md b/docs/API_docs/methods/auth_checkPassword.md index b63cd6ee..5becf2bd 100644 --- a/docs/API_docs/methods/auth_checkPassword.md +++ b/docs/API_docs/methods/auth_checkPassword.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth_checkPassword(['password_hash' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth_checkPhone.md b/docs/API_docs/methods/auth_checkPhone.md index 3a4bac09..4f505fb8 100644 --- a/docs/API_docs/methods/auth_checkPhone.md +++ b/docs/API_docs/methods/auth_checkPhone.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$auth_CheckedPhone = $MadelineProto->auth_checkPhone(['phone_number' => string, ]); +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth_dropTempAuthKeys.md b/docs/API_docs/methods/auth_dropTempAuthKeys.md index 7709fa27..f990bc27 100644 --- a/docs/API_docs/methods/auth_dropTempAuthKeys.md +++ b/docs/API_docs/methods/auth_dropTempAuthKeys.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth_dropTempAuthKeys(['except_auth_keys' => [long], ]); +$Bool = $MadelineProto->auth->dropTempAuthKeys(['except_auth_keys' => [long], ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth_exportAuthorization.md b/docs/API_docs/methods/auth_exportAuthorization.md index 58b119c4..08069550 100644 --- a/docs/API_docs/methods/auth_exportAuthorization.md +++ b/docs/API_docs/methods/auth_exportAuthorization.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$auth_ExportedAuthorization = $MadelineProto->auth_exportAuthorization(['dc_id' => int, ]); +$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth_importAuthorization.md b/docs/API_docs/methods/auth_importAuthorization.md index 97dff5fb..085d3f07 100644 --- a/docs/API_docs/methods/auth_importAuthorization.md +++ b/docs/API_docs/methods/auth_importAuthorization.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth_importAuthorization(['id' => int, 'bytes' => bytes, ]); +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth_importBotAuthorization.md b/docs/API_docs/methods/auth_importBotAuthorization.md index 3cfe6e15..5ca247c1 100644 --- a/docs/API_docs/methods/auth_importBotAuthorization.md +++ b/docs/API_docs/methods/auth_importBotAuthorization.md @@ -35,5 +35,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth_importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); +$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth_logOut.md b/docs/API_docs/methods/auth_logOut.md index 216eeb81..06ec11b3 100644 --- a/docs/API_docs/methods/auth_logOut.md +++ b/docs/API_docs/methods/auth_logOut.md @@ -28,5 +28,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth_logOut(); +$Bool = $MadelineProto->auth->logOut(); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth_recoverPassword.md b/docs/API_docs/methods/auth_recoverPassword.md index bf0db625..33fd30f7 100644 --- a/docs/API_docs/methods/auth_recoverPassword.md +++ b/docs/API_docs/methods/auth_recoverPassword.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth_recoverPassword(['code' => string, ]); +$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth_requestPasswordRecovery.md b/docs/API_docs/methods/auth_requestPasswordRecovery.md index dabd8019..2126d4d9 100644 --- a/docs/API_docs/methods/auth_requestPasswordRecovery.md +++ b/docs/API_docs/methods/auth_requestPasswordRecovery.md @@ -28,5 +28,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$auth_PasswordRecovery = $MadelineProto->auth_requestPasswordRecovery(); +$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth_resendCode.md b/docs/API_docs/methods/auth_resendCode.md index df5d276c..ad47ec76 100644 --- a/docs/API_docs/methods/auth_resendCode.md +++ b/docs/API_docs/methods/auth_resendCode.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->auth_resendCode(['phone_number' => string, 'phone_code_hash' => string, ]); +$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => string, 'phone_code_hash' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth_resetAuthorizations.md b/docs/API_docs/methods/auth_resetAuthorizations.md index 0ab60d08..1f4213fb 100644 --- a/docs/API_docs/methods/auth_resetAuthorizations.md +++ b/docs/API_docs/methods/auth_resetAuthorizations.md @@ -28,5 +28,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth_resetAuthorizations(); +$Bool = $MadelineProto->auth->resetAuthorizations(); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth_sendCode.md b/docs/API_docs/methods/auth_sendCode.md index 69c4abd7..d7d821c6 100644 --- a/docs/API_docs/methods/auth_sendCode.md +++ b/docs/API_docs/methods/auth_sendCode.md @@ -37,5 +37,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$auth_SentCode = $MadelineProto->auth_sendCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, 'api_id' => int, 'api_hash' => string, ]); +$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, 'api_id' => int, 'api_hash' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth_sendInvites.md b/docs/API_docs/methods/auth_sendInvites.md index f9ee17d3..f1b14d68 100644 --- a/docs/API_docs/methods/auth_sendInvites.md +++ b/docs/API_docs/methods/auth_sendInvites.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->auth_sendInvites(['phone_numbers' => [string], 'message' => string, ]); +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth_signIn.md b/docs/API_docs/methods/auth_signIn.md index 0c238926..9ea95d2b 100644 --- a/docs/API_docs/methods/auth_signIn.md +++ b/docs/API_docs/methods/auth_signIn.md @@ -35,5 +35,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth_signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth_signUp.md b/docs/API_docs/methods/auth_signUp.md index a9460cd5..6b847d5f 100644 --- a/docs/API_docs/methods/auth_signUp.md +++ b/docs/API_docs/methods/auth_signUp.md @@ -37,5 +37,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$auth_Authorization = $MadelineProto->auth_signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels_checkUsername.md b/docs/API_docs/methods/channels_checkUsername.md index ccf87c90..14712d9e 100644 --- a/docs/API_docs/methods/channels_checkUsername.md +++ b/docs/API_docs/methods/channels_checkUsername.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels_checkUsername(['channel' => InputChannel, 'username' => string, ]); +$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels_createChannel.md b/docs/API_docs/methods/channels_createChannel.md index d1f6f196..1464d196 100644 --- a/docs/API_docs/methods/channels_createChannel.md +++ b/docs/API_docs/methods/channels_createChannel.md @@ -36,5 +36,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels_createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); +$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels_deleteChannel.md b/docs/API_docs/methods/channels_deleteChannel.md index ec08a5a1..f8258a9b 100644 --- a/docs/API_docs/methods/channels_deleteChannel.md +++ b/docs/API_docs/methods/channels_deleteChannel.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels_deleteChannel(['channel' => InputChannel, ]); +$Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels_deleteMessages.md b/docs/API_docs/methods/channels_deleteMessages.md index 7aac66c1..1ae4e3f7 100644 --- a/docs/API_docs/methods/channels_deleteMessages.md +++ b/docs/API_docs/methods/channels_deleteMessages.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_AffectedMessages = $MadelineProto->channels_deleteMessages(['channel' => InputChannel, 'id' => [int], ]); +$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int], ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels_deleteUserHistory.md b/docs/API_docs/methods/channels_deleteUserHistory.md index 1a3332e3..f7ba739a 100644 --- a/docs/API_docs/methods/channels_deleteUserHistory.md +++ b/docs/API_docs/methods/channels_deleteUserHistory.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_AffectedHistory = $MadelineProto->channels_deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels_editAbout.md b/docs/API_docs/methods/channels_editAbout.md index 4a38edb7..77b39b6d 100644 --- a/docs/API_docs/methods/channels_editAbout.md +++ b/docs/API_docs/methods/channels_editAbout.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels_editAbout(['channel' => InputChannel, 'about' => string, ]); +$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels_editAdmin.md b/docs/API_docs/methods/channels_editAdmin.md index c626bdc5..ec2492af 100644 --- a/docs/API_docs/methods/channels_editAdmin.md +++ b/docs/API_docs/methods/channels_editAdmin.md @@ -35,5 +35,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels_editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); +$Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels_editPhoto.md b/docs/API_docs/methods/channels_editPhoto.md index 4289668b..3dd965f0 100644 --- a/docs/API_docs/methods/channels_editPhoto.md +++ b/docs/API_docs/methods/channels_editPhoto.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels_editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); +$Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels_editTitle.md b/docs/API_docs/methods/channels_editTitle.md index 3f4a93ad..8f719d4e 100644 --- a/docs/API_docs/methods/channels_editTitle.md +++ b/docs/API_docs/methods/channels_editTitle.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels_editTitle(['channel' => InputChannel, 'title' => string, ]); +$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels_exportInvite.md b/docs/API_docs/methods/channels_exportInvite.md index c51e795e..e978afde 100644 --- a/docs/API_docs/methods/channels_exportInvite.md +++ b/docs/API_docs/methods/channels_exportInvite.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$ExportedChatInvite = $MadelineProto->channels_exportInvite(['channel' => InputChannel, ]); +$ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels_exportMessageLink.md b/docs/API_docs/methods/channels_exportMessageLink.md index f0ffa86c..4c4d4b61 100644 --- a/docs/API_docs/methods/channels_exportMessageLink.md +++ b/docs/API_docs/methods/channels_exportMessageLink.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$ExportedMessageLink = $MadelineProto->channels_exportMessageLink(['channel' => InputChannel, 'id' => int, ]); +$ExportedMessageLink = $MadelineProto->channels->exportMessageLink(['channel' => InputChannel, 'id' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels_getAdminedPublicChannels.md b/docs/API_docs/methods/channels_getAdminedPublicChannels.md index 4d3707a1..04789780 100644 --- a/docs/API_docs/methods/channels_getAdminedPublicChannels.md +++ b/docs/API_docs/methods/channels_getAdminedPublicChannels.md @@ -28,5 +28,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_Chats = $MadelineProto->channels_getAdminedPublicChannels(); +$messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels_getChannels.md b/docs/API_docs/methods/channels_getChannels.md index d123d008..48b25a19 100644 --- a/docs/API_docs/methods/channels_getChannels.md +++ b/docs/API_docs/methods/channels_getChannels.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_Chats = $MadelineProto->channels_getChannels(['id' => [InputChannel], ]); +$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel], ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels_getFullChannel.md b/docs/API_docs/methods/channels_getFullChannel.md index 0a96e391..1a6ca5cc 100644 --- a/docs/API_docs/methods/channels_getFullChannel.md +++ b/docs/API_docs/methods/channels_getFullChannel.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_ChatFull = $MadelineProto->channels_getFullChannel(['channel' => InputChannel, ]); +$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels_getMessages.md b/docs/API_docs/methods/channels_getMessages.md index c60f553f..1535271f 100644 --- a/docs/API_docs/methods/channels_getMessages.md +++ b/docs/API_docs/methods/channels_getMessages.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->channels_getMessages(['channel' => InputChannel, 'id' => [int], ]); +$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int], ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels_getParticipant.md b/docs/API_docs/methods/channels_getParticipant.md index 140857eb..c94a152d 100644 --- a/docs/API_docs/methods/channels_getParticipant.md +++ b/docs/API_docs/methods/channels_getParticipant.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$channels_ChannelParticipant = $MadelineProto->channels_getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels_getParticipants.md b/docs/API_docs/methods/channels_getParticipants.md index 6c2dd868..6e3eecc7 100644 --- a/docs/API_docs/methods/channels_getParticipants.md +++ b/docs/API_docs/methods/channels_getParticipants.md @@ -36,5 +36,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$channels_ChannelParticipants = $MadelineProto->channels_getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); +$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels_inviteToChannel.md b/docs/API_docs/methods/channels_inviteToChannel.md index 351e8f18..914ca03f 100644 --- a/docs/API_docs/methods/channels_inviteToChannel.md +++ b/docs/API_docs/methods/channels_inviteToChannel.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels_inviteToChannel(['channel' => InputChannel, 'users' => [InputUser], ]); +$Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser], ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels_joinChannel.md b/docs/API_docs/methods/channels_joinChannel.md index 29368c0c..76c6a8e0 100644 --- a/docs/API_docs/methods/channels_joinChannel.md +++ b/docs/API_docs/methods/channels_joinChannel.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels_joinChannel(['channel' => InputChannel, ]); +$Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels_kickFromChannel.md b/docs/API_docs/methods/channels_kickFromChannel.md index 07b58852..48409587 100644 --- a/docs/API_docs/methods/channels_kickFromChannel.md +++ b/docs/API_docs/methods/channels_kickFromChannel.md @@ -35,5 +35,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels_kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); +$Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels_leaveChannel.md b/docs/API_docs/methods/channels_leaveChannel.md index dd201592..df549a4a 100644 --- a/docs/API_docs/methods/channels_leaveChannel.md +++ b/docs/API_docs/methods/channels_leaveChannel.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels_leaveChannel(['channel' => InputChannel, ]); +$Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels_readHistory.md b/docs/API_docs/methods/channels_readHistory.md index 77bc8c18..3393fe9a 100644 --- a/docs/API_docs/methods/channels_readHistory.md +++ b/docs/API_docs/methods/channels_readHistory.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels_readHistory(['channel' => InputChannel, 'max_id' => int, ]); +$Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels_reportSpam.md b/docs/API_docs/methods/channels_reportSpam.md index 5547fd2a..8b55336a 100644 --- a/docs/API_docs/methods/channels_reportSpam.md +++ b/docs/API_docs/methods/channels_reportSpam.md @@ -35,5 +35,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels_reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int], ]); +$Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int], ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels_toggleInvites.md b/docs/API_docs/methods/channels_toggleInvites.md index 28b71d9b..e85d7195 100644 --- a/docs/API_docs/methods/channels_toggleInvites.md +++ b/docs/API_docs/methods/channels_toggleInvites.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels_toggleInvites(['channel' => InputChannel, 'enabled' => Bool, ]); +$Updates = $MadelineProto->channels->toggleInvites(['channel' => InputChannel, 'enabled' => Bool, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels_toggleSignatures.md b/docs/API_docs/methods/channels_toggleSignatures.md index e06fba4a..a2785e3e 100644 --- a/docs/API_docs/methods/channels_toggleSignatures.md +++ b/docs/API_docs/methods/channels_toggleSignatures.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels_toggleSignatures(['channel' => InputChannel, 'enabled' => Bool, ]); +$Updates = $MadelineProto->channels->toggleSignatures(['channel' => InputChannel, 'enabled' => Bool, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels_updatePinnedMessage.md b/docs/API_docs/methods/channels_updatePinnedMessage.md index dce577e4..79909c6b 100644 --- a/docs/API_docs/methods/channels_updatePinnedMessage.md +++ b/docs/API_docs/methods/channels_updatePinnedMessage.md @@ -35,5 +35,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->channels_updatePinnedMessage(['silent' => Bool, 'channel' => InputChannel, 'id' => int, ]); +$Updates = $MadelineProto->channels->updatePinnedMessage(['silent' => Bool, 'channel' => InputChannel, 'id' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels_updateUsername.md b/docs/API_docs/methods/channels_updateUsername.md index f8c0ce3f..9cd671a4 100644 --- a/docs/API_docs/methods/channels_updateUsername.md +++ b/docs/API_docs/methods/channels_updateUsername.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->channels_updateUsername(['channel' => InputChannel, 'username' => string, ]); +$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/contacts_block.md b/docs/API_docs/methods/contacts_block.md index b0eb37ed..bfcfedde 100644 --- a/docs/API_docs/methods/contacts_block.md +++ b/docs/API_docs/methods/contacts_block.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->contacts_block(['id' => InputUser, ]); +$Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/contacts_deleteContact.md b/docs/API_docs/methods/contacts_deleteContact.md index 36bfbe08..16395b67 100644 --- a/docs/API_docs/methods/contacts_deleteContact.md +++ b/docs/API_docs/methods/contacts_deleteContact.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$contacts_Link = $MadelineProto->contacts_deleteContact(['id' => InputUser, ]); +$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/contacts_deleteContacts.md b/docs/API_docs/methods/contacts_deleteContacts.md index fe87fa92..bc403ee9 100644 --- a/docs/API_docs/methods/contacts_deleteContacts.md +++ b/docs/API_docs/methods/contacts_deleteContacts.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->contacts_deleteContacts(['id' => [InputUser], ]); +$Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/contacts_exportCard.md b/docs/API_docs/methods/contacts_exportCard.md index 046d419c..adefa30d 100644 --- a/docs/API_docs/methods/contacts_exportCard.md +++ b/docs/API_docs/methods/contacts_exportCard.md @@ -28,5 +28,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Vector_of_int = $MadelineProto->contacts_exportCard(); +$Vector_of_int = $MadelineProto->contacts->exportCard(); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/contacts_getBlocked.md b/docs/API_docs/methods/contacts_getBlocked.md index ca025f47..42ca81cc 100644 --- a/docs/API_docs/methods/contacts_getBlocked.md +++ b/docs/API_docs/methods/contacts_getBlocked.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$contacts_Blocked = $MadelineProto->contacts_getBlocked(['offset' => int, 'limit' => int, ]); +$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/contacts_getContacts.md b/docs/API_docs/methods/contacts_getContacts.md index 568cb6da..16d26f6c 100644 --- a/docs/API_docs/methods/contacts_getContacts.md +++ b/docs/API_docs/methods/contacts_getContacts.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$contacts_Contacts = $MadelineProto->contacts_getContacts(['hash' => string, ]); +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/contacts_getStatuses.md b/docs/API_docs/methods/contacts_getStatuses.md index 6b0d3401..9ce03e57 100644 --- a/docs/API_docs/methods/contacts_getStatuses.md +++ b/docs/API_docs/methods/contacts_getStatuses.md @@ -28,5 +28,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Vector_of_ContactStatus = $MadelineProto->contacts_getStatuses(); +$Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/contacts_getTopPeers.md b/docs/API_docs/methods/contacts_getTopPeers.md index daa456eb..c054df70 100644 --- a/docs/API_docs/methods/contacts_getTopPeers.md +++ b/docs/API_docs/methods/contacts_getTopPeers.md @@ -40,5 +40,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$contacts_TopPeers = $MadelineProto->contacts_getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => int, ]); +$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/contacts_importCard.md b/docs/API_docs/methods/contacts_importCard.md index 597542f2..23e33156 100644 --- a/docs/API_docs/methods/contacts_importCard.md +++ b/docs/API_docs/methods/contacts_importCard.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$User = $MadelineProto->contacts_importCard(['export_card' => [int], ]); +$User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/contacts_importContacts.md b/docs/API_docs/methods/contacts_importContacts.md index 497817e1..e8270460 100644 --- a/docs/API_docs/methods/contacts_importContacts.md +++ b/docs/API_docs/methods/contacts_importContacts.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$contacts_ImportedContacts = $MadelineProto->contacts_importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); +$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/contacts_resetTopPeerRating.md b/docs/API_docs/methods/contacts_resetTopPeerRating.md index 74f21907..2d1faea8 100644 --- a/docs/API_docs/methods/contacts_resetTopPeerRating.md +++ b/docs/API_docs/methods/contacts_resetTopPeerRating.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->contacts_resetTopPeerRating(['category' => TopPeerCategory, 'peer' => InputPeer, ]); +$Bool = $MadelineProto->contacts->resetTopPeerRating(['category' => TopPeerCategory, 'peer' => InputPeer, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/contacts_resolveUsername.md b/docs/API_docs/methods/contacts_resolveUsername.md index 7c308f63..3aa2adaa 100644 --- a/docs/API_docs/methods/contacts_resolveUsername.md +++ b/docs/API_docs/methods/contacts_resolveUsername.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$contacts_ResolvedPeer = $MadelineProto->contacts_resolveUsername(['username' => string, ]); +$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/contacts_search.md b/docs/API_docs/methods/contacts_search.md index 64d19a71..fcf9bcd2 100644 --- a/docs/API_docs/methods/contacts_search.md +++ b/docs/API_docs/methods/contacts_search.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$contacts_Found = $MadelineProto->contacts_search(['q' => string, 'limit' => int, ]); +$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/contacts_unblock.md b/docs/API_docs/methods/contacts_unblock.md index 22038e88..2f4db066 100644 --- a/docs/API_docs/methods/contacts_unblock.md +++ b/docs/API_docs/methods/contacts_unblock.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->contacts_unblock(['id' => InputUser, ]); +$Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/help_getAppChangelog.md b/docs/API_docs/methods/help_getAppChangelog.md index bd46a9bc..dd6553e9 100644 --- a/docs/API_docs/methods/help_getAppChangelog.md +++ b/docs/API_docs/methods/help_getAppChangelog.md @@ -28,5 +28,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$help_AppChangelog = $MadelineProto->help_getAppChangelog(); +$help_AppChangelog = $MadelineProto->help->getAppChangelog(); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/help_getAppUpdate.md b/docs/API_docs/methods/help_getAppUpdate.md index 7ac5c1b4..acfae6c6 100644 --- a/docs/API_docs/methods/help_getAppUpdate.md +++ b/docs/API_docs/methods/help_getAppUpdate.md @@ -28,5 +28,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$help_AppUpdate = $MadelineProto->help_getAppUpdate(); +$help_AppUpdate = $MadelineProto->help->getAppUpdate(); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/help_getConfig.md b/docs/API_docs/methods/help_getConfig.md index 6ee8f636..3389764d 100644 --- a/docs/API_docs/methods/help_getConfig.md +++ b/docs/API_docs/methods/help_getConfig.md @@ -28,5 +28,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Config = $MadelineProto->help_getConfig(); +$Config = $MadelineProto->help->getConfig(); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/help_getInviteText.md b/docs/API_docs/methods/help_getInviteText.md index 36fdb0df..93663b07 100644 --- a/docs/API_docs/methods/help_getInviteText.md +++ b/docs/API_docs/methods/help_getInviteText.md @@ -28,5 +28,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$help_InviteText = $MadelineProto->help_getInviteText(); +$help_InviteText = $MadelineProto->help->getInviteText(); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/help_getNearestDc.md b/docs/API_docs/methods/help_getNearestDc.md index 424007c6..4151e46c 100644 --- a/docs/API_docs/methods/help_getNearestDc.md +++ b/docs/API_docs/methods/help_getNearestDc.md @@ -28,5 +28,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$NearestDc = $MadelineProto->help_getNearestDc(); +$NearestDc = $MadelineProto->help->getNearestDc(); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/help_getSupport.md b/docs/API_docs/methods/help_getSupport.md index 22008dc5..5b7ad3e3 100644 --- a/docs/API_docs/methods/help_getSupport.md +++ b/docs/API_docs/methods/help_getSupport.md @@ -28,5 +28,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$help_Support = $MadelineProto->help_getSupport(); +$help_Support = $MadelineProto->help->getSupport(); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/help_getTermsOfService.md b/docs/API_docs/methods/help_getTermsOfService.md index 9a3cae99..a49d3d3f 100644 --- a/docs/API_docs/methods/help_getTermsOfService.md +++ b/docs/API_docs/methods/help_getTermsOfService.md @@ -28,5 +28,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$help_TermsOfService = $MadelineProto->help_getTermsOfService(); +$help_TermsOfService = $MadelineProto->help->getTermsOfService(); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/help_saveAppLog.md b/docs/API_docs/methods/help_saveAppLog.md index b6f15611..dc45cdd5 100644 --- a/docs/API_docs/methods/help_saveAppLog.md +++ b/docs/API_docs/methods/help_saveAppLog.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->help_saveAppLog(['events' => [InputAppEvent], ]); +$Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_acceptEncryption.md b/docs/API_docs/methods/messages_acceptEncryption.md index 955d7e20..30bc0f55 100644 --- a/docs/API_docs/methods/messages_acceptEncryption.md +++ b/docs/API_docs/methods/messages_acceptEncryption.md @@ -35,5 +35,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages_acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_addChatUser.md b/docs/API_docs/methods/messages_addChatUser.md index 27230420..c34fe295 100644 --- a/docs/API_docs/methods/messages_addChatUser.md +++ b/docs/API_docs/methods/messages_addChatUser.md @@ -35,5 +35,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages_addChatUser(['chat_id' => int, 'user_id' => InputUser, 'fwd_limit' => int, ]); +$Updates = $MadelineProto->messages->addChatUser(['chat_id' => int, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_checkChatInvite.md b/docs/API_docs/methods/messages_checkChatInvite.md index 2b27e8f6..78498741 100644 --- a/docs/API_docs/methods/messages_checkChatInvite.md +++ b/docs/API_docs/methods/messages_checkChatInvite.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$ChatInvite = $MadelineProto->messages_checkChatInvite(['hash' => string, ]); +$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_clearRecentStickers.md b/docs/API_docs/methods/messages_clearRecentStickers.md index 10d055a9..a206cdf4 100644 --- a/docs/API_docs/methods/messages_clearRecentStickers.md +++ b/docs/API_docs/methods/messages_clearRecentStickers.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages_clearRecentStickers(['attached' => Bool, ]); +$Bool = $MadelineProto->messages->clearRecentStickers(['attached' => Bool, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_createChat.md b/docs/API_docs/methods/messages_createChat.md index 7592ff96..fe19f7d1 100644 --- a/docs/API_docs/methods/messages_createChat.md +++ b/docs/API_docs/methods/messages_createChat.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages_createChat(['users' => [InputUser], 'title' => string, ]); +$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_deleteChatUser.md b/docs/API_docs/methods/messages_deleteChatUser.md index 8c10c49e..50b4177e 100644 --- a/docs/API_docs/methods/messages_deleteChatUser.md +++ b/docs/API_docs/methods/messages_deleteChatUser.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages_deleteChatUser(['chat_id' => int, 'user_id' => InputUser, ]); +$Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => int, 'user_id' => InputUser, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_deleteHistory.md b/docs/API_docs/methods/messages_deleteHistory.md index 0dfffb5b..31b11a96 100644 --- a/docs/API_docs/methods/messages_deleteHistory.md +++ b/docs/API_docs/methods/messages_deleteHistory.md @@ -35,5 +35,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_AffectedHistory = $MadelineProto->messages_deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); +$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_deleteMessages.md b/docs/API_docs/methods/messages_deleteMessages.md index de4571b1..1b90d1a8 100644 --- a/docs/API_docs/methods/messages_deleteMessages.md +++ b/docs/API_docs/methods/messages_deleteMessages.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_AffectedMessages = $MadelineProto->messages_deleteMessages(['id' => [int], ]); +$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int], ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_discardEncryption.md b/docs/API_docs/methods/messages_discardEncryption.md index 2b8352d1..2f5f6f79 100644 --- a/docs/API_docs/methods/messages_discardEncryption.md +++ b/docs/API_docs/methods/messages_discardEncryption.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages_discardEncryption(['chat_id' => int, ]); +$Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_editChatAdmin.md b/docs/API_docs/methods/messages_editChatAdmin.md index e9ede204..85c8c379 100644 --- a/docs/API_docs/methods/messages_editChatAdmin.md +++ b/docs/API_docs/methods/messages_editChatAdmin.md @@ -35,5 +35,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages_editChatAdmin(['chat_id' => int, 'user_id' => InputUser, 'is_admin' => Bool, ]); +$Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => int, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_editChatPhoto.md b/docs/API_docs/methods/messages_editChatPhoto.md index e3450358..b66d2d56 100644 --- a/docs/API_docs/methods/messages_editChatPhoto.md +++ b/docs/API_docs/methods/messages_editChatPhoto.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages_editChatPhoto(['chat_id' => int, 'photo' => InputChatPhoto, ]); +$Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => int, 'photo' => InputChatPhoto, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_editChatTitle.md b/docs/API_docs/methods/messages_editChatTitle.md index 400f58c7..b4abfc52 100644 --- a/docs/API_docs/methods/messages_editChatTitle.md +++ b/docs/API_docs/methods/messages_editChatTitle.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages_editChatTitle(['chat_id' => int, 'title' => string, ]); +$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => int, 'title' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_editInlineBotMessage.md b/docs/API_docs/methods/messages_editInlineBotMessage.md index b73da62a..03c0a08a 100644 --- a/docs/API_docs/methods/messages_editInlineBotMessage.md +++ b/docs/API_docs/methods/messages_editInlineBotMessage.md @@ -37,5 +37,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages_editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], ]); +$Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_editMessage.md b/docs/API_docs/methods/messages_editMessage.md index 2074c748..6aaa666a 100644 --- a/docs/API_docs/methods/messages_editMessage.md +++ b/docs/API_docs/methods/messages_editMessage.md @@ -38,5 +38,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages_editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], ]); +$Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_exportChatInvite.md b/docs/API_docs/methods/messages_exportChatInvite.md index 0995cf66..c0bfdf30 100644 --- a/docs/API_docs/methods/messages_exportChatInvite.md +++ b/docs/API_docs/methods/messages_exportChatInvite.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$ExportedChatInvite = $MadelineProto->messages_exportChatInvite(['chat_id' => int, ]); +$ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_forwardMessage.md b/docs/API_docs/methods/messages_forwardMessage.md index f2a72dae..67a129f6 100644 --- a/docs/API_docs/methods/messages_forwardMessage.md +++ b/docs/API_docs/methods/messages_forwardMessage.md @@ -35,5 +35,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages_forwardMessage(['peer' => InputPeer, 'id' => int, 'random_id' => long, ]); +$Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, 'random_id' => long, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_forwardMessages.md b/docs/API_docs/methods/messages_forwardMessages.md index 23e139ed..85e1e792 100644 --- a/docs/API_docs/methods/messages_forwardMessages.md +++ b/docs/API_docs/methods/messages_forwardMessages.md @@ -39,5 +39,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages_forwardMessages(['silent' => Bool, 'background' => Bool, 'with_my_score' => Bool, 'from_peer' => InputPeer, 'id' => [int], 'random_id' => [long], 'to_peer' => InputPeer, ]); +$Updates = $MadelineProto->messages->forwardMessages(['silent' => Bool, 'background' => Bool, 'with_my_score' => Bool, 'from_peer' => InputPeer, 'id' => [int], 'random_id' => [long], 'to_peer' => InputPeer, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_getAllDrafts.md b/docs/API_docs/methods/messages_getAllDrafts.md index 81dedec6..3b1c2437 100644 --- a/docs/API_docs/methods/messages_getAllDrafts.md +++ b/docs/API_docs/methods/messages_getAllDrafts.md @@ -28,5 +28,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages_getAllDrafts(); +$Updates = $MadelineProto->messages->getAllDrafts(); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_getAllStickers.md b/docs/API_docs/methods/messages_getAllStickers.md index c64d9a75..a9a4d8c0 100644 --- a/docs/API_docs/methods/messages_getAllStickers.md +++ b/docs/API_docs/methods/messages_getAllStickers.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_AllStickers = $MadelineProto->messages_getAllStickers(['hash' => int, ]); +$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_getArchivedStickers.md b/docs/API_docs/methods/messages_getArchivedStickers.md index 4917431c..7dd5e514 100644 --- a/docs/API_docs/methods/messages_getArchivedStickers.md +++ b/docs/API_docs/methods/messages_getArchivedStickers.md @@ -35,5 +35,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_ArchivedStickers = $MadelineProto->messages_getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); +$messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_getAttachedStickers.md b/docs/API_docs/methods/messages_getAttachedStickers.md index 7a5780bd..9e84e218 100644 --- a/docs/API_docs/methods/messages_getAttachedStickers.md +++ b/docs/API_docs/methods/messages_getAttachedStickers.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Vector_of_StickerSetCovered = $MadelineProto->messages_getAttachedStickers(['media' => InputStickeredMedia, ]); +$Vector_of_StickerSetCovered = $MadelineProto->messages->getAttachedStickers(['media' => InputStickeredMedia, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_getBotCallbackAnswer.md b/docs/API_docs/methods/messages_getBotCallbackAnswer.md index 4d72eec2..bea93f17 100644 --- a/docs/API_docs/methods/messages_getBotCallbackAnswer.md +++ b/docs/API_docs/methods/messages_getBotCallbackAnswer.md @@ -36,5 +36,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_BotCallbackAnswer = $MadelineProto->messages_getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => bytes, ]); +$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => bytes, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_getChats.md b/docs/API_docs/methods/messages_getChats.md index f26f4c6f..32bfbfa0 100644 --- a/docs/API_docs/methods/messages_getChats.md +++ b/docs/API_docs/methods/messages_getChats.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_Chats = $MadelineProto->messages_getChats(['id' => [int], ]); +$messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_getDhConfig.md b/docs/API_docs/methods/messages_getDhConfig.md index 7beb1ddd..bfcd03aa 100644 --- a/docs/API_docs/methods/messages_getDhConfig.md +++ b/docs/API_docs/methods/messages_getDhConfig.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_DhConfig = $MadelineProto->messages_getDhConfig(['version' => int, 'random_length' => int, ]); +$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_getDialogs.md b/docs/API_docs/methods/messages_getDialogs.md index cd048f61..85470cba 100644 --- a/docs/API_docs/methods/messages_getDialogs.md +++ b/docs/API_docs/methods/messages_getDialogs.md @@ -36,5 +36,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_Dialogs = $MadelineProto->messages_getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); +$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_getDocumentByHash.md b/docs/API_docs/methods/messages_getDocumentByHash.md index 08db13d5..9c379bae 100644 --- a/docs/API_docs/methods/messages_getDocumentByHash.md +++ b/docs/API_docs/methods/messages_getDocumentByHash.md @@ -35,5 +35,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Document = $MadelineProto->messages_getDocumentByHash(['sha256' => bytes, 'size' => int, 'mime_type' => string, ]); +$Document = $MadelineProto->messages->getDocumentByHash(['sha256' => bytes, 'size' => int, 'mime_type' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_getFeaturedStickers.md b/docs/API_docs/methods/messages_getFeaturedStickers.md index 88114c70..a143670b 100644 --- a/docs/API_docs/methods/messages_getFeaturedStickers.md +++ b/docs/API_docs/methods/messages_getFeaturedStickers.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_FeaturedStickers = $MadelineProto->messages_getFeaturedStickers(['hash' => int, ]); +$messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_getFullChat.md b/docs/API_docs/methods/messages_getFullChat.md index 5506adf5..ce1b4aee 100644 --- a/docs/API_docs/methods/messages_getFullChat.md +++ b/docs/API_docs/methods/messages_getFullChat.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_ChatFull = $MadelineProto->messages_getFullChat(['chat_id' => int, ]); +$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_getGameHighScores.md b/docs/API_docs/methods/messages_getGameHighScores.md index 4079d658..860f927f 100644 --- a/docs/API_docs/methods/messages_getGameHighScores.md +++ b/docs/API_docs/methods/messages_getGameHighScores.md @@ -35,5 +35,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_HighScores = $MadelineProto->messages_getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); +$messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_getHistory.md b/docs/API_docs/methods/messages_getHistory.md index 29f00dc0..6f79903d 100644 --- a/docs/API_docs/methods/messages_getHistory.md +++ b/docs/API_docs/methods/messages_getHistory.md @@ -39,5 +39,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages_getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_getInlineBotResults.md b/docs/API_docs/methods/messages_getInlineBotResults.md index c3aee98f..d456eca9 100644 --- a/docs/API_docs/methods/messages_getInlineBotResults.md +++ b/docs/API_docs/methods/messages_getInlineBotResults.md @@ -37,5 +37,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_BotResults = $MadelineProto->messages_getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => string, 'offset' => string, ]); +$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => string, 'offset' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_getInlineGameHighScores.md b/docs/API_docs/methods/messages_getInlineGameHighScores.md index 8be45edd..9d42840f 100644 --- a/docs/API_docs/methods/messages_getInlineGameHighScores.md +++ b/docs/API_docs/methods/messages_getInlineGameHighScores.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_HighScores = $MadelineProto->messages_getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); +$messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_getMaskStickers.md b/docs/API_docs/methods/messages_getMaskStickers.md index b2fe8dff..c8dd559d 100644 --- a/docs/API_docs/methods/messages_getMaskStickers.md +++ b/docs/API_docs/methods/messages_getMaskStickers.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_AllStickers = $MadelineProto->messages_getMaskStickers(['hash' => int, ]); +$messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_getMessageEditData.md b/docs/API_docs/methods/messages_getMessageEditData.md index 64d08517..7669e380 100644 --- a/docs/API_docs/methods/messages_getMessageEditData.md +++ b/docs/API_docs/methods/messages_getMessageEditData.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_MessageEditData = $MadelineProto->messages_getMessageEditData(['peer' => InputPeer, 'id' => int, ]); +$messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_getMessages.md b/docs/API_docs/methods/messages_getMessages.md index 68e6139a..b2bfb29d 100644 --- a/docs/API_docs/methods/messages_getMessages.md +++ b/docs/API_docs/methods/messages_getMessages.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages_getMessages(['id' => [int], ]); +$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_getMessagesViews.md b/docs/API_docs/methods/messages_getMessagesViews.md index 6f9500b9..119a6288 100644 --- a/docs/API_docs/methods/messages_getMessagesViews.md +++ b/docs/API_docs/methods/messages_getMessagesViews.md @@ -35,5 +35,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Vector_of_int = $MadelineProto->messages_getMessagesViews(['peer' => InputPeer, 'id' => [int], 'increment' => Bool, ]); +$Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int], 'increment' => Bool, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_getPeerDialogs.md b/docs/API_docs/methods/messages_getPeerDialogs.md index ed1c6255..e87cc2f2 100644 --- a/docs/API_docs/methods/messages_getPeerDialogs.md +++ b/docs/API_docs/methods/messages_getPeerDialogs.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_PeerDialogs = $MadelineProto->messages_getPeerDialogs(['peers' => [InputPeer], ]); +$messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer], ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_getPeerSettings.md b/docs/API_docs/methods/messages_getPeerSettings.md index 327aaa49..9edbb91e 100644 --- a/docs/API_docs/methods/messages_getPeerSettings.md +++ b/docs/API_docs/methods/messages_getPeerSettings.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$PeerSettings = $MadelineProto->messages_getPeerSettings(['peer' => InputPeer, ]); +$PeerSettings = $MadelineProto->messages->getPeerSettings(['peer' => InputPeer, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_getRecentStickers.md b/docs/API_docs/methods/messages_getRecentStickers.md index db103c13..172f41fa 100644 --- a/docs/API_docs/methods/messages_getRecentStickers.md +++ b/docs/API_docs/methods/messages_getRecentStickers.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_RecentStickers = $MadelineProto->messages_getRecentStickers(['attached' => Bool, 'hash' => int, ]); +$messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_getSavedGifs.md b/docs/API_docs/methods/messages_getSavedGifs.md index 9eed635f..29aab1d1 100644 --- a/docs/API_docs/methods/messages_getSavedGifs.md +++ b/docs/API_docs/methods/messages_getSavedGifs.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_SavedGifs = $MadelineProto->messages_getSavedGifs(['hash' => int, ]); +$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_getStickerSet.md b/docs/API_docs/methods/messages_getStickerSet.md index 197d858f..5904a26c 100644 --- a/docs/API_docs/methods/messages_getStickerSet.md +++ b/docs/API_docs/methods/messages_getStickerSet.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_StickerSet = $MadelineProto->messages_getStickerSet(['stickerset' => InputStickerSet, ]); +$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_getWebPagePreview.md b/docs/API_docs/methods/messages_getWebPagePreview.md index b9c788ab..548e084c 100644 --- a/docs/API_docs/methods/messages_getWebPagePreview.md +++ b/docs/API_docs/methods/messages_getWebPagePreview.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$MessageMedia = $MadelineProto->messages_getWebPagePreview(['message' => string, ]); +$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_hideReportSpam.md b/docs/API_docs/methods/messages_hideReportSpam.md index 1a08f7f9..5c3acb86 100644 --- a/docs/API_docs/methods/messages_hideReportSpam.md +++ b/docs/API_docs/methods/messages_hideReportSpam.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages_hideReportSpam(['peer' => InputPeer, ]); +$Bool = $MadelineProto->messages->hideReportSpam(['peer' => InputPeer, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_importChatInvite.md b/docs/API_docs/methods/messages_importChatInvite.md index 013541ea..977e247b 100644 --- a/docs/API_docs/methods/messages_importChatInvite.md +++ b/docs/API_docs/methods/messages_importChatInvite.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages_importChatInvite(['hash' => string, ]); +$Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_installStickerSet.md b/docs/API_docs/methods/messages_installStickerSet.md index 2f00810e..18b785cb 100644 --- a/docs/API_docs/methods/messages_installStickerSet.md +++ b/docs/API_docs/methods/messages_installStickerSet.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_StickerSetInstallResult = $MadelineProto->messages_installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); +$messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_migrateChat.md b/docs/API_docs/methods/messages_migrateChat.md index 5858e9f2..a262e2d4 100644 --- a/docs/API_docs/methods/messages_migrateChat.md +++ b/docs/API_docs/methods/messages_migrateChat.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages_migrateChat(['chat_id' => int, ]); +$Updates = $MadelineProto->messages->migrateChat(['chat_id' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_readEncryptedHistory.md b/docs/API_docs/methods/messages_readEncryptedHistory.md index 64488e4f..ccddcfbd 100644 --- a/docs/API_docs/methods/messages_readEncryptedHistory.md +++ b/docs/API_docs/methods/messages_readEncryptedHistory.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages_readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); +$Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_readFeaturedStickers.md b/docs/API_docs/methods/messages_readFeaturedStickers.md index 55d8be66..8912e4df 100644 --- a/docs/API_docs/methods/messages_readFeaturedStickers.md +++ b/docs/API_docs/methods/messages_readFeaturedStickers.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages_readFeaturedStickers(['id' => [long], ]); +$Bool = $MadelineProto->messages->readFeaturedStickers(['id' => [long], ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_readHistory.md b/docs/API_docs/methods/messages_readHistory.md index 8dc6575d..f4f6cdc6 100644 --- a/docs/API_docs/methods/messages_readHistory.md +++ b/docs/API_docs/methods/messages_readHistory.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_AffectedMessages = $MadelineProto->messages_readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_readMessageContents.md b/docs/API_docs/methods/messages_readMessageContents.md index ceb368c5..8bc8c36b 100644 --- a/docs/API_docs/methods/messages_readMessageContents.md +++ b/docs/API_docs/methods/messages_readMessageContents.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_AffectedMessages = $MadelineProto->messages_readMessageContents(['id' => [int], ]); +$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_receivedMessages.md b/docs/API_docs/methods/messages_receivedMessages.md index fe6972a0..b1dd693c 100644 --- a/docs/API_docs/methods/messages_receivedMessages.md +++ b/docs/API_docs/methods/messages_receivedMessages.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Vector_of_ReceivedNotifyMessage = $MadelineProto->messages_receivedMessages(['max_id' => int, ]); +$Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_receivedQueue.md b/docs/API_docs/methods/messages_receivedQueue.md index 0292ebf6..1be5d18c 100644 --- a/docs/API_docs/methods/messages_receivedQueue.md +++ b/docs/API_docs/methods/messages_receivedQueue.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Vector_of_long = $MadelineProto->messages_receivedQueue(['max_qts' => int, ]); +$Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_reorderStickerSets.md b/docs/API_docs/methods/messages_reorderStickerSets.md index df087a64..df4253b6 100644 --- a/docs/API_docs/methods/messages_reorderStickerSets.md +++ b/docs/API_docs/methods/messages_reorderStickerSets.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages_reorderStickerSets(['masks' => Bool, 'order' => [long], ]); +$Bool = $MadelineProto->messages->reorderStickerSets(['masks' => Bool, 'order' => [long], ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_reportSpam.md b/docs/API_docs/methods/messages_reportSpam.md index 8d7c9557..fa0276cb 100644 --- a/docs/API_docs/methods/messages_reportSpam.md +++ b/docs/API_docs/methods/messages_reportSpam.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages_reportSpam(['peer' => InputPeer, ]); +$Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_requestEncryption.md b/docs/API_docs/methods/messages_requestEncryption.md index e937229d..23c80038 100644 --- a/docs/API_docs/methods/messages_requestEncryption.md +++ b/docs/API_docs/methods/messages_requestEncryption.md @@ -35,5 +35,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$EncryptedChat = $MadelineProto->messages_requestEncryption(['user_id' => InputUser, 'random_id' => int, 'g_a' => bytes, ]); +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'random_id' => int, 'g_a' => bytes, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_saveDraft.md b/docs/API_docs/methods/messages_saveDraft.md index 98fe4fb8..88540c98 100644 --- a/docs/API_docs/methods/messages_saveDraft.md +++ b/docs/API_docs/methods/messages_saveDraft.md @@ -37,5 +37,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages_saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => string, 'entities' => [MessageEntity], ]); +$Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => string, 'entities' => [MessageEntity], ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_saveGif.md b/docs/API_docs/methods/messages_saveGif.md index 11eb0685..e006a9d6 100644 --- a/docs/API_docs/methods/messages_saveGif.md +++ b/docs/API_docs/methods/messages_saveGif.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages_saveGif(['id' => InputDocument, 'unsave' => Bool, ]); +$Bool = $MadelineProto->messages->saveGif(['id' => InputDocument, 'unsave' => Bool, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_saveRecentSticker.md b/docs/API_docs/methods/messages_saveRecentSticker.md index 6286cac8..6447a458 100644 --- a/docs/API_docs/methods/messages_saveRecentSticker.md +++ b/docs/API_docs/methods/messages_saveRecentSticker.md @@ -35,5 +35,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages_saveRecentSticker(['attached' => Bool, 'id' => InputDocument, 'unsave' => Bool, ]); +$Bool = $MadelineProto->messages->saveRecentSticker(['attached' => Bool, 'id' => InputDocument, 'unsave' => Bool, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_search.md b/docs/API_docs/methods/messages_search.md index 166bf86c..5c6fe5bc 100644 --- a/docs/API_docs/methods/messages_search.md +++ b/docs/API_docs/methods/messages_search.md @@ -40,5 +40,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages_search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_searchGifs.md b/docs/API_docs/methods/messages_searchGifs.md index 5e24e3bf..bef02816 100644 --- a/docs/API_docs/methods/messages_searchGifs.md +++ b/docs/API_docs/methods/messages_searchGifs.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_FoundGifs = $MadelineProto->messages_searchGifs(['q' => string, 'offset' => int, ]); +$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => string, 'offset' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_searchGlobal.md b/docs/API_docs/methods/messages_searchGlobal.md index b6247851..63c90751 100644 --- a/docs/API_docs/methods/messages_searchGlobal.md +++ b/docs/API_docs/methods/messages_searchGlobal.md @@ -37,5 +37,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_Messages = $MadelineProto->messages_searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_sendEncrypted.md b/docs/API_docs/methods/messages_sendEncrypted.md index 71850c35..0a3508c0 100644 --- a/docs/API_docs/methods/messages_sendEncrypted.md +++ b/docs/API_docs/methods/messages_sendEncrypted.md @@ -35,5 +35,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_SentEncryptedMessage = $MadelineProto->messages_sendEncrypted(['peer' => InputEncryptedChat, 'random_id' => long, 'data' => bytes, ]); +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'random_id' => long, 'data' => bytes, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_sendEncryptedFile.md b/docs/API_docs/methods/messages_sendEncryptedFile.md index 2212c4bf..a06f2710 100644 --- a/docs/API_docs/methods/messages_sendEncryptedFile.md +++ b/docs/API_docs/methods/messages_sendEncryptedFile.md @@ -36,5 +36,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_SentEncryptedMessage = $MadelineProto->messages_sendEncryptedFile(['peer' => InputEncryptedChat, 'random_id' => long, 'data' => bytes, 'file' => InputEncryptedFile, ]); +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'random_id' => long, 'data' => bytes, 'file' => InputEncryptedFile, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_sendEncryptedService.md b/docs/API_docs/methods/messages_sendEncryptedService.md index c01be04b..e30d1c83 100644 --- a/docs/API_docs/methods/messages_sendEncryptedService.md +++ b/docs/API_docs/methods/messages_sendEncryptedService.md @@ -35,5 +35,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$messages_SentEncryptedMessage = $MadelineProto->messages_sendEncryptedService(['peer' => InputEncryptedChat, 'random_id' => long, 'data' => bytes, ]); +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'random_id' => long, 'data' => bytes, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_sendInlineBotResult.md b/docs/API_docs/methods/messages_sendInlineBotResult.md index 0fc130eb..7fa46a55 100644 --- a/docs/API_docs/methods/messages_sendInlineBotResult.md +++ b/docs/API_docs/methods/messages_sendInlineBotResult.md @@ -40,5 +40,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages_sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'random_id' => long, 'query_id' => long, 'id' => string, ]); +$Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'random_id' => long, 'query_id' => long, 'id' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_sendMedia.md b/docs/API_docs/methods/messages_sendMedia.md index a5c5dc97..577fb71a 100644 --- a/docs/API_docs/methods/messages_sendMedia.md +++ b/docs/API_docs/methods/messages_sendMedia.md @@ -40,5 +40,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages_sendMedia(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'random_id' => long, 'reply_markup' => ReplyMarkup, ]); +$Updates = $MadelineProto->messages->sendMedia(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'random_id' => long, 'reply_markup' => ReplyMarkup, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_sendMessage.md b/docs/API_docs/methods/messages_sendMessage.md index d17d18c0..d31c85df 100644 --- a/docs/API_docs/methods/messages_sendMessage.md +++ b/docs/API_docs/methods/messages_sendMessage.md @@ -42,5 +42,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages_sendMessage(['no_webpage' => Bool, 'silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, 'random_id' => long, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], ]); +$Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, 'random_id' => long, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_setBotCallbackAnswer.md b/docs/API_docs/methods/messages_setBotCallbackAnswer.md index 0631cfa4..b3653573 100644 --- a/docs/API_docs/methods/messages_setBotCallbackAnswer.md +++ b/docs/API_docs/methods/messages_setBotCallbackAnswer.md @@ -36,5 +36,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages_setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => string, 'url' => string, ]); +$Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => string, 'url' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_setEncryptedTyping.md b/docs/API_docs/methods/messages_setEncryptedTyping.md index 139d6a11..ffdfebc1 100644 --- a/docs/API_docs/methods/messages_setEncryptedTyping.md +++ b/docs/API_docs/methods/messages_setEncryptedTyping.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages_setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); +$Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_setGameScore.md b/docs/API_docs/methods/messages_setGameScore.md index 9ed70d53..3ae2e49b 100644 --- a/docs/API_docs/methods/messages_setGameScore.md +++ b/docs/API_docs/methods/messages_setGameScore.md @@ -37,5 +37,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages_setGameScore(['edit_message' => Bool, 'peer' => InputPeer, 'id' => int, 'user_id' => InputUser, 'score' => int, ]); +$Updates = $MadelineProto->messages->setGameScore(['edit_message' => Bool, 'peer' => InputPeer, 'id' => int, 'user_id' => InputUser, 'score' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_setInlineBotResults.md b/docs/API_docs/methods/messages_setInlineBotResults.md index 2fe502bd..a5c1a3ee 100644 --- a/docs/API_docs/methods/messages_setInlineBotResults.md +++ b/docs/API_docs/methods/messages_setInlineBotResults.md @@ -39,5 +39,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages_setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, ]); +$Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_setInlineGameScore.md b/docs/API_docs/methods/messages_setInlineGameScore.md index dec471d5..3b2310fd 100644 --- a/docs/API_docs/methods/messages_setInlineGameScore.md +++ b/docs/API_docs/methods/messages_setInlineGameScore.md @@ -36,5 +36,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages_setInlineGameScore(['edit_message' => Bool, 'id' => InputBotInlineMessageID, 'user_id' => InputUser, 'score' => int, ]); +$Bool = $MadelineProto->messages->setInlineGameScore(['edit_message' => Bool, 'id' => InputBotInlineMessageID, 'user_id' => InputUser, 'score' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_setTyping.md b/docs/API_docs/methods/messages_setTyping.md index 98d0ecfa..ed6731c5 100644 --- a/docs/API_docs/methods/messages_setTyping.md +++ b/docs/API_docs/methods/messages_setTyping.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages_setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); +$Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_startBot.md b/docs/API_docs/methods/messages_startBot.md index 7e3d9cd6..2a928b1d 100644 --- a/docs/API_docs/methods/messages_startBot.md +++ b/docs/API_docs/methods/messages_startBot.md @@ -36,5 +36,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages_startBot(['bot' => InputUser, 'peer' => InputPeer, 'random_id' => long, 'start_param' => string, ]); +$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'random_id' => long, 'start_param' => string, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_toggleChatAdmins.md b/docs/API_docs/methods/messages_toggleChatAdmins.md index c32f61fb..8a6dc6c2 100644 --- a/docs/API_docs/methods/messages_toggleChatAdmins.md +++ b/docs/API_docs/methods/messages_toggleChatAdmins.md @@ -34,5 +34,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Updates = $MadelineProto->messages_toggleChatAdmins(['chat_id' => int, 'enabled' => Bool, ]); +$Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => int, 'enabled' => Bool, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages_uninstallStickerSet.md b/docs/API_docs/methods/messages_uninstallStickerSet.md index 118af2a6..75f004f2 100644 --- a/docs/API_docs/methods/messages_uninstallStickerSet.md +++ b/docs/API_docs/methods/messages_uninstallStickerSet.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->messages_uninstallStickerSet(['stickerset' => InputStickerSet, ]); +$Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/photos_deletePhotos.md b/docs/API_docs/methods/photos_deletePhotos.md index 0ca712c7..6086f1d1 100644 --- a/docs/API_docs/methods/photos_deletePhotos.md +++ b/docs/API_docs/methods/photos_deletePhotos.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Vector_of_long = $MadelineProto->photos_deletePhotos(['id' => [InputPhoto], ]); +$Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/photos_getUserPhotos.md b/docs/API_docs/methods/photos_getUserPhotos.md index 7871f81e..03408772 100644 --- a/docs/API_docs/methods/photos_getUserPhotos.md +++ b/docs/API_docs/methods/photos_getUserPhotos.md @@ -36,5 +36,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$photos_Photos = $MadelineProto->photos_getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/photos_updateProfilePhoto.md b/docs/API_docs/methods/photos_updateProfilePhoto.md index b4fce064..86ffe8eb 100644 --- a/docs/API_docs/methods/photos_updateProfilePhoto.md +++ b/docs/API_docs/methods/photos_updateProfilePhoto.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$UserProfilePhoto = $MadelineProto->photos_updateProfilePhoto(['id' => InputPhoto, ]); +$UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/photos_uploadProfilePhoto.md b/docs/API_docs/methods/photos_uploadProfilePhoto.md index e8716d67..ac1ff2ca 100644 --- a/docs/API_docs/methods/photos_uploadProfilePhoto.md +++ b/docs/API_docs/methods/photos_uploadProfilePhoto.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$photos_Photo = $MadelineProto->photos_uploadProfilePhoto(['file' => InputFile, ]); +$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/updates_getChannelDifference.md b/docs/API_docs/methods/updates_getChannelDifference.md index a2003249..d9e3b6c3 100644 --- a/docs/API_docs/methods/updates_getChannelDifference.md +++ b/docs/API_docs/methods/updates_getChannelDifference.md @@ -36,5 +36,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$updates_ChannelDifference = $MadelineProto->updates_getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/updates_getDifference.md b/docs/API_docs/methods/updates_getDifference.md index 7eaba07c..e4e74545 100644 --- a/docs/API_docs/methods/updates_getDifference.md +++ b/docs/API_docs/methods/updates_getDifference.md @@ -35,5 +35,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$updates_Difference = $MadelineProto->updates_getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/updates_getState.md b/docs/API_docs/methods/updates_getState.md index ffb45d56..b3aa7998 100644 --- a/docs/API_docs/methods/updates_getState.md +++ b/docs/API_docs/methods/updates_getState.md @@ -28,5 +28,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$updates_State = $MadelineProto->updates_getState(); +$updates_State = $MadelineProto->updates->getState(); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/upload_getFile.md b/docs/API_docs/methods/upload_getFile.md index 879fff64..21905470 100644 --- a/docs/API_docs/methods/upload_getFile.md +++ b/docs/API_docs/methods/upload_getFile.md @@ -35,5 +35,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$upload_File = $MadelineProto->upload_getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/upload_saveBigFilePart.md b/docs/API_docs/methods/upload_saveBigFilePart.md index 0acfa504..d0bc8950 100644 --- a/docs/API_docs/methods/upload_saveBigFilePart.md +++ b/docs/API_docs/methods/upload_saveBigFilePart.md @@ -36,5 +36,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload_saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/upload_saveFilePart.md b/docs/API_docs/methods/upload_saveFilePart.md index e789c52b..659ce008 100644 --- a/docs/API_docs/methods/upload_saveFilePart.md +++ b/docs/API_docs/methods/upload_saveFilePart.md @@ -35,5 +35,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Bool = $MadelineProto->upload_saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/users_getFullUser.md b/docs/API_docs/methods/users_getFullUser.md index d31eebce..1a75c24c 100644 --- a/docs/API_docs/methods/users_getFullUser.md +++ b/docs/API_docs/methods/users_getFullUser.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$UserFull = $MadelineProto->users_getFullUser(['id' => InputUser, ]); +$UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); ``` \ No newline at end of file diff --git a/docs/API_docs/methods/users_getUsers.md b/docs/API_docs/methods/users_getUsers.md index cbcbcdaa..1658257b 100644 --- a/docs/API_docs/methods/users_getUsers.md +++ b/docs/API_docs/methods/users_getUsers.md @@ -33,5 +33,5 @@ if (isset($number)) { $MadelineProto->complete_phone_login($code); } -$Vector_of_User = $MadelineProto->users_getUsers(['id' => [InputUser], ]); +$Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); ``` \ No newline at end of file