diff --git a/docs/API_docs/methods/api_index.md b/docs/API_docs/methods/api_index.md index 3a9f9549..7539ddda 100644 --- a/docs/API_docs/methods/api_index.md +++ b/docs/API_docs/methods/api_index.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/docs/API_docs/methods/auth_exportAuthorization.md b/docs/API_docs/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/docs/API_docs/methods/auth_exportAuthorization.md +++ b/docs/API_docs/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/docs/API_docs/methods/auth_importAuthorization.md b/docs/API_docs/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/docs/API_docs/methods/auth_importAuthorization.md +++ b/docs/API_docs/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/docs/API_docs/methods/channels_getParticipants.md b/docs/API_docs/methods/channels_getParticipants.md index fb7a39df..446b8989 100644 --- a/docs/API_docs/methods/channels_getParticipants.md +++ b/docs/API_docs/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/docs/API_docs/methods/help_editUserInfo.md b/docs/API_docs/methods/help_editUserInfo.md index 7c8acb73..cc7e391e 100644 --- a/docs/API_docs/methods/help_editUserInfo.md +++ b/docs/API_docs/methods/help_editUserInfo.md @@ -86,4 +86,4 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). diff --git a/docs/API_docs/methods/index.md b/docs/API_docs/methods/index.md index 6556a33e..01cb7cc5 100644 --- a/docs/API_docs/methods/index.md +++ b/docs/API_docs/methods/index.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -232,7 +232,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get chats in common with a user: messages.getCommonChats @@ -388,7 +388,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -606,7 +606,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -628,9 +628,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls: phone.requestCall -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/docs/API_docs/methods/messages_editInlineBotMessage.md b/docs/API_docs/methods/messages_editInlineBotMessage.md index 5f7a31c9..ad40e6d0 100644 --- a/docs/API_docs/methods/messages_editInlineBotMessage.md +++ b/docs/API_docs/methods/messages_editInlineBotMessage.md @@ -95,7 +95,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/docs/API_docs/methods/messages_editMessage.md b/docs/API_docs/methods/messages_editMessage.md index dc711ac8..0b4cd25e 100644 --- a/docs/API_docs/methods/messages_editMessage.md +++ b/docs/API_docs/methods/messages_editMessage.md @@ -97,7 +97,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/docs/API_docs/methods/messages_getDhConfig.md b/docs/API_docs/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/docs/API_docs/methods/messages_getDhConfig.md +++ b/docs/API_docs/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/docs/API_docs/methods/messages_getDialogs.md b/docs/API_docs/methods/messages_getDialogs.md index d6bcd23d..7516a19e 100644 --- a/docs/API_docs/methods/messages_getDialogs.md +++ b/docs/API_docs/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/docs/API_docs/methods/messages_getWebPagePreview.md b/docs/API_docs/methods/messages_getWebPagePreview.md index 79f17717..3b7adda6 100644 --- a/docs/API_docs/methods/messages_getWebPagePreview.md +++ b/docs/API_docs/methods/messages_getWebPagePreview.md @@ -85,7 +85,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/docs/API_docs/methods/messages_saveDraft.md b/docs/API_docs/methods/messages_saveDraft.md index ea6d407e..1a1f841c 100644 --- a/docs/API_docs/methods/messages_saveDraft.md +++ b/docs/API_docs/methods/messages_saveDraft.md @@ -88,7 +88,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/docs/API_docs/methods/messages_sendMedia.md b/docs/API_docs/methods/messages_sendMedia.md index b3947ce7..1752fb73 100644 --- a/docs/API_docs/methods/messages_sendMedia.md +++ b/docs/API_docs/methods/messages_sendMedia.md @@ -99,7 +99,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/docs/API_docs/methods/messages_sendMessage.md b/docs/API_docs/methods/messages_sendMessage.md index 5363fc37..9b5c64fd 100644 --- a/docs/API_docs/methods/messages_sendMessage.md +++ b/docs/API_docs/methods/messages_sendMessage.md @@ -99,7 +99,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/docs/MTProto_docs/methods/api_index.md b/docs/MTProto_docs/methods/api_index.md index d966e991..d0744a0b 100644 --- a/docs/MTProto_docs/methods/api_index.md +++ b/docs/MTProto_docs/methods/api_index.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/docs/MTProto_docs/methods/index.md b/docs/MTProto_docs/methods/index.md index 0de55753..2645904e 100644 --- a/docs/MTProto_docs/methods/index.md +++ b/docs/MTProto_docs/methods/index.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) diff --git a/docs/bot_login.md b/docs/botLogin.md similarity index 88% rename from docs/bot_login.md rename to docs/botLogin.md index 93882e25..6a7c0870 100644 --- a/docs/bot_login.md +++ b/docs/botLogin.md @@ -17,5 +17,5 @@ description: bot_login parameters, return type and example ```php -$authorization = yield $this->bot_login($token); +$authorization = yield $this->botLogin($token); ``` diff --git a/docs/complete_2FA_login.md b/docs/complete2FALogin.md similarity index 70% rename from docs/complete_2FA_login.md rename to docs/complete2FALogin.md index 419db1a0..f4ff97f6 100644 --- a/docs/complete_2FA_login.md +++ b/docs/complete2FALogin.md @@ -17,8 +17,8 @@ description: complete_2FA_login parameters, return type and example ```php -yield $MadelineProto->phone_login(readline('Enter your phone number: ')); -$authorization = yield $MadelineProto->complete_phone_login(readline('Enter the code you received: ')); +yield $MadelineProto->phoneLogin(readline('Enter your phone number: ')); +$authorization = yield $MadelineProto->completePhoneLogin(readline('Enter the code you received: ')); if ($authorization['_'] === 'account.noPassword') { throw new \danog\MadelineProto\Exception('2FA is enabled but no password is set!'); } @@ -26,7 +26,7 @@ if ($authorization['_'] === 'account.password') { $authorization = yield $MadelineProto->complete_2fa_login(readline('Please enter your password (hint '.$authorization['hint'].'): ')); } if ($authorization['_'] === 'account.needSignup') { - $authorization = yield $MadelineProto->complete_signup(readline('Please enter your first name: '), readline('Please enter your last name (can be empty): ')); + $authorization = yield $MadelineProto->completeSignup(readline('Please enter your first name: '), readline('Please enter your last name (can be empty): ')); } ``` diff --git a/docs/complete_phone_login.md b/docs/completePhoneLogin.md similarity index 67% rename from docs/complete_phone_login.md rename to docs/completePhoneLogin.md index 59c72284..44701911 100644 --- a/docs/complete_phone_login.md +++ b/docs/completePhoneLogin.md @@ -13,14 +13,14 @@ description: complete_phone_login parameters, return type and example ### Return type: [auth.Authorization](API_docs/types/auth_Authorization.md) or [account.Password](http://docs.madelineproto.xyz/API_docs/types/account_Password.html) or `['_' => 'account.needSignup']` -You must then use [complete_2FA_login](complete_2FA_login.md) or [complete_signup](complete_signup.md) to login or signup, or simply start using `$MadelineProto` if the result is a `auth.Authorization` object. +You must then use [complete_2FA_login](complete_2FA_login.md) or [completeSignup](completeSignup.md) to login or signup, or simply start using `$MadelineProto` if the result is a `auth.Authorization` object. ### Example ([now fully async!](https://docs.madelineproto.xyz/docs/ASYNC.html)): ```php -yield $MadelineProto->phone_login(readline('Enter your phone number: ')); -$authorization = yield $MadelineProto->complete_phone_login(readline('Enter the code you received: ')); +yield $MadelineProto->phoneLogin(readline('Enter your phone number: ')); +$authorization = yield $MadelineProto->completePhoneLogin(readline('Enter the code you received: ')); if ($authorization['_'] === 'account.noPassword') { throw new \danog\MadelineProto\Exception('2FA is enabled but no password is set!'); } @@ -28,7 +28,7 @@ if ($authorization['_'] === 'account.password') { $authorization = yield $MadelineProto->complete_2fa_login(readline('Please enter your password (hint '.$authorization['hint'].'): ')); } if ($authorization['_'] === 'account.needSignup') { - $authorization = yield $MadelineProto->complete_signup(readline('Please enter your first name: '), readline('Please enter your last name (can be empty): ')); + $authorization = yield $MadelineProto->completeSignup(readline('Please enter your first name: '), readline('Please enter your last name (can be empty): ')); } ``` diff --git a/docs/complete_signup.md b/docs/completeSignup.md similarity index 71% rename from docs/complete_signup.md rename to docs/completeSignup.md index d8c265c7..727e63ff 100644 --- a/docs/complete_signup.md +++ b/docs/completeSignup.md @@ -18,8 +18,8 @@ description: complete_signup parameters, return type and example ```php -yield $MadelineProto->phone_login(readline('Enter your phone number: ')); -$authorization = yield $MadelineProto->complete_phone_login(readline('Enter the code you received: ')); +yield $MadelineProto->phoneLogin(readline('Enter your phone number: ')); +$authorization = yield $MadelineProto->completePhoneLogin(readline('Enter the code you received: ')); if ($authorization['_'] === 'account.noPassword') { throw new \danog\MadelineProto\Exception('2FA is enabled but no password is set!'); } @@ -27,7 +27,7 @@ if ($authorization['_'] === 'account.password') { $authorization = yield $MadelineProto->complete_2fa_login(readline('Please enter your password (hint '.$authorization['hint'].'): ')); } if ($authorization['_'] === 'account.needSignup') { - $authorization = yield $MadelineProto->complete_signup(readline('Please enter your first name: '), readline('Please enter your last name (can be empty): ')); + $authorization = yield $MadelineProto->completeSignup(readline('Please enter your first name: '), readline('Please enter your last name (can be empty): ')); } diff --git a/docs/docs/ASYNC.md b/docs/docs/ASYNC.md index 9e47ba34..9baf4ce2 100644 --- a/docs/docs/ASYNC.md +++ b/docs/docs/ASYNC.md @@ -43,12 +43,12 @@ That's very cool and all, you might think, but how exactly does this __async__ s Instead of writing code like this: ```php -$file = $MadelineProto->download_to_dir($bigfile, '/tmp/'); +$file = $MadelineProto->downloadToDir($bigfile, '/tmp/'); ``` Write it like **this**: ```php -$file = yield $MadelineProto->download_to_dir($bigfile, '/tmp/'); +$file = yield $MadelineProto->downloadToDir($bigfile, '/tmp/'); ``` ### That's it. @@ -86,7 +86,7 @@ yield $MadelineProto->messages->sendMessage(..., ['async' => true]); As mentioned earlier, you can only use the `yield` operator within functions, but not just any function, for example (**WILL NOT WORK**): ```php $sm = function ($chatID, $message) use ($MadelineProto) { - $id = (yield $MadelineProto->get_info($chatID, ['async' => true]))['bot_api_id']; + $id = (yield $MadelineProto->getInfo($chatID, ['async' => true]))['bot_api_id']; $res = yield $MadelineProto->messages->sendMesssage(['peer' => $chatID, 'message' => "Message from: $id\n$message"], ['async' => true]); return $res; }; @@ -110,7 +110,7 @@ class EventHandler extends \danog\MadelineProto\EventHandler return; } if (isset($update['message']['media']) && $update['message']['media']['_'] !== 'messageMediaGame') { - yield $this->download_to_dir($update, '/tmp'); + yield $this->downloadToDir($update, '/tmp'); yield $this->messages->sendMedia(['peer' => $update, 'message' => $update['message']['message'], 'media' => $update]); } @@ -215,7 +215,7 @@ Also, `ArrayAccess` on raw generators still isn't supported unless you wrap them ```php public function ponyAsync() { - return yield $MadelineProto->get_info('danogentili'); + return yield $MadelineProto->getInfo('danogentili'); } // public function onUpdateNewMessage.... @@ -292,7 +292,7 @@ From here it's like in the [artax docs](https://amphp.org/artax). MadelineProto also provides a simplified async version of `file_get_contents`: ```php -$result = yield $MadelineProto->file_get_contents('https://myurl'); +$result = yield $MadelineProto->fileGetContents('https://myurl'); ``` #### Async forking (does async green-thread forking) diff --git a/docs/docs/CALLS.md b/docs/docs/CALLS.md index 23776683..87e4e344 100644 --- a/docs/docs/CALLS.md +++ b/docs/docs/CALLS.md @@ -13,11 +13,11 @@ if (!file_exists('input.raw')) { echo 'Downloading example song'.PHP_EOL; copy('https://github.com/danog/MadelineProto/raw/master/input.raw', 'input.raw'); } -$call = yield $MadelineProto->request_call('@danogentili')->play('input.raw')->then('input.raw')->playOnHold(['input.raw'])->setOutputFile('output.raw'); +$call = yield $MadelineProto->requestCall('@danogentili')->play('input.raw')->then('input.raw')->playOnHold(['input.raw'])->setOutputFile('output.raw'); // We need to receive updates in order to avoid closing the script before the call has ended while ($call->getCallState() < \danog\MadelineProto\VoIP::CALL_STATE_ENDED) { - $MadelineProto->get_updates(); + $MadelineProto->getUpdates(); } ``` @@ -34,10 +34,10 @@ The wrapper consists in the `\danog\MadelineProto\VoIP` class, that can be insta ## Requesting a call ```php -$call = $MadelineProto->request_call('@danogentili'); +$call = $MadelineProto->requestCall('@danogentili'); ``` -The [request_call](https://docs.madelineproto.xyz/request_call.html) function accepts one parameter with the ID/username/Peer/User/InputPeer of the person to call, and returns a VoIP object that can be used to play audio files, set the hold files, change the configuration and set the output file (see the [VoIP API documentation](https://docs.madelineproto.xyz/API_docs/types/PhoneCall.html) for more info). +The [requestCall](https://docs.madelineproto.xyz/requestCall.html) function accepts one parameter with the ID/username/Peer/User/InputPeer of the person to call, and returns a VoIP object that can be used to play audio files, set the hold files, change the configuration and set the output file (see the [VoIP API documentation](https://docs.madelineproto.xyz/API_docs/types/PhoneCall.html) for more info). MadelineProto works using raw signed PCM audio with the sample rate and the bit depth specified in the configuration (see [here](https://docs.madelineproto.xyz/API_docs/types/PhoneCall.html) for info on how to fetch it): usually it's 1 channel, sample rate of 48khz, codec PCM s16 little endian. @@ -93,12 +93,12 @@ If you manually set the network type to `NET_TYPE_GPRS`, `NET_TYPE_EDGE`, or ena Requesting calls is easy, just run the `request_call` method. ```php -$controller = $MadelineProto->request_call('@danogentili')->play('input.raw')->then('inputb.raw')->playOnHold(['hold.raw'])->setOutputFile('output.raw'); +$controller = $MadelineProto->requestCall('@danogentili')->play('input.raw')->then('inputb.raw')->playOnHold(['hold.raw'])->setOutputFile('output.raw'); $controller->configuration['log_file_path'] = $controller->getOtherID().'.log'; // We need to receive updates in order to know that the other use accepted the call while ($controller->getCallState() < \danog\MadelineProto\VoIP::CALL_STATE_ENDED) { - $MadelineProto->get_updates(); + $MadelineProto->getUpdates(); } ``` @@ -111,7 +111,7 @@ This array will contain a VoIP object under the `phone_call` key. ```php while (true) { - $updates = $MadelineProto->get_updates(['offset' => $offset, 'limit' => 50, 'timeout' => 0]); // Just like in the bot API, you can specify an offset, a limit and a timeout + $updates = $MadelineProto->getUpdates(['offset' => $offset, 'limit' => 50, 'timeout' => 0]); // Just like in the bot API, you can specify an offset, a limit and a timeout foreach ($updates as $update) { \danog\MadelineProto\Logger::log([$update]); $offset = $update['update_id'] + 1; // Just like in the bot API, the offset must be set to the last update_id diff --git a/docs/docs/CHAT_INFO.md b/docs/docs/CHAT_INFO.md index a58c6b2d..e8dfa2be 100644 --- a/docs/docs/CHAT_INFO.md +++ b/docs/docs/CHAT_INFO.md @@ -14,13 +14,13 @@ There are various methods that can be used to fetch info about chats, based on b ## get_pwr_chat ([now fully async!](https://docs.madelineproto.xyz/docs/ASYNC.html)) ```php -$pwr_chat = yield $MadelineProto->get_pwr_chat(-100214891824); +$pwr_chat = yield $MadelineProto->getPwrChat(-100214891824); foreach ($pwr_chat['participants'] as $participant) { \danog\MadelineProto\Logger::log($participant); } ``` -Use `get_pwr_chat` to get full chat info, including the full list of members, see [here for the parameters and the result](https://docs.madelineproto.xyz/get_pwr_chat.html). +Use `get_pwr_chat` to get full chat info, including the full list of members, see [here for the parameters and the result](https://docs.madelineproto.xyz/getPwrChat.html). * Completeness: full * Speed: medium @@ -28,10 +28,10 @@ Use `get_pwr_chat` to get full chat info, including the full list of members, se ## get_full_info ([now fully async!](https://docs.madelineproto.xyz/docs/ASYNC.html)) ```php -$full_chat = yield $MadelineProto->get_full_info(-10028941842); +$full_chat = yield $MadelineProto->getFullInfo(-10028941842); ``` -You can also use `get_full_info` to get full chat info, without the full list of members, see [here for the parameters and the result](https://docs.madelineproto.xyz/get_full_info.html). +You can also use `get_full_info` to get full chat info, without the full list of members, see [here for the parameters and the result](https://docs.madelineproto.xyz/getFullInfo.html). * Completeness: medium * Speed: medium-fast @@ -39,10 +39,10 @@ You can also use `get_full_info` to get full chat info, without the full list of ## get_info ([now fully async!](https://docs.madelineproto.xyz/docs/ASYNC.html)) ```php -$chat = yield $MadelineProto->get_info(-10028941842); +$chat = yield $MadelineProto->getInfo(-10028941842); ``` -You can also use `get_info` to get chat info, see [here for the parameters and the result](https://docs.madelineproto.xyz/get_info.html) +You can also use `get_info` to get chat info, see [here for the parameters and the result](https://docs.madelineproto.xyz/getInfo.html) * Completeness: small * Speed: very fast @@ -50,7 +50,7 @@ You can also use `get_info` to get chat info, see [here for the parameters and t ## get_id ([now fully async!](https://docs.madelineproto.xyz/docs/ASYNC.html)) ```php -$id = yield $MadelineProto->get_id($update); +$id = yield $MadelineProto->getID($update); ``` You can also use `get_id` to get chat ID from updates, messages and other objects. diff --git a/docs/docs/DIALOGS.md b/docs/docs/DIALOGS.md index 4fd12fa2..c4968977 100644 --- a/docs/docs/DIALOGS.md +++ b/docs/docs/DIALOGS.md @@ -12,22 +12,22 @@ There are two ways to get a list of all chats, depending if you logged in as a u ## get_dialogs ([now fully async!](https://docs.madelineproto.xyz/docs/ASYNC.html)) ```php -$dialogs = yield $MadelineProto->get_dialogs(); +$dialogs = yield $MadelineProto->getDialogs(); foreach ($dialogs as $peer) { yield $MadelineProto->messages->sendMessage(['peer' => $peer, 'message' => 'Hi! Testing MadelineProto broadcasting!']); } ``` -`get_dialogs` will return a full list of all chats you're member of, see [here for the parameters and the result](https://docs.madelineproto.xyz/get_dialogs.html) +`get_dialogs` will return a full list of all chats you're member of, see [here for the parameters and the result](https://docs.madelineproto.xyz/getDialogs.html) ## get_full_dialogs ([now fully async!](https://docs.madelineproto.xyz/docs/ASYNC.html)) ```php -$dialogs = yield $MadelineProto->get_full_dialogs(); +$dialogs = yield $MadelineProto->getFullDialogs(); foreach ($dialogs as $dialog) { $MadelineProto->logger($dialog); } ``` -`get_full_dialogs` will return a full list of all chats you're member of, including dialog info (such as the pinned/last message ID, unread count, tag count, notification settings and message drafts) see [here for the parameters and the result](https://docs.madelineproto.xyz/get_full_dialogs.html) +`get_full_dialogs` will return a full list of all chats you're member of, including dialog info (such as the pinned/last message ID, unread count, tag count, notification settings and message drafts) see [here for the parameters and the result](https://docs.madelineproto.xyz/getFullDialogs.html) Next section \ No newline at end of file diff --git a/docs/docs/EXCEPTIONS.md b/docs/docs/EXCEPTIONS.md index e6b9824c..a969d3f8 100644 --- a/docs/docs/EXCEPTIONS.md +++ b/docs/docs/EXCEPTIONS.md @@ -9,7 +9,7 @@ MadelineProto can throw lots of different exceptions. ```php try { - $MadelineProto->get_dialogs(); + $MadelineProto->getDialogs(); } catch (\danog\MadelineProto\RPCErrorException $e) { if ($e->rpc === 'BOT_METHOD_INVALID') { \danog\MadelineProto\Logger::log("Bots can't execute this method!"); @@ -54,11 +54,11 @@ Revision: 63823fc3cc5070bd8a1ebe91e60e1fd583a2f37f TL Trace (YOU ABSOLUTELY MUST READ THE TEXT BELOW): -PeerHandler.php(327): get_info("dd",false) -TL.php(339): get_info("dd")['peer'] +PeerHandler.php(327): getInfo("dd",false) +TL.php(339): getInfo("dd")['peer'] While serializing: messages.sendMessage -CallHandler.php(79): serialize_method("messages.sendMessage",{"peer":"@dd","message":"hi"}) -APIFactory.php(142): method_call("messages.sendMessage",{"peer":"@dd","message":"hi"},{"datacenter":4}) +CallHandler.php(79): serializeMethod("messages.sendMessage",{"peer":"@dd","message":"hi"}) +APIFactory.php(142): methodCall("messages.sendMessage",{"peer":"@dd","message":"hi"},{"datacenter":4}) php shell code(1): __call("sendMessage",[{"peer":"@dd","message":"hi"}]) thrown in /home/pwrtelegram/cleanMadeline/src/danog/MadelineProto/MTProtoTools/PeerHandler.php on line 330 php > @@ -75,12 +75,12 @@ Explanation: `Revision: 63823fc3cc5070bd8a1ebe91e60e1fd583a2f37f`: this indicates the MadelineProto version: **always** include this code when opening github issues or reporting errors in the group. ``` -PeerHandler.php(327): get_info("dd",false) -TL.php(339): get_info("dd") +PeerHandler.php(327): getInfo("dd",false) +TL.php(339): getInfo("dd") ['peer'] While serializing: messages.sendMessage -CallHandler.php(79): serialize_method("messages.sendMessage",{"peer":"@dd","message":"hi"}) -APIFactory.php(142): method_call("messages.sendMessage",{"peer":"@dd","message":"hi"},{"datacenter":4}) +CallHandler.php(79): serializeMethod("messages.sendMessage",{"peer":"@dd","message":"hi"}) +APIFactory.php(142): methodCall("messages.sendMessage",{"peer":"@dd","message":"hi"},{"datacenter":4}) php shell code(1): __call("sendMessage",[{"peer":"@dd","message":"hi"}]) ``` diff --git a/docs/docs/FILES.md b/docs/docs/FILES.md index 35a65b75..58670c3b 100644 --- a/docs/docs/FILES.md +++ b/docs/docs/FILES.md @@ -301,7 +301,7 @@ There are multiple download methods that allow you to download a file to a direc ### Extracting download info ```php -$info = yield $MadelineProto->get_download_info($MessageMedia); +$info = yield $MadelineProto->getDownloadInfo($MessageMedia); ``` `$MessageMedia` can be a [MessageMedia](https://docs.madelineproto.xyz/API_docs/types/MessageMedia.html) object or a bot API file ID. @@ -313,10 +313,10 @@ $info = yield $MadelineProto->get_download_info($MessageMedia); ### Downloading profile pictures ```php -$info = yield $MadelineProto->get_propic_info($Update); +$info = yield $MadelineProto->getPropicInfo($Update); ``` -`$Update` can be a [Message](https://docs.madelineproto.xyz/API_docs/types/Message.html) object, an [Update](https://docs.madelineproto.xyz/API_docs/types/Update.html), or any value supported by [getInfo](https://docs.madelineproto.xyz/get_info.html). +`$Update` can be a [Message](https://docs.madelineproto.xyz/API_docs/types/Message.html) object, an [Update](https://docs.madelineproto.xyz/API_docs/types/Update.html), or any value supported by [getInfo](https://docs.madelineproto.xyz/getInfo.html). The result (which is in the same format as `get_download_info`) should the be passed to the download functions in order to download the profile picture. * `$info['ext']` - The file extension @@ -326,7 +326,7 @@ The result (which is in the same format as `get_download_info`) should the be pa ### Download to directory ```php -$output_file_name = yield $MadelineProto->download_to_dir($MessageMedia, '/tmp/'); +$output_file_name = yield $MadelineProto->downloadToDir($MessageMedia, '/tmp/'); ``` This downloads the given file to `/tmp`, and returns the full generated file path. @@ -335,7 +335,7 @@ This downloads the given file to `/tmp`, and returns the full generated file pat ### Download to file ```php -$output_file_name = yield $MadelineProto->download_to_file($MessageMedia, '/tmp/myname.mp4'); +$output_file_name = yield $MadelineProto->downloadToFile($MessageMedia, '/tmp/myname.mp4'); ``` This downloads the given file to `/tmp/myname.mp4`, and returns the full file path. @@ -345,12 +345,12 @@ This downloads the given file to `/tmp/myname.mp4`, and returns the full file pa ### Download to browser with streams ```php -$info = yield $MadelineProto->get_download_info($MessageMedia); +$info = yield $MadelineProto->getDownloadInfo($MessageMedia); header('Content-Length: '.$info['size']); header('Content-Type: '.$info['mime']); $stream = fopen('php://output', 'w'); -yield $MadelineProto->download_to_stream($MessageMedia, $stream, $cb, $offset, $endoffset); +yield $MadelineProto->downloadToStream($MessageMedia, $stream, $cb, $offset, $endoffset); ``` This downloads the given file to the browser, sending also information about the file's type and size. @@ -390,7 +390,7 @@ $sentMessage = yield $MadelineProto->messages->sendMedia([ 'parse_mode' => 'Markdown' ]); -$output_file_name = yield $MadelineProto->download_to_file( +$output_file_name = yield $MadelineProto->downloadToFile( $sentMessage, new \danog\MadelineProto\FileCallback( '/tmp/myname.mp4', @@ -441,7 +441,7 @@ $sentMessage = yield $MadelineProto->messages->sendMedia([ 'parse_mode' => 'Markdown' ]); -$output_file_name = yield $MadelineProto->download_to_file( +$output_file_name = yield $MadelineProto->downloadToFile( $sentMessage, new MyCallback('/tmp/myname.mp4', $peer, $MadelineProto) ); diff --git a/docs/docs/LOGIN.md b/docs/docs/LOGIN.md index 13483a4a..8ec57447 100644 --- a/docs/docs/LOGIN.md +++ b/docs/docs/LOGIN.md @@ -59,11 +59,11 @@ $wrapper->async(true); yield $wrapper->login(yield $wrapper->readline('Enter your phone number (this number must already be signed up to telegram)')); -yield $wrapper->complete_login(yield $wrapper->readline('Enter the code')); +yield $wrapper->completeLogin(yield $wrapper->readline('Enter the code')); -if (yield $wrapper->logged_in()) { - if (yield $wrapper->has_app()) { - $app = yield $wrapper->get_app(); +if (yield $wrapper->loggedIn()) { + if (yield $wrapper->hasApp()) { + $app = yield $wrapper->getApp(); } else { $app_title = yield $wrapper->readLine('Enter the app\'s name, can be anything: '); $short_name = yield $wrapper->readLine('Enter the app\'s short name, can be anything: '); @@ -89,31 +89,31 @@ The constructor of the API is optional, and can be an array of [MadelineProto se After you provide an API ID, you can then login (if you're using the [automatic mode you don't have to do this](#automatic-now-fully-async)). ```php -yield $MadelineProto->phone_login(yield $MadelineProto->readline('Enter your phone number: ')); -$authorization = yield $MadelineProto->complete_phone_login(yield $MadelineProto->readline('Enter the phone code: ')); +yield $MadelineProto->phoneLogin(yield $MadelineProto->readline('Enter your phone number: ')); +$authorization = yield $MadelineProto->completePhoneLogin(yield $MadelineProto->readline('Enter the phone code: ')); if ($authorization['_'] === 'account.password') { $authorization = yield $MadelineProto->complete_2fa_login(yield $MadelineProto->readline('Please enter your password (hint '.$authorization['hint'].'): ')); } if ($authorization['_'] === 'account.needSignup') { - $authorization = yield $MadelineProto->complete_signup(yield $MadelineProto->readline('Please enter your first name: '), readline('Please enter your last name (can be empty): ')); + $authorization = yield $MadelineProto->completeSignup(yield $MadelineProto->readline('Please enter your first name: '), readline('Please enter your last name (can be empty): ')); } ``` -First, you must call `phone_login` to send the verification code, see [here for the parameters and the result](https://docs.madelineproto.xyz/phone_login.html). -Then, use `complete_phone_login` to complete the login, see [here for the parameters and the result](https://docs.madelineproto.xyz/complete_phone_login.html). +First, you must call `phone_login` to send the verification code, see [here for the parameters and the result](https://docs.madelineproto.xyz/phoneLogin.html). +Then, use `complete_phone_login` to complete the login, see [here for the parameters and the result](https://docs.madelineproto.xyz/completePhoneLogin.html). Use `complete_2FA_login` to complete the login to an account with 2FA enabled, see [here for the parameters and the result](https://docs.madelineproto.xyz/complete_2FA_login.html). -If the account does not have an account, use `complete_signup` to signup, see [here for the parameters and the result](https://docs.madelineproto.xyz/complete_signup.html). +If the account does not have an account, use `complete_signup` to signup, see [here for the parameters and the result](https://docs.madelineproto.xyz/completeSignup.html). ## Manual (bot) ```php -yield $MadelineProto->bot_login('34298141894:aflknsaflknLKNFS'); +yield $MadelineProto->botLogin('34298141894:aflknsaflknLKNFS'); ``` -Use `bot_login` to login as a bot, see [here for the parameters and the result](https://docs.madelineproto.xyz/bot_login.html). +Use `bot_login` to login as a bot, see [here for the parameters and the result](https://docs.madelineproto.xyz/botLogin.html). Note that when you login as a bot, MadelineProto also logins using the [PWRTelegram](https://pwrtelegram.xyz) API, to allow persistant storage of peers, even after a logout and another login. diff --git a/docs/docs/SECRET_CHATS.md b/docs/docs/SECRET_CHATS.md index 7916c6ce..abf82638 100644 --- a/docs/docs/SECRET_CHATS.md +++ b/docs/docs/SECRET_CHATS.md @@ -15,10 +15,10 @@ MadelineProto provides wrappers to work with secret chats. ## Requesting secret chats ([now fully async!](https://docs.madelineproto.xyz/docs/ASYNC.html)) ```php -$secret_chat = yield $MadelineProto->request_secret_chat($InputUser); +$secret_chat = yield $MadelineProto->requestSecretChat($InputUser); ``` -[`request_secret_chat`](https://docs.madelineproto.xyz/request_secret_chat.html) requests a secret secret chat to the [InputUser](https://docs.madelineproto.xyz/API_docs/types/InputUser.html), ID, or username specified, and returns the secret chat ID. +[`request_secret_chat`](https://docs.madelineproto.xyz/requestSecretChat.html) requests a secret secret chat to the [InputUser](https://docs.madelineproto.xyz/API_docs/types/InputUser.html), ID, or username specified, and returns the secret chat ID. ## Accepting secret chats ([now fully async!](https://docs.madelineproto.xyz/docs/ASYNC.html)) @@ -30,7 +30,7 @@ Before sending any message, you must check if the secret chat was accepted by th ## Checking secret chat status ([now fully async!](https://docs.madelineproto.xyz/docs/ASYNC.html)) ```php -$status = yield $MadelineProto->secret_chat_status($chat); +$status = yield $MadelineProto->secretChatStatus($chat); ``` $status is 0 if the chat cannot be found in the local database, 1 if the chat was requested but not yet accepted, and 2 if it is a valid accepted secret chat. @@ -42,7 +42,7 @@ $status is 0 if the chat cannot be found in the local database, 1 if the chat wa To send messages/files/service messages, simply use the sendEncrypted methods with objects that use the same layer used by the other client (specified by the number after the underscore in decryptedMessage object names, to obtain the layer that must be used for a secret chat use the following wrapper method). ```php -$secret_chat = yield $MadelineProto->get_secret_chat($chat); +$secret_chat = yield $MadelineProto->getSecretChat($chat); /* [ 'key' => [ // The authorization key diff --git a/docs/docs/SELF.md b/docs/docs/SELF.md index b9abb519..d9fb19a2 100644 --- a/docs/docs/SELF.md +++ b/docs/docs/SELF.md @@ -8,11 +8,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png Here's how you can fetch info about the currently logged in user ```php -$me = yield $MadelineProto->get_self(); +$me = yield $MadelineProto->getSelf(); \danog\MadelineProto\Logger::log("Hi ".$me['first_name']."!"); ``` -[`get_self`](https://docs.madelineproto.xyz/get_self.html) returns a [User object](../API_docs/types/User.html) that contains info about the currently logged in user/bot, or false if the current instance is not logged in. +[`get_self`](https://docs.madelineproto.xyz/getSelf.html) returns a [User object](../API_docs/types/User.html) that contains info about the currently logged in user/bot, or false if the current instance is not logged in. Next section \ No newline at end of file diff --git a/docs/docs/SETTINGS.md b/docs/docs/SETTINGS.md index 85afa70c..0540703c 100644 --- a/docs/docs/SETTINGS.md +++ b/docs/docs/SETTINGS.md @@ -364,7 +364,7 @@ Peer caching settings ### `$settings['peer']['full_info_cache_time']` Default: 3600 -Description: Cache validity of full peer info (obtained with [get_full_info](CHAT_INFO.html#get_full_info)) +Description: Cache validity of full peer info (obtained with [getFullInfo](CHAT_INFO.html#get_full_info)) ### `$settings['peer']['full_fetch']` Default: false diff --git a/docs/docs/TEMPLATES.md b/docs/docs/TEMPLATES.md index 62c1660c..cfeeab45 100644 --- a/docs/docs/TEMPLATES.md +++ b/docs/docs/TEMPLATES.md @@ -8,7 +8,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png You get the web template used for the `$MadelineProto->start()` web UI thusly: ```php -$template = yield $MadelineProto->get_web_template(); +$template = yield $MadelineProto->getWebTemplate(); ``` By default, it is equal to: @@ -31,7 +31,7 @@ By default, it is equal to: To modify the web template, use: ```php -yield $MadelineProto->set_web_template($new_template); +yield $MadelineProto->setWebTemplate($new_template); ``` The new template must have a structure similar the the default template. diff --git a/docs/docs/UPDATES.md b/docs/docs/UPDATES.md index d546e08f..2a36220f 100644 --- a/docs/docs/UPDATES.md +++ b/docs/docs/UPDATES.md @@ -83,7 +83,7 @@ class EventHandler extends \danog\MadelineProto\EventHandler try { if (isset($update['message']['media']) && ($update['message']['media']['_'] == 'messageMediaPhoto' || $update['message']['media']['_'] == 'messageMediaDocument')) { $time = microtime(true); - $file = yield $this->download_to_dir($update, '/tmp'); + $file = yield $this->downloadToDir($update, '/tmp'); yield $this->messages->sendMessage(['peer' => $update, 'message' => 'Downloaded to '.$file.' in '.(microtime(true) - $time).' seconds', 'reply_to_msg_id' => $update['message']['id']]); } } catch (\danog\MadelineProto\RPCErrorException $e) { @@ -165,7 +165,7 @@ class EventHandler extends \danog\MadelineProto\CombinedEventHandler try { if (isset($update['message']['media']) && ($update['message']['media']['_'] == 'messageMediaPhoto' || $update['message']['media']['_'] == 'messageMediaDocument')) { $time = microtime(true); - $file = yield $this->{$session}->download_to_dir($update, '/tmp'); + $file = yield $this->{$session}->downloadToDir($update, '/tmp'); yield $this->{$session}->messages->sendMessage(['peer' => $update, 'message' => 'Downloaded to '.$file.' in '.(microtime(true) - $time).' seconds', 'reply_to_msg_id' => $update['message']['id']]); } } catch (\danog\MadelineProto\RPCErrorException $e) { diff --git a/docs/docs/USING_METHODS.md b/docs/docs/USING_METHODS.md index 407f00aa..a7a8402b 100644 --- a/docs/docs/USING_METHODS.md +++ b/docs/docs/USING_METHODS.md @@ -33,7 +33,7 @@ yield $MadelineProto->messages->sendMessage(['peer' => '@danogentili', 'message' If you want to check if a bot API id is a supergroup/channel ID: ```php -$Bool = yield $MadelineProto->is_supergroup($id); +$Bool = yield $MadelineProto->isSupergroup($id); ``` Uses logarithmic conversion to avoid problems on 32 bit systems. @@ -41,7 +41,7 @@ Uses logarithmic conversion to avoid problems on 32 bit systems. If you want to convert an MTProto API id to a supergroup/channel bot API ID: ```php -$bot_api_id = yield $MadelineProto->to_supergroup($id); +$bot_api_id = yield $MadelineProto->toSupergroup($id); ``` Uses logarithmic conversion to avoid problems on 32 bit systems. diff --git a/docs/get_dialogs.md b/docs/getDialogs.md similarity index 83% rename from docs/get_dialogs.md rename to docs/getDialogs.md index 221e16fe..ed12a575 100644 --- a/docs/get_dialogs.md +++ b/docs/getDialogs.md @@ -12,12 +12,12 @@ Gets full list of dialogs ```php -$Peers = yield $MadelineProto->get_dialogs(); +$Peers = yield $MadelineProto->getDialogs(); ``` Or, if you're into Lua: ```lua -Peers = get_dialogs() +Peers = getDialogs() ``` diff --git a/docs/get_full_dialogs.md b/docs/getFullDialogs.md similarity index 81% rename from docs/get_full_dialogs.md rename to docs/getFullDialogs.md index d3431fbb..2bbb0015 100644 --- a/docs/get_full_dialogs.md +++ b/docs/getFullDialogs.md @@ -12,12 +12,12 @@ Gets full list of dialogs ```php -$Dialogs = yield $MadelineProto->get_full_dialogs(); +$Dialogs = yield $MadelineProto->getFullDialogs(); ``` Or, if you're into Lua: ```lua -Dialogs = get_full_dialogs() +Dialogs = getFullDialogs() ``` diff --git a/docs/get_full_info.md b/docs/getFullInfo.md similarity index 90% rename from docs/get_full_info.md rename to docs/getFullInfo.md index 5a4aa71b..eb95df85 100644 --- a/docs/get_full_info.md +++ b/docs/getFullInfo.md @@ -17,12 +17,12 @@ description: get_full_info parameters, return type and example ```php -$Chat = yield $MadelineProto->get_full_info($id); +$Chat = yield $MadelineProto->getFullInfo($id); ``` Or, if you're into Lua: ```lua -Chat = get_full_info(id) +Chat = getFullInfo(id) ``` diff --git a/docs/get_info.md b/docs/getInfo.md similarity index 91% rename from docs/get_info.md rename to docs/getInfo.md index 34816b08..17e7c02b 100644 --- a/docs/get_info.md +++ b/docs/getInfo.md @@ -17,12 +17,12 @@ description: get_info parameters, return type and example ```php -$Chat = yield $MadelineProto->get_info($id); +$Chat = yield $MadelineProto->getInfo($id); ``` Or, if you're into Lua: ```lua -Chat = get_info(id) +Chat = getInfo(id) ``` diff --git a/docs/get_pwr_chat.md b/docs/getPwrChat.md similarity index 92% rename from docs/get_pwr_chat.md rename to docs/getPwrChat.md index 2a8a32a4..dc635094 100644 --- a/docs/get_pwr_chat.md +++ b/docs/getPwrChat.md @@ -18,12 +18,12 @@ description: get_pwr_chat parameters, return type and example ```php -$Chat = yield $MadelineProto->get_pwr_chat($id); +$Chat = yield $MadelineProto->getPwrChat($id); ``` Or, if you're into Lua: ```lua -Chat = get_pwr_chat(id) +Chat = getPwrChat(id) ``` diff --git a/docs/get_self.md b/docs/getSelf.md similarity index 85% rename from docs/get_self.md rename to docs/getSelf.md index c04c5542..b0acf22b 100644 --- a/docs/get_self.md +++ b/docs/getSelf.md @@ -14,12 +14,12 @@ No parameters ```php -$User = yield $MadelineProto->get_self(); +$User = yield $MadelineProto->getSelf(); ``` Or, if you're into Lua: ```lua -User = get_self() +User = getSelf() ``` diff --git a/docs/index.md b/docs/index.md index ba2e65cf..0169796e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -34,7 +34,7 @@ $MadelineProto->async(true); $MadelineProto->loop(function () use ($MadelineProto) { yield $MadelineProto->start(); - $me = yield $MadelineProto->get_self(); + $me = yield $MadelineProto->getSelf(); $MadelineProto->logger($me); @@ -173,10 +173,10 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro * [Login](https://docs.madelineproto.xyz/docs/LOGIN.html) * [Change 2FA password](https://docs.madelineproto.xyz/update_2fa.html) * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) - * [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) - * [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) - * [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) - * [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) + * [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) + * [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) + * [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) + * [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) * [Make a phone call and play a song](https://docs.madelineproto.xyz/docs/CALLS.html) * [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html) @@ -281,7 +281,7 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro * Get blocked users: contacts.getBlocked * Get call configuration: phone.getCallConfig * Get channel/supergroup messages: channels.getMessages - * Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants + * Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get chats in common with a user: messages.getCommonChats * Get contacts by IDs: contacts.getContactIDs * Get deep link info: help.getDeepLinkInfo @@ -359,7 +359,7 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro * Get wallpaper info: account.getWallPaper * Get webpage preview: messages.getWebPage * Get webpage preview: messages.getWebPagePreview - * Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs + * Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal * Hide peer settings bar: messages.hidePeerSettingsBar * Import chat invite: messages.importChatInvite @@ -468,7 +468,7 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro * Verify email address: account.verifyEmail * Verify phone number: account.verifyPhone * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey - * You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig + * You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.discardEncryption * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.requestEncryption @@ -479,8 +479,8 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro * You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls: phone.confirmCall * You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls: phone.discardCall * You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls: phone.requestCall - * You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization - * You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization + * You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization + * You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization * You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info): auth.checkPassword * You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info): auth.signIn diff --git a/docs/phone_login.md b/docs/phoneLogin.md similarity index 66% rename from docs/phone_login.md rename to docs/phoneLogin.md index e38dba03..9c876b19 100644 --- a/docs/phone_login.md +++ b/docs/phoneLogin.md @@ -13,15 +13,15 @@ description: phone_login parameters, return type and example ### Return type: [auth.SentCode](API_docs/types/auth_SentCode.md) -You must then use [complete_phone_login](complete_phone_login.md) +You must then use [completePhoneLogin](completePhoneLogin.md) ### Example ([now fully async!](https://docs.madelineproto.xyz/docs/ASYNC.html)): ```php -yield $MadelineProto->phone_login(readline('Enter your phone number: ')); -$authorization = yield $MadelineProto->complete_phone_login(readline('Enter the code you received: ')); +yield $MadelineProto->phoneLogin(readline('Enter your phone number: ')); +$authorization = yield $MadelineProto->completePhoneLogin(readline('Enter the code you received: ')); if ($authorization['_'] === 'account.noPassword') { throw new \danog\MadelineProto\Exception('2FA is enabled but no password is set!'); } @@ -29,7 +29,7 @@ if ($authorization['_'] === 'account.password') { $authorization = yield $MadelineProto->complete_2fa_login(readline('Please enter your password (hint '.$authorization['hint'].'): ')); } if ($authorization['_'] === 'account.needSignup') { - $authorization = yield $MadelineProto->complete_signup(readline('Please enter your first name: '), readline('Please enter your last name (can be empty): ')); + $authorization = yield $MadelineProto->completeSignup(readline('Please enter your first name: '), readline('Please enter your last name (can be empty): ')); } ``` diff --git a/docs/request_call.md b/docs/requestCall.md similarity index 94% rename from docs/request_call.md rename to docs/requestCall.md index 7d533952..a459b3e1 100644 --- a/docs/request_call.md +++ b/docs/requestCall.md @@ -27,7 +27,7 @@ if (!file_exists('input.raw')) { echo 'Downloading example song'.PHP_EOL; copy('https://github.com/danog/MadelineProto/raw/master/input.raw', 'input.raw'); } -$call = $MadelineProto->request_call('@danogentili'); +$call = $MadelineProto->requestCall('@danogentili'); $call->play('input.raw')->then('input.raw')->playOnHold(['input.raw'])->setOutputFile('output.raw'); ``` diff --git a/docs/request_secret_chat.md b/docs/requestSecretChat.md similarity index 88% rename from docs/request_secret_chat.md rename to docs/requestSecretChat.md index c68a2bdd..d66eea33 100644 --- a/docs/request_secret_chat.md +++ b/docs/requestSecretChat.md @@ -19,6 +19,6 @@ Returns the secret chat ID ```php -$secret_chat_id = yield $MadelineProto->request_secret_chat('@danogentili'); +$secret_chat_id = yield $MadelineProto->requestSecretChat('@danogentili'); ``` diff --git a/docs/update_2fa.md b/docs/update2fa.md similarity index 100% rename from docs/update_2fa.md rename to docs/update2fa.md diff --git a/old_docs/API_docs_v100/methods/README.md b/old_docs/API_docs_v100/methods/README.md index e2e7f2c9..934f72ee 100644 --- a/old_docs/API_docs_v100/methods/README.md +++ b/old_docs/API_docs_v100/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -222,7 +222,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get channels for discussion: channels.getBroadcastsForDiscussion @@ -370,7 +370,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -576,7 +576,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -598,9 +598,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls: phone.requestCall -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v100/methods/api_README.md b/old_docs/API_docs_v100/methods/api_README.md index 1d8f1c2f..a7c5f352 100644 --- a/old_docs/API_docs_v100/methods/api_README.md +++ b/old_docs/API_docs_v100/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v100/methods/auth_exportAuthorization.md b/old_docs/API_docs_v100/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v100/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v100/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v100/methods/auth_importAuthorization.md b/old_docs/API_docs_v100/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v100/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v100/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v100/methods/channels_getParticipants.md b/old_docs/API_docs_v100/methods/channels_getParticipants.md index fb7a39df..446b8989 100644 --- a/old_docs/API_docs_v100/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v100/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v100/methods/help_editUserInfo.md b/old_docs/API_docs_v100/methods/help_editUserInfo.md index 7c8acb73..cc7e391e 100644 --- a/old_docs/API_docs_v100/methods/help_editUserInfo.md +++ b/old_docs/API_docs_v100/methods/help_editUserInfo.md @@ -86,4 +86,4 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). diff --git a/old_docs/API_docs_v100/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v100/methods/messages_editInlineBotMessage.md index 5f7a31c9..ad40e6d0 100644 --- a/old_docs/API_docs_v100/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v100/methods/messages_editInlineBotMessage.md @@ -95,7 +95,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v100/methods/messages_editMessage.md b/old_docs/API_docs_v100/methods/messages_editMessage.md index d394d1aa..b9a6bbcc 100644 --- a/old_docs/API_docs_v100/methods/messages_editMessage.md +++ b/old_docs/API_docs_v100/methods/messages_editMessage.md @@ -96,7 +96,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v100/methods/messages_getDhConfig.md b/old_docs/API_docs_v100/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v100/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v100/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v100/methods/messages_getDialogs.md b/old_docs/API_docs_v100/methods/messages_getDialogs.md index d6bcd23d..7516a19e 100644 --- a/old_docs/API_docs_v100/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v100/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v100/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v100/methods/messages_getWebPagePreview.md index 79f17717..3b7adda6 100644 --- a/old_docs/API_docs_v100/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v100/methods/messages_getWebPagePreview.md @@ -85,7 +85,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v100/methods/messages_saveDraft.md b/old_docs/API_docs_v100/methods/messages_saveDraft.md index ea6d407e..1a1f841c 100644 --- a/old_docs/API_docs_v100/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v100/methods/messages_saveDraft.md @@ -88,7 +88,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v100/methods/messages_sendMedia.md b/old_docs/API_docs_v100/methods/messages_sendMedia.md index 8575afa2..56449cf4 100644 --- a/old_docs/API_docs_v100/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v100/methods/messages_sendMedia.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v100/methods/messages_sendMessage.md b/old_docs/API_docs_v100/methods/messages_sendMessage.md index 4a5e9c76..5a7d3520 100644 --- a/old_docs/API_docs_v100/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v100/methods/messages_sendMessage.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v102/methods/README.md b/old_docs/API_docs_v102/methods/README.md index 18fd4aee..902044d9 100644 --- a/old_docs/API_docs_v102/methods/README.md +++ b/old_docs/API_docs_v102/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -228,7 +228,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get chats in common with a user: messages.getCommonChats @@ -376,7 +376,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -582,7 +582,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -604,9 +604,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls: phone.requestCall -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v102/methods/api_README.md b/old_docs/API_docs_v102/methods/api_README.md index 7d3211cf..900cc525 100644 --- a/old_docs/API_docs_v102/methods/api_README.md +++ b/old_docs/API_docs_v102/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v102/methods/auth_exportAuthorization.md b/old_docs/API_docs_v102/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v102/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v102/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v102/methods/auth_importAuthorization.md b/old_docs/API_docs_v102/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v102/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v102/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v102/methods/channels_getParticipants.md b/old_docs/API_docs_v102/methods/channels_getParticipants.md index fb7a39df..446b8989 100644 --- a/old_docs/API_docs_v102/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v102/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v102/methods/help_editUserInfo.md b/old_docs/API_docs_v102/methods/help_editUserInfo.md index 7c8acb73..cc7e391e 100644 --- a/old_docs/API_docs_v102/methods/help_editUserInfo.md +++ b/old_docs/API_docs_v102/methods/help_editUserInfo.md @@ -86,4 +86,4 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). diff --git a/old_docs/API_docs_v102/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v102/methods/messages_editInlineBotMessage.md index 5f7a31c9..ad40e6d0 100644 --- a/old_docs/API_docs_v102/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v102/methods/messages_editInlineBotMessage.md @@ -95,7 +95,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v102/methods/messages_editMessage.md b/old_docs/API_docs_v102/methods/messages_editMessage.md index d394d1aa..b9a6bbcc 100644 --- a/old_docs/API_docs_v102/methods/messages_editMessage.md +++ b/old_docs/API_docs_v102/methods/messages_editMessage.md @@ -96,7 +96,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v102/methods/messages_getDhConfig.md b/old_docs/API_docs_v102/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v102/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v102/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v102/methods/messages_getDialogs.md b/old_docs/API_docs_v102/methods/messages_getDialogs.md index d6bcd23d..7516a19e 100644 --- a/old_docs/API_docs_v102/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v102/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v102/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v102/methods/messages_getWebPagePreview.md index 79f17717..3b7adda6 100644 --- a/old_docs/API_docs_v102/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v102/methods/messages_getWebPagePreview.md @@ -85,7 +85,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v102/methods/messages_saveDraft.md b/old_docs/API_docs_v102/methods/messages_saveDraft.md index ea6d407e..1a1f841c 100644 --- a/old_docs/API_docs_v102/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v102/methods/messages_saveDraft.md @@ -88,7 +88,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v102/methods/messages_sendMedia.md b/old_docs/API_docs_v102/methods/messages_sendMedia.md index 8575afa2..56449cf4 100644 --- a/old_docs/API_docs_v102/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v102/methods/messages_sendMedia.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v102/methods/messages_sendMessage.md b/old_docs/API_docs_v102/methods/messages_sendMessage.md index 4a5e9c76..5a7d3520 100644 --- a/old_docs/API_docs_v102/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v102/methods/messages_sendMessage.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v103/methods/README.md b/old_docs/API_docs_v103/methods/README.md index 18fd4aee..902044d9 100644 --- a/old_docs/API_docs_v103/methods/README.md +++ b/old_docs/API_docs_v103/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -228,7 +228,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get chats in common with a user: messages.getCommonChats @@ -376,7 +376,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -582,7 +582,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -604,9 +604,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls: phone.requestCall -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v103/methods/api_README.md b/old_docs/API_docs_v103/methods/api_README.md index bde50a7b..bb1d41a2 100644 --- a/old_docs/API_docs_v103/methods/api_README.md +++ b/old_docs/API_docs_v103/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v103/methods/auth_exportAuthorization.md b/old_docs/API_docs_v103/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v103/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v103/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v103/methods/auth_importAuthorization.md b/old_docs/API_docs_v103/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v103/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v103/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v103/methods/channels_getParticipants.md b/old_docs/API_docs_v103/methods/channels_getParticipants.md index fb7a39df..446b8989 100644 --- a/old_docs/API_docs_v103/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v103/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v103/methods/help_editUserInfo.md b/old_docs/API_docs_v103/methods/help_editUserInfo.md index 7c8acb73..cc7e391e 100644 --- a/old_docs/API_docs_v103/methods/help_editUserInfo.md +++ b/old_docs/API_docs_v103/methods/help_editUserInfo.md @@ -86,4 +86,4 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). diff --git a/old_docs/API_docs_v103/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v103/methods/messages_editInlineBotMessage.md index 5f7a31c9..ad40e6d0 100644 --- a/old_docs/API_docs_v103/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v103/methods/messages_editInlineBotMessage.md @@ -95,7 +95,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v103/methods/messages_editMessage.md b/old_docs/API_docs_v103/methods/messages_editMessage.md index d394d1aa..b9a6bbcc 100644 --- a/old_docs/API_docs_v103/methods/messages_editMessage.md +++ b/old_docs/API_docs_v103/methods/messages_editMessage.md @@ -96,7 +96,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v103/methods/messages_getDhConfig.md b/old_docs/API_docs_v103/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v103/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v103/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v103/methods/messages_getDialogs.md b/old_docs/API_docs_v103/methods/messages_getDialogs.md index d6bcd23d..7516a19e 100644 --- a/old_docs/API_docs_v103/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v103/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v103/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v103/methods/messages_getWebPagePreview.md index 79f17717..3b7adda6 100644 --- a/old_docs/API_docs_v103/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v103/methods/messages_getWebPagePreview.md @@ -85,7 +85,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v103/methods/messages_saveDraft.md b/old_docs/API_docs_v103/methods/messages_saveDraft.md index ea6d407e..1a1f841c 100644 --- a/old_docs/API_docs_v103/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v103/methods/messages_saveDraft.md @@ -88,7 +88,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v103/methods/messages_sendMedia.md b/old_docs/API_docs_v103/methods/messages_sendMedia.md index 8575afa2..56449cf4 100644 --- a/old_docs/API_docs_v103/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v103/methods/messages_sendMedia.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v103/methods/messages_sendMessage.md b/old_docs/API_docs_v103/methods/messages_sendMessage.md index 4a5e9c76..5a7d3520 100644 --- a/old_docs/API_docs_v103/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v103/methods/messages_sendMessage.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v104/methods/README.md b/old_docs/API_docs_v104/methods/README.md index 99801652..5978d17c 100644 --- a/old_docs/API_docs_v104/methods/README.md +++ b/old_docs/API_docs_v104/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -228,7 +228,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get chats in common with a user: messages.getCommonChats @@ -376,7 +376,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -584,7 +584,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -606,9 +606,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls: phone.requestCall -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v104/methods/api_README.md b/old_docs/API_docs_v104/methods/api_README.md index 055ddabc..2632f315 100644 --- a/old_docs/API_docs_v104/methods/api_README.md +++ b/old_docs/API_docs_v104/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v104/methods/auth_exportAuthorization.md b/old_docs/API_docs_v104/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v104/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v104/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v104/methods/auth_importAuthorization.md b/old_docs/API_docs_v104/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v104/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v104/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v104/methods/channels_getParticipants.md b/old_docs/API_docs_v104/methods/channels_getParticipants.md index fb7a39df..446b8989 100644 --- a/old_docs/API_docs_v104/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v104/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v104/methods/help_editUserInfo.md b/old_docs/API_docs_v104/methods/help_editUserInfo.md index 7c8acb73..cc7e391e 100644 --- a/old_docs/API_docs_v104/methods/help_editUserInfo.md +++ b/old_docs/API_docs_v104/methods/help_editUserInfo.md @@ -86,4 +86,4 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). diff --git a/old_docs/API_docs_v104/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v104/methods/messages_editInlineBotMessage.md index 5f7a31c9..ad40e6d0 100644 --- a/old_docs/API_docs_v104/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v104/methods/messages_editInlineBotMessage.md @@ -95,7 +95,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v104/methods/messages_editMessage.md b/old_docs/API_docs_v104/methods/messages_editMessage.md index d394d1aa..b9a6bbcc 100644 --- a/old_docs/API_docs_v104/methods/messages_editMessage.md +++ b/old_docs/API_docs_v104/methods/messages_editMessage.md @@ -96,7 +96,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v104/methods/messages_getDhConfig.md b/old_docs/API_docs_v104/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v104/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v104/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v104/methods/messages_getDialogs.md b/old_docs/API_docs_v104/methods/messages_getDialogs.md index d6bcd23d..7516a19e 100644 --- a/old_docs/API_docs_v104/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v104/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v104/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v104/methods/messages_getWebPagePreview.md index 79f17717..3b7adda6 100644 --- a/old_docs/API_docs_v104/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v104/methods/messages_getWebPagePreview.md @@ -85,7 +85,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v104/methods/messages_saveDraft.md b/old_docs/API_docs_v104/methods/messages_saveDraft.md index ea6d407e..1a1f841c 100644 --- a/old_docs/API_docs_v104/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v104/methods/messages_saveDraft.md @@ -88,7 +88,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v104/methods/messages_sendMedia.md b/old_docs/API_docs_v104/methods/messages_sendMedia.md index 8575afa2..56449cf4 100644 --- a/old_docs/API_docs_v104/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v104/methods/messages_sendMedia.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v104/methods/messages_sendMessage.md b/old_docs/API_docs_v104/methods/messages_sendMessage.md index 4a5e9c76..5a7d3520 100644 --- a/old_docs/API_docs_v104/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v104/methods/messages_sendMessage.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v105/methods/README.md b/old_docs/API_docs_v105/methods/README.md index 711a6b7c..2f4bfcd3 100644 --- a/old_docs/API_docs_v105/methods/README.md +++ b/old_docs/API_docs_v105/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -232,7 +232,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get chats in common with a user: messages.getCommonChats @@ -388,7 +388,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -606,7 +606,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -628,9 +628,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls: phone.requestCall -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v105/methods/api_README.md b/old_docs/API_docs_v105/methods/api_README.md index 195532c4..20ca3acb 100644 --- a/old_docs/API_docs_v105/methods/api_README.md +++ b/old_docs/API_docs_v105/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v105/methods/auth_exportAuthorization.md b/old_docs/API_docs_v105/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v105/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v105/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v105/methods/auth_importAuthorization.md b/old_docs/API_docs_v105/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v105/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v105/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v105/methods/channels_getParticipants.md b/old_docs/API_docs_v105/methods/channels_getParticipants.md index fb7a39df..446b8989 100644 --- a/old_docs/API_docs_v105/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v105/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v105/methods/help_editUserInfo.md b/old_docs/API_docs_v105/methods/help_editUserInfo.md index 7c8acb73..cc7e391e 100644 --- a/old_docs/API_docs_v105/methods/help_editUserInfo.md +++ b/old_docs/API_docs_v105/methods/help_editUserInfo.md @@ -86,4 +86,4 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). diff --git a/old_docs/API_docs_v105/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v105/methods/messages_editInlineBotMessage.md index 5f7a31c9..ad40e6d0 100644 --- a/old_docs/API_docs_v105/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v105/methods/messages_editInlineBotMessage.md @@ -95,7 +95,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v105/methods/messages_editMessage.md b/old_docs/API_docs_v105/methods/messages_editMessage.md index dc711ac8..0b4cd25e 100644 --- a/old_docs/API_docs_v105/methods/messages_editMessage.md +++ b/old_docs/API_docs_v105/methods/messages_editMessage.md @@ -97,7 +97,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v105/methods/messages_getDhConfig.md b/old_docs/API_docs_v105/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v105/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v105/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v105/methods/messages_getDialogs.md b/old_docs/API_docs_v105/methods/messages_getDialogs.md index d6bcd23d..7516a19e 100644 --- a/old_docs/API_docs_v105/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v105/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v105/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v105/methods/messages_getWebPagePreview.md index 79f17717..3b7adda6 100644 --- a/old_docs/API_docs_v105/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v105/methods/messages_getWebPagePreview.md @@ -85,7 +85,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v105/methods/messages_saveDraft.md b/old_docs/API_docs_v105/methods/messages_saveDraft.md index ea6d407e..1a1f841c 100644 --- a/old_docs/API_docs_v105/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v105/methods/messages_saveDraft.md @@ -88,7 +88,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v105/methods/messages_sendMedia.md b/old_docs/API_docs_v105/methods/messages_sendMedia.md index b3947ce7..1752fb73 100644 --- a/old_docs/API_docs_v105/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v105/methods/messages_sendMedia.md @@ -99,7 +99,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v105/methods/messages_sendMessage.md b/old_docs/API_docs_v105/methods/messages_sendMessage.md index 5363fc37..9b5c64fd 100644 --- a/old_docs/API_docs_v105/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v105/methods/messages_sendMessage.md @@ -99,7 +99,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v18/methods/README.md b/old_docs/API_docs_v18/methods/README.md index faa81a8e..99f69377 100644 --- a/old_docs/API_docs_v18/methods/README.md +++ b/old_docs/API_docs_v18/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -102,7 +102,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get the profile photos of a user: photos.getUserPhotos -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Import card as contact: contacts.importCard @@ -172,7 +172,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -184,9 +184,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates: updates.getState -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info): auth.signIn diff --git a/old_docs/API_docs_v18/methods/api_README.md b/old_docs/API_docs_v18/methods/api_README.md index 649540f3..d3a90c2e 100644 --- a/old_docs/API_docs_v18/methods/api_README.md +++ b/old_docs/API_docs_v18/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v18/methods/auth_exportAuthorization.md b/old_docs/API_docs_v18/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v18/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v18/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v18/methods/auth_importAuthorization.md b/old_docs/API_docs_v18/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v18/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v18/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v18/methods/messages_getDhConfig.md b/old_docs/API_docs_v18/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v18/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v18/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v18/methods/messages_getDialogs.md b/old_docs/API_docs_v18/methods/messages_getDialogs.md index 89f3a989..32c45d86 100644 --- a/old_docs/API_docs_v18/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v18/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v23/methods/README.md b/old_docs/API_docs_v23/methods/README.md index 675058f6..4695c15c 100644 --- a/old_docs/API_docs_v23/methods/README.md +++ b/old_docs/API_docs_v23/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -118,7 +118,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get the profile photos of a user: photos.getUserPhotos -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Import card as contact: contacts.importCard @@ -194,7 +194,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -206,9 +206,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates: updates.getState -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info): auth.signIn diff --git a/old_docs/API_docs_v23/methods/api_README.md b/old_docs/API_docs_v23/methods/api_README.md index b4bacc55..22576f3b 100644 --- a/old_docs/API_docs_v23/methods/api_README.md +++ b/old_docs/API_docs_v23/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v23/methods/auth_exportAuthorization.md b/old_docs/API_docs_v23/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v23/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v23/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v23/methods/auth_importAuthorization.md b/old_docs/API_docs_v23/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v23/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v23/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v23/methods/messages_getDhConfig.md b/old_docs/API_docs_v23/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v23/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v23/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v23/methods/messages_getDialogs.md b/old_docs/API_docs_v23/methods/messages_getDialogs.md index 89f3a989..32c45d86 100644 --- a/old_docs/API_docs_v23/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v23/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v25/methods/README.md b/old_docs/API_docs_v25/methods/README.md index 759f307e..7cbfb5e4 100644 --- a/old_docs/API_docs_v25/methods/README.md +++ b/old_docs/API_docs_v25/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -134,7 +134,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get the profile photos of a user: photos.getUserPhotos -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Import card as contact: contacts.importCard @@ -218,7 +218,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -230,9 +230,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates: updates.getState -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info): auth.checkPassword diff --git a/old_docs/API_docs_v25/methods/api_README.md b/old_docs/API_docs_v25/methods/api_README.md index 9cd61278..7172fc1b 100644 --- a/old_docs/API_docs_v25/methods/api_README.md +++ b/old_docs/API_docs_v25/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v25/methods/auth_exportAuthorization.md b/old_docs/API_docs_v25/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v25/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v25/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v25/methods/auth_importAuthorization.md b/old_docs/API_docs_v25/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v25/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v25/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v25/methods/messages_getDhConfig.md b/old_docs/API_docs_v25/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v25/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v25/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v25/methods/messages_getDialogs.md b/old_docs/API_docs_v25/methods/messages_getDialogs.md index 89f3a989..32c45d86 100644 --- a/old_docs/API_docs_v25/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v25/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v27/methods/README.md b/old_docs/API_docs_v27/methods/README.md index 544fba5d..5cf6e4fb 100644 --- a/old_docs/API_docs_v27/methods/README.md +++ b/old_docs/API_docs_v27/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -142,7 +142,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Import card as contact: contacts.importCard @@ -228,7 +228,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -240,9 +240,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates: updates.getState -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info): auth.checkPassword diff --git a/old_docs/API_docs_v27/methods/api_README.md b/old_docs/API_docs_v27/methods/api_README.md index 3efc78ab..e32c43ad 100644 --- a/old_docs/API_docs_v27/methods/api_README.md +++ b/old_docs/API_docs_v27/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v27/methods/auth_exportAuthorization.md b/old_docs/API_docs_v27/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v27/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v27/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v27/methods/auth_importAuthorization.md b/old_docs/API_docs_v27/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v27/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v27/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v27/methods/messages_getDhConfig.md b/old_docs/API_docs_v27/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v27/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v27/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v27/methods/messages_getDialogs.md b/old_docs/API_docs_v27/methods/messages_getDialogs.md index 89f3a989..32c45d86 100644 --- a/old_docs/API_docs_v27/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v27/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v33/methods/README.md b/old_docs/API_docs_v33/methods/README.md index d0215d08..be614f8c 100644 --- a/old_docs/API_docs_v33/methods/README.md +++ b/old_docs/API_docs_v33/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -152,7 +152,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Import card as contact: contacts.importCard @@ -246,7 +246,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -258,9 +258,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates: updates.getState -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v33/methods/api_README.md b/old_docs/API_docs_v33/methods/api_README.md index 4b404d30..174f87d2 100644 --- a/old_docs/API_docs_v33/methods/api_README.md +++ b/old_docs/API_docs_v33/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v33/methods/auth_exportAuthorization.md b/old_docs/API_docs_v33/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v33/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v33/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v33/methods/auth_importAuthorization.md b/old_docs/API_docs_v33/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v33/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v33/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v33/methods/messages_getDhConfig.md b/old_docs/API_docs_v33/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v33/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v33/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v33/methods/messages_getDialogs.md b/old_docs/API_docs_v33/methods/messages_getDialogs.md index 89f3a989..32c45d86 100644 --- a/old_docs/API_docs_v33/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v33/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v38/methods/README.md b/old_docs/API_docs_v38/methods/README.md index 7fcbbc01..a93cb5e5 100644 --- a/old_docs/API_docs_v38/methods/README.md +++ b/old_docs/API_docs_v38/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -130,7 +130,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get important channel/supergroup history: channels.getImportantHistory @@ -176,7 +176,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Import card as contact: contacts.importCard @@ -274,7 +274,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -288,9 +288,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates: updates.getState -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v38/methods/api_README.md b/old_docs/API_docs_v38/methods/api_README.md index 55b5c274..3475c89e 100644 --- a/old_docs/API_docs_v38/methods/api_README.md +++ b/old_docs/API_docs_v38/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v38/methods/auth_exportAuthorization.md b/old_docs/API_docs_v38/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v38/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v38/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v38/methods/auth_importAuthorization.md b/old_docs/API_docs_v38/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v38/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v38/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v38/methods/channels_getParticipants.md b/old_docs/API_docs_v38/methods/channels_getParticipants.md index 21d4a418..0780a7e0 100644 --- a/old_docs/API_docs_v38/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v38/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v38/methods/messages_getDhConfig.md b/old_docs/API_docs_v38/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v38/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v38/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v38/methods/messages_getDialogs.md b/old_docs/API_docs_v38/methods/messages_getDialogs.md index 05dddf22..e188cab9 100644 --- a/old_docs/API_docs_v38/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v38/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v38/methods/messages_sendMessage.md b/old_docs/API_docs_v38/methods/messages_sendMessage.md index 97507366..be636a79 100644 --- a/old_docs/API_docs_v38/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v38/methods/messages_sendMessage.md @@ -94,7 +94,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v40/methods/README.md b/old_docs/API_docs_v40/methods/README.md index 2627a6ff..238091a7 100644 --- a/old_docs/API_docs_v40/methods/README.md +++ b/old_docs/API_docs_v40/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -146,7 +146,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Import card as contact: contacts.importCard @@ -232,7 +232,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -246,9 +246,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates: updates.getState -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v40/methods/api_README.md b/old_docs/API_docs_v40/methods/api_README.md index 3b5f687b..18cc33a9 100644 --- a/old_docs/API_docs_v40/methods/api_README.md +++ b/old_docs/API_docs_v40/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v40/methods/auth_exportAuthorization.md b/old_docs/API_docs_v40/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v40/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v40/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v40/methods/auth_importAuthorization.md b/old_docs/API_docs_v40/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v40/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v40/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v40/methods/messages_getDhConfig.md b/old_docs/API_docs_v40/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v40/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v40/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v40/methods/messages_getDialogs.md b/old_docs/API_docs_v40/methods/messages_getDialogs.md index 05dddf22..e188cab9 100644 --- a/old_docs/API_docs_v40/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v40/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v40/methods/messages_sendMessage.md b/old_docs/API_docs_v40/methods/messages_sendMessage.md index 97507366..be636a79 100644 --- a/old_docs/API_docs_v40/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v40/methods/messages_sendMessage.md @@ -94,7 +94,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v41/methods/README.md b/old_docs/API_docs_v41/methods/README.md index 36dcac53..0a932ed2 100644 --- a/old_docs/API_docs_v41/methods/README.md +++ b/old_docs/API_docs_v41/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -138,7 +138,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get important channel/supergroup history: channels.getImportantHistory @@ -184,7 +184,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -284,7 +284,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -298,9 +298,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates: updates.getState -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v41/methods/api_README.md b/old_docs/API_docs_v41/methods/api_README.md index 1b3ac821..dc4227c8 100644 --- a/old_docs/API_docs_v41/methods/api_README.md +++ b/old_docs/API_docs_v41/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v41/methods/auth_exportAuthorization.md b/old_docs/API_docs_v41/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v41/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v41/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v41/methods/auth_importAuthorization.md b/old_docs/API_docs_v41/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v41/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v41/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v41/methods/channels_getParticipants.md b/old_docs/API_docs_v41/methods/channels_getParticipants.md index 21d4a418..0780a7e0 100644 --- a/old_docs/API_docs_v41/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v41/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v41/methods/messages_getDhConfig.md b/old_docs/API_docs_v41/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v41/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v41/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v41/methods/messages_getDialogs.md b/old_docs/API_docs_v41/methods/messages_getDialogs.md index 05dddf22..e188cab9 100644 --- a/old_docs/API_docs_v41/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v41/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v41/methods/messages_sendMessage.md b/old_docs/API_docs_v41/methods/messages_sendMessage.md index f87c70a1..1b06411a 100644 --- a/old_docs/API_docs_v41/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v41/methods/messages_sendMessage.md @@ -96,7 +96,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v42/methods/README.md b/old_docs/API_docs_v42/methods/README.md index 4b4b9781..a440ae2e 100644 --- a/old_docs/API_docs_v42/methods/README.md +++ b/old_docs/API_docs_v42/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -136,7 +136,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get important channel/supergroup history: channels.getImportantHistory @@ -182,7 +182,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -282,7 +282,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -296,9 +296,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates: updates.getState -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v42/methods/api_README.md b/old_docs/API_docs_v42/methods/api_README.md index 7117e19b..d87ad578 100644 --- a/old_docs/API_docs_v42/methods/api_README.md +++ b/old_docs/API_docs_v42/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v42/methods/auth_exportAuthorization.md b/old_docs/API_docs_v42/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v42/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v42/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v42/methods/auth_importAuthorization.md b/old_docs/API_docs_v42/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v42/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v42/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v42/methods/channels_getParticipants.md b/old_docs/API_docs_v42/methods/channels_getParticipants.md index 21d4a418..0780a7e0 100644 --- a/old_docs/API_docs_v42/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v42/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v42/methods/messages_getDhConfig.md b/old_docs/API_docs_v42/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v42/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v42/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v42/methods/messages_getDialogs.md b/old_docs/API_docs_v42/methods/messages_getDialogs.md index 8d8522d5..b8b10b7f 100644 --- a/old_docs/API_docs_v42/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v42/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v42/methods/messages_sendMessage.md b/old_docs/API_docs_v42/methods/messages_sendMessage.md index f87c70a1..1b06411a 100644 --- a/old_docs/API_docs_v42/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v42/methods/messages_sendMessage.md @@ -96,7 +96,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v44/methods/README.md b/old_docs/API_docs_v44/methods/README.md index 04f0f712..1478afd8 100644 --- a/old_docs/API_docs_v44/methods/README.md +++ b/old_docs/API_docs_v44/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -136,7 +136,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get document by SHA256 hash: messages.getDocumentByHash @@ -186,7 +186,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -292,7 +292,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -306,9 +306,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates: updates.getState -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v44/methods/api_README.md b/old_docs/API_docs_v44/methods/api_README.md index 01fe1a4c..7134310f 100644 --- a/old_docs/API_docs_v44/methods/api_README.md +++ b/old_docs/API_docs_v44/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v44/methods/auth_exportAuthorization.md b/old_docs/API_docs_v44/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v44/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v44/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v44/methods/auth_importAuthorization.md b/old_docs/API_docs_v44/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v44/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v44/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v44/methods/channels_getParticipants.md b/old_docs/API_docs_v44/methods/channels_getParticipants.md index 21d4a418..0780a7e0 100644 --- a/old_docs/API_docs_v44/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v44/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v44/methods/messages_getDhConfig.md b/old_docs/API_docs_v44/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v44/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v44/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v44/methods/messages_getDialogs.md b/old_docs/API_docs_v44/methods/messages_getDialogs.md index 8d8522d5..b8b10b7f 100644 --- a/old_docs/API_docs_v44/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v44/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v44/methods/messages_sendMessage.md b/old_docs/API_docs_v44/methods/messages_sendMessage.md index f87c70a1..1b06411a 100644 --- a/old_docs/API_docs_v44/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v44/methods/messages_sendMessage.md @@ -96,7 +96,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v45/methods/README.md b/old_docs/API_docs_v45/methods/README.md index 45a75afc..275b958c 100644 --- a/old_docs/API_docs_v45/methods/README.md +++ b/old_docs/API_docs_v45/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -140,7 +140,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get document by SHA256 hash: messages.getDocumentByHash @@ -192,7 +192,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -302,7 +302,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -316,9 +316,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates: updates.getState -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v45/methods/api_README.md b/old_docs/API_docs_v45/methods/api_README.md index 9633ab9c..6a650dbf 100644 --- a/old_docs/API_docs_v45/methods/api_README.md +++ b/old_docs/API_docs_v45/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v45/methods/auth_exportAuthorization.md b/old_docs/API_docs_v45/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v45/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v45/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v45/methods/auth_importAuthorization.md b/old_docs/API_docs_v45/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v45/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v45/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v45/methods/channels_getParticipants.md b/old_docs/API_docs_v45/methods/channels_getParticipants.md index 21d4a418..0780a7e0 100644 --- a/old_docs/API_docs_v45/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v45/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v45/methods/messages_getDhConfig.md b/old_docs/API_docs_v45/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v45/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v45/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v45/methods/messages_getDialogs.md b/old_docs/API_docs_v45/methods/messages_getDialogs.md index 8d8522d5..b8b10b7f 100644 --- a/old_docs/API_docs_v45/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v45/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v45/methods/messages_sendMessage.md b/old_docs/API_docs_v45/methods/messages_sendMessage.md index f87c70a1..1b06411a 100644 --- a/old_docs/API_docs_v45/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v45/methods/messages_sendMessage.md @@ -96,7 +96,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v46/methods/README.md b/old_docs/API_docs_v46/methods/README.md index 45a75afc..275b958c 100644 --- a/old_docs/API_docs_v46/methods/README.md +++ b/old_docs/API_docs_v46/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -140,7 +140,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get document by SHA256 hash: messages.getDocumentByHash @@ -192,7 +192,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -302,7 +302,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -316,9 +316,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates: updates.getState -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v46/methods/api_README.md b/old_docs/API_docs_v46/methods/api_README.md index 9633ab9c..6a650dbf 100644 --- a/old_docs/API_docs_v46/methods/api_README.md +++ b/old_docs/API_docs_v46/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v46/methods/auth_exportAuthorization.md b/old_docs/API_docs_v46/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v46/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v46/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v46/methods/auth_importAuthorization.md b/old_docs/API_docs_v46/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v46/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v46/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v46/methods/channels_getParticipants.md b/old_docs/API_docs_v46/methods/channels_getParticipants.md index 21d4a418..0780a7e0 100644 --- a/old_docs/API_docs_v46/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v46/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v46/methods/messages_getDhConfig.md b/old_docs/API_docs_v46/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v46/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v46/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v46/methods/messages_getDialogs.md b/old_docs/API_docs_v46/methods/messages_getDialogs.md index 8d8522d5..b8b10b7f 100644 --- a/old_docs/API_docs_v46/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v46/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v46/methods/messages_sendMessage.md b/old_docs/API_docs_v46/methods/messages_sendMessage.md index f87c70a1..1b06411a 100644 --- a/old_docs/API_docs_v46/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v46/methods/messages_sendMessage.md @@ -96,7 +96,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v51/methods/README.md b/old_docs/API_docs_v51/methods/README.md index 7b528b60..87e147bf 100644 --- a/old_docs/API_docs_v51/methods/README.md +++ b/old_docs/API_docs_v51/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -150,7 +150,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get document by SHA256 hash: messages.getDocumentByHash @@ -206,7 +206,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -322,7 +322,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -336,9 +336,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates: updates.getState -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v51/methods/api_README.md b/old_docs/API_docs_v51/methods/api_README.md index 79a7700a..2b659c79 100644 --- a/old_docs/API_docs_v51/methods/api_README.md +++ b/old_docs/API_docs_v51/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v51/methods/auth_exportAuthorization.md b/old_docs/API_docs_v51/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v51/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v51/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v51/methods/auth_importAuthorization.md b/old_docs/API_docs_v51/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v51/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v51/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v51/methods/channels_getParticipants.md b/old_docs/API_docs_v51/methods/channels_getParticipants.md index 21d4a418..0780a7e0 100644 --- a/old_docs/API_docs_v51/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v51/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v51/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v51/methods/messages_editInlineBotMessage.md index c274cbb9..5811c27b 100644 --- a/old_docs/API_docs_v51/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v51/methods/messages_editInlineBotMessage.md @@ -94,7 +94,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v51/methods/messages_editMessage.md b/old_docs/API_docs_v51/methods/messages_editMessage.md index d3ce5261..fa2c586b 100644 --- a/old_docs/API_docs_v51/methods/messages_editMessage.md +++ b/old_docs/API_docs_v51/methods/messages_editMessage.md @@ -95,7 +95,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v51/methods/messages_getDhConfig.md b/old_docs/API_docs_v51/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v51/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v51/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v51/methods/messages_getDialogs.md b/old_docs/API_docs_v51/methods/messages_getDialogs.md index 8d8522d5..b8b10b7f 100644 --- a/old_docs/API_docs_v51/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v51/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v51/methods/messages_sendMessage.md b/old_docs/API_docs_v51/methods/messages_sendMessage.md index 7ea71aa2..dd1f26e1 100644 --- a/old_docs/API_docs_v51/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v51/methods/messages_sendMessage.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v53/methods/README.md b/old_docs/API_docs_v53/methods/README.md index 8106a8c1..25752ac5 100644 --- a/old_docs/API_docs_v53/methods/README.md +++ b/old_docs/API_docs_v53/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -148,7 +148,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get dialog info of peers: messages.getPeerDialogs @@ -206,7 +206,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -326,7 +326,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -340,9 +340,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates: updates.getState -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v53/methods/api_README.md b/old_docs/API_docs_v53/methods/api_README.md index f9cda758..5912778d 100644 --- a/old_docs/API_docs_v53/methods/api_README.md +++ b/old_docs/API_docs_v53/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v53/methods/auth_exportAuthorization.md b/old_docs/API_docs_v53/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v53/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v53/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v53/methods/auth_importAuthorization.md b/old_docs/API_docs_v53/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v53/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v53/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v53/methods/channels_getParticipants.md b/old_docs/API_docs_v53/methods/channels_getParticipants.md index 21d4a418..0780a7e0 100644 --- a/old_docs/API_docs_v53/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v53/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v53/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v53/methods/messages_editInlineBotMessage.md index c274cbb9..5811c27b 100644 --- a/old_docs/API_docs_v53/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v53/methods/messages_editInlineBotMessage.md @@ -94,7 +94,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v53/methods/messages_editMessage.md b/old_docs/API_docs_v53/methods/messages_editMessage.md index d3ce5261..fa2c586b 100644 --- a/old_docs/API_docs_v53/methods/messages_editMessage.md +++ b/old_docs/API_docs_v53/methods/messages_editMessage.md @@ -95,7 +95,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v53/methods/messages_getDhConfig.md b/old_docs/API_docs_v53/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v53/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v53/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v53/methods/messages_getDialogs.md b/old_docs/API_docs_v53/methods/messages_getDialogs.md index 8d8522d5..b8b10b7f 100644 --- a/old_docs/API_docs_v53/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v53/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v53/methods/messages_saveDraft.md b/old_docs/API_docs_v53/methods/messages_saveDraft.md index ea6d407e..1a1f841c 100644 --- a/old_docs/API_docs_v53/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v53/methods/messages_saveDraft.md @@ -88,7 +88,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v53/methods/messages_sendMessage.md b/old_docs/API_docs_v53/methods/messages_sendMessage.md index 4a5e9c76..5a7d3520 100644 --- a/old_docs/API_docs_v53/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v53/methods/messages_sendMessage.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v55/methods/README.md b/old_docs/API_docs_v55/methods/README.md index 102683c4..d5f13a7d 100644 --- a/old_docs/API_docs_v55/methods/README.md +++ b/old_docs/API_docs_v55/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -156,7 +156,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get dialog info of peers: messages.getPeerDialogs @@ -220,7 +220,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -344,7 +344,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -358,9 +358,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates: updates.getState -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v55/methods/api_README.md b/old_docs/API_docs_v55/methods/api_README.md index 4fcdc569..9202be1e 100644 --- a/old_docs/API_docs_v55/methods/api_README.md +++ b/old_docs/API_docs_v55/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v55/methods/auth_exportAuthorization.md b/old_docs/API_docs_v55/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v55/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v55/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v55/methods/auth_importAuthorization.md b/old_docs/API_docs_v55/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v55/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v55/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v55/methods/channels_getParticipants.md b/old_docs/API_docs_v55/methods/channels_getParticipants.md index 21d4a418..0780a7e0 100644 --- a/old_docs/API_docs_v55/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v55/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v55/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v55/methods/messages_editInlineBotMessage.md index c274cbb9..5811c27b 100644 --- a/old_docs/API_docs_v55/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v55/methods/messages_editInlineBotMessage.md @@ -94,7 +94,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v55/methods/messages_editMessage.md b/old_docs/API_docs_v55/methods/messages_editMessage.md index d3ce5261..fa2c586b 100644 --- a/old_docs/API_docs_v55/methods/messages_editMessage.md +++ b/old_docs/API_docs_v55/methods/messages_editMessage.md @@ -95,7 +95,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v55/methods/messages_getDhConfig.md b/old_docs/API_docs_v55/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v55/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v55/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v55/methods/messages_getDialogs.md b/old_docs/API_docs_v55/methods/messages_getDialogs.md index 8d8522d5..b8b10b7f 100644 --- a/old_docs/API_docs_v55/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v55/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v55/methods/messages_saveDraft.md b/old_docs/API_docs_v55/methods/messages_saveDraft.md index ea6d407e..1a1f841c 100644 --- a/old_docs/API_docs_v55/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v55/methods/messages_saveDraft.md @@ -88,7 +88,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v55/methods/messages_sendMessage.md b/old_docs/API_docs_v55/methods/messages_sendMessage.md index 4a5e9c76..5a7d3520 100644 --- a/old_docs/API_docs_v55/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v55/methods/messages_sendMessage.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v57/methods/README.md b/old_docs/API_docs_v57/methods/README.md index 4c97629c..b3296c45 100644 --- a/old_docs/API_docs_v57/methods/README.md +++ b/old_docs/API_docs_v57/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -160,7 +160,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get dialog info of peers: messages.getPeerDialogs @@ -228,7 +228,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -354,7 +354,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -368,9 +368,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates: updates.getState -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v57/methods/api_README.md b/old_docs/API_docs_v57/methods/api_README.md index c0c7b709..72994870 100644 --- a/old_docs/API_docs_v57/methods/api_README.md +++ b/old_docs/API_docs_v57/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v57/methods/auth_exportAuthorization.md b/old_docs/API_docs_v57/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v57/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v57/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v57/methods/auth_importAuthorization.md b/old_docs/API_docs_v57/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v57/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v57/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v57/methods/channels_getParticipants.md b/old_docs/API_docs_v57/methods/channels_getParticipants.md index 21d4a418..0780a7e0 100644 --- a/old_docs/API_docs_v57/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v57/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v57/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v57/methods/messages_editInlineBotMessage.md index c274cbb9..5811c27b 100644 --- a/old_docs/API_docs_v57/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v57/methods/messages_editInlineBotMessage.md @@ -94,7 +94,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v57/methods/messages_editMessage.md b/old_docs/API_docs_v57/methods/messages_editMessage.md index d3ce5261..fa2c586b 100644 --- a/old_docs/API_docs_v57/methods/messages_editMessage.md +++ b/old_docs/API_docs_v57/methods/messages_editMessage.md @@ -95,7 +95,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v57/methods/messages_getDhConfig.md b/old_docs/API_docs_v57/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v57/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v57/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v57/methods/messages_getDialogs.md b/old_docs/API_docs_v57/methods/messages_getDialogs.md index 8d8522d5..b8b10b7f 100644 --- a/old_docs/API_docs_v57/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v57/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v57/methods/messages_saveDraft.md b/old_docs/API_docs_v57/methods/messages_saveDraft.md index ea6d407e..1a1f841c 100644 --- a/old_docs/API_docs_v57/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v57/methods/messages_saveDraft.md @@ -88,7 +88,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v57/methods/messages_sendMessage.md b/old_docs/API_docs_v57/methods/messages_sendMessage.md index 4a5e9c76..5a7d3520 100644 --- a/old_docs/API_docs_v57/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v57/methods/messages_sendMessage.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v62/methods/README.md b/old_docs/API_docs_v62/methods/README.md index e5d3117e..a0e7ed02 100644 --- a/old_docs/API_docs_v62/methods/README.md +++ b/old_docs/API_docs_v62/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -164,7 +164,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get chats in common with a user: messages.getCommonChats @@ -238,7 +238,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -374,7 +374,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -394,9 +394,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls: phone.requestCall -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v62/methods/api_README.md b/old_docs/API_docs_v62/methods/api_README.md index cfe0857b..124a138e 100644 --- a/old_docs/API_docs_v62/methods/api_README.md +++ b/old_docs/API_docs_v62/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v62/methods/auth_exportAuthorization.md b/old_docs/API_docs_v62/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v62/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v62/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v62/methods/auth_importAuthorization.md b/old_docs/API_docs_v62/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v62/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v62/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v62/methods/channels_getParticipants.md b/old_docs/API_docs_v62/methods/channels_getParticipants.md index 21d4a418..0780a7e0 100644 --- a/old_docs/API_docs_v62/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v62/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v62/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v62/methods/messages_editInlineBotMessage.md index c274cbb9..5811c27b 100644 --- a/old_docs/API_docs_v62/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v62/methods/messages_editInlineBotMessage.md @@ -94,7 +94,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v62/methods/messages_editMessage.md b/old_docs/API_docs_v62/methods/messages_editMessage.md index d3ce5261..fa2c586b 100644 --- a/old_docs/API_docs_v62/methods/messages_editMessage.md +++ b/old_docs/API_docs_v62/methods/messages_editMessage.md @@ -95,7 +95,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v62/methods/messages_getDhConfig.md b/old_docs/API_docs_v62/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v62/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v62/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v62/methods/messages_getDialogs.md b/old_docs/API_docs_v62/methods/messages_getDialogs.md index e95ea75b..7e541241 100644 --- a/old_docs/API_docs_v62/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v62/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v62/methods/messages_saveDraft.md b/old_docs/API_docs_v62/methods/messages_saveDraft.md index ea6d407e..1a1f841c 100644 --- a/old_docs/API_docs_v62/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v62/methods/messages_saveDraft.md @@ -88,7 +88,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v62/methods/messages_sendMessage.md b/old_docs/API_docs_v62/methods/messages_sendMessage.md index 4a5e9c76..5a7d3520 100644 --- a/old_docs/API_docs_v62/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v62/methods/messages_sendMessage.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v65/methods/README.md b/old_docs/API_docs_v65/methods/README.md index 3675a8e2..8c10a8d5 100644 --- a/old_docs/API_docs_v65/methods/README.md +++ b/old_docs/API_docs_v65/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -180,7 +180,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get chats in common with a user: messages.getCommonChats @@ -264,7 +264,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -422,7 +422,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -444,9 +444,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls: phone.requestCall -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v65/methods/api_README.md b/old_docs/API_docs_v65/methods/api_README.md index e68c42a0..c8027a54 100644 --- a/old_docs/API_docs_v65/methods/api_README.md +++ b/old_docs/API_docs_v65/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v65/methods/auth_exportAuthorization.md b/old_docs/API_docs_v65/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v65/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v65/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v65/methods/auth_importAuthorization.md b/old_docs/API_docs_v65/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v65/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v65/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v65/methods/channels_getParticipants.md b/old_docs/API_docs_v65/methods/channels_getParticipants.md index 21d4a418..0780a7e0 100644 --- a/old_docs/API_docs_v65/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v65/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v65/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v65/methods/messages_editInlineBotMessage.md index c274cbb9..5811c27b 100644 --- a/old_docs/API_docs_v65/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v65/methods/messages_editInlineBotMessage.md @@ -94,7 +94,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v65/methods/messages_editMessage.md b/old_docs/API_docs_v65/methods/messages_editMessage.md index d3ce5261..fa2c586b 100644 --- a/old_docs/API_docs_v65/methods/messages_editMessage.md +++ b/old_docs/API_docs_v65/methods/messages_editMessage.md @@ -95,7 +95,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v65/methods/messages_getDhConfig.md b/old_docs/API_docs_v65/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v65/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v65/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v65/methods/messages_getDialogs.md b/old_docs/API_docs_v65/methods/messages_getDialogs.md index e95ea75b..7e541241 100644 --- a/old_docs/API_docs_v65/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v65/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v65/methods/messages_saveDraft.md b/old_docs/API_docs_v65/methods/messages_saveDraft.md index ea6d407e..1a1f841c 100644 --- a/old_docs/API_docs_v65/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v65/methods/messages_saveDraft.md @@ -88,7 +88,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v65/methods/messages_sendMessage.md b/old_docs/API_docs_v65/methods/messages_sendMessage.md index 4a5e9c76..5a7d3520 100644 --- a/old_docs/API_docs_v65/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v65/methods/messages_sendMessage.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v66/methods/README.md b/old_docs/API_docs_v66/methods/README.md index 74ea441c..282d34de 100644 --- a/old_docs/API_docs_v66/methods/README.md +++ b/old_docs/API_docs_v66/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -182,7 +182,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get chats in common with a user: messages.getCommonChats @@ -266,7 +266,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -424,7 +424,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -446,9 +446,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls: phone.requestCall -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v66/methods/api_README.md b/old_docs/API_docs_v66/methods/api_README.md index b7e0ae2c..8e873f57 100644 --- a/old_docs/API_docs_v66/methods/api_README.md +++ b/old_docs/API_docs_v66/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v66/methods/auth_exportAuthorization.md b/old_docs/API_docs_v66/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v66/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v66/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v66/methods/auth_importAuthorization.md b/old_docs/API_docs_v66/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v66/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v66/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v66/methods/channels_getParticipants.md b/old_docs/API_docs_v66/methods/channels_getParticipants.md index 21d4a418..0780a7e0 100644 --- a/old_docs/API_docs_v66/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v66/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v66/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v66/methods/messages_editInlineBotMessage.md index c274cbb9..5811c27b 100644 --- a/old_docs/API_docs_v66/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v66/methods/messages_editInlineBotMessage.md @@ -94,7 +94,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v66/methods/messages_editMessage.md b/old_docs/API_docs_v66/methods/messages_editMessage.md index d3ce5261..fa2c586b 100644 --- a/old_docs/API_docs_v66/methods/messages_editMessage.md +++ b/old_docs/API_docs_v66/methods/messages_editMessage.md @@ -95,7 +95,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v66/methods/messages_getDhConfig.md b/old_docs/API_docs_v66/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v66/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v66/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v66/methods/messages_getDialogs.md b/old_docs/API_docs_v66/methods/messages_getDialogs.md index e95ea75b..7e541241 100644 --- a/old_docs/API_docs_v66/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v66/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v66/methods/messages_saveDraft.md b/old_docs/API_docs_v66/methods/messages_saveDraft.md index ea6d407e..1a1f841c 100644 --- a/old_docs/API_docs_v66/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v66/methods/messages_saveDraft.md @@ -88,7 +88,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v66/methods/messages_sendMessage.md b/old_docs/API_docs_v66/methods/messages_sendMessage.md index 4a5e9c76..5a7d3520 100644 --- a/old_docs/API_docs_v66/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v66/methods/messages_sendMessage.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v68/methods/README.md b/old_docs/API_docs_v68/methods/README.md index acee2478..81416814 100644 --- a/old_docs/API_docs_v68/methods/README.md +++ b/old_docs/API_docs_v68/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -192,7 +192,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get chats in common with a user: messages.getCommonChats @@ -282,7 +282,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -444,7 +444,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -466,9 +466,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls: phone.requestCall -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v68/methods/api_README.md b/old_docs/API_docs_v68/methods/api_README.md index 4bf39fb5..6485580f 100644 --- a/old_docs/API_docs_v68/methods/api_README.md +++ b/old_docs/API_docs_v68/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v68/methods/auth_exportAuthorization.md b/old_docs/API_docs_v68/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v68/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v68/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v68/methods/auth_importAuthorization.md b/old_docs/API_docs_v68/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v68/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v68/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v68/methods/channels_getParticipants.md b/old_docs/API_docs_v68/methods/channels_getParticipants.md index 21d4a418..0780a7e0 100644 --- a/old_docs/API_docs_v68/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v68/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v68/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v68/methods/messages_editInlineBotMessage.md index c274cbb9..5811c27b 100644 --- a/old_docs/API_docs_v68/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v68/methods/messages_editInlineBotMessage.md @@ -94,7 +94,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v68/methods/messages_editMessage.md b/old_docs/API_docs_v68/methods/messages_editMessage.md index d3ce5261..fa2c586b 100644 --- a/old_docs/API_docs_v68/methods/messages_editMessage.md +++ b/old_docs/API_docs_v68/methods/messages_editMessage.md @@ -95,7 +95,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v68/methods/messages_getDhConfig.md b/old_docs/API_docs_v68/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v68/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v68/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v68/methods/messages_getDialogs.md b/old_docs/API_docs_v68/methods/messages_getDialogs.md index e95ea75b..7e541241 100644 --- a/old_docs/API_docs_v68/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v68/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v68/methods/messages_saveDraft.md b/old_docs/API_docs_v68/methods/messages_saveDraft.md index ea6d407e..1a1f841c 100644 --- a/old_docs/API_docs_v68/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v68/methods/messages_saveDraft.md @@ -88,7 +88,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v68/methods/messages_sendMessage.md b/old_docs/API_docs_v68/methods/messages_sendMessage.md index 4a5e9c76..5a7d3520 100644 --- a/old_docs/API_docs_v68/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v68/methods/messages_sendMessage.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v70/methods/README.md b/old_docs/API_docs_v70/methods/README.md index e8c47e6e..a14caf1c 100644 --- a/old_docs/API_docs_v70/methods/README.md +++ b/old_docs/API_docs_v70/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -192,7 +192,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get chats in common with a user: messages.getCommonChats @@ -282,7 +282,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -446,7 +446,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -468,9 +468,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls: phone.requestCall -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v70/methods/api_README.md b/old_docs/API_docs_v70/methods/api_README.md index 9eb8d49c..f48a2b5b 100644 --- a/old_docs/API_docs_v70/methods/api_README.md +++ b/old_docs/API_docs_v70/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v70/methods/auth_exportAuthorization.md b/old_docs/API_docs_v70/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v70/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v70/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v70/methods/auth_importAuthorization.md b/old_docs/API_docs_v70/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v70/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v70/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v70/methods/channels_getParticipants.md b/old_docs/API_docs_v70/methods/channels_getParticipants.md index 21d4a418..0780a7e0 100644 --- a/old_docs/API_docs_v70/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v70/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v70/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v70/methods/messages_editInlineBotMessage.md index c274cbb9..5811c27b 100644 --- a/old_docs/API_docs_v70/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v70/methods/messages_editInlineBotMessage.md @@ -94,7 +94,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v70/methods/messages_editMessage.md b/old_docs/API_docs_v70/methods/messages_editMessage.md index d3ce5261..fa2c586b 100644 --- a/old_docs/API_docs_v70/methods/messages_editMessage.md +++ b/old_docs/API_docs_v70/methods/messages_editMessage.md @@ -95,7 +95,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v70/methods/messages_getDhConfig.md b/old_docs/API_docs_v70/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v70/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v70/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v70/methods/messages_getDialogs.md b/old_docs/API_docs_v70/methods/messages_getDialogs.md index e95ea75b..7e541241 100644 --- a/old_docs/API_docs_v70/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v70/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v70/methods/messages_saveDraft.md b/old_docs/API_docs_v70/methods/messages_saveDraft.md index ea6d407e..1a1f841c 100644 --- a/old_docs/API_docs_v70/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v70/methods/messages_saveDraft.md @@ -88,7 +88,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v70/methods/messages_sendMessage.md b/old_docs/API_docs_v70/methods/messages_sendMessage.md index 4a5e9c76..5a7d3520 100644 --- a/old_docs/API_docs_v70/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v70/methods/messages_sendMessage.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v71/methods/README.md b/old_docs/API_docs_v71/methods/README.md index aa68008c..83b56309 100644 --- a/old_docs/API_docs_v71/methods/README.md +++ b/old_docs/API_docs_v71/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -194,7 +194,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get chats in common with a user: messages.getCommonChats @@ -288,7 +288,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -458,7 +458,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -480,9 +480,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls: phone.requestCall -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v71/methods/api_README.md b/old_docs/API_docs_v71/methods/api_README.md index bda8bfbc..7c3fae0e 100644 --- a/old_docs/API_docs_v71/methods/api_README.md +++ b/old_docs/API_docs_v71/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v71/methods/auth_exportAuthorization.md b/old_docs/API_docs_v71/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v71/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v71/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v71/methods/auth_importAuthorization.md b/old_docs/API_docs_v71/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v71/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v71/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v71/methods/channels_getParticipants.md b/old_docs/API_docs_v71/methods/channels_getParticipants.md index 21d4a418..0780a7e0 100644 --- a/old_docs/API_docs_v71/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v71/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v71/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v71/methods/messages_editInlineBotMessage.md index c274cbb9..5811c27b 100644 --- a/old_docs/API_docs_v71/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v71/methods/messages_editInlineBotMessage.md @@ -94,7 +94,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v71/methods/messages_editMessage.md b/old_docs/API_docs_v71/methods/messages_editMessage.md index d3ce5261..fa2c586b 100644 --- a/old_docs/API_docs_v71/methods/messages_editMessage.md +++ b/old_docs/API_docs_v71/methods/messages_editMessage.md @@ -95,7 +95,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v71/methods/messages_getDhConfig.md b/old_docs/API_docs_v71/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v71/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v71/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v71/methods/messages_getDialogs.md b/old_docs/API_docs_v71/methods/messages_getDialogs.md index e95ea75b..7e541241 100644 --- a/old_docs/API_docs_v71/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v71/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v71/methods/messages_saveDraft.md b/old_docs/API_docs_v71/methods/messages_saveDraft.md index ea6d407e..1a1f841c 100644 --- a/old_docs/API_docs_v71/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v71/methods/messages_saveDraft.md @@ -88,7 +88,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v71/methods/messages_sendMessage.md b/old_docs/API_docs_v71/methods/messages_sendMessage.md index 4a5e9c76..5a7d3520 100644 --- a/old_docs/API_docs_v71/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v71/methods/messages_sendMessage.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v72/methods/README.md b/old_docs/API_docs_v72/methods/README.md index acfa40fa..d2ed234e 100644 --- a/old_docs/API_docs_v72/methods/README.md +++ b/old_docs/API_docs_v72/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -198,7 +198,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get chats in common with a user: messages.getCommonChats @@ -296,7 +296,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -468,7 +468,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -490,9 +490,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls: phone.requestCall -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v72/methods/api_README.md b/old_docs/API_docs_v72/methods/api_README.md index 43f4ffc5..37d3f33e 100644 --- a/old_docs/API_docs_v72/methods/api_README.md +++ b/old_docs/API_docs_v72/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v72/methods/auth_exportAuthorization.md b/old_docs/API_docs_v72/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v72/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v72/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v72/methods/auth_importAuthorization.md b/old_docs/API_docs_v72/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v72/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v72/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v72/methods/channels_getParticipants.md b/old_docs/API_docs_v72/methods/channels_getParticipants.md index fb7a39df..446b8989 100644 --- a/old_docs/API_docs_v72/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v72/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v72/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v72/methods/messages_editInlineBotMessage.md index c274cbb9..5811c27b 100644 --- a/old_docs/API_docs_v72/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v72/methods/messages_editInlineBotMessage.md @@ -94,7 +94,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v72/methods/messages_editMessage.md b/old_docs/API_docs_v72/methods/messages_editMessage.md index a594ece1..c7a69f01 100644 --- a/old_docs/API_docs_v72/methods/messages_editMessage.md +++ b/old_docs/API_docs_v72/methods/messages_editMessage.md @@ -97,7 +97,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v72/methods/messages_getDhConfig.md b/old_docs/API_docs_v72/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v72/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v72/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v72/methods/messages_getDialogs.md b/old_docs/API_docs_v72/methods/messages_getDialogs.md index e95ea75b..7e541241 100644 --- a/old_docs/API_docs_v72/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v72/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v72/methods/messages_saveDraft.md b/old_docs/API_docs_v72/methods/messages_saveDraft.md index ea6d407e..1a1f841c 100644 --- a/old_docs/API_docs_v72/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v72/methods/messages_saveDraft.md @@ -88,7 +88,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v72/methods/messages_sendMessage.md b/old_docs/API_docs_v72/methods/messages_sendMessage.md index 4a5e9c76..5a7d3520 100644 --- a/old_docs/API_docs_v72/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v72/methods/messages_sendMessage.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v73/methods/README.md b/old_docs/API_docs_v73/methods/README.md index 890bd694..de6162b3 100644 --- a/old_docs/API_docs_v73/methods/README.md +++ b/old_docs/API_docs_v73/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -192,7 +192,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get chats in common with a user: messages.getCommonChats @@ -288,7 +288,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -452,7 +452,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -474,9 +474,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls: phone.requestCall -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v73/methods/api_README.md b/old_docs/API_docs_v73/methods/api_README.md index ab67d599..f8047336 100644 --- a/old_docs/API_docs_v73/methods/api_README.md +++ b/old_docs/API_docs_v73/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v73/methods/auth_exportAuthorization.md b/old_docs/API_docs_v73/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v73/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v73/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v73/methods/auth_importAuthorization.md b/old_docs/API_docs_v73/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v73/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v73/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v73/methods/channels_getParticipants.md b/old_docs/API_docs_v73/methods/channels_getParticipants.md index fb7a39df..446b8989 100644 --- a/old_docs/API_docs_v73/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v73/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v73/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v73/methods/messages_editInlineBotMessage.md index aebd3a65..ef422dba 100644 --- a/old_docs/API_docs_v73/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v73/methods/messages_editInlineBotMessage.md @@ -96,7 +96,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v73/methods/messages_editMessage.md b/old_docs/API_docs_v73/methods/messages_editMessage.md index a594ece1..c7a69f01 100644 --- a/old_docs/API_docs_v73/methods/messages_editMessage.md +++ b/old_docs/API_docs_v73/methods/messages_editMessage.md @@ -97,7 +97,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v73/methods/messages_getDhConfig.md b/old_docs/API_docs_v73/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v73/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v73/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v73/methods/messages_getDialogs.md b/old_docs/API_docs_v73/methods/messages_getDialogs.md index e95ea75b..7e541241 100644 --- a/old_docs/API_docs_v73/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v73/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v73/methods/messages_saveDraft.md b/old_docs/API_docs_v73/methods/messages_saveDraft.md index ea6d407e..1a1f841c 100644 --- a/old_docs/API_docs_v73/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v73/methods/messages_saveDraft.md @@ -88,7 +88,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v73/methods/messages_sendMessage.md b/old_docs/API_docs_v73/methods/messages_sendMessage.md index 4a5e9c76..5a7d3520 100644 --- a/old_docs/API_docs_v73/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v73/methods/messages_sendMessage.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v75/methods/README.md b/old_docs/API_docs_v75/methods/README.md index ea946daa..1822133a 100644 --- a/old_docs/API_docs_v75/methods/README.md +++ b/old_docs/API_docs_v75/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -192,7 +192,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get chats in common with a user: messages.getCommonChats @@ -292,7 +292,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -458,7 +458,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -480,9 +480,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls: phone.requestCall -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v75/methods/api_README.md b/old_docs/API_docs_v75/methods/api_README.md index 2962fd7a..769b48a1 100644 --- a/old_docs/API_docs_v75/methods/api_README.md +++ b/old_docs/API_docs_v75/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v75/methods/auth_exportAuthorization.md b/old_docs/API_docs_v75/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v75/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v75/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v75/methods/auth_importAuthorization.md b/old_docs/API_docs_v75/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v75/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v75/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v75/methods/channels_getParticipants.md b/old_docs/API_docs_v75/methods/channels_getParticipants.md index fb7a39df..446b8989 100644 --- a/old_docs/API_docs_v75/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v75/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v75/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v75/methods/messages_editInlineBotMessage.md index aebd3a65..ef422dba 100644 --- a/old_docs/API_docs_v75/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v75/methods/messages_editInlineBotMessage.md @@ -96,7 +96,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v75/methods/messages_editMessage.md b/old_docs/API_docs_v75/methods/messages_editMessage.md index a594ece1..c7a69f01 100644 --- a/old_docs/API_docs_v75/methods/messages_editMessage.md +++ b/old_docs/API_docs_v75/methods/messages_editMessage.md @@ -97,7 +97,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v75/methods/messages_getDhConfig.md b/old_docs/API_docs_v75/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v75/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v75/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v75/methods/messages_getDialogs.md b/old_docs/API_docs_v75/methods/messages_getDialogs.md index e95ea75b..7e541241 100644 --- a/old_docs/API_docs_v75/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v75/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v75/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v75/methods/messages_getWebPagePreview.md index 79f17717..3b7adda6 100644 --- a/old_docs/API_docs_v75/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v75/methods/messages_getWebPagePreview.md @@ -85,7 +85,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v75/methods/messages_saveDraft.md b/old_docs/API_docs_v75/methods/messages_saveDraft.md index ea6d407e..1a1f841c 100644 --- a/old_docs/API_docs_v75/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v75/methods/messages_saveDraft.md @@ -88,7 +88,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v75/methods/messages_sendMedia.md b/old_docs/API_docs_v75/methods/messages_sendMedia.md index 8575afa2..56449cf4 100644 --- a/old_docs/API_docs_v75/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v75/methods/messages_sendMedia.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v75/methods/messages_sendMessage.md b/old_docs/API_docs_v75/methods/messages_sendMessage.md index 4a5e9c76..5a7d3520 100644 --- a/old_docs/API_docs_v75/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v75/methods/messages_sendMessage.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v81/methods/README.md b/old_docs/API_docs_v81/methods/README.md index 848fcbe0..3b738b33 100644 --- a/old_docs/API_docs_v81/methods/README.md +++ b/old_docs/API_docs_v81/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -206,7 +206,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get chats in common with a user: messages.getCommonChats @@ -318,7 +318,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -502,7 +502,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -524,9 +524,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls: phone.requestCall -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v81/methods/api_README.md b/old_docs/API_docs_v81/methods/api_README.md index 7c09199a..07cebcf9 100644 --- a/old_docs/API_docs_v81/methods/api_README.md +++ b/old_docs/API_docs_v81/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v81/methods/auth_exportAuthorization.md b/old_docs/API_docs_v81/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v81/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v81/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v81/methods/auth_importAuthorization.md b/old_docs/API_docs_v81/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v81/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v81/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v81/methods/channels_getParticipants.md b/old_docs/API_docs_v81/methods/channels_getParticipants.md index fb7a39df..446b8989 100644 --- a/old_docs/API_docs_v81/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v81/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v81/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v81/methods/messages_editInlineBotMessage.md index c1b49029..f0abdafa 100644 --- a/old_docs/API_docs_v81/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v81/methods/messages_editInlineBotMessage.md @@ -97,7 +97,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v81/methods/messages_editMessage.md b/old_docs/API_docs_v81/methods/messages_editMessage.md index ed3c9ada..9956aba8 100644 --- a/old_docs/API_docs_v81/methods/messages_editMessage.md +++ b/old_docs/API_docs_v81/methods/messages_editMessage.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v81/methods/messages_getDhConfig.md b/old_docs/API_docs_v81/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v81/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v81/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v81/methods/messages_getDialogs.md b/old_docs/API_docs_v81/methods/messages_getDialogs.md index e95ea75b..7e541241 100644 --- a/old_docs/API_docs_v81/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v81/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v81/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v81/methods/messages_getWebPagePreview.md index 79f17717..3b7adda6 100644 --- a/old_docs/API_docs_v81/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v81/methods/messages_getWebPagePreview.md @@ -85,7 +85,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v81/methods/messages_saveDraft.md b/old_docs/API_docs_v81/methods/messages_saveDraft.md index ea6d407e..1a1f841c 100644 --- a/old_docs/API_docs_v81/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v81/methods/messages_saveDraft.md @@ -88,7 +88,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v81/methods/messages_sendMedia.md b/old_docs/API_docs_v81/methods/messages_sendMedia.md index 8575afa2..56449cf4 100644 --- a/old_docs/API_docs_v81/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v81/methods/messages_sendMedia.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v81/methods/messages_sendMessage.md b/old_docs/API_docs_v81/methods/messages_sendMessage.md index 4a5e9c76..5a7d3520 100644 --- a/old_docs/API_docs_v81/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v81/methods/messages_sendMessage.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v82/methods/README.md b/old_docs/API_docs_v82/methods/README.md index cff62b52..6f44ac92 100644 --- a/old_docs/API_docs_v82/methods/README.md +++ b/old_docs/API_docs_v82/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -206,7 +206,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get chats in common with a user: messages.getCommonChats @@ -320,7 +320,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -508,7 +508,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -530,9 +530,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls: phone.requestCall -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v82/methods/api_README.md b/old_docs/API_docs_v82/methods/api_README.md index 3e0f55ff..fee35639 100644 --- a/old_docs/API_docs_v82/methods/api_README.md +++ b/old_docs/API_docs_v82/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v82/methods/auth_exportAuthorization.md b/old_docs/API_docs_v82/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v82/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v82/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v82/methods/auth_importAuthorization.md b/old_docs/API_docs_v82/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v82/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v82/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v82/methods/channels_getParticipants.md b/old_docs/API_docs_v82/methods/channels_getParticipants.md index fb7a39df..446b8989 100644 --- a/old_docs/API_docs_v82/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v82/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v82/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v82/methods/messages_editInlineBotMessage.md index c1b49029..f0abdafa 100644 --- a/old_docs/API_docs_v82/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v82/methods/messages_editInlineBotMessage.md @@ -97,7 +97,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v82/methods/messages_editMessage.md b/old_docs/API_docs_v82/methods/messages_editMessage.md index ed3c9ada..9956aba8 100644 --- a/old_docs/API_docs_v82/methods/messages_editMessage.md +++ b/old_docs/API_docs_v82/methods/messages_editMessage.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v82/methods/messages_getDhConfig.md b/old_docs/API_docs_v82/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v82/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v82/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v82/methods/messages_getDialogs.md b/old_docs/API_docs_v82/methods/messages_getDialogs.md index da3efe36..57895c0e 100644 --- a/old_docs/API_docs_v82/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v82/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v82/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v82/methods/messages_getWebPagePreview.md index 79f17717..3b7adda6 100644 --- a/old_docs/API_docs_v82/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v82/methods/messages_getWebPagePreview.md @@ -85,7 +85,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v82/methods/messages_saveDraft.md b/old_docs/API_docs_v82/methods/messages_saveDraft.md index ea6d407e..1a1f841c 100644 --- a/old_docs/API_docs_v82/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v82/methods/messages_saveDraft.md @@ -88,7 +88,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v82/methods/messages_sendMedia.md b/old_docs/API_docs_v82/methods/messages_sendMedia.md index 8575afa2..56449cf4 100644 --- a/old_docs/API_docs_v82/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v82/methods/messages_sendMedia.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v82/methods/messages_sendMessage.md b/old_docs/API_docs_v82/methods/messages_sendMessage.md index 4a5e9c76..5a7d3520 100644 --- a/old_docs/API_docs_v82/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v82/methods/messages_sendMessage.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v86/methods/README.md b/old_docs/API_docs_v86/methods/README.md index 3605c8a8..c30fd2b1 100644 --- a/old_docs/API_docs_v86/methods/README.md +++ b/old_docs/API_docs_v86/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -208,7 +208,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get chats in common with a user: messages.getCommonChats @@ -324,7 +324,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -512,7 +512,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -534,9 +534,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls: phone.requestCall -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v86/methods/api_README.md b/old_docs/API_docs_v86/methods/api_README.md index 34a93d79..f0c669a8 100644 --- a/old_docs/API_docs_v86/methods/api_README.md +++ b/old_docs/API_docs_v86/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v86/methods/auth_exportAuthorization.md b/old_docs/API_docs_v86/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v86/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v86/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v86/methods/auth_importAuthorization.md b/old_docs/API_docs_v86/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v86/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v86/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v86/methods/channels_getParticipants.md b/old_docs/API_docs_v86/methods/channels_getParticipants.md index fb7a39df..446b8989 100644 --- a/old_docs/API_docs_v86/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v86/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v86/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v86/methods/messages_editInlineBotMessage.md index c1b49029..f0abdafa 100644 --- a/old_docs/API_docs_v86/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v86/methods/messages_editInlineBotMessage.md @@ -97,7 +97,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v86/methods/messages_editMessage.md b/old_docs/API_docs_v86/methods/messages_editMessage.md index ed3c9ada..9956aba8 100644 --- a/old_docs/API_docs_v86/methods/messages_editMessage.md +++ b/old_docs/API_docs_v86/methods/messages_editMessage.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v86/methods/messages_getDhConfig.md b/old_docs/API_docs_v86/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v86/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v86/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v86/methods/messages_getDialogs.md b/old_docs/API_docs_v86/methods/messages_getDialogs.md index da3efe36..57895c0e 100644 --- a/old_docs/API_docs_v86/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v86/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v86/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v86/methods/messages_getWebPagePreview.md index 79f17717..3b7adda6 100644 --- a/old_docs/API_docs_v86/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v86/methods/messages_getWebPagePreview.md @@ -85,7 +85,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v86/methods/messages_saveDraft.md b/old_docs/API_docs_v86/methods/messages_saveDraft.md index ea6d407e..1a1f841c 100644 --- a/old_docs/API_docs_v86/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v86/methods/messages_saveDraft.md @@ -88,7 +88,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v86/methods/messages_sendMedia.md b/old_docs/API_docs_v86/methods/messages_sendMedia.md index 8575afa2..56449cf4 100644 --- a/old_docs/API_docs_v86/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v86/methods/messages_sendMedia.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v86/methods/messages_sendMessage.md b/old_docs/API_docs_v86/methods/messages_sendMessage.md index 4a5e9c76..5a7d3520 100644 --- a/old_docs/API_docs_v86/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v86/methods/messages_sendMessage.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v89/methods/README.md b/old_docs/API_docs_v89/methods/README.md index c635ec24..9c489960 100644 --- a/old_docs/API_docs_v89/methods/README.md +++ b/old_docs/API_docs_v89/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -214,7 +214,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get chats in common with a user: messages.getCommonChats @@ -338,7 +338,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -530,7 +530,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -552,9 +552,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls: phone.requestCall -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v89/methods/api_README.md b/old_docs/API_docs_v89/methods/api_README.md index 2d877f5e..4897ed99 100644 --- a/old_docs/API_docs_v89/methods/api_README.md +++ b/old_docs/API_docs_v89/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v89/methods/auth_exportAuthorization.md b/old_docs/API_docs_v89/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v89/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v89/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v89/methods/auth_importAuthorization.md b/old_docs/API_docs_v89/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v89/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v89/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v89/methods/channels_getParticipants.md b/old_docs/API_docs_v89/methods/channels_getParticipants.md index fb7a39df..446b8989 100644 --- a/old_docs/API_docs_v89/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v89/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v89/methods/help_editUserInfo.md b/old_docs/API_docs_v89/methods/help_editUserInfo.md index 7c8acb73..cc7e391e 100644 --- a/old_docs/API_docs_v89/methods/help_editUserInfo.md +++ b/old_docs/API_docs_v89/methods/help_editUserInfo.md @@ -86,4 +86,4 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). diff --git a/old_docs/API_docs_v89/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v89/methods/messages_editInlineBotMessage.md index c1b49029..f0abdafa 100644 --- a/old_docs/API_docs_v89/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v89/methods/messages_editInlineBotMessage.md @@ -97,7 +97,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v89/methods/messages_editMessage.md b/old_docs/API_docs_v89/methods/messages_editMessage.md index ed3c9ada..9956aba8 100644 --- a/old_docs/API_docs_v89/methods/messages_editMessage.md +++ b/old_docs/API_docs_v89/methods/messages_editMessage.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v89/methods/messages_getDhConfig.md b/old_docs/API_docs_v89/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v89/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v89/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v89/methods/messages_getDialogs.md b/old_docs/API_docs_v89/methods/messages_getDialogs.md index da3efe36..57895c0e 100644 --- a/old_docs/API_docs_v89/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v89/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v89/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v89/methods/messages_getWebPagePreview.md index 79f17717..3b7adda6 100644 --- a/old_docs/API_docs_v89/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v89/methods/messages_getWebPagePreview.md @@ -85,7 +85,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v89/methods/messages_saveDraft.md b/old_docs/API_docs_v89/methods/messages_saveDraft.md index ea6d407e..1a1f841c 100644 --- a/old_docs/API_docs_v89/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v89/methods/messages_saveDraft.md @@ -88,7 +88,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v89/methods/messages_sendMedia.md b/old_docs/API_docs_v89/methods/messages_sendMedia.md index 8575afa2..56449cf4 100644 --- a/old_docs/API_docs_v89/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v89/methods/messages_sendMedia.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v89/methods/messages_sendMessage.md b/old_docs/API_docs_v89/methods/messages_sendMessage.md index 4a5e9c76..5a7d3520 100644 --- a/old_docs/API_docs_v89/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v89/methods/messages_sendMessage.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v91/methods/README.md b/old_docs/API_docs_v91/methods/README.md index bd2fb62e..474c3ae5 100644 --- a/old_docs/API_docs_v91/methods/README.md +++ b/old_docs/API_docs_v91/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -218,7 +218,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get chats in common with a user: messages.getCommonChats @@ -350,7 +350,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -542,7 +542,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -564,9 +564,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls: phone.requestCall -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v91/methods/api_README.md b/old_docs/API_docs_v91/methods/api_README.md index 5cd5083c..08e4ac22 100644 --- a/old_docs/API_docs_v91/methods/api_README.md +++ b/old_docs/API_docs_v91/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v91/methods/auth_exportAuthorization.md b/old_docs/API_docs_v91/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v91/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v91/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v91/methods/auth_importAuthorization.md b/old_docs/API_docs_v91/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v91/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v91/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v91/methods/channels_getParticipants.md b/old_docs/API_docs_v91/methods/channels_getParticipants.md index fb7a39df..446b8989 100644 --- a/old_docs/API_docs_v91/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v91/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v91/methods/help_editUserInfo.md b/old_docs/API_docs_v91/methods/help_editUserInfo.md index 7c8acb73..cc7e391e 100644 --- a/old_docs/API_docs_v91/methods/help_editUserInfo.md +++ b/old_docs/API_docs_v91/methods/help_editUserInfo.md @@ -86,4 +86,4 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). diff --git a/old_docs/API_docs_v91/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v91/methods/messages_editInlineBotMessage.md index 5f7a31c9..ad40e6d0 100644 --- a/old_docs/API_docs_v91/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v91/methods/messages_editInlineBotMessage.md @@ -95,7 +95,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v91/methods/messages_editMessage.md b/old_docs/API_docs_v91/methods/messages_editMessage.md index d394d1aa..b9a6bbcc 100644 --- a/old_docs/API_docs_v91/methods/messages_editMessage.md +++ b/old_docs/API_docs_v91/methods/messages_editMessage.md @@ -96,7 +96,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v91/methods/messages_getDhConfig.md b/old_docs/API_docs_v91/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v91/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v91/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v91/methods/messages_getDialogs.md b/old_docs/API_docs_v91/methods/messages_getDialogs.md index da3efe36..57895c0e 100644 --- a/old_docs/API_docs_v91/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v91/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v91/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v91/methods/messages_getWebPagePreview.md index 79f17717..3b7adda6 100644 --- a/old_docs/API_docs_v91/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v91/methods/messages_getWebPagePreview.md @@ -85,7 +85,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v91/methods/messages_saveDraft.md b/old_docs/API_docs_v91/methods/messages_saveDraft.md index ea6d407e..1a1f841c 100644 --- a/old_docs/API_docs_v91/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v91/methods/messages_saveDraft.md @@ -88,7 +88,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v91/methods/messages_sendMedia.md b/old_docs/API_docs_v91/methods/messages_sendMedia.md index 8575afa2..56449cf4 100644 --- a/old_docs/API_docs_v91/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v91/methods/messages_sendMedia.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v91/methods/messages_sendMessage.md b/old_docs/API_docs_v91/methods/messages_sendMessage.md index 4a5e9c76..5a7d3520 100644 --- a/old_docs/API_docs_v91/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v91/methods/messages_sendMessage.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v95/methods/README.md b/old_docs/API_docs_v95/methods/README.md index b6e0227b..868d7653 100644 --- a/old_docs/API_docs_v95/methods/README.md +++ b/old_docs/API_docs_v95/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -214,7 +214,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get chats in common with a user: messages.getCommonChats @@ -348,7 +348,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -548,7 +548,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -570,9 +570,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls: phone.requestCall -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v95/methods/api_README.md b/old_docs/API_docs_v95/methods/api_README.md index b2d49d60..f6d5a31e 100644 --- a/old_docs/API_docs_v95/methods/api_README.md +++ b/old_docs/API_docs_v95/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v95/methods/auth_exportAuthorization.md b/old_docs/API_docs_v95/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v95/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v95/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v95/methods/auth_importAuthorization.md b/old_docs/API_docs_v95/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v95/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v95/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v95/methods/channels_getParticipants.md b/old_docs/API_docs_v95/methods/channels_getParticipants.md index fb7a39df..446b8989 100644 --- a/old_docs/API_docs_v95/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v95/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v95/methods/help_editUserInfo.md b/old_docs/API_docs_v95/methods/help_editUserInfo.md index 7c8acb73..cc7e391e 100644 --- a/old_docs/API_docs_v95/methods/help_editUserInfo.md +++ b/old_docs/API_docs_v95/methods/help_editUserInfo.md @@ -86,4 +86,4 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). diff --git a/old_docs/API_docs_v95/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v95/methods/messages_editInlineBotMessage.md index 5f7a31c9..ad40e6d0 100644 --- a/old_docs/API_docs_v95/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v95/methods/messages_editInlineBotMessage.md @@ -95,7 +95,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v95/methods/messages_editMessage.md b/old_docs/API_docs_v95/methods/messages_editMessage.md index d394d1aa..b9a6bbcc 100644 --- a/old_docs/API_docs_v95/methods/messages_editMessage.md +++ b/old_docs/API_docs_v95/methods/messages_editMessage.md @@ -96,7 +96,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v95/methods/messages_getDhConfig.md b/old_docs/API_docs_v95/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v95/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v95/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v95/methods/messages_getDialogs.md b/old_docs/API_docs_v95/methods/messages_getDialogs.md index da3efe36..57895c0e 100644 --- a/old_docs/API_docs_v95/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v95/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v95/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v95/methods/messages_getWebPagePreview.md index 79f17717..3b7adda6 100644 --- a/old_docs/API_docs_v95/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v95/methods/messages_getWebPagePreview.md @@ -85,7 +85,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v95/methods/messages_saveDraft.md b/old_docs/API_docs_v95/methods/messages_saveDraft.md index ea6d407e..1a1f841c 100644 --- a/old_docs/API_docs_v95/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v95/methods/messages_saveDraft.md @@ -88,7 +88,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v95/methods/messages_sendMedia.md b/old_docs/API_docs_v95/methods/messages_sendMedia.md index 8575afa2..56449cf4 100644 --- a/old_docs/API_docs_v95/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v95/methods/messages_sendMedia.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v95/methods/messages_sendMessage.md b/old_docs/API_docs_v95/methods/messages_sendMessage.md index 4a5e9c76..5a7d3520 100644 --- a/old_docs/API_docs_v95/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v95/methods/messages_sendMessage.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v97/methods/README.md b/old_docs/API_docs_v97/methods/README.md index 38c8cead..c3bb00c9 100644 --- a/old_docs/API_docs_v97/methods/README.md +++ b/old_docs/API_docs_v97/methods/README.md @@ -16,13 +16,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html) -* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html) +* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html) -* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html) +* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html) -* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html) +* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html) -* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html) +* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html) * [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html) @@ -216,7 +216,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get channel/supergroup messages: channels.getMessages -* Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants +* Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead): channels.getParticipants * Get chats in common with a user: messages.getCommonChats @@ -356,7 +356,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get webpage preview: messages.getWebPagePreview -* Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs +* Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs * Global message search: messages.searchGlobal @@ -558,7 +558,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey -* You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig +* You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig * You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption @@ -580,9 +580,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls: phone.requestCall -* You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization +* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization -* You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization +* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization * You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization diff --git a/old_docs/API_docs_v97/methods/api_README.md b/old_docs/API_docs_v97/methods/api_README.md index 665beeaa..3afc286a 100644 --- a/old_docs/API_docs_v97/methods/api_README.md +++ b/old_docs/API_docs_v97/methods/api_README.md @@ -10,29 +10,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); -$MadelineProto->[phone_login](https://docs.madelineproto.xyz/phone_login.html)($number); +$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number); -$MadelineProto->[complete_phone_login](https://docs.madelineproto.xyz/complete_phone_login.html)($code); +$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code); $MadelineProto->[complete_2FA_login](https://docs.madelineproto.xyz/complete_2FA_login.html)($password); -$MadelineProto->[bot_login](https://docs.madelineproto.xyz/bot_login.html)($token); +$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token); -$MadelineProto->[get_dialogs](https://docs.madelineproto.xyz/get_dialogs.html)(); +$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)(); -$MadelineProto->[get_pwr_chat](https://docs.madelineproto.xyz/get_pwr_chat.html)($id); +$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id); -$MadelineProto->[get_info](https://docs.madelineproto.xyz/get_info.html)($id); +$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id); -$MadelineProto->[get_full_info](https://docs.madelineproto.xyz/get_full_info.html)($id); +$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id); -$MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)(); +$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)(); -$MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)($id); +$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id); -$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id); +$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); ***

diff --git a/old_docs/API_docs_v97/methods/auth_exportAuthorization.md b/old_docs/API_docs_v97/methods/auth_exportAuthorization.md index ce2e6c7d..72063a2b 100644 --- a/old_docs/API_docs_v97/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v97/methods/auth_exportAuthorization.md @@ -1,19 +1,19 @@ --- title: auth.exportAuthorization -description: You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.exportAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) diff --git a/old_docs/API_docs_v97/methods/auth_importAuthorization.md b/old_docs/API_docs_v97/methods/auth_importAuthorization.md index 4a943668..d9c13751 100644 --- a/old_docs/API_docs_v97/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v97/methods/auth_importAuthorization.md @@ -1,20 +1,20 @@ --- title: auth.importAuthorization -description: You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +description: You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: auth.importAuthorization [Back to methods index](index.md) -You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html +You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| +|bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| ### Return type: [auth\_Authorization](../types/auth_Authorization.md) diff --git a/old_docs/API_docs_v97/methods/channels_getParticipants.md b/old_docs/API_docs_v97/methods/channels_getParticipants.md index fb7a39df..446b8989 100644 --- a/old_docs/API_docs_v97/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v97/methods/channels_getParticipants.md @@ -1,13 +1,13 @@ --- title: channels.getParticipants -description: Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +description: Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: channels.getParticipants [Back to methods index](index.md) -Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead) +Get channel/supergroup participants (you should use `$MadelineProto->getPwrChat($id)` instead) ### Parameters: diff --git a/old_docs/API_docs_v97/methods/help_editUserInfo.md b/old_docs/API_docs_v97/methods/help_editUserInfo.md index 7c8acb73..cc7e391e 100644 --- a/old_docs/API_docs_v97/methods/help_editUserInfo.md +++ b/old_docs/API_docs_v97/methods/help_editUserInfo.md @@ -86,4 +86,4 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). diff --git a/old_docs/API_docs_v97/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v97/methods/messages_editInlineBotMessage.md index 5f7a31c9..ad40e6d0 100644 --- a/old_docs/API_docs_v97/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v97/methods/messages_editInlineBotMessage.md @@ -95,7 +95,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v97/methods/messages_editMessage.md b/old_docs/API_docs_v97/methods/messages_editMessage.md index d394d1aa..b9a6bbcc 100644 --- a/old_docs/API_docs_v97/methods/messages_editMessage.md +++ b/old_docs/API_docs_v97/methods/messages_editMessage.md @@ -96,7 +96,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v97/methods/messages_getDhConfig.md b/old_docs/API_docs_v97/methods/messages_getDhConfig.md index b3146650..88ea4ab3 100644 --- a/old_docs/API_docs_v97/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v97/methods/messages_getDhConfig.md @@ -1,20 +1,20 @@ --- title: messages.getDhConfig -description: You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +description: You cannot use this method directly, instead use $MadelineProto->getDhConfig(); image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDhConfig [Back to methods index](index.md) -You cannot use this method directly, instead use $MadelineProto->get_dh_config(); +You cannot use this method directly, instead use $MadelineProto->getDhConfig(); ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| -|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| -|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->get_dh_config(); | Yes| +|version|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| +|random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| ### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) diff --git a/old_docs/API_docs_v97/methods/messages_getDialogs.md b/old_docs/API_docs_v97/methods/messages_getDialogs.md index da3efe36..57895c0e 100644 --- a/old_docs/API_docs_v97/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v97/methods/messages_getDialogs.md @@ -1,13 +1,13 @@ --- title: messages.getDialogs -description: Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +description: Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: messages.getDialogs [Back to methods index](index.md) -Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html +Gets list of chats: you should use $MadelineProto->getDialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html ### Parameters: diff --git a/old_docs/API_docs_v97/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v97/methods/messages_getWebPagePreview.md index 79f17717..3b7adda6 100644 --- a/old_docs/API_docs_v97/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v97/methods/messages_getWebPagePreview.md @@ -85,7 +85,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v97/methods/messages_saveDraft.md b/old_docs/API_docs_v97/methods/messages_saveDraft.md index ea6d407e..1a1f841c 100644 --- a/old_docs/API_docs_v97/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v97/methods/messages_saveDraft.md @@ -88,7 +88,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v97/methods/messages_sendMedia.md b/old_docs/API_docs_v97/methods/messages_sendMedia.md index 8575afa2..56449cf4 100644 --- a/old_docs/API_docs_v97/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v97/methods/messages_sendMedia.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v97/methods/messages_sendMessage.md b/old_docs/API_docs_v97/methods/messages_sendMessage.md index 4a5e9c76..5a7d3520 100644 --- a/old_docs/API_docs_v97/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v97/methods/messages_sendMessage.md @@ -98,7 +98,7 @@ You can also use normal markdown, note that to create mentions you must use the [Mention by user id](mention:186785362) ``` -MadelineProto supports all html entities supported by [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php). +MadelineProto supports all html entities supported by [htmlEntityDecode](http://php.net/manual/en/function.html-entity-decode.php). ### Errors | Code | Type | Description |