Cleanup docs
This commit is contained in:
parent
39dda6b00e
commit
362d7f61a3
@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
|
||||
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
|
||||
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="account_checkUsername"></a>
|
||||
|
||||
@ -95,7 +96,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
|
||||
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
|
||||
$MadelineProto->[auth->cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="auth_cancelCode"></a>
|
||||
|
||||
@ -130,12 +132,14 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
|
||||
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signUp"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)<a name="bots_answerWebhookJSONQuery"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)<a name="bots_answerWebhookJSONQuery"></a>
|
||||
|
||||
$MadelineProto->[bots->sendCustomRequest](bots_sendCustomRequest.md)(\['custom_method' => [string](../types/string.md), 'params' => [DataJSON](../types/DataJSON.md), \]) === [$DataJSON](../types/DataJSON.md)<a name="bots_sendCustomRequest"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
|
||||
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="channels_createChannel"></a>
|
||||
|
||||
@ -200,7 +204,8 @@ $MadelineProto->[channels->updatePinnedMessage](channels_updatePinnedMessage.md)
|
||||
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
|
||||
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)<a name="contacts_deleteContact"></a>
|
||||
|
||||
@ -231,7 +236,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
|
||||
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_unblock"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="help_getAppChangelog"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="help_getAppChangelog"></a>
|
||||
|
||||
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||
|
||||
@ -254,22 +260,28 @@ $MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputApp
|
||||
$MadelineProto->[help->setBotUpdatesStatus](help_setBotUpdatesStatus.md)(\['pending_updates_count' => [int](../types/int.md), 'message' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="help_setBotUpdatesStatus"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'system_lang_code' => [string](../types/string.md), 'lang_pack' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'system_lang_code' => [string](../types/string.md), 'lang_pack' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[langpack->getDifference](langpack_getDifference.md)(\['from_version' => [int](../types/int.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)<a name="langpack_getDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[langpack->getDifference](langpack_getDifference.md)(\['from_version' => [int](../types/int.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)<a name="langpack_getDifference"></a>
|
||||
|
||||
$MadelineProto->[langpack->getLangPack](langpack_getLangPack.md)(\['lang_code' => [string](../types/string.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)<a name="langpack_getLangPack"></a>
|
||||
|
||||
@ -278,7 +290,8 @@ $MadelineProto->[langpack->getLanguages](langpack_getLanguages.md)(\[\]) === [$V
|
||||
$MadelineProto->[langpack->getStrings](langpack_getStrings.md)(\['lang_code' => [string](../types/string.md), 'keys' => \[[string](../types/string.md)\], \]) === [$Vector\_of\_LangPackString](../types/LangPackString.md)<a name="langpack_getStrings"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
|
||||
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="messages_addChatUser"></a>
|
||||
|
||||
@ -467,7 +480,8 @@ $MadelineProto->[messages->uploadEncryptedFile](messages_uploadEncryptedFile.md)
|
||||
$MadelineProto->[messages->uploadMedia](messages_uploadMedia.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$MessageMedia](../types/MessageMedia.md)<a name="messages_uploadMedia"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)<a name="payments_clearSavedInfo"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)<a name="payments_clearSavedInfo"></a>
|
||||
|
||||
$MadelineProto->[payments->getPaymentForm](payments_getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md)<a name="payments_getPaymentForm"></a>
|
||||
|
||||
@ -480,7 +494,8 @@ $MadelineProto->[payments->sendPaymentForm](payments_sendPaymentForm.md)(\['msg_
|
||||
$MadelineProto->[payments->validateRequestedInfo](payments_validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md)<a name="payments_validateRequestedInfo"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_acceptCall"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_acceptCall"></a>
|
||||
|
||||
$MadelineProto->[phone->confirmCall](phone_confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_confirmCall"></a>
|
||||
|
||||
@ -497,7 +512,8 @@ $MadelineProto->[phone->saveCallDebug](phone_saveCallDebug.md)(\['peer' => [Inpu
|
||||
$MadelineProto->[phone->setCallRating](phone_setCallRating.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'rating' => [int](../types/int.md), 'comment' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="phone_setCallRating"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
|
||||
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)<a name="photos_getUserPhotos"></a>
|
||||
|
||||
@ -506,7 +522,8 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
|
||||
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md)<a name="photos_uploadProfilePhoto"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[stickers->addStickerToSet](stickers_addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)<a name="stickers_addStickerToSet"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[stickers->addStickerToSet](stickers_addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)<a name="stickers_addStickerToSet"></a>
|
||||
|
||||
$MadelineProto->[stickers->changeStickerPosition](stickers_changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)<a name="stickers_changeStickerPosition"></a>
|
||||
|
||||
@ -515,14 +532,16 @@ $MadelineProto->[stickers->createStickerSet](stickers_createStickerSet.md)(\['ma
|
||||
$MadelineProto->[stickers->removeStickerFromSet](stickers_removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)<a name="stickers_removeStickerFromSet"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)<a name="updates_getState"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[upload->getCdnFile](upload_getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md)<a name="upload_getCdnFile"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[upload->getCdnFile](upload_getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md)<a name="upload_getCdnFile"></a>
|
||||
|
||||
$MadelineProto->[upload->getCdnFileHashes](upload_getCdnFileHashes.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), \]) === [$Vector\_of\_CdnFileHash](../types/CdnFileHash.md)<a name="upload_getCdnFileHashes"></a>
|
||||
|
||||
@ -537,7 +556,8 @@ $MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id'
|
||||
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveFilePart"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
|
||||
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)<a name="users_getUsers"></a>
|
||||
|
||||
|
@ -27,8 +27,7 @@ description: What do you want to do?
|
||||
|
||||
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
||||
|
||||
***
|
||||
<br><br>* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
|
||||
* <a href="account_checkUsername.html" name="account_checkUsername">Check if this username is available</a>
|
||||
|
||||
@ -88,25 +87,12 @@ description: What do you want to do?
|
||||
|
||||
* <a href="account_updateUsername.html" name="account_updateUsername">Update this user's username</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="auth_bindTempAuthKey.html" name="auth_bindTempAuthKey">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</a>
|
||||
|
||||
* <a href="auth_cancelCode.html" name="auth_cancelCode">Invalidate sent phone code</a>
|
||||
|
||||
* <a href="auth_checkPassword.html" name="auth_checkPassword">You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_checkPhone.html" name="auth_checkPhone">Check if this phone number is registered on telegram</a>
|
||||
|
||||
* <a href="auth_dropTempAuthKeys.html" name="auth_dropTempAuthKeys">Delete all temporary authorization keys except the ones provided</a>
|
||||
|
||||
* <a href="auth_exportAuthorization.html" name="auth_exportAuthorization">You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importAuthorization.html" name="auth_importAuthorization">You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importBotAuthorization.html" name="auth_importBotAuthorization">You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_logOut.html" name="auth_logOut">You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_recoverPassword.html" name="auth_recoverPassword">Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account</a>
|
||||
|
||||
* <a href="auth_requestPasswordRecovery.html" name="auth_requestPasswordRecovery">Send an email to recover the 2FA password</a>
|
||||
@ -115,21 +101,13 @@ description: What do you want to do?
|
||||
|
||||
* <a href="auth_resetAuthorizations.html" name="auth_resetAuthorizations">Delete all logged-in sessions.</a>
|
||||
|
||||
* <a href="auth_sendCode.html" name="auth_sendCode">Use phone_login instead</a>
|
||||
|
||||
* <a href="auth_sendInvites.html" name="auth_sendInvites">Invite friends to telegram!</a>
|
||||
|
||||
* <a href="auth_signIn.html" name="auth_signIn">You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_signUp.html" name="auth_signUp">You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="bots_answerWebhookJSONQuery.html" name="bots_answerWebhookJSONQuery">Send webhook request via bot API</a>
|
||||
* <a href="bots_answerWebhookJSONQuery.html" name="bots_answerWebhookJSONQuery">Send webhook request via bot API</a>
|
||||
|
||||
* <a href="bots_sendCustomRequest.html" name="bots_sendCustomRequest">Send a custom request to the bot API</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
|
||||
* <a href="channels_createChannel.html" name="channels_createChannel">Create channel/supergroup</a>
|
||||
|
||||
@ -161,8 +139,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_getChannels.html" name="channels_getChannels">Get info about multiple channels/supergroups</a>
|
||||
|
||||
* <a href="channels_getFullChannel.html" name="channels_getFullChannel">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="channels_getMessages.html" name="channels_getMessages">Get channel/supergroup messages</a>
|
||||
|
||||
* <a href="channels_getParticipant.html" name="channels_getParticipant">Get info about a certain channel/supergroup participant</a>
|
||||
@ -193,8 +169,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_updateUsername.html" name="channels_updateUsername">Update the username of a supergroup/channel</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
|
||||
* <a href="contacts_deleteContact.html" name="contacts_deleteContact">Delete a contact</a>
|
||||
|
||||
@ -218,14 +193,11 @@ description: What do you want to do?
|
||||
|
||||
* <a href="contacts_resetTopPeerRating.html" name="contacts_resetTopPeerRating">Reset top peer rating for a certain category/peer</a>
|
||||
|
||||
* <a href="contacts_resolveUsername.html" name="contacts_resolveUsername">You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="contacts_search.html" name="contacts_search">Search contacts</a>
|
||||
|
||||
* <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
|
||||
* <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates</a>
|
||||
|
||||
@ -247,23 +219,17 @@ description: What do you want to do?
|
||||
|
||||
* <a href="help_setBotUpdatesStatus.html" name="help_setBotUpdatesStatus">Set the update status of webhook</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="langpack_getDifference.html" name="langpack_getDifference">Get language pack updates</a>
|
||||
* <a href="langpack_getDifference.html" name="langpack_getDifference">Get language pack updates</a>
|
||||
|
||||
* <a href="langpack_getLangPack.html" name="langpack_getLangPack">Get language pack</a>
|
||||
|
||||
@ -271,9 +237,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="langpack_getStrings.html" name="langpack_getStrings">Get language pack strings</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="messages_acceptEncryption.html" name="messages_acceptEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_addChatUser.html" name="messages_addChatUser">Add a user to a normal chat (use channels->inviteToChannel for supergroups)</a>
|
||||
|
||||
* <a href="messages_checkChatInvite.html" name="messages_checkChatInvite">Check if an invitation link is valid</a>
|
||||
@ -288,8 +251,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_deleteMessages.html" name="messages_deleteMessages">Delete messages</a>
|
||||
|
||||
* <a href="messages_discardEncryption.html" name="messages_discardEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_editChatAdmin.html" name="messages_editChatAdmin">Edit admin permissions</a>
|
||||
|
||||
* <a href="messages_editChatPhoto.html" name="messages_editChatPhoto">Edit the photo of a normal chat (not supergroup)</a>
|
||||
@ -322,8 +283,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_getCommonChats.html" name="messages_getCommonChats">Get chats in common with a user</a>
|
||||
|
||||
* <a href="messages_getDhConfig.html" name="messages_getDhConfig">You cannot use this method directly, instead use $MadelineProto->get_dh_config();</a>
|
||||
|
||||
* <a href="messages_getDialogs.html" name="messages_getDialogs">Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html</a>
|
||||
|
||||
* <a href="messages_getDocumentByHash.html" name="messages_getDocumentByHash">Get document by SHA256 hash</a>
|
||||
@ -332,8 +291,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_getFeaturedStickers.html" name="messages_getFeaturedStickers">Get featured stickers</a>
|
||||
|
||||
* <a href="messages_getFullChat.html" name="messages_getFullChat">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="messages_getGameHighScores.html" name="messages_getGameHighScores">Get high scores of a game</a>
|
||||
|
||||
* <a href="messages_getHistory.html" name="messages_getHistory">Get previous messages of a group</a>
|
||||
@ -392,8 +349,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_receivedMessages.html" name="messages_receivedMessages">Mark messages as read</a>
|
||||
|
||||
* <a href="messages_receivedQueue.html" name="messages_receivedQueue">You cannot use this method directly</a>
|
||||
|
||||
* <a href="messages_reorderPinnedDialogs.html" name="messages_reorderPinnedDialogs">Reorder pinned dialogs</a>
|
||||
|
||||
* <a href="messages_reorderStickerSets.html" name="messages_reorderStickerSets">Reorder sticker sets</a>
|
||||
@ -402,8 +357,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_reportSpam.html" name="messages_reportSpam">Report a peer for spam</a>
|
||||
|
||||
* <a href="messages_requestEncryption.html" name="messages_requestEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_saveDraft.html" name="messages_saveDraft">Save a message draft</a>
|
||||
|
||||
* <a href="messages_saveGif.html" name="messages_saveGif">Save a GIF</a>
|
||||
@ -460,8 +413,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_uploadMedia.html" name="messages_uploadMedia">Upload a file without sending it to anyone</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="payments_clearSavedInfo.html" name="payments_clearSavedInfo">Clear saved payments info</a>
|
||||
* <a href="payments_clearSavedInfo.html" name="payments_clearSavedInfo">Clear saved payments info</a>
|
||||
|
||||
* <a href="payments_getPaymentForm.html" name="payments_getPaymentForm">Get payment form</a>
|
||||
|
||||
@ -473,25 +425,15 @@ description: What do you want to do?
|
||||
|
||||
* <a href="payments_validateRequestedInfo.html" name="payments_validateRequestedInfo">Validate requested payment info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="phone_acceptCall.html" name="phone_acceptCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_confirmCall.html" name="phone_confirmCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_discardCall.html" name="phone_discardCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_getCallConfig.html" name="phone_getCallConfig">Get call configuration</a>
|
||||
|
||||
* <a href="phone_receivedCall.html" name="phone_receivedCall">Notify server that you received a call (server will refuse all incoming calls until the current call is over)</a>
|
||||
|
||||
* <a href="phone_requestCall.html" name="phone_requestCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_saveCallDebug.html" name="phone_saveCallDebug">Save call debugging info</a>
|
||||
|
||||
* <a href="phone_setCallRating.html" name="phone_setCallRating">Set phone call rating</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
|
||||
* <a href="photos_getUserPhotos.html" name="photos_getUserPhotos">Get the profile photos of a user</a>
|
||||
|
||||
@ -499,8 +441,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="photos_uploadProfilePhoto.html" name="photos_uploadProfilePhoto">Upload profile photo</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="stickers_addStickerToSet.html" name="stickers_addStickerToSet">Add sticker to stickerset</a>
|
||||
* <a href="stickers_addStickerToSet.html" name="stickers_addStickerToSet">Add sticker to stickerset</a>
|
||||
|
||||
* <a href="stickers_changeStickerPosition.html" name="stickers_changeStickerPosition">Change sticker position in photo</a>
|
||||
|
||||
@ -508,30 +449,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="stickers_removeStickerFromSet.html" name="stickers_removeStickerFromSet">Remove sticker from stickerset</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="updates_getChannelDifference.html" name="updates_getChannelDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getDifference.html" name="updates_getDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getState.html" name="updates_getState">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="upload_getCdnFile.html" name="upload_getCdnFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_getCdnFileHashes.html" name="upload_getCdnFileHashes">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_getFile.html" name="upload_getFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_getWebFile.html" name="upload_getWebFile">Download a file through telegram</a>
|
||||
|
||||
* <a href="upload_reuploadCdnFile.html" name="upload_reuploadCdnFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveBigFilePart.html" name="upload_saveBigFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveFilePart.html" name="upload_saveFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="users_getFullUser.html" name="users_getFullUser">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="users_getUsers.html" name="users_getUsers">Get info about users</a>
|
||||
|
||||
|
@ -34,29 +34,36 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
|
||||
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[destroy_session](destroy_session.md)(\['session_id' => [long](../types/long.md), \]) === [$DestroySessionRes](../types/DestroySessionRes.md)<a name="destroy_session"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[destroy_session](destroy_session.md)(\['session_id' => [long](../types/long.md), \]) === [$DestroySessionRes](../types/DestroySessionRes.md)<a name="destroy_session"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[get_future_salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) === [$FutureSalts](../types/FutureSalts.md)<a name="get_future_salts"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[get_future_salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) === [$FutureSalts](../types/FutureSalts.md)<a name="get_future_salts"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[http_wait](http_wait.md)(\['max_delay' => [int](../types/int.md), 'wait_after' => [int](../types/int.md), 'max_wait' => [int](../types/int.md), \]) === [$HttpWait](../types/HttpWait.md)<a name="http_wait"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[http_wait](http_wait.md)(\['max_delay' => [int](../types/int.md), 'wait_after' => [int](../types/int.md), 'max_wait' => [int](../types/int.md), \]) === [$HttpWait](../types/HttpWait.md)<a name="http_wait"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) === [$Pong](../types/Pong.md)<a name="ping"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) === [$Pong](../types/Pong.md)<a name="ping"></a>
|
||||
|
||||
$MadelineProto->[ping_delay_disconnect](ping_delay_disconnect.md)(\['ping_id' => [long](../types/long.md), 'disconnect_delay' => [int](../types/int.md), \]) === [$Pong](../types/Pong.md)<a name="ping_delay_disconnect"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[req_DH_params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [bytes](../types/bytes.md), 'q' => [bytes](../types/bytes.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [bytes](../types/bytes.md), \]) === [$Server\_DH\_Params](../types/Server_DH_Params.md)<a name="req_DH_params"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[req_DH_params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [bytes](../types/bytes.md), 'q' => [bytes](../types/bytes.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [bytes](../types/bytes.md), \]) === [$Server\_DH\_Params](../types/Server_DH_Params.md)<a name="req_DH_params"></a>
|
||||
|
||||
$MadelineProto->[req_pq](req_pq.md)(\['nonce' => [int128](../types/int128.md), \]) === [$ResPQ](../types/ResPQ.md)<a name="req_pq"></a>
|
||||
|
||||
$MadelineProto->[req_pq_multi](req_pq_multi.md)(\['nonce' => [int128](../types/int128.md), \]) === [$ResPQ](../types/ResPQ.md)<a name="req_pq_multi"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[rpc_drop_answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) === [$RpcDropAnswer](../types/RpcDropAnswer.md)<a name="rpc_drop_answer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[rpc_drop_answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) === [$RpcDropAnswer](../types/RpcDropAnswer.md)<a name="rpc_drop_answer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [bytes](../types/bytes.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)<a name="set_client_DH_params"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [bytes](../types/bytes.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)<a name="set_client_DH_params"></a>
|
||||
|
||||
|
@ -27,30 +27,23 @@ description: What do you want to do?
|
||||
|
||||
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
||||
|
||||
***
|
||||
<br><br>* <a href="destroy_session.html" name="destroy_session">Destroy the current MTProto session</a>
|
||||
* <a href="destroy_session.html" name="destroy_session">Destroy the current MTProto session</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="get_future_salts.html" name="get_future_salts">Get future salts</a>
|
||||
* <a href="get_future_salts.html" name="get_future_salts">Get future salts</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="http_wait.html" name="http_wait">Makes the server send messages waiting in the buffer</a>
|
||||
* <a href="http_wait.html" name="http_wait">Makes the server send messages waiting in the buffer</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="ping.html" name="ping">pings the server</a>
|
||||
* <a href="ping.html" name="ping">pings the server</a>
|
||||
|
||||
* <a href="ping_delay_disconnect.html" name="ping_delay_disconnect">Pings the server and causes disconection if the same method is not called within ping_disconnect_delay</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="req_DH_params.html" name="req_DH_params">Requests Diffie-hellman parameters for key exchange</a>
|
||||
* <a href="req_DH_params.html" name="req_DH_params">Requests Diffie-hellman parameters for key exchange</a>
|
||||
|
||||
* <a href="req_pq.html" name="req_pq">Requests PQ for factorization</a>
|
||||
|
||||
* <a href="req_pq_multi.html" name="req_pq_multi">Requests PQ for factorization (new version)</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="rpc_drop_answer.html" name="rpc_drop_answer">Do not send answer to provided request</a>
|
||||
* <a href="rpc_drop_answer.html" name="rpc_drop_answer">Do not send answer to provided request</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="set_client_DH_params.html" name="set_client_DH_params">Sets client diffie-hellman parameters</a>
|
||||
* <a href="set_client_DH_params.html" name="set_client_DH_params">Sets client diffie-hellman parameters</a>
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -27,693 +27,463 @@ description: What do you want to do?
|
||||
|
||||
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
||||
|
||||
***
|
||||
<br><br>* <a href="acceptCall.html" name="acceptCall">Accepts incoming call</a>
|
||||
* <a href="acceptCall.html" name="acceptCall">Accepts incoming call</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="addChatMember.html" name="addChatMember">Adds new member to chat. Members can't be added to private or secret chats. Member will not be added until chat state will be synchronized with the server</a>
|
||||
* <a href="addChatMember.html" name="addChatMember">Adds new member to chat. Members can't be added to private or secret chats. Member will not be added until chat state will be synchronized with the server</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="addChatMembers.html" name="addChatMembers">Adds many new members to the chat. Currently, available only for channels. Can't be used to join the channel. Members can't be added to broadcast channel if it has more than 200 members. Members will not be added until chat state will be synchronized with the server</a>
|
||||
* <a href="addChatMembers.html" name="addChatMembers">Adds many new members to the chat. Currently, available only for channels. Can't be used to join the channel. Members can't be added to broadcast channel if it has more than 200 members. Members will not be added until chat state will be synchronized with the server</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="addFavoriteSticker.html" name="addFavoriteSticker">Adds new sticker to the list of favorite stickers. New sticker is added to the beginning of the list. If the sticker is already in the list, at first it is removed from the list. Only stickers belonging to a sticker set can be added to the list</a>
|
||||
* <a href="addFavoriteSticker.html" name="addFavoriteSticker">Adds new sticker to the list of favorite stickers. New sticker is added to the beginning of the list. If the sticker is already in the list, at first it is removed from the list. Only stickers belonging to a sticker set can be added to the list</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="addNetworkStatistics.html" name="addNetworkStatistics">Adds specified data to data usage statistics. Can be called before authorization</a>
|
||||
* <a href="addNetworkStatistics.html" name="addNetworkStatistics">Adds specified data to data usage statistics. Can be called before authorization</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="addRecentSticker.html" name="addRecentSticker">Manually adds new sticker to the list of recently used stickers. New sticker is added to the beginning of the list. If the sticker is already in the list, at first it is removed from the list. Only stickers belonging to a sticker set can be added to the list</a>
|
||||
* <a href="addRecentSticker.html" name="addRecentSticker">Manually adds new sticker to the list of recently used stickers. New sticker is added to the beginning of the list. If the sticker is already in the list, at first it is removed from the list. Only stickers belonging to a sticker set can be added to the list</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="addRecentlyFoundChat.html" name="addRecentlyFoundChat">Adds chat to the list of recently found chats. The chat is added to the beginning of the list. If the chat is already in the list, at first it is removed from the list</a>
|
||||
* <a href="addRecentlyFoundChat.html" name="addRecentlyFoundChat">Adds chat to the list of recently found chats. The chat is added to the beginning of the list. If the chat is already in the list, at first it is removed from the list</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="addSavedAnimation.html" name="addSavedAnimation">Manually adds new animation to the list of saved animations. New animation is added to the beginning of the list. If the animation is already in the list, at first it is removed from the list. Only non-secret video animations with MIME type "video/mp4" can be added to the list</a>
|
||||
* <a href="addSavedAnimation.html" name="addSavedAnimation">Manually adds new animation to the list of saved animations. New animation is added to the beginning of the list. If the animation is already in the list, at first it is removed from the list. Only non-secret video animations with MIME type "video/mp4" can be added to the list</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="addStickerToSet.html" name="addStickerToSet">Bots only. Adds new sticker to a set. Returns the sticker set</a>
|
||||
* <a href="addStickerToSet.html" name="addStickerToSet">Bots only. Adds new sticker to a set. Returns the sticker set</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="answerCallbackQuery.html" name="answerCallbackQuery">Bots only. Sets result of a callback query</a>
|
||||
* <a href="answerCallbackQuery.html" name="answerCallbackQuery">Bots only. Sets result of a callback query</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="answerCustomQuery.html" name="answerCustomQuery">Bots only. Answers a custom query</a>
|
||||
* <a href="answerCustomQuery.html" name="answerCustomQuery">Bots only. Answers a custom query</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="answerInlineQuery.html" name="answerInlineQuery">Bots only. Sets result of an inline query</a>
|
||||
* <a href="answerInlineQuery.html" name="answerInlineQuery">Bots only. Sets result of an inline query</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="answerPreCheckoutQuery.html" name="answerPreCheckoutQuery">Bots only. Sets result of a pre checkout query</a>
|
||||
* <a href="answerPreCheckoutQuery.html" name="answerPreCheckoutQuery">Bots only. Sets result of a pre checkout query</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="answerShippingQuery.html" name="answerShippingQuery">Bots only. Sets result of a shipping query</a>
|
||||
* <a href="answerShippingQuery.html" name="answerShippingQuery">Bots only. Sets result of a shipping query</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="blockUser.html" name="blockUser">Adds user to black list</a>
|
||||
* <a href="blockUser.html" name="blockUser">Adds user to black list</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="cancelDownloadFile.html" name="cancelDownloadFile">Stops file downloading. If file is already downloaded, does nothing</a>
|
||||
* <a href="cancelDownloadFile.html" name="cancelDownloadFile">Stops file downloading. If file is already downloaded, does nothing</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="cancelUploadFile.html" name="cancelUploadFile">Stops file uploading. Works only for files uploaded using uploadFile. For other files the behavior is undefined</a>
|
||||
* <a href="cancelUploadFile.html" name="cancelUploadFile">Stops file uploading. Works only for files uploaded using uploadFile. For other files the behavior is undefined</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="changeAbout.html" name="changeAbout">Changes about information of logged in user</a>
|
||||
* <a href="changeAbout.html" name="changeAbout">Changes about information of logged in user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="changeAccountTtl.html" name="changeAccountTtl">Changes period of inactivity, after which the account of currently logged in user will be automatically deleted</a>
|
||||
* <a href="changeAccountTtl.html" name="changeAccountTtl">Changes period of inactivity, after which the account of currently logged in user will be automatically deleted</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="changeChannelDescription.html" name="changeChannelDescription">Changes information about the channel. Needs appropriate rights in the channel</a>
|
||||
* <a href="changeChannelDescription.html" name="changeChannelDescription">Changes information about the channel. Needs appropriate rights in the channel</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="changeChannelUsername.html" name="changeChannelUsername">Changes username of the channel. Needs creator privileges in the channel</a>
|
||||
* <a href="changeChannelUsername.html" name="changeChannelUsername">Changes username of the channel. Needs creator privileges in the channel</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="changeChatDraftMessage.html" name="changeChatDraftMessage">Changes chat draft message</a>
|
||||
* <a href="changeChatDraftMessage.html" name="changeChatDraftMessage">Changes chat draft message</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="changeChatMemberStatus.html" name="changeChatMemberStatus">Changes status of the chat member, need appropriate privileges. This function is currently not suitable for adding new members to the chat, use addChatMember instead. Status will not be changed until chat state will be synchronized with the server</a>
|
||||
* <a href="changeChatMemberStatus.html" name="changeChatMemberStatus">Changes status of the chat member, need appropriate privileges. This function is currently not suitable for adding new members to the chat, use addChatMember instead. Status will not be changed until chat state will be synchronized with the server</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="changeChatPhoto.html" name="changeChatPhoto">Changes chat photo. Works only for group and channel chats. Requires administrator rights in groups and appropriate administrator right in channels. Photo will not change before request to the server completes</a>
|
||||
* <a href="changeChatPhoto.html" name="changeChatPhoto">Changes chat photo. Works only for group and channel chats. Requires administrator rights in groups and appropriate administrator right in channels. Photo will not change before request to the server completes</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="changeChatReportSpamState.html" name="changeChatReportSpamState">Reports chat as a spam chat or as not a spam chat. Can be used only if ChatReportSpamState.can_report_spam is true. After this request ChatReportSpamState.can_report_spam became false forever</a>
|
||||
* <a href="changeChatReportSpamState.html" name="changeChatReportSpamState">Reports chat as a spam chat or as not a spam chat. Can be used only if ChatReportSpamState.can_report_spam is true. After this request ChatReportSpamState.can_report_spam became false forever</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="changeChatTitle.html" name="changeChatTitle">Changes chat title. Works only for group and channel chats. Requires administrator rights in groups and appropriate administrator right in channels. Title will not change before request to the server completes</a>
|
||||
* <a href="changeChatTitle.html" name="changeChatTitle">Changes chat title. Works only for group and channel chats. Requires administrator rights in groups and appropriate administrator right in channels. Title will not change before request to the server completes</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="changeName.html" name="changeName">Changes first and last names of logged in user. If something changes, updateUser will be sent</a>
|
||||
* <a href="changeName.html" name="changeName">Changes first and last names of logged in user. If something changes, updateUser will be sent</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="changePhoneNumber.html" name="changePhoneNumber">Changes user's phone number and sends authentication code to the new user's phone number. Returns authStateWaitCode with information about sent code on success</a>
|
||||
* <a href="changePhoneNumber.html" name="changePhoneNumber">Changes user's phone number and sends authentication code to the new user's phone number. Returns authStateWaitCode with information about sent code on success</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="changeStickerSet.html" name="changeStickerSet">Installs/uninstalls or enables/archives sticker set</a>
|
||||
* <a href="changeStickerSet.html" name="changeStickerSet">Installs/uninstalls or enables/archives sticker set</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="changeUsername.html" name="changeUsername">Changes username of logged in user. If something changes, updateUser will be sent</a>
|
||||
* <a href="changeUsername.html" name="changeUsername">Changes username of logged in user. If something changes, updateUser will be sent</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="checkAuthBotToken.html" name="checkAuthBotToken">Check bot's authentication token to log in as a bot. Works only when getAuthState returns authStateWaitPhoneNumber. Can be used instead of setAuthPhoneNumber and checkAuthCode to log in. Returns authStateOk on success</a>
|
||||
* <a href="checkAuthBotToken.html" name="checkAuthBotToken">Check bot's authentication token to log in as a bot. Works only when getAuthState returns authStateWaitPhoneNumber. Can be used instead of setAuthPhoneNumber and checkAuthCode to log in. Returns authStateOk on success</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="checkAuthCode.html" name="checkAuthCode">Checks authentication code. Works only when getAuthState returns authStateWaitCode. Returns authStateWaitPassword or authStateOk on success</a>
|
||||
* <a href="checkAuthCode.html" name="checkAuthCode">Checks authentication code. Works only when getAuthState returns authStateWaitCode. Returns authStateWaitPassword or authStateOk on success</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="checkAuthPassword.html" name="checkAuthPassword">Checks password for correctness. Works only when getAuthState returns authStateWaitPassword. Returns authStateOk on success</a>
|
||||
* <a href="checkAuthPassword.html" name="checkAuthPassword">Checks password for correctness. Works only when getAuthState returns authStateWaitPassword. Returns authStateOk on success</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="checkChangePhoneNumberCode.html" name="checkChangePhoneNumberCode">Checks authentication code sent to change user's phone number. Returns authStateOk on success</a>
|
||||
* <a href="checkChangePhoneNumberCode.html" name="checkChangePhoneNumberCode">Checks authentication code sent to change user's phone number. Returns authStateOk on success</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="checkChatInviteLink.html" name="checkChatInviteLink">Checks chat invite link for validness and returns information about the corresponding chat</a>
|
||||
* <a href="checkChatInviteLink.html" name="checkChatInviteLink">Checks chat invite link for validness and returns information about the corresponding chat</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="clearRecentStickers.html" name="clearRecentStickers">Clears list of recently used stickers</a>
|
||||
* <a href="clearRecentStickers.html" name="clearRecentStickers">Clears list of recently used stickers</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="closeChat.html" name="closeChat">Chat is closed by the user. Many useful activities depends on chat being opened or closed.</a>
|
||||
* <a href="closeChat.html" name="closeChat">Chat is closed by the user. Many useful activities depends on chat being opened or closed.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="closeSecretChat.html" name="closeSecretChat">Closes secret chat, effectively transfering its state to "Closed"</a>
|
||||
* <a href="closeSecretChat.html" name="closeSecretChat">Closes secret chat, effectively transfering its state to "Closed"</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="createCall.html" name="createCall">Creates new call</a>
|
||||
* <a href="createCall.html" name="createCall">Creates new call</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="createChannelChat.html" name="createChannelChat">Returns existing chat corresponding to the known channel</a>
|
||||
* <a href="createChannelChat.html" name="createChannelChat">Returns existing chat corresponding to the known channel</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="createGroupChat.html" name="createGroupChat">Returns existing chat corresponding to the known group</a>
|
||||
* <a href="createGroupChat.html" name="createGroupChat">Returns existing chat corresponding to the known group</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="createNewChannelChat.html" name="createNewChannelChat">Creates new channel chat and send corresponding messageChannelChatCreate, returns created chat</a>
|
||||
* <a href="createNewChannelChat.html" name="createNewChannelChat">Creates new channel chat and send corresponding messageChannelChatCreate, returns created chat</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="createNewGroupChat.html" name="createNewGroupChat">Creates new group chat and send corresponding messageGroupChatCreate, returns created chat</a>
|
||||
* <a href="createNewGroupChat.html" name="createNewGroupChat">Creates new group chat and send corresponding messageGroupChatCreate, returns created chat</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="createNewSecretChat.html" name="createNewSecretChat">Creates new secret chat, returns created chat</a>
|
||||
* <a href="createNewSecretChat.html" name="createNewSecretChat">Creates new secret chat, returns created chat</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="createNewStickerSet.html" name="createNewStickerSet">Bots only. Creates new sticker set. Returns created sticker set</a>
|
||||
* <a href="createNewStickerSet.html" name="createNewStickerSet">Bots only. Creates new sticker set. Returns created sticker set</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="createPrivateChat.html" name="createPrivateChat">Returns existing chat corresponding to the given user</a>
|
||||
* <a href="createPrivateChat.html" name="createPrivateChat">Returns existing chat corresponding to the given user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="createSecretChat.html" name="createSecretChat">Returns existing chat corresponding to the known secret chat</a>
|
||||
* <a href="createSecretChat.html" name="createSecretChat">Returns existing chat corresponding to the known secret chat</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="createTemporaryPassword.html" name="createTemporaryPassword">Creates new temporary password for payments processing</a>
|
||||
* <a href="createTemporaryPassword.html" name="createTemporaryPassword">Creates new temporary password for payments processing</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="debugCall.html" name="debugCall">Sends call debug information</a>
|
||||
* <a href="debugCall.html" name="debugCall">Sends call debug information</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="deleteAccount.html" name="deleteAccount">Deletes the account of currently logged in user, deleting from the server all information associated with it. Account's phone number can be used to create new account, but only once in two weeks</a>
|
||||
* <a href="deleteAccount.html" name="deleteAccount">Deletes the account of currently logged in user, deleting from the server all information associated with it. Account's phone number can be used to create new account, but only once in two weeks</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="deleteChannel.html" name="deleteChannel">Deletes channel along with all messages in corresponding chat. Releases channel username and removes all members. Needs creator privileges in the channel. Channels with more than 1000 members can't be deleted</a>
|
||||
* <a href="deleteChannel.html" name="deleteChannel">Deletes channel along with all messages in corresponding chat. Releases channel username and removes all members. Needs creator privileges in the channel. Channels with more than 1000 members can't be deleted</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="deleteChatHistory.html" name="deleteChatHistory">Deletes all messages in the chat. Can't be used for channel chats</a>
|
||||
* <a href="deleteChatHistory.html" name="deleteChatHistory">Deletes all messages in the chat. Can't be used for channel chats</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="deleteChatReplyMarkup.html" name="deleteChatReplyMarkup">Deletes default reply markup from chat. This method needs to be called after one-time keyboard or ForceReply reply markup has been used. UpdateChatReplyMarkup will be send if reply markup will be changed</a>
|
||||
* <a href="deleteChatReplyMarkup.html" name="deleteChatReplyMarkup">Deletes default reply markup from chat. This method needs to be called after one-time keyboard or ForceReply reply markup has been used. UpdateChatReplyMarkup will be send if reply markup will be changed</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="deleteContacts.html" name="deleteContacts">Deletes users from contacts list</a>
|
||||
* <a href="deleteContacts.html" name="deleteContacts">Deletes users from contacts list</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="deleteFavoriteSticker.html" name="deleteFavoriteSticker">Removes a sticker from the list of favorite stickers</a>
|
||||
* <a href="deleteFavoriteSticker.html" name="deleteFavoriteSticker">Removes a sticker from the list of favorite stickers</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="deleteFile.html" name="deleteFile">Deletes a file from TDLib file cache</a>
|
||||
* <a href="deleteFile.html" name="deleteFile">Deletes a file from TDLib file cache</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="deleteImportedContacts.html" name="deleteImportedContacts">Deletes all imported contacts</a>
|
||||
* <a href="deleteImportedContacts.html" name="deleteImportedContacts">Deletes all imported contacts</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="deleteMessages.html" name="deleteMessages">Deletes messages</a>
|
||||
* <a href="deleteMessages.html" name="deleteMessages">Deletes messages</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="deleteMessagesFromUser.html" name="deleteMessagesFromUser">Deletes all messages in the chat sent by the specified user. Works only in supergroup channel chats, needs can_delete_messages administrator privileges</a>
|
||||
* <a href="deleteMessagesFromUser.html" name="deleteMessagesFromUser">Deletes all messages in the chat sent by the specified user. Works only in supergroup channel chats, needs can_delete_messages administrator privileges</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="deleteProfilePhoto.html" name="deleteProfilePhoto">Deletes profile photo. If something changes, updateUser will be sent</a>
|
||||
* <a href="deleteProfilePhoto.html" name="deleteProfilePhoto">Deletes profile photo. If something changes, updateUser will be sent</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="deleteRecentHashtag.html" name="deleteRecentHashtag">Deletes a hashtag from the list of recently used hashtags</a>
|
||||
* <a href="deleteRecentHashtag.html" name="deleteRecentHashtag">Deletes a hashtag from the list of recently used hashtags</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="deleteRecentSticker.html" name="deleteRecentSticker">Removes a sticker from the list of recently used stickers</a>
|
||||
* <a href="deleteRecentSticker.html" name="deleteRecentSticker">Removes a sticker from the list of recently used stickers</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="deleteRecentlyFoundChat.html" name="deleteRecentlyFoundChat">Deletes chat from the list of recently found chats</a>
|
||||
* <a href="deleteRecentlyFoundChat.html" name="deleteRecentlyFoundChat">Deletes chat from the list of recently found chats</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="deleteRecentlyFoundChats.html" name="deleteRecentlyFoundChats">Clears list of recently found chats</a>
|
||||
* <a href="deleteRecentlyFoundChats.html" name="deleteRecentlyFoundChats">Clears list of recently found chats</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="deleteSavedAnimation.html" name="deleteSavedAnimation">Removes an animation from the list of saved animations</a>
|
||||
* <a href="deleteSavedAnimation.html" name="deleteSavedAnimation">Removes an animation from the list of saved animations</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="deleteSavedCredentials.html" name="deleteSavedCredentials">Deletes saved credentials for all payments provider bots</a>
|
||||
* <a href="deleteSavedCredentials.html" name="deleteSavedCredentials">Deletes saved credentials for all payments provider bots</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="deleteSavedOrderInfo.html" name="deleteSavedOrderInfo">Deletes saved order info</a>
|
||||
* <a href="deleteSavedOrderInfo.html" name="deleteSavedOrderInfo">Deletes saved order info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="deleteStickerFromSet.html" name="deleteStickerFromSet">Bots only. Deletes a sticker from the set it belongs to. Sticker set should be created by the bot</a>
|
||||
* <a href="deleteStickerFromSet.html" name="deleteStickerFromSet">Bots only. Deletes a sticker from the set it belongs to. Sticker set should be created by the bot</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="deleteTopChat.html" name="deleteTopChat">Delete a chat from a list of frequently used chats. Supported only if chat info database is enabled</a>
|
||||
* <a href="deleteTopChat.html" name="deleteTopChat">Delete a chat from a list of frequently used chats. Supported only if chat info database is enabled</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="discardCall.html" name="discardCall">Discards a call</a>
|
||||
* <a href="discardCall.html" name="discardCall">Discards a call</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="downloadFile.html" name="downloadFile">Asynchronously downloads file from cloud. Updates updateFile will notify about download progress and successful download</a>
|
||||
* <a href="downloadFile.html" name="downloadFile">Asynchronously downloads file from cloud. Updates updateFile will notify about download progress and successful download</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="editInlineMessageCaption.html" name="editInlineMessageCaption">Bots only. Edits caption of an inline message content sent via bot</a>
|
||||
* <a href="editInlineMessageCaption.html" name="editInlineMessageCaption">Bots only. Edits caption of an inline message content sent via bot</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="editInlineMessageReplyMarkup.html" name="editInlineMessageReplyMarkup">Bots only. Edits reply markup of an inline message sent via bot</a>
|
||||
* <a href="editInlineMessageReplyMarkup.html" name="editInlineMessageReplyMarkup">Bots only. Edits reply markup of an inline message sent via bot</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="editInlineMessageText.html" name="editInlineMessageText">Bots only. Edits text of an inline text or game message sent via bot</a>
|
||||
* <a href="editInlineMessageText.html" name="editInlineMessageText">Bots only. Edits text of an inline text or game message sent via bot</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="editMessageCaption.html" name="editMessageCaption">Edits message content caption. Non-bots can edit message in a limited period of time. Returns edited message after edit is complete server side</a>
|
||||
* <a href="editMessageCaption.html" name="editMessageCaption">Edits message content caption. Non-bots can edit message in a limited period of time. Returns edited message after edit is complete server side</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="editMessageReplyMarkup.html" name="editMessageReplyMarkup">Bots only. Edits message reply markup. Returns edited message after edit is complete server side</a>
|
||||
* <a href="editMessageReplyMarkup.html" name="editMessageReplyMarkup">Bots only. Edits message reply markup. Returns edited message after edit is complete server side</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="editMessageText.html" name="editMessageText">Edits text of text or game message. Non-bots can edit message in a limited period of time. Returns edited message after edit is complete server side</a>
|
||||
* <a href="editMessageText.html" name="editMessageText">Edits text of text or game message. Non-bots can edit message in a limited period of time. Returns edited message after edit is complete server side</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="exportChatInviteLink.html" name="exportChatInviteLink">Generates new chat invite link, previously generated link is revoked. Available for group and channel chats. In groups can be called only by creator, in channels requires appropriate rights</a>
|
||||
* <a href="exportChatInviteLink.html" name="exportChatInviteLink">Generates new chat invite link, previously generated link is revoked. Available for group and channel chats. In groups can be called only by creator, in channels requires appropriate rights</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="finishFileGeneration.html" name="finishFileGeneration">Finishes file generation</a>
|
||||
* <a href="finishFileGeneration.html" name="finishFileGeneration">Finishes file generation</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="forwardMessages.html" name="forwardMessages">Forwards previously sent messages. Returns forwarded messages in the same order as message identifiers passed in message_ids. If message can't be forwarded, null will be returned instead of the message</a>
|
||||
* <a href="forwardMessages.html" name="forwardMessages">Forwards previously sent messages. Returns forwarded messages in the same order as message identifiers passed in message_ids. If message can't be forwarded, null will be returned instead of the message</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getAccountTtl.html" name="getAccountTtl">Returns period of inactivity, after which the account of currently logged in user will be automatically deleted</a>
|
||||
* <a href="getAccountTtl.html" name="getAccountTtl">Returns period of inactivity, after which the account of currently logged in user will be automatically deleted</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getActiveSessions.html" name="getActiveSessions">Returns all active sessions of logged in user</a>
|
||||
* <a href="getActiveSessions.html" name="getActiveSessions">Returns all active sessions of logged in user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getArchivedStickerSets.html" name="getArchivedStickerSets">Returns list of archived sticker sets</a>
|
||||
* <a href="getArchivedStickerSets.html" name="getArchivedStickerSets">Returns list of archived sticker sets</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getAttachedStickerSets.html" name="getAttachedStickerSets">Returns list of sticker sets attached to a file, currently only photos and videos can have attached sticker sets</a>
|
||||
* <a href="getAttachedStickerSets.html" name="getAttachedStickerSets">Returns list of sticker sets attached to a file, currently only photos and videos can have attached sticker sets</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getAuthState.html" name="getAuthState">Returns current authorization state, offline request</a>
|
||||
* <a href="getAuthState.html" name="getAuthState">Returns current authorization state, offline request</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getBlockedUsers.html" name="getBlockedUsers">Returns users blocked by the current user</a>
|
||||
* <a href="getBlockedUsers.html" name="getBlockedUsers">Returns users blocked by the current user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getCallbackQueryAnswer.html" name="getCallbackQueryAnswer">Sends callback query to a bot and returns answer to it. Returns error with code 502 if bot fails to answer the query before query timeout expires. Unavailable for bots</a>
|
||||
* <a href="getCallbackQueryAnswer.html" name="getCallbackQueryAnswer">Sends callback query to a bot and returns answer to it. Returns error with code 502 if bot fails to answer the query before query timeout expires. Unavailable for bots</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getChannel.html" name="getChannel">Returns information about a channel by its identifier, offline request if current user is not a bot</a>
|
||||
* <a href="getChannel.html" name="getChannel">Returns information about a channel by its identifier, offline request if current user is not a bot</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getChannelFull.html" name="getChannelFull">Returns full information about a channel by its identifier, cached for at most 1 minute</a>
|
||||
* <a href="getChannelFull.html" name="getChannelFull">Returns full information about a channel by its identifier, cached for at most 1 minute</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getChannelMembers.html" name="getChannelMembers">Returns information about channel members or banned users. Can be used only if channel_full->can_get_members == true. Administrator privileges may be additionally needed for some filters</a>
|
||||
* <a href="getChannelMembers.html" name="getChannelMembers">Returns information about channel members or banned users. Can be used only if channel_full->can_get_members == true. Administrator privileges may be additionally needed for some filters</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getChat.html" name="getChat">Returns information about a chat by its identifier, offline request if current user is not a bot</a>
|
||||
* <a href="getChat.html" name="getChat">Returns information about a chat by its identifier, offline request if current user is not a bot</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getChatEventLog.html" name="getChatEventLog">Returns list of service actions taken by chat members and administrators in the last 48 hours, available only in channels. Requires administrator rights. Returns result in reverse chronological order, i. e. in order of decreasing event_id</a>
|
||||
* <a href="getChatEventLog.html" name="getChatEventLog">Returns list of service actions taken by chat members and administrators in the last 48 hours, available only in channels. Requires administrator rights. Returns result in reverse chronological order, i. e. in order of decreasing event_id</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getChatHistory.html" name="getChatHistory">Returns messages in a chat. Returns result in reverse chronological order, i.e. in order of decreasing message.message_id. Offline request if only_local is true</a>
|
||||
* <a href="getChatHistory.html" name="getChatHistory">Returns messages in a chat. Returns result in reverse chronological order, i.e. in order of decreasing message.message_id. Offline request if only_local is true</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getChatMember.html" name="getChatMember">Returns information about one participant of the chat</a>
|
||||
* <a href="getChatMember.html" name="getChatMember">Returns information about one participant of the chat</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getChatReportSpamState.html" name="getChatReportSpamState">Returns current chat report spam state</a>
|
||||
* <a href="getChatReportSpamState.html" name="getChatReportSpamState">Returns current chat report spam state</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getChats.html" name="getChats">Returns list of chats in the right order, chats are sorted by (order, chat_id) in decreasing order. For example, to get list of chats from the beginning, the offset_order should be equal 2^63 - 1</a>
|
||||
* <a href="getChats.html" name="getChats">Returns list of chats in the right order, chats are sorted by (order, chat_id) in decreasing order. For example, to get list of chats from the beginning, the offset_order should be equal 2^63 - 1</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getCommonChats.html" name="getCommonChats">Returns list of common chats with an other given user. Chats are sorted by their type and creation date</a>
|
||||
* <a href="getCommonChats.html" name="getCommonChats">Returns list of common chats with an other given user. Chats are sorted by their type and creation date</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getCreatedPublicChats.html" name="getCreatedPublicChats">Returns list of created public chats</a>
|
||||
* <a href="getCreatedPublicChats.html" name="getCreatedPublicChats">Returns list of created public chats</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getFavoriteStickers.html" name="getFavoriteStickers">Returns favorite stickers</a>
|
||||
* <a href="getFavoriteStickers.html" name="getFavoriteStickers">Returns favorite stickers</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getFile.html" name="getFile">Returns information about a file, offline request</a>
|
||||
* <a href="getFile.html" name="getFile">Returns information about a file, offline request</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getFileExtension.html" name="getFileExtension">Returns file's extension guessing only by its mime type. Returns empty string on failure. Offline method. Can be called before authorization. Can be called synchronously</a>
|
||||
* <a href="getFileExtension.html" name="getFileExtension">Returns file's extension guessing only by its mime type. Returns empty string on failure. Offline method. Can be called before authorization. Can be called synchronously</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getFileMimeType.html" name="getFileMimeType">Returns file's mime type guessing only by its extension. Returns empty string on failure. Offline method. Can be called before authorization. Can be called synchronously</a>
|
||||
* <a href="getFileMimeType.html" name="getFileMimeType">Returns file's mime type guessing only by its extension. Returns empty string on failure. Offline method. Can be called before authorization. Can be called synchronously</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getFilePersistent.html" name="getFilePersistent">Returns information about a file by its persistent id, offline request. May be used to register a URL as a file for further uploading or sending as message</a>
|
||||
* <a href="getFilePersistent.html" name="getFilePersistent">Returns information about a file by its persistent id, offline request. May be used to register a URL as a file for further uploading or sending as message</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getGameHighScores.html" name="getGameHighScores">Bots only. Returns game high scores and some part of the score table around of the specified user in the game</a>
|
||||
* <a href="getGameHighScores.html" name="getGameHighScores">Bots only. Returns game high scores and some part of the score table around of the specified user in the game</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getGroup.html" name="getGroup">Returns information about a group by its identifier, offline request if current user is not a bot</a>
|
||||
* <a href="getGroup.html" name="getGroup">Returns information about a group by its identifier, offline request if current user is not a bot</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getGroupFull.html" name="getGroupFull">Returns full information about a group by its identifier</a>
|
||||
* <a href="getGroupFull.html" name="getGroupFull">Returns full information about a group by its identifier</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getImportedContactCount.html" name="getImportedContactCount">Returns total number of imported contacts</a>
|
||||
* <a href="getImportedContactCount.html" name="getImportedContactCount">Returns total number of imported contacts</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getInlineGameHighScores.html" name="getInlineGameHighScores">Bots only. Returns game high scores and some part of the score table around of the specified user in the game</a>
|
||||
* <a href="getInlineGameHighScores.html" name="getInlineGameHighScores">Bots only. Returns game high scores and some part of the score table around of the specified user in the game</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getInlineQueryResults.html" name="getInlineQueryResults">Sends inline query to a bot and returns its results. Returns error with code 502 if bot fails to answer the query before query timeout expires. Unavailable for bots</a>
|
||||
* <a href="getInlineQueryResults.html" name="getInlineQueryResults">Sends inline query to a bot and returns its results. Returns error with code 502 if bot fails to answer the query before query timeout expires. Unavailable for bots</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getInstalledStickerSets.html" name="getInstalledStickerSets">Returns list of installed sticker sets</a>
|
||||
* <a href="getInstalledStickerSets.html" name="getInstalledStickerSets">Returns list of installed sticker sets</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getInviteText.html" name="getInviteText">Returns invite text for invitation of new users</a>
|
||||
* <a href="getInviteText.html" name="getInviteText">Returns invite text for invitation of new users</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getMe.html" name="getMe">Returns current logged in user</a>
|
||||
* <a href="getMe.html" name="getMe">Returns current logged in user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getMessage.html" name="getMessage">Returns information about a message</a>
|
||||
* <a href="getMessage.html" name="getMessage">Returns information about a message</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getMessages.html" name="getMessages">Returns information about messages. If message is not found, returns null on the corresponding position of the result</a>
|
||||
* <a href="getMessages.html" name="getMessages">Returns information about messages. If message is not found, returns null on the corresponding position of the result</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getNetworkStatistics.html" name="getNetworkStatistics">Returns network data usage statistics. Can be called before authorization</a>
|
||||
* <a href="getNetworkStatistics.html" name="getNetworkStatistics">Returns network data usage statistics. Can be called before authorization</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getNotificationSettings.html" name="getNotificationSettings">Returns notification settings for a given scope</a>
|
||||
* <a href="getNotificationSettings.html" name="getNotificationSettings">Returns notification settings for a given scope</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getOption.html" name="getOption">Returns value of an option by its name. See list of available options on https: core.telegram.org/tdlib/options. Can be called before authorization</a>
|
||||
* <a href="getOption.html" name="getOption">Returns value of an option by its name. See list of available options on https: core.telegram.org/tdlib/options. Can be called before authorization</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getPasswordState.html" name="getPasswordState">Returns current state of two-step verification</a>
|
||||
* <a href="getPasswordState.html" name="getPasswordState">Returns current state of two-step verification</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getPaymentForm.html" name="getPaymentForm">Returns invoice payment form. The method should be called when user presses inlineKeyboardButtonBuy</a>
|
||||
* <a href="getPaymentForm.html" name="getPaymentForm">Returns invoice payment form. The method should be called when user presses inlineKeyboardButtonBuy</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getPaymentReceipt.html" name="getPaymentReceipt">Returns information about successful payment</a>
|
||||
* <a href="getPaymentReceipt.html" name="getPaymentReceipt">Returns information about successful payment</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getPrivacy.html" name="getPrivacy">Returns current privacy settings</a>
|
||||
* <a href="getPrivacy.html" name="getPrivacy">Returns current privacy settings</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getProxy.html" name="getProxy">Returns current set up proxy. Can be called before authorization</a>
|
||||
* <a href="getProxy.html" name="getProxy">Returns current set up proxy. Can be called before authorization</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getPublicMessageLink.html" name="getPublicMessageLink">Returns public HTTPS link to a message. Available only for messages in public channels</a>
|
||||
* <a href="getPublicMessageLink.html" name="getPublicMessageLink">Returns public HTTPS link to a message. Available only for messages in public channels</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getRecentInlineBots.html" name="getRecentInlineBots">Returns up to 20 recently used inline bots in the order of the last usage</a>
|
||||
* <a href="getRecentInlineBots.html" name="getRecentInlineBots">Returns up to 20 recently used inline bots in the order of the last usage</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getRecentStickers.html" name="getRecentStickers">Returns list of recently used stickers</a>
|
||||
* <a href="getRecentStickers.html" name="getRecentStickers">Returns list of recently used stickers</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getRecoveryEmail.html" name="getRecoveryEmail">Returns set up recovery email. This method can be used to verify a password provided by the user</a>
|
||||
* <a href="getRecoveryEmail.html" name="getRecoveryEmail">Returns set up recovery email. This method can be used to verify a password provided by the user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getSavedAnimations.html" name="getSavedAnimations">Returns saved animations</a>
|
||||
* <a href="getSavedAnimations.html" name="getSavedAnimations">Returns saved animations</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getSavedOrderInfo.html" name="getSavedOrderInfo">Returns saved order info if any</a>
|
||||
* <a href="getSavedOrderInfo.html" name="getSavedOrderInfo">Returns saved order info if any</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getSecretChat.html" name="getSecretChat">Returns information about a secret chat by its identifier, offline request</a>
|
||||
* <a href="getSecretChat.html" name="getSecretChat">Returns information about a secret chat by its identifier, offline request</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getStickerEmojis.html" name="getStickerEmojis">Returns emojis corresponding to a sticker</a>
|
||||
* <a href="getStickerEmojis.html" name="getStickerEmojis">Returns emojis corresponding to a sticker</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getStickerSet.html" name="getStickerSet">Returns information about sticker set by its identifier</a>
|
||||
* <a href="getStickerSet.html" name="getStickerSet">Returns information about sticker set by its identifier</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getStickers.html" name="getStickers">Returns stickers from installed ordinary sticker sets corresponding to the given emoji. If emoji is not empty, elso favorite and recently used stickers may be returned</a>
|
||||
* <a href="getStickers.html" name="getStickers">Returns stickers from installed ordinary sticker sets corresponding to the given emoji. If emoji is not empty, elso favorite and recently used stickers may be returned</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getStorageStatistics.html" name="getStorageStatistics">Returns storage usage statistics</a>
|
||||
* <a href="getStorageStatistics.html" name="getStorageStatistics">Returns storage usage statistics</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getStorageStatisticsFast.html" name="getStorageStatisticsFast">Quickly returns approximate storage usage statistics</a>
|
||||
* <a href="getStorageStatisticsFast.html" name="getStorageStatisticsFast">Quickly returns approximate storage usage statistics</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getSupportUser.html" name="getSupportUser">Returns user that can be contacted to get support</a>
|
||||
* <a href="getSupportUser.html" name="getSupportUser">Returns user that can be contacted to get support</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getTemporaryPasswordState.html" name="getTemporaryPasswordState">Returns information about current temporary password</a>
|
||||
* <a href="getTemporaryPasswordState.html" name="getTemporaryPasswordState">Returns information about current temporary password</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getTermsOfService.html" name="getTermsOfService">Returns terms of service. Can be called before authorization</a>
|
||||
* <a href="getTermsOfService.html" name="getTermsOfService">Returns terms of service. Can be called before authorization</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getTextEntities.html" name="getTextEntities">Returns all mentions, hashtags, bot commands, URLs and emails contained in the text. Offline method. Can be called before authorization. Can be called synchronously</a>
|
||||
* <a href="getTextEntities.html" name="getTextEntities">Returns all mentions, hashtags, bot commands, URLs and emails contained in the text. Offline method. Can be called before authorization. Can be called synchronously</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getTopChats.html" name="getTopChats">Returns a list of frequently used chats. Supported only if chat info database is enabled</a>
|
||||
* <a href="getTopChats.html" name="getTopChats">Returns a list of frequently used chats. Supported only if chat info database is enabled</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getTrendingStickerSets.html" name="getTrendingStickerSets">Returns list of trending sticker sets</a>
|
||||
* <a href="getTrendingStickerSets.html" name="getTrendingStickerSets">Returns list of trending sticker sets</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getUser.html" name="getUser">Returns information about a user by its identifier, offline request if current user is not a bot</a>
|
||||
* <a href="getUser.html" name="getUser">Returns information about a user by its identifier, offline request if current user is not a bot</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getUserFull.html" name="getUserFull">Returns full information about a user by its identifier</a>
|
||||
* <a href="getUserFull.html" name="getUserFull">Returns full information about a user by its identifier</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getUserProfilePhotos.html" name="getUserProfilePhotos">Returns profile photos of the user. Result of this query may be outdated: some photos may be already deleted</a>
|
||||
* <a href="getUserProfilePhotos.html" name="getUserProfilePhotos">Returns profile photos of the user. Result of this query may be outdated: some photos may be already deleted</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getWallpapers.html" name="getWallpapers">Returns background wallpapers</a>
|
||||
* <a href="getWallpapers.html" name="getWallpapers">Returns background wallpapers</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getWebPageInstantView.html" name="getWebPageInstantView">Returns web page instant view if available. Returns error 404 if web page has no instant view</a>
|
||||
* <a href="getWebPageInstantView.html" name="getWebPageInstantView">Returns web page instant view if available. Returns error 404 if web page has no instant view</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="getWebPagePreview.html" name="getWebPagePreview">Returns web page preview by text of the message. Do not call this function to often. Returns error 404 if web page has no preview</a>
|
||||
* <a href="getWebPagePreview.html" name="getWebPagePreview">Returns web page preview by text of the message. Do not call this function to often. Returns error 404 if web page has no preview</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="importChatInviteLink.html" name="importChatInviteLink">Imports chat invite link, adds current user to a chat if possible. Member will not be added until chat state will be synchronized with the server</a>
|
||||
* <a href="importChatInviteLink.html" name="importChatInviteLink">Imports chat invite link, adds current user to a chat if possible. Member will not be added until chat state will be synchronized with the server</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="importContacts.html" name="importContacts">Adds new contacts/edits existing contacts, contacts user identifiers are ignored</a>
|
||||
* <a href="importContacts.html" name="importContacts">Adds new contacts/edits existing contacts, contacts user identifiers are ignored</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="migrateGroupChatToChannelChat.html" name="migrateGroupChatToChannelChat">Creates new channel supergroup chat from existing group chat and send corresponding messageChatMigrateTo and messageChatMigrateFrom. Deactivates group</a>
|
||||
* <a href="migrateGroupChatToChannelChat.html" name="migrateGroupChatToChannelChat">Creates new channel supergroup chat from existing group chat and send corresponding messageChatMigrateTo and messageChatMigrateFrom. Deactivates group</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="openChat.html" name="openChat">Chat is opened by the user. Many useful activities depends on chat being opened or closed. For example, in channels all updates are received only for opened chats</a>
|
||||
* <a href="openChat.html" name="openChat">Chat is opened by the user. Many useful activities depends on chat being opened or closed. For example, in channels all updates are received only for opened chats</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="openMessageContent.html" name="openMessageContent">Message content is opened, for example the user has opened a photo, a video, a document, a location or a venue or have listened to an audio or a voice message. You will receive updateOpenMessageContent if something has changed</a>
|
||||
* <a href="openMessageContent.html" name="openMessageContent">Message content is opened, for example the user has opened a photo, a video, a document, a location or a venue or have listened to an audio or a voice message. You will receive updateOpenMessageContent if something has changed</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="optimizeStorage.html" name="optimizeStorage">Optimizes storage usage, i.e. deletes some files and return new storage usage statistics. Secret thumbnails can't be deleted</a>
|
||||
* <a href="optimizeStorage.html" name="optimizeStorage">Optimizes storage usage, i.e. deletes some files and return new storage usage statistics. Secret thumbnails can't be deleted</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="pinChannelMessage.html" name="pinChannelMessage">Pins a message in a supergroup channel chat. Needs appropriate rights in the channel</a>
|
||||
* <a href="pinChannelMessage.html" name="pinChannelMessage">Pins a message in a supergroup channel chat. Needs appropriate rights in the channel</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="processDcUpdate.html" name="processDcUpdate">Handles DC_UPDATE push service notification. Can be called before authorization</a>
|
||||
* <a href="processDcUpdate.html" name="processDcUpdate">Handles DC_UPDATE push service notification. Can be called before authorization</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="rateCall.html" name="rateCall">Sends call rating</a>
|
||||
* <a href="rateCall.html" name="rateCall">Sends call rating</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="recoverAuthPassword.html" name="recoverAuthPassword">Recovers password with recovery code sent to email. Works only when getAuthState returns authStateWaitPassword. Returns authStateOk on success</a>
|
||||
* <a href="recoverAuthPassword.html" name="recoverAuthPassword">Recovers password with recovery code sent to email. Works only when getAuthState returns authStateWaitPassword. Returns authStateOk on success</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="recoverPassword.html" name="recoverPassword">Recovers password with recovery code sent to email</a>
|
||||
* <a href="recoverPassword.html" name="recoverPassword">Recovers password with recovery code sent to email</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="registerDevice.html" name="registerDevice">Registers current used device for receiving push notifications</a>
|
||||
* <a href="registerDevice.html" name="registerDevice">Registers current used device for receiving push notifications</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="reorderInstalledStickerSets.html" name="reorderInstalledStickerSets">Changes the order of installed sticker sets</a>
|
||||
* <a href="reorderInstalledStickerSets.html" name="reorderInstalledStickerSets">Changes the order of installed sticker sets</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="reportChannelSpam.html" name="reportChannelSpam">Reports some supergroup channel messages from a user as spam messages</a>
|
||||
* <a href="reportChannelSpam.html" name="reportChannelSpam">Reports some supergroup channel messages from a user as spam messages</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="reportChat.html" name="reportChat">Reports chat to Telegram moderators. Can be used only for a channel chat or a private chat with a bot, because all other chats can't be checked by moderators</a>
|
||||
* <a href="reportChat.html" name="reportChat">Reports chat to Telegram moderators. Can be used only for a channel chat or a private chat with a bot, because all other chats can't be checked by moderators</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="requestAuthPasswordRecovery.html" name="requestAuthPasswordRecovery">Requests to send password recovery code to email. Works only when getAuthState returns authStateWaitPassword. Returns authStateWaitPassword on success</a>
|
||||
* <a href="requestAuthPasswordRecovery.html" name="requestAuthPasswordRecovery">Requests to send password recovery code to email. Works only when getAuthState returns authStateWaitPassword. Returns authStateWaitPassword on success</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="requestPasswordRecovery.html" name="requestPasswordRecovery">Requests to send password recovery code to email</a>
|
||||
* <a href="requestPasswordRecovery.html" name="requestPasswordRecovery">Requests to send password recovery code to email</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="resendAuthCode.html" name="resendAuthCode">Resends authentication code to the user. Works only when getAuthState returns authStateWaitCode and next_code_type of result is not null. Returns authStateWaitCode on success</a>
|
||||
* <a href="resendAuthCode.html" name="resendAuthCode">Resends authentication code to the user. Works only when getAuthState returns authStateWaitCode and next_code_type of result is not null. Returns authStateWaitCode on success</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="resendChangePhoneNumberCode.html" name="resendChangePhoneNumberCode">Resends authentication code sent to change user's phone number. Wotks only if in previously received authStateWaitCode next_code_type was not null. Returns authStateWaitCode on success</a>
|
||||
* <a href="resendChangePhoneNumberCode.html" name="resendChangePhoneNumberCode">Resends authentication code sent to change user's phone number. Wotks only if in previously received authStateWaitCode next_code_type was not null. Returns authStateWaitCode on success</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="resetAllNotificationSettings.html" name="resetAllNotificationSettings">Resets all notification settings to the default value. By default the only muted chats are supergroups, sound is set to 'default' and message previews are showed</a>
|
||||
* <a href="resetAllNotificationSettings.html" name="resetAllNotificationSettings">Resets all notification settings to the default value. By default the only muted chats are supergroups, sound is set to 'default' and message previews are showed</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="resetAuth.html" name="resetAuth">Logs out user. If force == false, begins to perform soft log out, returns authStateLoggingOut after completion. If force == true then succeeds almost immediately without cleaning anything at the server, but returns error with code 401 and description "Unauthorized"</a>
|
||||
* <a href="resetAuth.html" name="resetAuth">Logs out user. If force == false, begins to perform soft log out, returns authStateLoggingOut after completion. If force == true then succeeds almost immediately without cleaning anything at the server, but returns error with code 401 and description "Unauthorized"</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="resetNetworkStatistics.html" name="resetNetworkStatistics">Resets all network data usage statistics to zero. Can be called before authorization</a>
|
||||
* <a href="resetNetworkStatistics.html" name="resetNetworkStatistics">Resets all network data usage statistics to zero. Can be called before authorization</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="searchCallMessages.html" name="searchCallMessages">Searches for call messages. Returns result in reverse chronological order, i. e. in order of decreasing message_id</a>
|
||||
* <a href="searchCallMessages.html" name="searchCallMessages">Searches for call messages. Returns result in reverse chronological order, i. e. in order of decreasing message_id</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="searchChatMembers.html" name="searchChatMembers">Searches for the specified query in the first name, last name and username among members of the specified chat. Requires administrator rights in broadcast channels</a>
|
||||
* <a href="searchChatMembers.html" name="searchChatMembers">Searches for the specified query in the first name, last name and username among members of the specified chat. Requires administrator rights in broadcast channels</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="searchChatMessages.html" name="searchChatMessages">Searches for messages with given words in the chat. Returns result in reverse chronological order, i. e. in order of decreasing message_id. Doesn't work in secret chats with non-empty query (searchSecretMessages should be used instead) or without enabled message database</a>
|
||||
* <a href="searchChatMessages.html" name="searchChatMessages">Searches for messages with given words in the chat. Returns result in reverse chronological order, i. e. in order of decreasing message_id. Doesn't work in secret chats with non-empty query (searchSecretMessages should be used instead) or without enabled message database</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="searchChats.html" name="searchChats">Searches for specified query in the title and username of known chats, offline request. Returns chats in the order of them in the chat list</a>
|
||||
* <a href="searchChats.html" name="searchChats">Searches for specified query in the title and username of known chats, offline request. Returns chats in the order of them in the chat list</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="searchContacts.html" name="searchContacts">Searches for specified query in the first name, last name and username of the known user contacts</a>
|
||||
* <a href="searchContacts.html" name="searchContacts">Searches for specified query in the first name, last name and username of the known user contacts</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="searchHashtags.html" name="searchHashtags">Searches for recently used hashtags by their prefix</a>
|
||||
* <a href="searchHashtags.html" name="searchHashtags">Searches for recently used hashtags by their prefix</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="searchMessages.html" name="searchMessages">Searches for messages in all chats except secret chats. Returns result in reverse chronological order, i. e. in order of decreasing (date, chat_id, message_id)</a>
|
||||
* <a href="searchMessages.html" name="searchMessages">Searches for messages in all chats except secret chats. Returns result in reverse chronological order, i. e. in order of decreasing (date, chat_id, message_id)</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="searchPublicChat.html" name="searchPublicChat">Searches public chat by its username. Currently only private and channel chats can be public. Returns chat if found, otherwise some error is returned</a>
|
||||
* <a href="searchPublicChat.html" name="searchPublicChat">Searches public chat by its username. Currently only private and channel chats can be public. Returns chat if found, otherwise some error is returned</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="searchPublicChats.html" name="searchPublicChats">Searches public chats by prefix of their username. Currently only private and channel (including supergroup) chats can be public. Returns meaningful number of results. Returns nothing if length of the searched username prefix is less than 5. Excludes private chats with contacts from the results</a>
|
||||
* <a href="searchPublicChats.html" name="searchPublicChats">Searches public chats by prefix of their username. Currently only private and channel (including supergroup) chats can be public. Returns meaningful number of results. Returns nothing if length of the searched username prefix is less than 5. Excludes private chats with contacts from the results</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="searchSecretMessages.html" name="searchSecretMessages">Searches for messages in secret chats. Returns result in reverse chronological order</a>
|
||||
* <a href="searchSecretMessages.html" name="searchSecretMessages">Searches for messages in secret chats. Returns result in reverse chronological order</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="searchStickerSet.html" name="searchStickerSet">Searches sticker set by its short name</a>
|
||||
* <a href="searchStickerSet.html" name="searchStickerSet">Searches sticker set by its short name</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="sendBotStartMessage.html" name="sendBotStartMessage">Invites bot to a chat (if it is not in the chat) and send /start to it. Bot can't be invited to a private chat other than chat with the bot. Bots can't be invited to broadcast channel chats and secret chats. Returns sent message</a>
|
||||
* <a href="sendBotStartMessage.html" name="sendBotStartMessage">Invites bot to a chat (if it is not in the chat) and send /start to it. Bot can't be invited to a private chat other than chat with the bot. Bots can't be invited to broadcast channel chats and secret chats. Returns sent message</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="sendChatAction.html" name="sendChatAction">Sends notification about user activity in a chat</a>
|
||||
* <a href="sendChatAction.html" name="sendChatAction">Sends notification about user activity in a chat</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="sendChatScreenshotTakenNotification.html" name="sendChatScreenshotTakenNotification">Sends notification about screenshot taken in a chat. Works only in private and secret chats</a>
|
||||
* <a href="sendChatScreenshotTakenNotification.html" name="sendChatScreenshotTakenNotification">Sends notification about screenshot taken in a chat. Works only in private and secret chats</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="sendChatSetTtlMessage.html" name="sendChatSetTtlMessage">Changes current ttl setting in a secret chat and sends corresponding message</a>
|
||||
* <a href="sendChatSetTtlMessage.html" name="sendChatSetTtlMessage">Changes current ttl setting in a secret chat and sends corresponding message</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="sendCustomRequest.html" name="sendCustomRequest">Bots only. Sends custom request</a>
|
||||
* <a href="sendCustomRequest.html" name="sendCustomRequest">Bots only. Sends custom request</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="sendInlineQueryResultMessage.html" name="sendInlineQueryResultMessage">Sends result of the inline query as a message. Returns sent message. Always clears chat draft message</a>
|
||||
* <a href="sendInlineQueryResultMessage.html" name="sendInlineQueryResultMessage">Sends result of the inline query as a message. Returns sent message. Always clears chat draft message</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="sendMessage.html" name="sendMessage">Sends a message. Returns sent message</a>
|
||||
* <a href="sendMessage.html" name="sendMessage">Sends a message. Returns sent message</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="sendPaymentForm.html" name="sendPaymentForm">Sends filled payment form to the bot for the final verification</a>
|
||||
* <a href="sendPaymentForm.html" name="sendPaymentForm">Sends filled payment form to the bot for the final verification</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="setAlarm.html" name="setAlarm">Returns Ok after specified amount of the time passed. Can be called before authorization</a>
|
||||
* <a href="setAlarm.html" name="setAlarm">Returns Ok after specified amount of the time passed. Can be called before authorization</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="setAuthPhoneNumber.html" name="setAuthPhoneNumber">Sets user's phone number and sends authentication code to the user. Works only when getAuthState returns authStateWaitPhoneNumber. If phone number is not recognized or another error has happened, returns an error. Otherwise returns authStateWaitCode</a>
|
||||
* <a href="setAuthPhoneNumber.html" name="setAuthPhoneNumber">Sets user's phone number and sends authentication code to the user. Works only when getAuthState returns authStateWaitPhoneNumber. If phone number is not recognized or another error has happened, returns an error. Otherwise returns authStateWaitCode</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="setBotUpdatesStatus.html" name="setBotUpdatesStatus">Bots only. Informs server about number of pending bot updates if they aren't processed for a long time</a>
|
||||
* <a href="setBotUpdatesStatus.html" name="setBotUpdatesStatus">Bots only. Informs server about number of pending bot updates if they aren't processed for a long time</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="setChannelStickerSet.html" name="setChannelStickerSet">Changes sticker set of the channel. Needs appropriate rights in the channel</a>
|
||||
* <a href="setChannelStickerSet.html" name="setChannelStickerSet">Changes sticker set of the channel. Needs appropriate rights in the channel</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="setChatClientData.html" name="setChatClientData">Changes client data associated with a chat</a>
|
||||
* <a href="setChatClientData.html" name="setChatClientData">Changes client data associated with a chat</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="setFileGenerationProgress.html" name="setFileGenerationProgress">Next part of a file was generated</a>
|
||||
* <a href="setFileGenerationProgress.html" name="setFileGenerationProgress">Next part of a file was generated</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="setGameScore.html" name="setGameScore">Bots only. Updates game score of the specified user in the game</a>
|
||||
* <a href="setGameScore.html" name="setGameScore">Bots only. Updates game score of the specified user in the game</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="setInlineGameScore.html" name="setInlineGameScore">Bots only. Updates game score of the specified user in the game</a>
|
||||
* <a href="setInlineGameScore.html" name="setInlineGameScore">Bots only. Updates game score of the specified user in the game</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="setNetworkType.html" name="setNetworkType">Sets current network type. Can be called before authorization. Call to this method forces reopening of all network connections mitigating delay in switching between different networks, so it should be called whenever network is changed even network type remains the same. -Network type is used to check if library can use network at all and for collecting detailed network data usage statistics</a>
|
||||
* <a href="setNetworkType.html" name="setNetworkType">Sets current network type. Can be called before authorization. Call to this method forces reopening of all network connections mitigating delay in switching between different networks, so it should be called whenever network is changed even network type remains the same. -Network type is used to check if library can use network at all and for collecting detailed network data usage statistics</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="setNotificationSettings.html" name="setNotificationSettings">Changes notification settings for a given scope</a>
|
||||
* <a href="setNotificationSettings.html" name="setNotificationSettings">Changes notification settings for a given scope</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="setOption.html" name="setOption">Sets value of an option. See list of available options on https: core.telegram.org/tdlib/options. Only writable options can be set. Can be called before authorization</a>
|
||||
* <a href="setOption.html" name="setOption">Sets value of an option. See list of available options on https: core.telegram.org/tdlib/options. Only writable options can be set. Can be called before authorization</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="setPassword.html" name="setPassword">Changes user password. If new recovery email is specified, then error EMAIL_UNCONFIRMED is returned and password change will not be applied until email confirmation. Application should call getPasswordState from time to time to check if email is already confirmed</a>
|
||||
* <a href="setPassword.html" name="setPassword">Changes user password. If new recovery email is specified, then error EMAIL_UNCONFIRMED is returned and password change will not be applied until email confirmation. Application should call getPasswordState from time to time to check if email is already confirmed</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="setPinnedChats.html" name="setPinnedChats">Changes list or order of pinned chats</a>
|
||||
* <a href="setPinnedChats.html" name="setPinnedChats">Changes list or order of pinned chats</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="setPrivacy.html" name="setPrivacy">Changes privacy settings</a>
|
||||
* <a href="setPrivacy.html" name="setPrivacy">Changes privacy settings</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="setProfilePhoto.html" name="setProfilePhoto">Uploads new profile photo for logged in user. If something changes, updateUser will be sent</a>
|
||||
* <a href="setProfilePhoto.html" name="setProfilePhoto">Uploads new profile photo for logged in user. If something changes, updateUser will be sent</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="setProxy.html" name="setProxy">Sets proxy server for network requests. Can be called before authorization</a>
|
||||
* <a href="setProxy.html" name="setProxy">Sets proxy server for network requests. Can be called before authorization</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="setRecoveryEmail.html" name="setRecoveryEmail">Changes user recovery email. If new recovery email is specified, then error EMAIL_UNCONFIRMED is returned and email will not be changed until email confirmation. Application should call getPasswordState from time to time to check if email is already confirmed. -If new_recovery_email coincides with the current set up email succeeds immediately and aborts all other requests waiting for email confirmation</a>
|
||||
* <a href="setRecoveryEmail.html" name="setRecoveryEmail">Changes user recovery email. If new recovery email is specified, then error EMAIL_UNCONFIRMED is returned and email will not be changed until email confirmation. Application should call getPasswordState from time to time to check if email is already confirmed. -If new_recovery_email coincides with the current set up email succeeds immediately and aborts all other requests waiting for email confirmation</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="setStickerPositionInSet.html" name="setStickerPositionInSet">Bots only. Changes position of a sticker in the set it belongs to. Sticker set should be created by the bot</a>
|
||||
* <a href="setStickerPositionInSet.html" name="setStickerPositionInSet">Bots only. Changes position of a sticker in the set it belongs to. Sticker set should be created by the bot</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="terminateAllOtherSessions.html" name="terminateAllOtherSessions">Terminates all other sessions of logged in user</a>
|
||||
* <a href="terminateAllOtherSessions.html" name="terminateAllOtherSessions">Terminates all other sessions of logged in user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="terminateSession.html" name="terminateSession">Terminates another session of logged in user</a>
|
||||
* <a href="terminateSession.html" name="terminateSession">Terminates another session of logged in user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="testCallBytes.html" name="testCallBytes">Test request. Returns back received bytes</a>
|
||||
* <a href="testCallBytes.html" name="testCallBytes">Test request. Returns back received bytes</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="testCallEmpty.html" name="testCallEmpty">Test request. Does nothing</a>
|
||||
* <a href="testCallEmpty.html" name="testCallEmpty">Test request. Does nothing</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="testCallString.html" name="testCallString">Test request. Returns back received string</a>
|
||||
* <a href="testCallString.html" name="testCallString">Test request. Returns back received string</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="testCallVectorInt.html" name="testCallVectorInt">Test request. Returns back received vector of numbers</a>
|
||||
* <a href="testCallVectorInt.html" name="testCallVectorInt">Test request. Returns back received vector of numbers</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="testCallVectorIntObject.html" name="testCallVectorIntObject">Test request. Returns back received vector of objects containing a number</a>
|
||||
* <a href="testCallVectorIntObject.html" name="testCallVectorIntObject">Test request. Returns back received vector of objects containing a number</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="testCallVectorString.html" name="testCallVectorString">Test request. Returns back received vector of strings</a>
|
||||
* <a href="testCallVectorString.html" name="testCallVectorString">Test request. Returns back received vector of strings</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="testCallVectorStringObject.html" name="testCallVectorStringObject">Test request. Returns back received vector of objects containing a string</a>
|
||||
* <a href="testCallVectorStringObject.html" name="testCallVectorStringObject">Test request. Returns back received vector of objects containing a string</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="testGetDifference.html" name="testGetDifference">Test request. Forces updates.getDifference call to telegram servers</a>
|
||||
* <a href="testGetDifference.html" name="testGetDifference">Test request. Forces updates.getDifference call to telegram servers</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="testNetwork.html" name="testNetwork">Test request. Sends simple network request to telegram servers</a>
|
||||
* <a href="testNetwork.html" name="testNetwork">Test request. Sends simple network request to telegram servers</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="testSquareInt.html" name="testSquareInt">Test request. Returns squared received number</a>
|
||||
* <a href="testSquareInt.html" name="testSquareInt">Test request. Returns squared received number</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="testUseError.html" name="testUseError">Test request. Does nothing, ensures that the Error object is used</a>
|
||||
* <a href="testUseError.html" name="testUseError">Test request. Does nothing, ensures that the Error object is used</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="testUseUpdate.html" name="testUseUpdate">Test request. Does nothing, ensures that the Update object is used</a>
|
||||
* <a href="testUseUpdate.html" name="testUseUpdate">Test request. Does nothing, ensures that the Update object is used</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="toggleChannelInvites.html" name="toggleChannelInvites">Gives or revokes right to invite new members to all current members of the channel. Needs appropriate rights in the channel. Available only for supergroups</a>
|
||||
* <a href="toggleChannelInvites.html" name="toggleChannelInvites">Gives or revokes right to invite new members to all current members of the channel. Needs appropriate rights in the channel. Available only for supergroups</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="toggleChannelSignMessages.html" name="toggleChannelSignMessages">Enables or disables sender signature on sent messages in the channel. Needs appropriate rights in the channel. Not available for supergroups</a>
|
||||
* <a href="toggleChannelSignMessages.html" name="toggleChannelSignMessages">Enables or disables sender signature on sent messages in the channel. Needs appropriate rights in the channel. Not available for supergroups</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="toggleChatIsPinned.html" name="toggleChatIsPinned">Changes chat pinned state. You can pin up to getOption("pinned_chat_count_max") non-secret chats and the same number of secret chats</a>
|
||||
* <a href="toggleChatIsPinned.html" name="toggleChatIsPinned">Changes chat pinned state. You can pin up to getOption("pinned_chat_count_max") non-secret chats and the same number of secret chats</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="toggleGroupAdministrators.html" name="toggleGroupAdministrators">Gives or revokes all members of the group administrator rights. Needs creator privileges in the group</a>
|
||||
* <a href="toggleGroupAdministrators.html" name="toggleGroupAdministrators">Gives or revokes all members of the group administrator rights. Needs creator privileges in the group</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="unblockUser.html" name="unblockUser">Removes user from black list</a>
|
||||
* <a href="unblockUser.html" name="unblockUser">Removes user from black list</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="unpinChannelMessage.html" name="unpinChannelMessage">Removes pinned message in the supergroup channel. Needs appropriate rights in the channel</a>
|
||||
* <a href="unpinChannelMessage.html" name="unpinChannelMessage">Removes pinned message in the supergroup channel. Needs appropriate rights in the channel</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="uploadFile.html" name="uploadFile">Asynchronously uploads file to the cloud without sending it in a message. Updates updateFile will notify about upload progress and successful upload. The file will not have persistent identifier until it will be sent in a message</a>
|
||||
* <a href="uploadFile.html" name="uploadFile">Asynchronously uploads file to the cloud without sending it in a message. Updates updateFile will notify about upload progress and successful upload. The file will not have persistent identifier until it will be sent in a message</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="uploadStickerFile.html" name="uploadStickerFile">Bots only. Uploads a png image with a sticker. Returns uploaded file</a>
|
||||
* <a href="uploadStickerFile.html" name="uploadStickerFile">Bots only. Uploads a png image with a sticker. Returns uploaded file</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="validateOrderInfo.html" name="validateOrderInfo">Validates order information provided by the user and returns available shipping options for flexible invoice</a>
|
||||
* <a href="validateOrderInfo.html" name="validateOrderInfo">Validates order information provided by the user and returns available shipping options for flexible invoice</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="viewMessages.html" name="viewMessages">Messages are viewed by the user. Many useful activities depends on message being viewed. For example, marking messages as read, incrementing of view counter, updating of view counter, removing of deleted messages in channels</a>
|
||||
* <a href="viewMessages.html" name="viewMessages">Messages are viewed by the user. Many useful activities depends on message being viewed. For example, marking messages as read, incrementing of view counter, updating of view counter, removing of deleted messages in channels</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="viewTrendingStickerSets.html" name="viewTrendingStickerSets">Informs that some trending sticker sets are viewed by the user</a>
|
||||
* <a href="viewTrendingStickerSets.html" name="viewTrendingStickerSets">Informs that some trending sticker sets are viewed by the user</a>
|
||||
|
||||
|
@ -27,8 +27,7 @@ description: What do you want to do?
|
||||
|
||||
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
||||
|
||||
***
|
||||
<br><br>* <a href="account_checkUsername.html" name="account_checkUsername">Check if this username is available</a>
|
||||
* <a href="account_checkUsername.html" name="account_checkUsername">Check if this username is available</a>
|
||||
|
||||
* <a href="account_getNotifySettings.html" name="account_getNotifySettings">Get notification settings</a>
|
||||
|
||||
@ -48,33 +47,17 @@ description: What do you want to do?
|
||||
|
||||
* <a href="account_updateUsername.html" name="account_updateUsername">Update this user's username</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="auth_bindTempAuthKey.html" name="auth_bindTempAuthKey">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</a>
|
||||
|
||||
* <a href="auth_checkPhone.html" name="auth_checkPhone">Check if this phone number is registered on telegram</a>
|
||||
|
||||
* <a href="auth_exportAuthorization.html" name="auth_exportAuthorization">You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importAuthorization.html" name="auth_importAuthorization">You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_logOut.html" name="auth_logOut">You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_resetAuthorizations.html" name="auth_resetAuthorizations">Delete all logged-in sessions.</a>
|
||||
|
||||
* <a href="auth_sendCall.html" name="auth_sendCall">Send verification phone call</a>
|
||||
|
||||
* <a href="auth_sendCode.html" name="auth_sendCode">Use phone_login instead</a>
|
||||
|
||||
* <a href="auth_sendInvites.html" name="auth_sendInvites">Invite friends to telegram!</a>
|
||||
|
||||
* <a href="auth_sendSms.html" name="auth_sendSms">Send SMS verification code</a>
|
||||
|
||||
* <a href="auth_signIn.html" name="auth_signIn">You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_signUp.html" name="auth_signUp">You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
|
||||
* <a href="contacts_deleteContact.html" name="contacts_deleteContact">Delete a contact</a>
|
||||
|
||||
@ -98,8 +81,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates</a>
|
||||
* <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates</a>
|
||||
|
||||
* <a href="help_getConfig.html" name="help_getConfig">Get server configuration</a>
|
||||
|
||||
@ -111,20 +93,13 @@ description: What do you want to do?
|
||||
|
||||
* <a href="help_saveAppLog.html" name="help_saveAppLog">Log data for developer of this app</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithLayer18.html" name="invokeWithLayer18">Invoke this method with layer 18</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="messages_acceptEncryption.html" name="messages_acceptEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
* <a href="invokeWithLayer18.html" name="invokeWithLayer18">Invoke this method with layer 18</a>
|
||||
|
||||
* <a href="messages_addChatUser.html" name="messages_addChatUser">Add a user to a normal chat (use channels->inviteToChannel for supergroups)</a>
|
||||
|
||||
@ -136,8 +111,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_deleteMessages.html" name="messages_deleteMessages">Delete messages</a>
|
||||
|
||||
* <a href="messages_discardEncryption.html" name="messages_discardEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_editChatPhoto.html" name="messages_editChatPhoto">Edit the photo of a normal chat (not supergroup)</a>
|
||||
|
||||
* <a href="messages_editChatTitle.html" name="messages_editChatTitle">Edit the title of a normal chat (not supergroup)</a>
|
||||
@ -148,12 +121,8 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_getChats.html" name="messages_getChats">Get info about chats</a>
|
||||
|
||||
* <a href="messages_getDhConfig.html" name="messages_getDhConfig">You cannot use this method directly, instead use $MadelineProto->get_dh_config();</a>
|
||||
|
||||
* <a href="messages_getDialogs.html" name="messages_getDialogs">Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html</a>
|
||||
|
||||
* <a href="messages_getFullChat.html" name="messages_getFullChat">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="messages_getHistory.html" name="messages_getHistory">Get previous messages of a group</a>
|
||||
|
||||
* <a href="messages_getMessages.html" name="messages_getMessages">Get messages</a>
|
||||
@ -166,12 +135,8 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_receivedMessages.html" name="messages_receivedMessages">Mark messages as read</a>
|
||||
|
||||
* <a href="messages_receivedQueue.html" name="messages_receivedQueue">You cannot use this method directly</a>
|
||||
|
||||
* <a href="messages_reportSpam.html" name="messages_reportSpam">Report a peer for spam</a>
|
||||
|
||||
* <a href="messages_requestEncryption.html" name="messages_requestEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_search.html" name="messages_search">Search peers or messages</a>
|
||||
|
||||
* <a href="messages_sendBroadcast.html" name="messages_sendBroadcast">Send a message to all users in the chat list</a>
|
||||
@ -190,8 +155,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_setTyping.html" name="messages_setTyping">Change typing status</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
|
||||
* <a href="photos_getUserPhotos.html" name="photos_getUserPhotos">Get the profile photos of a user</a>
|
||||
|
||||
@ -199,20 +163,5 @@ description: What do you want to do?
|
||||
|
||||
* <a href="photos_uploadProfilePhoto.html" name="photos_uploadProfilePhoto">Upload profile photo</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="updates_getDifference.html" name="updates_getDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getState.html" name="updates_getState">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="upload_getFile.html" name="upload_getFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveBigFilePart.html" name="upload_saveBigFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveFilePart.html" name="upload_saveFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="users_getFullUser.html" name="users_getFullUser">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="users_getUsers.html" name="users_getUsers">Get info about users</a>
|
||||
|
||||
|
@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
|
||||
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="account_checkUsername"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="account_checkUsername"></a>
|
||||
|
||||
$MadelineProto->[account->getNotifySettings](account_getNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), \]) === [$PeerNotifySettings](../types/PeerNotifySettings.md)<a name="account_getNotifySettings"></a>
|
||||
|
||||
@ -55,7 +56,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
|
||||
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
|
||||
$MadelineProto->[auth->checkPhone](auth_checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth\_CheckedPhone](../types/auth_CheckedPhone.md)<a name="auth_checkPhone"></a>
|
||||
|
||||
@ -80,7 +82,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
|
||||
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signUp"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
|
||||
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)<a name="contacts_deleteContact"></a>
|
||||
|
||||
@ -105,7 +108,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
|
||||
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_unblock"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||
|
||||
$MadelineProto->[help->getConfig](help_getConfig.md)(\[\]) === [$Config](../types/Config.md)<a name="help_getConfig"></a>
|
||||
|
||||
@ -118,19 +122,24 @@ $MadelineProto->[help->getSupport](help_getSupport.md)(\[\]) === [$help\_Support
|
||||
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)<a name="help_saveAppLog"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithLayer18](invokeWithLayer18.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer18"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithLayer18](invokeWithLayer18.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer18"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
|
||||
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$messages\_StatedMessage](../types/messages_StatedMessage.md)<a name="messages_addChatUser"></a>
|
||||
|
||||
@ -197,7 +206,8 @@ $MadelineProto->[messages->setEncryptedTyping](messages_setEncryptedTyping.md)(\
|
||||
$MadelineProto->[messages->setTyping](messages_setTyping.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]) === [$Bool](../types/Bool.md)<a name="messages_setTyping"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
|
||||
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)<a name="photos_getUserPhotos"></a>
|
||||
|
||||
@ -206,19 +216,22 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
|
||||
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md)<a name="photos_uploadProfilePhoto"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)<a name="updates_getState"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
|
||||
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveBigFilePart"></a>
|
||||
|
||||
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveFilePart"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
|
||||
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)<a name="users_getUsers"></a>
|
||||
|
||||
|
@ -27,8 +27,7 @@ description: What do you want to do?
|
||||
|
||||
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
||||
|
||||
***
|
||||
<br><br>* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
|
||||
* <a href="account_checkUsername.html" name="account_checkUsername">Check if this username is available</a>
|
||||
|
||||
@ -66,33 +65,17 @@ description: What do you want to do?
|
||||
|
||||
* <a href="account_updateUsername.html" name="account_updateUsername">Update this user's username</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="auth_bindTempAuthKey.html" name="auth_bindTempAuthKey">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</a>
|
||||
|
||||
* <a href="auth_checkPhone.html" name="auth_checkPhone">Check if this phone number is registered on telegram</a>
|
||||
|
||||
* <a href="auth_exportAuthorization.html" name="auth_exportAuthorization">You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importAuthorization.html" name="auth_importAuthorization">You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_logOut.html" name="auth_logOut">You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_resetAuthorizations.html" name="auth_resetAuthorizations">Delete all logged-in sessions.</a>
|
||||
|
||||
* <a href="auth_sendCall.html" name="auth_sendCall">Send verification phone call</a>
|
||||
|
||||
* <a href="auth_sendCode.html" name="auth_sendCode">Use phone_login instead</a>
|
||||
|
||||
* <a href="auth_sendInvites.html" name="auth_sendInvites">Invite friends to telegram!</a>
|
||||
|
||||
* <a href="auth_sendSms.html" name="auth_sendSms">Send SMS verification code</a>
|
||||
|
||||
* <a href="auth_signIn.html" name="auth_signIn">You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_signUp.html" name="auth_signUp">You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
|
||||
* <a href="contacts_deleteContact.html" name="contacts_deleteContact">Delete a contact</a>
|
||||
|
||||
@ -112,14 +95,11 @@ description: What do you want to do?
|
||||
|
||||
* <a href="contacts_importContacts.html" name="contacts_importContacts">Add phone number as contact</a>
|
||||
|
||||
* <a href="contacts_resolveUsername.html" name="contacts_resolveUsername">You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="contacts_search.html" name="contacts_search">Search contacts</a>
|
||||
|
||||
* <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates</a>
|
||||
* <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates</a>
|
||||
|
||||
* <a href="help_getConfig.html" name="help_getConfig">Get server configuration</a>
|
||||
|
||||
@ -131,20 +111,13 @@ description: What do you want to do?
|
||||
|
||||
* <a href="help_saveAppLog.html" name="help_saveAppLog">Log data for developer of this app</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="messages_acceptEncryption.html" name="messages_acceptEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
|
||||
* <a href="messages_addChatUser.html" name="messages_addChatUser">Add a user to a normal chat (use channels->inviteToChannel for supergroups)</a>
|
||||
|
||||
@ -156,8 +129,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_deleteMessages.html" name="messages_deleteMessages">Delete messages</a>
|
||||
|
||||
* <a href="messages_discardEncryption.html" name="messages_discardEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_editChatPhoto.html" name="messages_editChatPhoto">Edit the photo of a normal chat (not supergroup)</a>
|
||||
|
||||
* <a href="messages_editChatTitle.html" name="messages_editChatTitle">Edit the title of a normal chat (not supergroup)</a>
|
||||
@ -170,12 +141,8 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_getChats.html" name="messages_getChats">Get info about chats</a>
|
||||
|
||||
* <a href="messages_getDhConfig.html" name="messages_getDhConfig">You cannot use this method directly, instead use $MadelineProto->get_dh_config();</a>
|
||||
|
||||
* <a href="messages_getDialogs.html" name="messages_getDialogs">Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html</a>
|
||||
|
||||
* <a href="messages_getFullChat.html" name="messages_getFullChat">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="messages_getHistory.html" name="messages_getHistory">Get previous messages of a group</a>
|
||||
|
||||
* <a href="messages_getMessages.html" name="messages_getMessages">Get messages</a>
|
||||
@ -190,12 +157,8 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_receivedMessages.html" name="messages_receivedMessages">Mark messages as read</a>
|
||||
|
||||
* <a href="messages_receivedQueue.html" name="messages_receivedQueue">You cannot use this method directly</a>
|
||||
|
||||
* <a href="messages_reportSpam.html" name="messages_reportSpam">Report a peer for spam</a>
|
||||
|
||||
* <a href="messages_requestEncryption.html" name="messages_requestEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_search.html" name="messages_search">Search peers or messages</a>
|
||||
|
||||
* <a href="messages_sendBroadcast.html" name="messages_sendBroadcast">Send a message to all users in the chat list</a>
|
||||
@ -214,8 +177,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_setTyping.html" name="messages_setTyping">Change typing status</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
|
||||
* <a href="photos_getUserPhotos.html" name="photos_getUserPhotos">Get the profile photos of a user</a>
|
||||
|
||||
@ -223,20 +185,5 @@ description: What do you want to do?
|
||||
|
||||
* <a href="photos_uploadProfilePhoto.html" name="photos_uploadProfilePhoto">Upload profile photo</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="updates_getDifference.html" name="updates_getDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getState.html" name="updates_getState">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="upload_getFile.html" name="upload_getFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveBigFilePart.html" name="upload_saveBigFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveFilePart.html" name="upload_saveFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="users_getFullUser.html" name="users_getFullUser">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="users_getUsers.html" name="users_getUsers">Get info about users</a>
|
||||
|
||||
|
@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
|
||||
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
|
||||
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="account_checkUsername"></a>
|
||||
|
||||
@ -73,7 +74,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
|
||||
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
|
||||
$MadelineProto->[auth->checkPhone](auth_checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth\_CheckedPhone](../types/auth_CheckedPhone.md)<a name="auth_checkPhone"></a>
|
||||
|
||||
@ -98,7 +100,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
|
||||
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signUp"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
|
||||
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)<a name="contacts_deleteContact"></a>
|
||||
|
||||
@ -125,7 +128,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
|
||||
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_unblock"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||
|
||||
$MadelineProto->[help->getConfig](help_getConfig.md)(\[\]) === [$Config](../types/Config.md)<a name="help_getConfig"></a>
|
||||
|
||||
@ -138,19 +142,24 @@ $MadelineProto->[help->getSupport](help_getSupport.md)(\[\]) === [$help\_Support
|
||||
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)<a name="help_saveAppLog"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
|
||||
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$messages\_StatedMessage](../types/messages_StatedMessage.md)<a name="messages_addChatUser"></a>
|
||||
|
||||
@ -221,7 +230,8 @@ $MadelineProto->[messages->setEncryptedTyping](messages_setEncryptedTyping.md)(\
|
||||
$MadelineProto->[messages->setTyping](messages_setTyping.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]) === [$Bool](../types/Bool.md)<a name="messages_setTyping"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
|
||||
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)<a name="photos_getUserPhotos"></a>
|
||||
|
||||
@ -230,19 +240,22 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
|
||||
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md)<a name="photos_uploadProfilePhoto"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)<a name="updates_getState"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
|
||||
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveBigFilePart"></a>
|
||||
|
||||
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveFilePart"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
|
||||
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)<a name="users_getUsers"></a>
|
||||
|
||||
|
@ -27,8 +27,7 @@ description: What do you want to do?
|
||||
|
||||
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
||||
|
||||
***
|
||||
<br><br>* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
|
||||
* <a href="account_checkUsername.html" name="account_checkUsername">Check if this username is available</a>
|
||||
|
||||
@ -68,35 +67,17 @@ description: What do you want to do?
|
||||
|
||||
* <a href="account_updateUsername.html" name="account_updateUsername">Update this user's username</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="auth_bindTempAuthKey.html" name="auth_bindTempAuthKey">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</a>
|
||||
|
||||
* <a href="auth_checkPassword.html" name="auth_checkPassword">You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_checkPhone.html" name="auth_checkPhone">Check if this phone number is registered on telegram</a>
|
||||
|
||||
* <a href="auth_exportAuthorization.html" name="auth_exportAuthorization">You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importAuthorization.html" name="auth_importAuthorization">You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_logOut.html" name="auth_logOut">You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_resetAuthorizations.html" name="auth_resetAuthorizations">Delete all logged-in sessions.</a>
|
||||
|
||||
* <a href="auth_sendCall.html" name="auth_sendCall">Send verification phone call</a>
|
||||
|
||||
* <a href="auth_sendCode.html" name="auth_sendCode">Use phone_login instead</a>
|
||||
|
||||
* <a href="auth_sendInvites.html" name="auth_sendInvites">Invite friends to telegram!</a>
|
||||
|
||||
* <a href="auth_sendSms.html" name="auth_sendSms">Send SMS verification code</a>
|
||||
|
||||
* <a href="auth_signIn.html" name="auth_signIn">You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_signUp.html" name="auth_signUp">You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
|
||||
* <a href="contacts_deleteContact.html" name="contacts_deleteContact">Delete a contact</a>
|
||||
|
||||
@ -116,14 +97,11 @@ description: What do you want to do?
|
||||
|
||||
* <a href="contacts_importContacts.html" name="contacts_importContacts">Add phone number as contact</a>
|
||||
|
||||
* <a href="contacts_resolveUsername.html" name="contacts_resolveUsername">You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="contacts_search.html" name="contacts_search">Search contacts</a>
|
||||
|
||||
* <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="geochats_checkin.html" name="geochats_checkin">Join a geochat</a>
|
||||
* <a href="geochats_checkin.html" name="geochats_checkin">Join a geochat</a>
|
||||
|
||||
* <a href="geochats_createGeoChat.html" name="geochats_createGeoChat">Create geochat</a>
|
||||
|
||||
@ -147,8 +125,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="geochats_setTyping.html" name="geochats_setTyping">Send typing notification to geochat</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates</a>
|
||||
* <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates</a>
|
||||
|
||||
* <a href="help_getConfig.html" name="help_getConfig">Get server configuration</a>
|
||||
|
||||
@ -160,20 +137,13 @@ description: What do you want to do?
|
||||
|
||||
* <a href="help_saveAppLog.html" name="help_saveAppLog">Log data for developer of this app</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="messages_acceptEncryption.html" name="messages_acceptEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
|
||||
* <a href="messages_addChatUser.html" name="messages_addChatUser">Add a user to a normal chat (use channels->inviteToChannel for supergroups)</a>
|
||||
|
||||
@ -185,8 +155,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_deleteMessages.html" name="messages_deleteMessages">Delete messages</a>
|
||||
|
||||
* <a href="messages_discardEncryption.html" name="messages_discardEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_editChatPhoto.html" name="messages_editChatPhoto">Edit the photo of a normal chat (not supergroup)</a>
|
||||
|
||||
* <a href="messages_editChatTitle.html" name="messages_editChatTitle">Edit the title of a normal chat (not supergroup)</a>
|
||||
@ -199,12 +167,8 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_getChats.html" name="messages_getChats">Get info about chats</a>
|
||||
|
||||
* <a href="messages_getDhConfig.html" name="messages_getDhConfig">You cannot use this method directly, instead use $MadelineProto->get_dh_config();</a>
|
||||
|
||||
* <a href="messages_getDialogs.html" name="messages_getDialogs">Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html</a>
|
||||
|
||||
* <a href="messages_getFullChat.html" name="messages_getFullChat">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="messages_getHistory.html" name="messages_getHistory">Get previous messages of a group</a>
|
||||
|
||||
* <a href="messages_getMessages.html" name="messages_getMessages">Get messages</a>
|
||||
@ -219,10 +183,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_receivedMessages.html" name="messages_receivedMessages">Mark messages as read</a>
|
||||
|
||||
* <a href="messages_receivedQueue.html" name="messages_receivedQueue">You cannot use this method directly</a>
|
||||
|
||||
* <a href="messages_requestEncryption.html" name="messages_requestEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_search.html" name="messages_search">Search peers or messages</a>
|
||||
|
||||
* <a href="messages_sendBroadcast.html" name="messages_sendBroadcast">Send a message to all users in the chat list</a>
|
||||
@ -241,8 +201,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_setTyping.html" name="messages_setTyping">Change typing status</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
|
||||
* <a href="photos_getUserPhotos.html" name="photos_getUserPhotos">Get the profile photos of a user</a>
|
||||
|
||||
@ -250,20 +209,5 @@ description: What do you want to do?
|
||||
|
||||
* <a href="photos_uploadProfilePhoto.html" name="photos_uploadProfilePhoto">Upload profile photo</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="updates_getDifference.html" name="updates_getDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getState.html" name="updates_getState">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="upload_getFile.html" name="upload_getFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveBigFilePart.html" name="upload_saveBigFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveFilePart.html" name="upload_saveFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="users_getFullUser.html" name="users_getFullUser">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="users_getUsers.html" name="users_getUsers">Get info about users</a>
|
||||
|
||||
|
@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
|
||||
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
|
||||
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="account_checkUsername"></a>
|
||||
|
||||
@ -75,7 +76,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
|
||||
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
|
||||
$MadelineProto->[auth->checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_checkPassword"></a>
|
||||
|
||||
@ -102,7 +104,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
|
||||
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signUp"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
|
||||
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)<a name="contacts_deleteContact"></a>
|
||||
|
||||
@ -129,7 +132,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
|
||||
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_unblock"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[geochats->checkin](geochats_checkin.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md)<a name="geochats_checkin"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[geochats->checkin](geochats_checkin.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md)<a name="geochats_checkin"></a>
|
||||
|
||||
$MadelineProto->[geochats->createGeoChat](geochats_createGeoChat.md)(\['title' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'address' => [string](../types/string.md), 'venue' => [string](../types/string.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md)<a name="geochats_createGeoChat"></a>
|
||||
|
||||
@ -154,7 +158,8 @@ $MadelineProto->[geochats->sendMessage](geochats_sendMessage.md)(\['peer' => [In
|
||||
$MadelineProto->[geochats->setTyping](geochats_setTyping.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'typing' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)<a name="geochats_setTyping"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||
|
||||
$MadelineProto->[help->getConfig](help_getConfig.md)(\[\]) === [$Config](../types/Config.md)<a name="help_getConfig"></a>
|
||||
|
||||
@ -167,19 +172,24 @@ $MadelineProto->[help->getSupport](help_getSupport.md)(\[\]) === [$help\_Support
|
||||
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)<a name="help_saveAppLog"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
|
||||
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$messages\_StatedMessage](../types/messages_StatedMessage.md)<a name="messages_addChatUser"></a>
|
||||
|
||||
@ -248,7 +258,8 @@ $MadelineProto->[messages->setEncryptedTyping](messages_setEncryptedTyping.md)(\
|
||||
$MadelineProto->[messages->setTyping](messages_setTyping.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]) === [$Bool](../types/Bool.md)<a name="messages_setTyping"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
|
||||
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)<a name="photos_getUserPhotos"></a>
|
||||
|
||||
@ -257,19 +268,22 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
|
||||
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md)<a name="photos_uploadProfilePhoto"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)<a name="updates_getState"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
|
||||
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveBigFilePart"></a>
|
||||
|
||||
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveFilePart"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
|
||||
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)<a name="users_getUsers"></a>
|
||||
|
||||
|
@ -27,8 +27,7 @@ description: What do you want to do?
|
||||
|
||||
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
||||
|
||||
***
|
||||
<br><br>* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
|
||||
* <a href="account_checkUsername.html" name="account_checkUsername">Check if this username is available</a>
|
||||
|
||||
@ -74,19 +73,8 @@ description: What do you want to do?
|
||||
|
||||
* <a href="account_updateUsername.html" name="account_updateUsername">Update this user's username</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="auth_bindTempAuthKey.html" name="auth_bindTempAuthKey">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</a>
|
||||
|
||||
* <a href="auth_checkPassword.html" name="auth_checkPassword">You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_checkPhone.html" name="auth_checkPhone">Check if this phone number is registered on telegram</a>
|
||||
|
||||
* <a href="auth_exportAuthorization.html" name="auth_exportAuthorization">You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importAuthorization.html" name="auth_importAuthorization">You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_logOut.html" name="auth_logOut">You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_recoverPassword.html" name="auth_recoverPassword">Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account</a>
|
||||
|
||||
* <a href="auth_requestPasswordRecovery.html" name="auth_requestPasswordRecovery">Send an email to recover the 2FA password</a>
|
||||
@ -95,18 +83,11 @@ description: What do you want to do?
|
||||
|
||||
* <a href="auth_sendCall.html" name="auth_sendCall">Send verification phone call</a>
|
||||
|
||||
* <a href="auth_sendCode.html" name="auth_sendCode">Use phone_login instead</a>
|
||||
|
||||
* <a href="auth_sendInvites.html" name="auth_sendInvites">Invite friends to telegram!</a>
|
||||
|
||||
* <a href="auth_sendSms.html" name="auth_sendSms">Send SMS verification code</a>
|
||||
|
||||
* <a href="auth_signIn.html" name="auth_signIn">You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_signUp.html" name="auth_signUp">You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
|
||||
* <a href="contacts_deleteContact.html" name="contacts_deleteContact">Delete a contact</a>
|
||||
|
||||
@ -126,14 +107,11 @@ description: What do you want to do?
|
||||
|
||||
* <a href="contacts_importContacts.html" name="contacts_importContacts">Add phone number as contact</a>
|
||||
|
||||
* <a href="contacts_resolveUsername.html" name="contacts_resolveUsername">You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="contacts_search.html" name="contacts_search">Search contacts</a>
|
||||
|
||||
* <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="geochats_checkin.html" name="geochats_checkin">Join a geochat</a>
|
||||
* <a href="geochats_checkin.html" name="geochats_checkin">Join a geochat</a>
|
||||
|
||||
* <a href="geochats_createGeoChat.html" name="geochats_createGeoChat">Create geochat</a>
|
||||
|
||||
@ -157,8 +135,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="geochats_setTyping.html" name="geochats_setTyping">Send typing notification to geochat</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates</a>
|
||||
* <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates</a>
|
||||
|
||||
* <a href="help_getConfig.html" name="help_getConfig">Get server configuration</a>
|
||||
|
||||
@ -170,20 +147,13 @@ description: What do you want to do?
|
||||
|
||||
* <a href="help_saveAppLog.html" name="help_saveAppLog">Log data for developer of this app</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="messages_acceptEncryption.html" name="messages_acceptEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
|
||||
* <a href="messages_addChatUser.html" name="messages_addChatUser">Add a user to a normal chat (use channels->inviteToChannel for supergroups)</a>
|
||||
|
||||
@ -195,8 +165,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_deleteMessages.html" name="messages_deleteMessages">Delete messages</a>
|
||||
|
||||
* <a href="messages_discardEncryption.html" name="messages_discardEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_editChatPhoto.html" name="messages_editChatPhoto">Edit the photo of a normal chat (not supergroup)</a>
|
||||
|
||||
* <a href="messages_editChatTitle.html" name="messages_editChatTitle">Edit the title of a normal chat (not supergroup)</a>
|
||||
@ -209,12 +177,8 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_getChats.html" name="messages_getChats">Get info about chats</a>
|
||||
|
||||
* <a href="messages_getDhConfig.html" name="messages_getDhConfig">You cannot use this method directly, instead use $MadelineProto->get_dh_config();</a>
|
||||
|
||||
* <a href="messages_getDialogs.html" name="messages_getDialogs">Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html</a>
|
||||
|
||||
* <a href="messages_getFullChat.html" name="messages_getFullChat">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="messages_getHistory.html" name="messages_getHistory">Get previous messages of a group</a>
|
||||
|
||||
* <a href="messages_getMessages.html" name="messages_getMessages">Get messages</a>
|
||||
@ -231,10 +195,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_receivedMessages.html" name="messages_receivedMessages">Mark messages as read</a>
|
||||
|
||||
* <a href="messages_receivedQueue.html" name="messages_receivedQueue">You cannot use this method directly</a>
|
||||
|
||||
* <a href="messages_requestEncryption.html" name="messages_requestEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_search.html" name="messages_search">Search peers or messages</a>
|
||||
|
||||
* <a href="messages_sendBroadcast.html" name="messages_sendBroadcast">Send a message to all users in the chat list</a>
|
||||
@ -253,8 +213,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_setTyping.html" name="messages_setTyping">Change typing status</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
|
||||
* <a href="photos_getUserPhotos.html" name="photos_getUserPhotos">Get the profile photos of a user</a>
|
||||
|
||||
@ -262,20 +221,5 @@ description: What do you want to do?
|
||||
|
||||
* <a href="photos_uploadProfilePhoto.html" name="photos_uploadProfilePhoto">Upload profile photo</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="updates_getDifference.html" name="updates_getDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getState.html" name="updates_getState">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="upload_getFile.html" name="upload_getFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveBigFilePart.html" name="upload_saveBigFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveFilePart.html" name="upload_saveFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="users_getFullUser.html" name="users_getFullUser">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="users_getUsers.html" name="users_getUsers">Get info about users</a>
|
||||
|
||||
|
@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
|
||||
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
|
||||
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="account_checkUsername"></a>
|
||||
|
||||
@ -81,7 +82,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
|
||||
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
|
||||
$MadelineProto->[auth->checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_checkPassword"></a>
|
||||
|
||||
@ -112,7 +114,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
|
||||
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signUp"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
|
||||
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)<a name="contacts_deleteContact"></a>
|
||||
|
||||
@ -139,7 +142,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
|
||||
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_unblock"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[geochats->checkin](geochats_checkin.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md)<a name="geochats_checkin"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[geochats->checkin](geochats_checkin.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md)<a name="geochats_checkin"></a>
|
||||
|
||||
$MadelineProto->[geochats->createGeoChat](geochats_createGeoChat.md)(\['title' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'address' => [string](../types/string.md), 'venue' => [string](../types/string.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md)<a name="geochats_createGeoChat"></a>
|
||||
|
||||
@ -164,7 +168,8 @@ $MadelineProto->[geochats->sendMessage](geochats_sendMessage.md)(\['peer' => [In
|
||||
$MadelineProto->[geochats->setTyping](geochats_setTyping.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'typing' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)<a name="geochats_setTyping"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||
|
||||
$MadelineProto->[help->getConfig](help_getConfig.md)(\[\]) === [$Config](../types/Config.md)<a name="help_getConfig"></a>
|
||||
|
||||
@ -177,19 +182,24 @@ $MadelineProto->[help->getSupport](help_getSupport.md)(\[\]) === [$help\_Support
|
||||
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)<a name="help_saveAppLog"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
|
||||
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="messages_addChatUser"></a>
|
||||
|
||||
@ -260,7 +270,8 @@ $MadelineProto->[messages->setEncryptedTyping](messages_setEncryptedTyping.md)(\
|
||||
$MadelineProto->[messages->setTyping](messages_setTyping.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]) === [$Bool](../types/Bool.md)<a name="messages_setTyping"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
|
||||
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)<a name="photos_getUserPhotos"></a>
|
||||
|
||||
@ -269,19 +280,22 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
|
||||
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md)<a name="photos_uploadProfilePhoto"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)<a name="updates_getState"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
|
||||
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveBigFilePart"></a>
|
||||
|
||||
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveFilePart"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
|
||||
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)<a name="users_getUsers"></a>
|
||||
|
||||
|
@ -27,8 +27,7 @@ description: What do you want to do?
|
||||
|
||||
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
||||
|
||||
***
|
||||
<br><br>* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
|
||||
* <a href="account_checkUsername.html" name="account_checkUsername">Check if this username is available</a>
|
||||
|
||||
@ -74,21 +73,8 @@ description: What do you want to do?
|
||||
|
||||
* <a href="account_updateUsername.html" name="account_updateUsername">Update this user's username</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="auth_bindTempAuthKey.html" name="auth_bindTempAuthKey">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</a>
|
||||
|
||||
* <a href="auth_checkPassword.html" name="auth_checkPassword">You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_checkPhone.html" name="auth_checkPhone">Check if this phone number is registered on telegram</a>
|
||||
|
||||
* <a href="auth_exportAuthorization.html" name="auth_exportAuthorization">You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importAuthorization.html" name="auth_importAuthorization">You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importBotAuthorization.html" name="auth_importBotAuthorization">You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_logOut.html" name="auth_logOut">You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_recoverPassword.html" name="auth_recoverPassword">Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account</a>
|
||||
|
||||
* <a href="auth_requestPasswordRecovery.html" name="auth_requestPasswordRecovery">Send an email to recover the 2FA password</a>
|
||||
@ -97,18 +83,11 @@ description: What do you want to do?
|
||||
|
||||
* <a href="auth_sendCall.html" name="auth_sendCall">Send verification phone call</a>
|
||||
|
||||
* <a href="auth_sendCode.html" name="auth_sendCode">Use phone_login instead</a>
|
||||
|
||||
* <a href="auth_sendInvites.html" name="auth_sendInvites">Invite friends to telegram!</a>
|
||||
|
||||
* <a href="auth_sendSms.html" name="auth_sendSms">Send SMS verification code</a>
|
||||
|
||||
* <a href="auth_signIn.html" name="auth_signIn">You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_signUp.html" name="auth_signUp">You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
|
||||
* <a href="contacts_deleteContact.html" name="contacts_deleteContact">Delete a contact</a>
|
||||
|
||||
@ -128,14 +107,11 @@ description: What do you want to do?
|
||||
|
||||
* <a href="contacts_importContacts.html" name="contacts_importContacts">Add phone number as contact</a>
|
||||
|
||||
* <a href="contacts_resolveUsername.html" name="contacts_resolveUsername">You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="contacts_search.html" name="contacts_search">Search contacts</a>
|
||||
|
||||
* <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="geochats_checkin.html" name="geochats_checkin">Join a geochat</a>
|
||||
* <a href="geochats_checkin.html" name="geochats_checkin">Join a geochat</a>
|
||||
|
||||
* <a href="geochats_createGeoChat.html" name="geochats_createGeoChat">Create geochat</a>
|
||||
|
||||
@ -159,8 +135,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="geochats_setTyping.html" name="geochats_setTyping">Send typing notification to geochat</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
|
||||
* <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates</a>
|
||||
|
||||
@ -174,23 +149,15 @@ description: What do you want to do?
|
||||
|
||||
* <a href="help_saveAppLog.html" name="help_saveAppLog">Log data for developer of this app</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="messages_acceptEncryption.html" name="messages_acceptEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
* <a href="messages_addChatUser.html" name="messages_addChatUser">Add a user to a normal chat (use channels->inviteToChannel for supergroups)</a>
|
||||
|
||||
@ -204,8 +171,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_deleteMessages.html" name="messages_deleteMessages">Delete messages</a>
|
||||
|
||||
* <a href="messages_discardEncryption.html" name="messages_discardEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_editChatPhoto.html" name="messages_editChatPhoto">Edit the photo of a normal chat (not supergroup)</a>
|
||||
|
||||
* <a href="messages_editChatTitle.html" name="messages_editChatTitle">Edit the title of a normal chat (not supergroup)</a>
|
||||
@ -220,12 +185,8 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_getChats.html" name="messages_getChats">Get info about chats</a>
|
||||
|
||||
* <a href="messages_getDhConfig.html" name="messages_getDhConfig">You cannot use this method directly, instead use $MadelineProto->get_dh_config();</a>
|
||||
|
||||
* <a href="messages_getDialogs.html" name="messages_getDialogs">Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html</a>
|
||||
|
||||
* <a href="messages_getFullChat.html" name="messages_getFullChat">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="messages_getHistory.html" name="messages_getHistory">Get previous messages of a group</a>
|
||||
|
||||
* <a href="messages_getMessages.html" name="messages_getMessages">Get messages</a>
|
||||
@ -248,10 +209,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_receivedMessages.html" name="messages_receivedMessages">Mark messages as read</a>
|
||||
|
||||
* <a href="messages_receivedQueue.html" name="messages_receivedQueue">You cannot use this method directly</a>
|
||||
|
||||
* <a href="messages_requestEncryption.html" name="messages_requestEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_search.html" name="messages_search">Search peers or messages</a>
|
||||
|
||||
* <a href="messages_sendBroadcast.html" name="messages_sendBroadcast">Send a message to all users in the chat list</a>
|
||||
@ -274,8 +231,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_uninstallStickerSet.html" name="messages_uninstallStickerSet">Remove a sticker set</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
|
||||
* <a href="photos_getUserPhotos.html" name="photos_getUserPhotos">Get the profile photos of a user</a>
|
||||
|
||||
@ -283,20 +239,5 @@ description: What do you want to do?
|
||||
|
||||
* <a href="photos_uploadProfilePhoto.html" name="photos_uploadProfilePhoto">Upload profile photo</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="updates_getDifference.html" name="updates_getDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getState.html" name="updates_getState">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="upload_getFile.html" name="upload_getFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveBigFilePart.html" name="upload_saveBigFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveFilePart.html" name="upload_saveFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="users_getFullUser.html" name="users_getFullUser">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="users_getUsers.html" name="users_getUsers">Get info about users</a>
|
||||
|
||||
|
@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
|
||||
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
|
||||
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="account_checkUsername"></a>
|
||||
|
||||
@ -81,7 +82,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
|
||||
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
|
||||
$MadelineProto->[auth->checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_checkPassword"></a>
|
||||
|
||||
@ -114,7 +116,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
|
||||
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signUp"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
|
||||
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)<a name="contacts_deleteContact"></a>
|
||||
|
||||
@ -141,7 +144,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
|
||||
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_unblock"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[geochats->checkin](geochats_checkin.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md)<a name="geochats_checkin"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[geochats->checkin](geochats_checkin.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md)<a name="geochats_checkin"></a>
|
||||
|
||||
$MadelineProto->[geochats->createGeoChat](geochats_createGeoChat.md)(\['title' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'address' => [string](../types/string.md), 'venue' => [string](../types/string.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md)<a name="geochats_createGeoChat"></a>
|
||||
|
||||
@ -166,7 +170,8 @@ $MadelineProto->[geochats->sendMessage](geochats_sendMessage.md)(\['peer' => [In
|
||||
$MadelineProto->[geochats->setTyping](geochats_setTyping.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'typing' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)<a name="geochats_setTyping"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)<a name="help_getAppChangelog"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)<a name="help_getAppChangelog"></a>
|
||||
|
||||
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||
|
||||
@ -181,22 +186,28 @@ $MadelineProto->[help->getSupport](help_getSupport.md)(\[\]) === [$help\_Support
|
||||
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)<a name="help_saveAppLog"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
|
||||
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="messages_addChatUser"></a>
|
||||
|
||||
@ -281,7 +292,8 @@ $MadelineProto->[messages->startBot](messages_startBot.md)(\['bot' => [InputUser
|
||||
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)<a name="messages_uninstallStickerSet"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
|
||||
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)<a name="photos_getUserPhotos"></a>
|
||||
|
||||
@ -290,19 +302,22 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
|
||||
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md)<a name="photos_uploadProfilePhoto"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)<a name="updates_getState"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
|
||||
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveBigFilePart"></a>
|
||||
|
||||
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveFilePart"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
|
||||
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)<a name="users_getUsers"></a>
|
||||
|
||||
|
@ -27,8 +27,7 @@ description: What do you want to do?
|
||||
|
||||
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
||||
|
||||
***
|
||||
<br><br>* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
|
||||
* <a href="account_checkUsername.html" name="account_checkUsername">Check if this username is available</a>
|
||||
|
||||
@ -74,21 +73,8 @@ description: What do you want to do?
|
||||
|
||||
* <a href="account_updateUsername.html" name="account_updateUsername">Update this user's username</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="auth_bindTempAuthKey.html" name="auth_bindTempAuthKey">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</a>
|
||||
|
||||
* <a href="auth_checkPassword.html" name="auth_checkPassword">You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_checkPhone.html" name="auth_checkPhone">Check if this phone number is registered on telegram</a>
|
||||
|
||||
* <a href="auth_exportAuthorization.html" name="auth_exportAuthorization">You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importAuthorization.html" name="auth_importAuthorization">You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importBotAuthorization.html" name="auth_importBotAuthorization">You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_logOut.html" name="auth_logOut">You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_recoverPassword.html" name="auth_recoverPassword">Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account</a>
|
||||
|
||||
* <a href="auth_requestPasswordRecovery.html" name="auth_requestPasswordRecovery">Send an email to recover the 2FA password</a>
|
||||
@ -97,18 +83,11 @@ description: What do you want to do?
|
||||
|
||||
* <a href="auth_sendCall.html" name="auth_sendCall">Send verification phone call</a>
|
||||
|
||||
* <a href="auth_sendCode.html" name="auth_sendCode">Use phone_login instead</a>
|
||||
|
||||
* <a href="auth_sendInvites.html" name="auth_sendInvites">Invite friends to telegram!</a>
|
||||
|
||||
* <a href="auth_sendSms.html" name="auth_sendSms">Send SMS verification code</a>
|
||||
|
||||
* <a href="auth_signIn.html" name="auth_signIn">You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_signUp.html" name="auth_signUp">You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
|
||||
* <a href="channels_createChannel.html" name="channels_createChannel">Create channel/supergroup</a>
|
||||
|
||||
@ -132,8 +111,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_getDialogs.html" name="channels_getDialogs">Get channel dialogs</a>
|
||||
|
||||
* <a href="channels_getFullChannel.html" name="channels_getFullChannel">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="channels_getImportantHistory.html" name="channels_getImportantHistory">Get important channel/supergroup history</a>
|
||||
|
||||
* <a href="channels_getMessages.html" name="channels_getMessages">Get channel/supergroup messages</a>
|
||||
@ -158,8 +135,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_updateUsername.html" name="channels_updateUsername">Update the username of a supergroup/channel</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
|
||||
* <a href="contacts_deleteContact.html" name="contacts_deleteContact">Delete a contact</a>
|
||||
|
||||
@ -179,14 +155,11 @@ description: What do you want to do?
|
||||
|
||||
* <a href="contacts_importContacts.html" name="contacts_importContacts">Add phone number as contact</a>
|
||||
|
||||
* <a href="contacts_resolveUsername.html" name="contacts_resolveUsername">You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="contacts_search.html" name="contacts_search">Search contacts</a>
|
||||
|
||||
* <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
|
||||
* <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates</a>
|
||||
|
||||
@ -200,23 +173,15 @@ description: What do you want to do?
|
||||
|
||||
* <a href="help_saveAppLog.html" name="help_saveAppLog">Log data for developer of this app</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="messages_acceptEncryption.html" name="messages_acceptEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
* <a href="messages_addChatUser.html" name="messages_addChatUser">Add a user to a normal chat (use channels->inviteToChannel for supergroups)</a>
|
||||
|
||||
@ -230,8 +195,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_deleteMessages.html" name="messages_deleteMessages">Delete messages</a>
|
||||
|
||||
* <a href="messages_discardEncryption.html" name="messages_discardEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_editChatPhoto.html" name="messages_editChatPhoto">Edit the photo of a normal chat (not supergroup)</a>
|
||||
|
||||
* <a href="messages_editChatTitle.html" name="messages_editChatTitle">Edit the title of a normal chat (not supergroup)</a>
|
||||
@ -246,12 +209,8 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_getChats.html" name="messages_getChats">Get info about chats</a>
|
||||
|
||||
* <a href="messages_getDhConfig.html" name="messages_getDhConfig">You cannot use this method directly, instead use $MadelineProto->get_dh_config();</a>
|
||||
|
||||
* <a href="messages_getDialogs.html" name="messages_getDialogs">Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html</a>
|
||||
|
||||
* <a href="messages_getFullChat.html" name="messages_getFullChat">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="messages_getHistory.html" name="messages_getHistory">Get previous messages of a group</a>
|
||||
|
||||
* <a href="messages_getMessages.html" name="messages_getMessages">Get messages</a>
|
||||
@ -276,12 +235,8 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_receivedMessages.html" name="messages_receivedMessages">Mark messages as read</a>
|
||||
|
||||
* <a href="messages_receivedQueue.html" name="messages_receivedQueue">You cannot use this method directly</a>
|
||||
|
||||
* <a href="messages_reportSpam.html" name="messages_reportSpam">Report a peer for spam</a>
|
||||
|
||||
* <a href="messages_requestEncryption.html" name="messages_requestEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_search.html" name="messages_search">Search peers or messages</a>
|
||||
|
||||
* <a href="messages_sendBroadcast.html" name="messages_sendBroadcast">Send a message to all users in the chat list</a>
|
||||
@ -304,8 +259,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_uninstallStickerSet.html" name="messages_uninstallStickerSet">Remove a sticker set</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
|
||||
* <a href="photos_getUserPhotos.html" name="photos_getUserPhotos">Get the profile photos of a user</a>
|
||||
|
||||
@ -313,22 +267,5 @@ description: What do you want to do?
|
||||
|
||||
* <a href="photos_uploadProfilePhoto.html" name="photos_uploadProfilePhoto">Upload profile photo</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="updates_getChannelDifference.html" name="updates_getChannelDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getDifference.html" name="updates_getDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getState.html" name="updates_getState">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="upload_getFile.html" name="upload_getFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveBigFilePart.html" name="upload_saveBigFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveFilePart.html" name="upload_saveFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="users_getFullUser.html" name="users_getFullUser">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="users_getUsers.html" name="users_getUsers">Get info about users</a>
|
||||
|
||||
|
@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
|
||||
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
|
||||
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="account_checkUsername"></a>
|
||||
|
||||
@ -81,7 +82,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
|
||||
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
|
||||
$MadelineProto->[auth->checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_checkPassword"></a>
|
||||
|
||||
@ -114,7 +116,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
|
||||
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signUp"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
|
||||
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['title' => [string](../types/string.md), 'about' => [string](../types/string.md), 'users' => \[[InputUser](../types/InputUser.md)\], \]) === [$Updates](../types/Updates.md)<a name="channels_createChannel"></a>
|
||||
|
||||
@ -165,7 +168,8 @@ $MadelineProto->[channels->toggleComments](channels_toggleComments.md)(\['channe
|
||||
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
|
||||
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)<a name="contacts_deleteContact"></a>
|
||||
|
||||
@ -192,7 +196,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
|
||||
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_unblock"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)<a name="help_getAppChangelog"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)<a name="help_getAppChangelog"></a>
|
||||
|
||||
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||
|
||||
@ -207,22 +212,28 @@ $MadelineProto->[help->getSupport](help_getSupport.md)(\[\]) === [$help\_Support
|
||||
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)<a name="help_saveAppLog"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
|
||||
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="messages_addChatUser"></a>
|
||||
|
||||
@ -311,7 +322,8 @@ $MadelineProto->[messages->startBot](messages_startBot.md)(\['bot' => [InputUser
|
||||
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)<a name="messages_uninstallStickerSet"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
|
||||
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)<a name="photos_getUserPhotos"></a>
|
||||
|
||||
@ -320,21 +332,24 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
|
||||
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md)<a name="photos_uploadProfilePhoto"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)<a name="updates_getState"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
|
||||
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveBigFilePart"></a>
|
||||
|
||||
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveFilePart"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
|
||||
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)<a name="users_getUsers"></a>
|
||||
|
||||
|
@ -27,8 +27,7 @@ description: What do you want to do?
|
||||
|
||||
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
||||
|
||||
***
|
||||
<br><br>* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
|
||||
* <a href="account_checkUsername.html" name="account_checkUsername">Check if this username is available</a>
|
||||
|
||||
@ -74,21 +73,8 @@ description: What do you want to do?
|
||||
|
||||
* <a href="account_updateUsername.html" name="account_updateUsername">Update this user's username</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="auth_bindTempAuthKey.html" name="auth_bindTempAuthKey">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</a>
|
||||
|
||||
* <a href="auth_checkPassword.html" name="auth_checkPassword">You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_checkPhone.html" name="auth_checkPhone">Check if this phone number is registered on telegram</a>
|
||||
|
||||
* <a href="auth_exportAuthorization.html" name="auth_exportAuthorization">You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importAuthorization.html" name="auth_importAuthorization">You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importBotAuthorization.html" name="auth_importBotAuthorization">You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_logOut.html" name="auth_logOut">You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_recoverPassword.html" name="auth_recoverPassword">Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account</a>
|
||||
|
||||
* <a href="auth_requestPasswordRecovery.html" name="auth_requestPasswordRecovery">Send an email to recover the 2FA password</a>
|
||||
@ -97,18 +83,11 @@ description: What do you want to do?
|
||||
|
||||
* <a href="auth_sendCall.html" name="auth_sendCall">Send verification phone call</a>
|
||||
|
||||
* <a href="auth_sendCode.html" name="auth_sendCode">Use phone_login instead</a>
|
||||
|
||||
* <a href="auth_sendInvites.html" name="auth_sendInvites">Invite friends to telegram!</a>
|
||||
|
||||
* <a href="auth_sendSms.html" name="auth_sendSms">Send SMS verification code</a>
|
||||
|
||||
* <a href="auth_signIn.html" name="auth_signIn">You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_signUp.html" name="auth_signUp">You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
|
||||
* <a href="contacts_deleteContact.html" name="contacts_deleteContact">Delete a contact</a>
|
||||
|
||||
@ -128,14 +107,11 @@ description: What do you want to do?
|
||||
|
||||
* <a href="contacts_importContacts.html" name="contacts_importContacts">Add phone number as contact</a>
|
||||
|
||||
* <a href="contacts_resolveUsername.html" name="contacts_resolveUsername">You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="contacts_search.html" name="contacts_search">Search contacts</a>
|
||||
|
||||
* <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
|
||||
* <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates</a>
|
||||
|
||||
@ -149,23 +125,15 @@ description: What do you want to do?
|
||||
|
||||
* <a href="help_saveAppLog.html" name="help_saveAppLog">Log data for developer of this app</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="messages_acceptEncryption.html" name="messages_acceptEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
* <a href="messages_addChatUser.html" name="messages_addChatUser">Add a user to a normal chat (use channels->inviteToChannel for supergroups)</a>
|
||||
|
||||
@ -183,8 +151,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_deleteMessages.html" name="messages_deleteMessages">Delete messages</a>
|
||||
|
||||
* <a href="messages_discardEncryption.html" name="messages_discardEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_editChatPhoto.html" name="messages_editChatPhoto">Edit the photo of a normal chat (not supergroup)</a>
|
||||
|
||||
* <a href="messages_editChatTitle.html" name="messages_editChatTitle">Edit the title of a normal chat (not supergroup)</a>
|
||||
@ -201,12 +167,8 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_getChats.html" name="messages_getChats">Get info about chats</a>
|
||||
|
||||
* <a href="messages_getDhConfig.html" name="messages_getDhConfig">You cannot use this method directly, instead use $MadelineProto->get_dh_config();</a>
|
||||
|
||||
* <a href="messages_getDialogs.html" name="messages_getDialogs">Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html</a>
|
||||
|
||||
* <a href="messages_getFullChat.html" name="messages_getFullChat">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="messages_getHistory.html" name="messages_getHistory">Get previous messages of a group</a>
|
||||
|
||||
* <a href="messages_getImportantHistory.html" name="messages_getImportantHistory">Get important message history</a>
|
||||
@ -233,10 +195,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_receivedMessages.html" name="messages_receivedMessages">Mark messages as read</a>
|
||||
|
||||
* <a href="messages_receivedQueue.html" name="messages_receivedQueue">You cannot use this method directly</a>
|
||||
|
||||
* <a href="messages_requestEncryption.html" name="messages_requestEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_search.html" name="messages_search">Search peers or messages</a>
|
||||
|
||||
* <a href="messages_sendBroadcast.html" name="messages_sendBroadcast">Send a message to all users in the chat list</a>
|
||||
@ -259,8 +217,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_uninstallStickerSet.html" name="messages_uninstallStickerSet">Remove a sticker set</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
|
||||
* <a href="photos_getUserPhotos.html" name="photos_getUserPhotos">Get the profile photos of a user</a>
|
||||
|
||||
@ -268,22 +225,5 @@ description: What do you want to do?
|
||||
|
||||
* <a href="photos_uploadProfilePhoto.html" name="photos_uploadProfilePhoto">Upload profile photo</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="updates_getChannelDifference.html" name="updates_getChannelDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getDifference.html" name="updates_getDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getState.html" name="updates_getState">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="upload_getFile.html" name="upload_getFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveBigFilePart.html" name="upload_saveBigFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveFilePart.html" name="upload_saveFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="users_getFullUser.html" name="users_getFullUser">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="users_getUsers.html" name="users_getUsers">Get info about users</a>
|
||||
|
||||
|
@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
|
||||
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
|
||||
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="account_checkUsername"></a>
|
||||
|
||||
@ -81,7 +82,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
|
||||
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
|
||||
$MadelineProto->[auth->checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_checkPassword"></a>
|
||||
|
||||
@ -114,7 +116,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
|
||||
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signUp"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
|
||||
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)<a name="contacts_deleteContact"></a>
|
||||
|
||||
@ -141,7 +144,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
|
||||
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_unblock"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)<a name="help_getAppChangelog"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)<a name="help_getAppChangelog"></a>
|
||||
|
||||
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||
|
||||
@ -156,22 +160,28 @@ $MadelineProto->[help->getSupport](help_getSupport.md)(\[\]) === [$help\_Support
|
||||
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)<a name="help_saveAppLog"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
|
||||
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="messages_addChatUser"></a>
|
||||
|
||||
@ -266,7 +276,8 @@ $MadelineProto->[messages->startBot](messages_startBot.md)(\['bot' => [InputUser
|
||||
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)<a name="messages_uninstallStickerSet"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
|
||||
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)<a name="photos_getUserPhotos"></a>
|
||||
|
||||
@ -275,21 +286,24 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
|
||||
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md)<a name="photos_uploadProfilePhoto"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)<a name="updates_getState"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
|
||||
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveBigFilePart"></a>
|
||||
|
||||
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveFilePart"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
|
||||
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)<a name="users_getUsers"></a>
|
||||
|
||||
|
@ -27,8 +27,7 @@ description: What do you want to do?
|
||||
|
||||
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
||||
|
||||
***
|
||||
<br><br>* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
|
||||
* <a href="account_checkUsername.html" name="account_checkUsername">Check if this username is available</a>
|
||||
|
||||
@ -74,21 +73,8 @@ description: What do you want to do?
|
||||
|
||||
* <a href="account_updateUsername.html" name="account_updateUsername">Update this user's username</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="auth_bindTempAuthKey.html" name="auth_bindTempAuthKey">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</a>
|
||||
|
||||
* <a href="auth_checkPassword.html" name="auth_checkPassword">You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_checkPhone.html" name="auth_checkPhone">Check if this phone number is registered on telegram</a>
|
||||
|
||||
* <a href="auth_exportAuthorization.html" name="auth_exportAuthorization">You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importAuthorization.html" name="auth_importAuthorization">You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importBotAuthorization.html" name="auth_importBotAuthorization">You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_logOut.html" name="auth_logOut">You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_recoverPassword.html" name="auth_recoverPassword">Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account</a>
|
||||
|
||||
* <a href="auth_requestPasswordRecovery.html" name="auth_requestPasswordRecovery">Send an email to recover the 2FA password</a>
|
||||
@ -97,18 +83,11 @@ description: What do you want to do?
|
||||
|
||||
* <a href="auth_sendCall.html" name="auth_sendCall">Send verification phone call</a>
|
||||
|
||||
* <a href="auth_sendCode.html" name="auth_sendCode">Use phone_login instead</a>
|
||||
|
||||
* <a href="auth_sendInvites.html" name="auth_sendInvites">Invite friends to telegram!</a>
|
||||
|
||||
* <a href="auth_sendSms.html" name="auth_sendSms">Send SMS verification code</a>
|
||||
|
||||
* <a href="auth_signIn.html" name="auth_signIn">You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_signUp.html" name="auth_signUp">You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
|
||||
* <a href="channels_createChannel.html" name="channels_createChannel">Create channel/supergroup</a>
|
||||
|
||||
@ -132,8 +111,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_getDialogs.html" name="channels_getDialogs">Get channel dialogs</a>
|
||||
|
||||
* <a href="channels_getFullChannel.html" name="channels_getFullChannel">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="channels_getImportantHistory.html" name="channels_getImportantHistory">Get important channel/supergroup history</a>
|
||||
|
||||
* <a href="channels_getMessages.html" name="channels_getMessages">Get channel/supergroup messages</a>
|
||||
@ -158,8 +135,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_updateUsername.html" name="channels_updateUsername">Update the username of a supergroup/channel</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
|
||||
* <a href="contacts_deleteContact.html" name="contacts_deleteContact">Delete a contact</a>
|
||||
|
||||
@ -179,14 +155,11 @@ description: What do you want to do?
|
||||
|
||||
* <a href="contacts_importContacts.html" name="contacts_importContacts">Add phone number as contact</a>
|
||||
|
||||
* <a href="contacts_resolveUsername.html" name="contacts_resolveUsername">You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="contacts_search.html" name="contacts_search">Search contacts</a>
|
||||
|
||||
* <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
|
||||
* <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates</a>
|
||||
|
||||
@ -200,23 +173,15 @@ description: What do you want to do?
|
||||
|
||||
* <a href="help_saveAppLog.html" name="help_saveAppLog">Log data for developer of this app</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="messages_acceptEncryption.html" name="messages_acceptEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
* <a href="messages_addChatUser.html" name="messages_addChatUser">Add a user to a normal chat (use channels->inviteToChannel for supergroups)</a>
|
||||
|
||||
@ -232,8 +197,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_deleteMessages.html" name="messages_deleteMessages">Delete messages</a>
|
||||
|
||||
* <a href="messages_discardEncryption.html" name="messages_discardEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_editChatAdmin.html" name="messages_editChatAdmin">Edit admin permissions</a>
|
||||
|
||||
* <a href="messages_editChatPhoto.html" name="messages_editChatPhoto">Edit the photo of a normal chat (not supergroup)</a>
|
||||
@ -250,12 +213,8 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_getChats.html" name="messages_getChats">Get info about chats</a>
|
||||
|
||||
* <a href="messages_getDhConfig.html" name="messages_getDhConfig">You cannot use this method directly, instead use $MadelineProto->get_dh_config();</a>
|
||||
|
||||
* <a href="messages_getDialogs.html" name="messages_getDialogs">Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html</a>
|
||||
|
||||
* <a href="messages_getFullChat.html" name="messages_getFullChat">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="messages_getHistory.html" name="messages_getHistory">Get previous messages of a group</a>
|
||||
|
||||
* <a href="messages_getMessages.html" name="messages_getMessages">Get messages</a>
|
||||
@ -282,12 +241,8 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_receivedMessages.html" name="messages_receivedMessages">Mark messages as read</a>
|
||||
|
||||
* <a href="messages_receivedQueue.html" name="messages_receivedQueue">You cannot use this method directly</a>
|
||||
|
||||
* <a href="messages_reportSpam.html" name="messages_reportSpam">Report a peer for spam</a>
|
||||
|
||||
* <a href="messages_requestEncryption.html" name="messages_requestEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_search.html" name="messages_search">Search peers or messages</a>
|
||||
|
||||
* <a href="messages_searchGlobal.html" name="messages_searchGlobal">Global message search</a>
|
||||
@ -314,8 +269,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_uninstallStickerSet.html" name="messages_uninstallStickerSet">Remove a sticker set</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
|
||||
* <a href="photos_getUserPhotos.html" name="photos_getUserPhotos">Get the profile photos of a user</a>
|
||||
|
||||
@ -323,22 +277,5 @@ description: What do you want to do?
|
||||
|
||||
* <a href="photos_uploadProfilePhoto.html" name="photos_uploadProfilePhoto">Upload profile photo</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="updates_getChannelDifference.html" name="updates_getChannelDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getDifference.html" name="updates_getDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getState.html" name="updates_getState">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="upload_getFile.html" name="upload_getFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveBigFilePart.html" name="upload_saveBigFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveFilePart.html" name="upload_saveFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="users_getFullUser.html" name="users_getFullUser">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="users_getUsers.html" name="users_getUsers">Get info about users</a>
|
||||
|
||||
|
@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
|
||||
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
|
||||
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="account_checkUsername"></a>
|
||||
|
||||
@ -81,7 +82,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
|
||||
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
|
||||
$MadelineProto->[auth->checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_checkPassword"></a>
|
||||
|
||||
@ -114,7 +116,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
|
||||
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signUp"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
|
||||
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="channels_createChannel"></a>
|
||||
|
||||
@ -165,7 +168,8 @@ $MadelineProto->[channels->toggleComments](channels_toggleComments.md)(\['channe
|
||||
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
|
||||
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)<a name="contacts_deleteContact"></a>
|
||||
|
||||
@ -192,7 +196,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
|
||||
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_unblock"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)<a name="help_getAppChangelog"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)<a name="help_getAppChangelog"></a>
|
||||
|
||||
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||
|
||||
@ -207,22 +212,28 @@ $MadelineProto->[help->getSupport](help_getSupport.md)(\[\]) === [$help\_Support
|
||||
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)<a name="help_saveAppLog"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
|
||||
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="messages_addChatUser"></a>
|
||||
|
||||
@ -321,7 +332,8 @@ $MadelineProto->[messages->toggleChatAdmins](messages_toggleChatAdmins.md)(\['ch
|
||||
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)<a name="messages_uninstallStickerSet"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
|
||||
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)<a name="photos_getUserPhotos"></a>
|
||||
|
||||
@ -330,21 +342,24 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
|
||||
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md)<a name="photos_uploadProfilePhoto"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)<a name="updates_getState"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
|
||||
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveBigFilePart"></a>
|
||||
|
||||
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveFilePart"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
|
||||
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)<a name="users_getUsers"></a>
|
||||
|
||||
|
@ -27,8 +27,7 @@ description: What do you want to do?
|
||||
|
||||
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
||||
|
||||
***
|
||||
<br><br>* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
|
||||
* <a href="account_checkUsername.html" name="account_checkUsername">Check if this username is available</a>
|
||||
|
||||
@ -74,21 +73,8 @@ description: What do you want to do?
|
||||
|
||||
* <a href="account_updateUsername.html" name="account_updateUsername">Update this user's username</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="auth_bindTempAuthKey.html" name="auth_bindTempAuthKey">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</a>
|
||||
|
||||
* <a href="auth_checkPassword.html" name="auth_checkPassword">You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_checkPhone.html" name="auth_checkPhone">Check if this phone number is registered on telegram</a>
|
||||
|
||||
* <a href="auth_exportAuthorization.html" name="auth_exportAuthorization">You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importAuthorization.html" name="auth_importAuthorization">You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importBotAuthorization.html" name="auth_importBotAuthorization">You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_logOut.html" name="auth_logOut">You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_recoverPassword.html" name="auth_recoverPassword">Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account</a>
|
||||
|
||||
* <a href="auth_requestPasswordRecovery.html" name="auth_requestPasswordRecovery">Send an email to recover the 2FA password</a>
|
||||
@ -97,18 +83,11 @@ description: What do you want to do?
|
||||
|
||||
* <a href="auth_sendCall.html" name="auth_sendCall">Send verification phone call</a>
|
||||
|
||||
* <a href="auth_sendCode.html" name="auth_sendCode">Use phone_login instead</a>
|
||||
|
||||
* <a href="auth_sendInvites.html" name="auth_sendInvites">Invite friends to telegram!</a>
|
||||
|
||||
* <a href="auth_sendSms.html" name="auth_sendSms">Send SMS verification code</a>
|
||||
|
||||
* <a href="auth_signIn.html" name="auth_signIn">You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_signUp.html" name="auth_signUp">You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
|
||||
* <a href="channels_createChannel.html" name="channels_createChannel">Create channel/supergroup</a>
|
||||
|
||||
@ -132,8 +111,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_getDialogs.html" name="channels_getDialogs">Get channel dialogs</a>
|
||||
|
||||
* <a href="channels_getFullChannel.html" name="channels_getFullChannel">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="channels_getImportantHistory.html" name="channels_getImportantHistory">Get important channel/supergroup history</a>
|
||||
|
||||
* <a href="channels_getMessages.html" name="channels_getMessages">Get channel/supergroup messages</a>
|
||||
@ -158,8 +135,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_updateUsername.html" name="channels_updateUsername">Update the username of a supergroup/channel</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
|
||||
* <a href="contacts_deleteContact.html" name="contacts_deleteContact">Delete a contact</a>
|
||||
|
||||
@ -179,14 +155,11 @@ description: What do you want to do?
|
||||
|
||||
* <a href="contacts_importContacts.html" name="contacts_importContacts">Add phone number as contact</a>
|
||||
|
||||
* <a href="contacts_resolveUsername.html" name="contacts_resolveUsername">You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="contacts_search.html" name="contacts_search">Search contacts</a>
|
||||
|
||||
* <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
|
||||
* <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates</a>
|
||||
|
||||
@ -200,23 +173,15 @@ description: What do you want to do?
|
||||
|
||||
* <a href="help_saveAppLog.html" name="help_saveAppLog">Log data for developer of this app</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="messages_acceptEncryption.html" name="messages_acceptEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
* <a href="messages_addChatUser.html" name="messages_addChatUser">Add a user to a normal chat (use channels->inviteToChannel for supergroups)</a>
|
||||
|
||||
@ -230,8 +195,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_deleteMessages.html" name="messages_deleteMessages">Delete messages</a>
|
||||
|
||||
* <a href="messages_discardEncryption.html" name="messages_discardEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_editChatAdmin.html" name="messages_editChatAdmin">Edit admin permissions</a>
|
||||
|
||||
* <a href="messages_editChatPhoto.html" name="messages_editChatPhoto">Edit the photo of a normal chat (not supergroup)</a>
|
||||
@ -248,12 +211,8 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_getChats.html" name="messages_getChats">Get info about chats</a>
|
||||
|
||||
* <a href="messages_getDhConfig.html" name="messages_getDhConfig">You cannot use this method directly, instead use $MadelineProto->get_dh_config();</a>
|
||||
|
||||
* <a href="messages_getDialogs.html" name="messages_getDialogs">Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html</a>
|
||||
|
||||
* <a href="messages_getFullChat.html" name="messages_getFullChat">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="messages_getHistory.html" name="messages_getHistory">Get previous messages of a group</a>
|
||||
|
||||
* <a href="messages_getMessages.html" name="messages_getMessages">Get messages</a>
|
||||
@ -280,12 +239,8 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_receivedMessages.html" name="messages_receivedMessages">Mark messages as read</a>
|
||||
|
||||
* <a href="messages_receivedQueue.html" name="messages_receivedQueue">You cannot use this method directly</a>
|
||||
|
||||
* <a href="messages_reportSpam.html" name="messages_reportSpam">Report a peer for spam</a>
|
||||
|
||||
* <a href="messages_requestEncryption.html" name="messages_requestEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_search.html" name="messages_search">Search peers or messages</a>
|
||||
|
||||
* <a href="messages_searchGlobal.html" name="messages_searchGlobal">Global message search</a>
|
||||
@ -312,8 +267,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_uninstallStickerSet.html" name="messages_uninstallStickerSet">Remove a sticker set</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
|
||||
* <a href="photos_getUserPhotos.html" name="photos_getUserPhotos">Get the profile photos of a user</a>
|
||||
|
||||
@ -321,22 +275,5 @@ description: What do you want to do?
|
||||
|
||||
* <a href="photos_uploadProfilePhoto.html" name="photos_uploadProfilePhoto">Upload profile photo</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="updates_getChannelDifference.html" name="updates_getChannelDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getDifference.html" name="updates_getDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getState.html" name="updates_getState">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="upload_getFile.html" name="upload_getFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveBigFilePart.html" name="upload_saveBigFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveFilePart.html" name="upload_saveFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="users_getFullUser.html" name="users_getFullUser">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="users_getUsers.html" name="users_getUsers">Get info about users</a>
|
||||
|
||||
|
@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
|
||||
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
|
||||
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="account_checkUsername"></a>
|
||||
|
||||
@ -81,7 +82,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
|
||||
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
|
||||
$MadelineProto->[auth->checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_checkPassword"></a>
|
||||
|
||||
@ -114,7 +116,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
|
||||
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signUp"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
|
||||
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="channels_createChannel"></a>
|
||||
|
||||
@ -165,7 +168,8 @@ $MadelineProto->[channels->toggleComments](channels_toggleComments.md)(\['channe
|
||||
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
|
||||
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)<a name="contacts_deleteContact"></a>
|
||||
|
||||
@ -192,7 +196,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
|
||||
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_unblock"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)<a name="help_getAppChangelog"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)<a name="help_getAppChangelog"></a>
|
||||
|
||||
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||
|
||||
@ -207,22 +212,28 @@ $MadelineProto->[help->getSupport](help_getSupport.md)(\[\]) === [$help\_Support
|
||||
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)<a name="help_saveAppLog"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
|
||||
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="messages_addChatUser"></a>
|
||||
|
||||
@ -319,7 +330,8 @@ $MadelineProto->[messages->toggleChatAdmins](messages_toggleChatAdmins.md)(\['ch
|
||||
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)<a name="messages_uninstallStickerSet"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
|
||||
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)<a name="photos_getUserPhotos"></a>
|
||||
|
||||
@ -328,21 +340,24 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
|
||||
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md)<a name="photos_uploadProfilePhoto"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)<a name="updates_getState"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
|
||||
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveBigFilePart"></a>
|
||||
|
||||
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveFilePart"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
|
||||
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)<a name="users_getUsers"></a>
|
||||
|
||||
|
@ -27,8 +27,7 @@ description: What do you want to do?
|
||||
|
||||
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
||||
|
||||
***
|
||||
<br><br>* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
|
||||
* <a href="account_checkUsername.html" name="account_checkUsername">Check if this username is available</a>
|
||||
|
||||
@ -76,21 +75,8 @@ description: What do you want to do?
|
||||
|
||||
* <a href="account_updateUsername.html" name="account_updateUsername">Update this user's username</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="auth_bindTempAuthKey.html" name="auth_bindTempAuthKey">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</a>
|
||||
|
||||
* <a href="auth_checkPassword.html" name="auth_checkPassword">You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_checkPhone.html" name="auth_checkPhone">Check if this phone number is registered on telegram</a>
|
||||
|
||||
* <a href="auth_exportAuthorization.html" name="auth_exportAuthorization">You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importAuthorization.html" name="auth_importAuthorization">You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importBotAuthorization.html" name="auth_importBotAuthorization">You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_logOut.html" name="auth_logOut">You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_recoverPassword.html" name="auth_recoverPassword">Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account</a>
|
||||
|
||||
* <a href="auth_requestPasswordRecovery.html" name="auth_requestPasswordRecovery">Send an email to recover the 2FA password</a>
|
||||
@ -99,18 +85,11 @@ description: What do you want to do?
|
||||
|
||||
* <a href="auth_sendCall.html" name="auth_sendCall">Send verification phone call</a>
|
||||
|
||||
* <a href="auth_sendCode.html" name="auth_sendCode">Use phone_login instead</a>
|
||||
|
||||
* <a href="auth_sendInvites.html" name="auth_sendInvites">Invite friends to telegram!</a>
|
||||
|
||||
* <a href="auth_sendSms.html" name="auth_sendSms">Send SMS verification code</a>
|
||||
|
||||
* <a href="auth_signIn.html" name="auth_signIn">You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_signUp.html" name="auth_signUp">You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
|
||||
* <a href="channels_createChannel.html" name="channels_createChannel">Create channel/supergroup</a>
|
||||
|
||||
@ -134,8 +113,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_getDialogs.html" name="channels_getDialogs">Get channel dialogs</a>
|
||||
|
||||
* <a href="channels_getFullChannel.html" name="channels_getFullChannel">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="channels_getImportantHistory.html" name="channels_getImportantHistory">Get important channel/supergroup history</a>
|
||||
|
||||
* <a href="channels_getMessages.html" name="channels_getMessages">Get channel/supergroup messages</a>
|
||||
@ -160,8 +137,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_updateUsername.html" name="channels_updateUsername">Update the username of a supergroup/channel</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
|
||||
* <a href="contacts_deleteContact.html" name="contacts_deleteContact">Delete a contact</a>
|
||||
|
||||
@ -181,14 +157,11 @@ description: What do you want to do?
|
||||
|
||||
* <a href="contacts_importContacts.html" name="contacts_importContacts">Add phone number as contact</a>
|
||||
|
||||
* <a href="contacts_resolveUsername.html" name="contacts_resolveUsername">You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="contacts_search.html" name="contacts_search">Search contacts</a>
|
||||
|
||||
* <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
|
||||
* <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates</a>
|
||||
|
||||
@ -204,23 +177,15 @@ description: What do you want to do?
|
||||
|
||||
* <a href="help_saveAppLog.html" name="help_saveAppLog">Log data for developer of this app</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="messages_acceptEncryption.html" name="messages_acceptEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
* <a href="messages_addChatUser.html" name="messages_addChatUser">Add a user to a normal chat (use channels->inviteToChannel for supergroups)</a>
|
||||
|
||||
@ -234,8 +199,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_deleteMessages.html" name="messages_deleteMessages">Delete messages</a>
|
||||
|
||||
* <a href="messages_discardEncryption.html" name="messages_discardEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_editChatAdmin.html" name="messages_editChatAdmin">Edit admin permissions</a>
|
||||
|
||||
* <a href="messages_editChatPhoto.html" name="messages_editChatPhoto">Edit the photo of a normal chat (not supergroup)</a>
|
||||
@ -252,14 +215,10 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_getChats.html" name="messages_getChats">Get info about chats</a>
|
||||
|
||||
* <a href="messages_getDhConfig.html" name="messages_getDhConfig">You cannot use this method directly, instead use $MadelineProto->get_dh_config();</a>
|
||||
|
||||
* <a href="messages_getDialogs.html" name="messages_getDialogs">Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html</a>
|
||||
|
||||
* <a href="messages_getDocumentByHash.html" name="messages_getDocumentByHash">Get document by SHA256 hash</a>
|
||||
|
||||
* <a href="messages_getFullChat.html" name="messages_getFullChat">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="messages_getHistory.html" name="messages_getHistory">Get previous messages of a group</a>
|
||||
|
||||
* <a href="messages_getMessages.html" name="messages_getMessages">Get messages</a>
|
||||
@ -286,14 +245,10 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_receivedMessages.html" name="messages_receivedMessages">Mark messages as read</a>
|
||||
|
||||
* <a href="messages_receivedQueue.html" name="messages_receivedQueue">You cannot use this method directly</a>
|
||||
|
||||
* <a href="messages_reorderStickerSets.html" name="messages_reorderStickerSets">Reorder sticker sets</a>
|
||||
|
||||
* <a href="messages_reportSpam.html" name="messages_reportSpam">Report a peer for spam</a>
|
||||
|
||||
* <a href="messages_requestEncryption.html" name="messages_requestEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_search.html" name="messages_search">Search peers or messages</a>
|
||||
|
||||
* <a href="messages_searchGifs.html" name="messages_searchGifs">Search gifs</a>
|
||||
@ -322,8 +277,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_uninstallStickerSet.html" name="messages_uninstallStickerSet">Remove a sticker set</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
|
||||
* <a href="photos_getUserPhotos.html" name="photos_getUserPhotos">Get the profile photos of a user</a>
|
||||
|
||||
@ -331,22 +285,5 @@ description: What do you want to do?
|
||||
|
||||
* <a href="photos_uploadProfilePhoto.html" name="photos_uploadProfilePhoto">Upload profile photo</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="updates_getChannelDifference.html" name="updates_getChannelDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getDifference.html" name="updates_getDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getState.html" name="updates_getState">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="upload_getFile.html" name="upload_getFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveBigFilePart.html" name="upload_saveBigFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveFilePart.html" name="upload_saveFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="users_getFullUser.html" name="users_getFullUser">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="users_getUsers.html" name="users_getUsers">Get info about users</a>
|
||||
|
||||
|
@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
|
||||
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
|
||||
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="account_checkUsername"></a>
|
||||
|
||||
@ -83,7 +84,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
|
||||
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
|
||||
$MadelineProto->[auth->checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_checkPassword"></a>
|
||||
|
||||
@ -116,7 +118,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
|
||||
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signUp"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
|
||||
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="channels_createChannel"></a>
|
||||
|
||||
@ -167,7 +170,8 @@ $MadelineProto->[channels->toggleComments](channels_toggleComments.md)(\['channe
|
||||
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
|
||||
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)<a name="contacts_deleteContact"></a>
|
||||
|
||||
@ -194,7 +198,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
|
||||
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_unblock"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)<a name="help_getAppChangelog"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)<a name="help_getAppChangelog"></a>
|
||||
|
||||
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||
|
||||
@ -211,22 +216,28 @@ $MadelineProto->[help->getTermsOfService](help_getTermsOfService.md)(\['lang_cod
|
||||
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)<a name="help_saveAppLog"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
|
||||
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="messages_addChatUser"></a>
|
||||
|
||||
@ -329,7 +340,8 @@ $MadelineProto->[messages->toggleChatAdmins](messages_toggleChatAdmins.md)(\['ch
|
||||
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)<a name="messages_uninstallStickerSet"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
|
||||
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)<a name="photos_getUserPhotos"></a>
|
||||
|
||||
@ -338,21 +350,24 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
|
||||
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md)<a name="photos_uploadProfilePhoto"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)<a name="updates_getState"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
|
||||
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveBigFilePart"></a>
|
||||
|
||||
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveFilePart"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
|
||||
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)<a name="users_getUsers"></a>
|
||||
|
||||
|
@ -27,8 +27,7 @@ description: What do you want to do?
|
||||
|
||||
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
||||
|
||||
***
|
||||
<br><br>* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
|
||||
* <a href="account_checkUsername.html" name="account_checkUsername">Check if this username is available</a>
|
||||
|
||||
@ -76,21 +75,8 @@ description: What do you want to do?
|
||||
|
||||
* <a href="account_updateUsername.html" name="account_updateUsername">Update this user's username</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="auth_bindTempAuthKey.html" name="auth_bindTempAuthKey">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</a>
|
||||
|
||||
* <a href="auth_checkPassword.html" name="auth_checkPassword">You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_checkPhone.html" name="auth_checkPhone">Check if this phone number is registered on telegram</a>
|
||||
|
||||
* <a href="auth_exportAuthorization.html" name="auth_exportAuthorization">You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importAuthorization.html" name="auth_importAuthorization">You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importBotAuthorization.html" name="auth_importBotAuthorization">You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_logOut.html" name="auth_logOut">You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_recoverPassword.html" name="auth_recoverPassword">Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account</a>
|
||||
|
||||
* <a href="auth_requestPasswordRecovery.html" name="auth_requestPasswordRecovery">Send an email to recover the 2FA password</a>
|
||||
@ -99,18 +85,11 @@ description: What do you want to do?
|
||||
|
||||
* <a href="auth_sendCall.html" name="auth_sendCall">Send verification phone call</a>
|
||||
|
||||
* <a href="auth_sendCode.html" name="auth_sendCode">Use phone_login instead</a>
|
||||
|
||||
* <a href="auth_sendInvites.html" name="auth_sendInvites">Invite friends to telegram!</a>
|
||||
|
||||
* <a href="auth_sendSms.html" name="auth_sendSms">Send SMS verification code</a>
|
||||
|
||||
* <a href="auth_signIn.html" name="auth_signIn">You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_signUp.html" name="auth_signUp">You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
|
||||
* <a href="channels_createChannel.html" name="channels_createChannel">Create channel/supergroup</a>
|
||||
|
||||
@ -134,8 +113,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_getDialogs.html" name="channels_getDialogs">Get channel dialogs</a>
|
||||
|
||||
* <a href="channels_getFullChannel.html" name="channels_getFullChannel">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="channels_getImportantHistory.html" name="channels_getImportantHistory">Get important channel/supergroup history</a>
|
||||
|
||||
* <a href="channels_getMessages.html" name="channels_getMessages">Get channel/supergroup messages</a>
|
||||
@ -160,8 +137,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_updateUsername.html" name="channels_updateUsername">Update the username of a supergroup/channel</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
|
||||
* <a href="contacts_deleteContact.html" name="contacts_deleteContact">Delete a contact</a>
|
||||
|
||||
@ -181,14 +157,11 @@ description: What do you want to do?
|
||||
|
||||
* <a href="contacts_importContacts.html" name="contacts_importContacts">Add phone number as contact</a>
|
||||
|
||||
* <a href="contacts_resolveUsername.html" name="contacts_resolveUsername">You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="contacts_search.html" name="contacts_search">Search contacts</a>
|
||||
|
||||
* <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
|
||||
* <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates</a>
|
||||
|
||||
@ -204,23 +177,15 @@ description: What do you want to do?
|
||||
|
||||
* <a href="help_saveAppLog.html" name="help_saveAppLog">Log data for developer of this app</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="messages_acceptEncryption.html" name="messages_acceptEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
* <a href="messages_addChatUser.html" name="messages_addChatUser">Add a user to a normal chat (use channels->inviteToChannel for supergroups)</a>
|
||||
|
||||
@ -234,8 +199,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_deleteMessages.html" name="messages_deleteMessages">Delete messages</a>
|
||||
|
||||
* <a href="messages_discardEncryption.html" name="messages_discardEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_editChatAdmin.html" name="messages_editChatAdmin">Edit admin permissions</a>
|
||||
|
||||
* <a href="messages_editChatPhoto.html" name="messages_editChatPhoto">Edit the photo of a normal chat (not supergroup)</a>
|
||||
@ -252,14 +215,10 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_getChats.html" name="messages_getChats">Get info about chats</a>
|
||||
|
||||
* <a href="messages_getDhConfig.html" name="messages_getDhConfig">You cannot use this method directly, instead use $MadelineProto->get_dh_config();</a>
|
||||
|
||||
* <a href="messages_getDialogs.html" name="messages_getDialogs">Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html</a>
|
||||
|
||||
* <a href="messages_getDocumentByHash.html" name="messages_getDocumentByHash">Get document by SHA256 hash</a>
|
||||
|
||||
* <a href="messages_getFullChat.html" name="messages_getFullChat">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="messages_getHistory.html" name="messages_getHistory">Get previous messages of a group</a>
|
||||
|
||||
* <a href="messages_getInlineBotResults.html" name="messages_getInlineBotResults">Call inline bot</a>
|
||||
@ -290,14 +249,10 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_receivedMessages.html" name="messages_receivedMessages">Mark messages as read</a>
|
||||
|
||||
* <a href="messages_receivedQueue.html" name="messages_receivedQueue">You cannot use this method directly</a>
|
||||
|
||||
* <a href="messages_reorderStickerSets.html" name="messages_reorderStickerSets">Reorder sticker sets</a>
|
||||
|
||||
* <a href="messages_reportSpam.html" name="messages_reportSpam">Report a peer for spam</a>
|
||||
|
||||
* <a href="messages_requestEncryption.html" name="messages_requestEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_saveGif.html" name="messages_saveGif">Save a GIF</a>
|
||||
|
||||
* <a href="messages_search.html" name="messages_search">Search peers or messages</a>
|
||||
@ -332,8 +287,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_uninstallStickerSet.html" name="messages_uninstallStickerSet">Remove a sticker set</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
|
||||
* <a href="photos_getUserPhotos.html" name="photos_getUserPhotos">Get the profile photos of a user</a>
|
||||
|
||||
@ -341,22 +295,5 @@ description: What do you want to do?
|
||||
|
||||
* <a href="photos_uploadProfilePhoto.html" name="photos_uploadProfilePhoto">Upload profile photo</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="updates_getChannelDifference.html" name="updates_getChannelDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getDifference.html" name="updates_getDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getState.html" name="updates_getState">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="upload_getFile.html" name="upload_getFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveBigFilePart.html" name="upload_saveBigFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveFilePart.html" name="upload_saveFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="users_getFullUser.html" name="users_getFullUser">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="users_getUsers.html" name="users_getUsers">Get info about users</a>
|
||||
|
||||
|
@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
|
||||
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
|
||||
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="account_checkUsername"></a>
|
||||
|
||||
@ -83,7 +84,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
|
||||
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
|
||||
$MadelineProto->[auth->checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_checkPassword"></a>
|
||||
|
||||
@ -116,7 +118,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
|
||||
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signUp"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
|
||||
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="channels_createChannel"></a>
|
||||
|
||||
@ -167,7 +170,8 @@ $MadelineProto->[channels->toggleComments](channels_toggleComments.md)(\['channe
|
||||
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
|
||||
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)<a name="contacts_deleteContact"></a>
|
||||
|
||||
@ -194,7 +198,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
|
||||
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_unblock"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)<a name="help_getAppChangelog"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)<a name="help_getAppChangelog"></a>
|
||||
|
||||
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||
|
||||
@ -211,22 +216,28 @@ $MadelineProto->[help->getTermsOfService](help_getTermsOfService.md)(\['lang_cod
|
||||
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)<a name="help_saveAppLog"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
|
||||
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="messages_addChatUser"></a>
|
||||
|
||||
@ -339,7 +350,8 @@ $MadelineProto->[messages->toggleChatAdmins](messages_toggleChatAdmins.md)(\['ch
|
||||
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)<a name="messages_uninstallStickerSet"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
|
||||
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)<a name="photos_getUserPhotos"></a>
|
||||
|
||||
@ -348,21 +360,24 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
|
||||
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md)<a name="photos_uploadProfilePhoto"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)<a name="updates_getState"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
|
||||
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveBigFilePart"></a>
|
||||
|
||||
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveFilePart"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
|
||||
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)<a name="users_getUsers"></a>
|
||||
|
||||
|
@ -27,8 +27,7 @@ description: What do you want to do?
|
||||
|
||||
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
||||
|
||||
***
|
||||
<br><br>* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
|
||||
* <a href="account_checkUsername.html" name="account_checkUsername">Check if this username is available</a>
|
||||
|
||||
@ -76,21 +75,8 @@ description: What do you want to do?
|
||||
|
||||
* <a href="account_updateUsername.html" name="account_updateUsername">Update this user's username</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="auth_bindTempAuthKey.html" name="auth_bindTempAuthKey">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</a>
|
||||
|
||||
* <a href="auth_checkPassword.html" name="auth_checkPassword">You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_checkPhone.html" name="auth_checkPhone">Check if this phone number is registered on telegram</a>
|
||||
|
||||
* <a href="auth_exportAuthorization.html" name="auth_exportAuthorization">You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importAuthorization.html" name="auth_importAuthorization">You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importBotAuthorization.html" name="auth_importBotAuthorization">You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_logOut.html" name="auth_logOut">You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_recoverPassword.html" name="auth_recoverPassword">Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account</a>
|
||||
|
||||
* <a href="auth_requestPasswordRecovery.html" name="auth_requestPasswordRecovery">Send an email to recover the 2FA password</a>
|
||||
@ -99,18 +85,11 @@ description: What do you want to do?
|
||||
|
||||
* <a href="auth_sendCall.html" name="auth_sendCall">Send verification phone call</a>
|
||||
|
||||
* <a href="auth_sendCode.html" name="auth_sendCode">Use phone_login instead</a>
|
||||
|
||||
* <a href="auth_sendInvites.html" name="auth_sendInvites">Invite friends to telegram!</a>
|
||||
|
||||
* <a href="auth_sendSms.html" name="auth_sendSms">Send SMS verification code</a>
|
||||
|
||||
* <a href="auth_signIn.html" name="auth_signIn">You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_signUp.html" name="auth_signUp">You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
|
||||
* <a href="channels_createChannel.html" name="channels_createChannel">Create channel/supergroup</a>
|
||||
|
||||
@ -134,8 +113,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_getDialogs.html" name="channels_getDialogs">Get channel dialogs</a>
|
||||
|
||||
* <a href="channels_getFullChannel.html" name="channels_getFullChannel">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="channels_getImportantHistory.html" name="channels_getImportantHistory">Get important channel/supergroup history</a>
|
||||
|
||||
* <a href="channels_getMessages.html" name="channels_getMessages">Get channel/supergroup messages</a>
|
||||
@ -160,8 +137,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_updateUsername.html" name="channels_updateUsername">Update the username of a supergroup/channel</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
|
||||
* <a href="contacts_deleteContact.html" name="contacts_deleteContact">Delete a contact</a>
|
||||
|
||||
@ -181,14 +157,11 @@ description: What do you want to do?
|
||||
|
||||
* <a href="contacts_importContacts.html" name="contacts_importContacts">Add phone number as contact</a>
|
||||
|
||||
* <a href="contacts_resolveUsername.html" name="contacts_resolveUsername">You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="contacts_search.html" name="contacts_search">Search contacts</a>
|
||||
|
||||
* <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
|
||||
* <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates</a>
|
||||
|
||||
@ -204,23 +177,15 @@ description: What do you want to do?
|
||||
|
||||
* <a href="help_saveAppLog.html" name="help_saveAppLog">Log data for developer of this app</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="messages_acceptEncryption.html" name="messages_acceptEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
* <a href="messages_addChatUser.html" name="messages_addChatUser">Add a user to a normal chat (use channels->inviteToChannel for supergroups)</a>
|
||||
|
||||
@ -234,8 +199,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_deleteMessages.html" name="messages_deleteMessages">Delete messages</a>
|
||||
|
||||
* <a href="messages_discardEncryption.html" name="messages_discardEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_editChatAdmin.html" name="messages_editChatAdmin">Edit admin permissions</a>
|
||||
|
||||
* <a href="messages_editChatPhoto.html" name="messages_editChatPhoto">Edit the photo of a normal chat (not supergroup)</a>
|
||||
@ -252,14 +215,10 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_getChats.html" name="messages_getChats">Get info about chats</a>
|
||||
|
||||
* <a href="messages_getDhConfig.html" name="messages_getDhConfig">You cannot use this method directly, instead use $MadelineProto->get_dh_config();</a>
|
||||
|
||||
* <a href="messages_getDialogs.html" name="messages_getDialogs">Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html</a>
|
||||
|
||||
* <a href="messages_getDocumentByHash.html" name="messages_getDocumentByHash">Get document by SHA256 hash</a>
|
||||
|
||||
* <a href="messages_getFullChat.html" name="messages_getFullChat">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="messages_getHistory.html" name="messages_getHistory">Get previous messages of a group</a>
|
||||
|
||||
* <a href="messages_getInlineBotResults.html" name="messages_getInlineBotResults">Call inline bot</a>
|
||||
@ -290,14 +249,10 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_receivedMessages.html" name="messages_receivedMessages">Mark messages as read</a>
|
||||
|
||||
* <a href="messages_receivedQueue.html" name="messages_receivedQueue">You cannot use this method directly</a>
|
||||
|
||||
* <a href="messages_reorderStickerSets.html" name="messages_reorderStickerSets">Reorder sticker sets</a>
|
||||
|
||||
* <a href="messages_reportSpam.html" name="messages_reportSpam">Report a peer for spam</a>
|
||||
|
||||
* <a href="messages_requestEncryption.html" name="messages_requestEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_saveGif.html" name="messages_saveGif">Save a GIF</a>
|
||||
|
||||
* <a href="messages_search.html" name="messages_search">Search peers or messages</a>
|
||||
@ -332,8 +287,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_uninstallStickerSet.html" name="messages_uninstallStickerSet">Remove a sticker set</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
|
||||
* <a href="photos_getUserPhotos.html" name="photos_getUserPhotos">Get the profile photos of a user</a>
|
||||
|
||||
@ -341,22 +295,5 @@ description: What do you want to do?
|
||||
|
||||
* <a href="photos_uploadProfilePhoto.html" name="photos_uploadProfilePhoto">Upload profile photo</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="updates_getChannelDifference.html" name="updates_getChannelDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getDifference.html" name="updates_getDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getState.html" name="updates_getState">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="upload_getFile.html" name="upload_getFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveBigFilePart.html" name="upload_saveBigFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveFilePart.html" name="upload_saveFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="users_getFullUser.html" name="users_getFullUser">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="users_getUsers.html" name="users_getUsers">Get info about users</a>
|
||||
|
||||
|
@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
|
||||
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
|
||||
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="account_checkUsername"></a>
|
||||
|
||||
@ -83,7 +84,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
|
||||
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
|
||||
$MadelineProto->[auth->checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_checkPassword"></a>
|
||||
|
||||
@ -116,7 +118,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
|
||||
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signUp"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
|
||||
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="channels_createChannel"></a>
|
||||
|
||||
@ -167,7 +170,8 @@ $MadelineProto->[channels->toggleComments](channels_toggleComments.md)(\['channe
|
||||
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
|
||||
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)<a name="contacts_deleteContact"></a>
|
||||
|
||||
@ -194,7 +198,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
|
||||
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_unblock"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)<a name="help_getAppChangelog"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)<a name="help_getAppChangelog"></a>
|
||||
|
||||
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||
|
||||
@ -211,22 +216,28 @@ $MadelineProto->[help->getTermsOfService](help_getTermsOfService.md)(\['lang_cod
|
||||
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)<a name="help_saveAppLog"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
|
||||
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="messages_addChatUser"></a>
|
||||
|
||||
@ -339,7 +350,8 @@ $MadelineProto->[messages->toggleChatAdmins](messages_toggleChatAdmins.md)(\['ch
|
||||
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)<a name="messages_uninstallStickerSet"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
|
||||
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)<a name="photos_getUserPhotos"></a>
|
||||
|
||||
@ -348,21 +360,24 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
|
||||
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md)<a name="photos_uploadProfilePhoto"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)<a name="updates_getState"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
|
||||
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveBigFilePart"></a>
|
||||
|
||||
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveFilePart"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
|
||||
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)<a name="users_getUsers"></a>
|
||||
|
||||
|
@ -27,8 +27,7 @@ description: What do you want to do?
|
||||
|
||||
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
||||
|
||||
***
|
||||
<br><br>* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
|
||||
* <a href="account_checkUsername.html" name="account_checkUsername">Check if this username is available</a>
|
||||
|
||||
@ -76,23 +75,10 @@ description: What do you want to do?
|
||||
|
||||
* <a href="account_updateUsername.html" name="account_updateUsername">Update this user's username</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="auth_bindTempAuthKey.html" name="auth_bindTempAuthKey">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</a>
|
||||
|
||||
* <a href="auth_cancelCode.html" name="auth_cancelCode">Invalidate sent phone code</a>
|
||||
|
||||
* <a href="auth_checkPassword.html" name="auth_checkPassword">You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_checkPhone.html" name="auth_checkPhone">Check if this phone number is registered on telegram</a>
|
||||
|
||||
* <a href="auth_exportAuthorization.html" name="auth_exportAuthorization">You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importAuthorization.html" name="auth_importAuthorization">You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importBotAuthorization.html" name="auth_importBotAuthorization">You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_logOut.html" name="auth_logOut">You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_recoverPassword.html" name="auth_recoverPassword">Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account</a>
|
||||
|
||||
* <a href="auth_requestPasswordRecovery.html" name="auth_requestPasswordRecovery">Send an email to recover the 2FA password</a>
|
||||
@ -101,16 +87,9 @@ description: What do you want to do?
|
||||
|
||||
* <a href="auth_resetAuthorizations.html" name="auth_resetAuthorizations">Delete all logged-in sessions.</a>
|
||||
|
||||
* <a href="auth_sendCode.html" name="auth_sendCode">Use phone_login instead</a>
|
||||
|
||||
* <a href="auth_sendInvites.html" name="auth_sendInvites">Invite friends to telegram!</a>
|
||||
|
||||
* <a href="auth_signIn.html" name="auth_signIn">You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_signUp.html" name="auth_signUp">You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
|
||||
* <a href="channels_createChannel.html" name="channels_createChannel">Create channel/supergroup</a>
|
||||
|
||||
@ -136,8 +115,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_getDialogs.html" name="channels_getDialogs">Get channel dialogs</a>
|
||||
|
||||
* <a href="channels_getFullChannel.html" name="channels_getFullChannel">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="channels_getImportantHistory.html" name="channels_getImportantHistory">Get important channel/supergroup history</a>
|
||||
|
||||
* <a href="channels_getMessages.html" name="channels_getMessages">Get channel/supergroup messages</a>
|
||||
@ -168,8 +145,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_updateUsername.html" name="channels_updateUsername">Update the username of a supergroup/channel</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
|
||||
* <a href="contacts_deleteContact.html" name="contacts_deleteContact">Delete a contact</a>
|
||||
|
||||
@ -187,14 +163,11 @@ description: What do you want to do?
|
||||
|
||||
* <a href="contacts_importContacts.html" name="contacts_importContacts">Add phone number as contact</a>
|
||||
|
||||
* <a href="contacts_resolveUsername.html" name="contacts_resolveUsername">You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="contacts_search.html" name="contacts_search">Search contacts</a>
|
||||
|
||||
* <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
|
||||
* <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates</a>
|
||||
|
||||
@ -210,23 +183,15 @@ description: What do you want to do?
|
||||
|
||||
* <a href="help_saveAppLog.html" name="help_saveAppLog">Log data for developer of this app</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="messages_acceptEncryption.html" name="messages_acceptEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
* <a href="messages_addChatUser.html" name="messages_addChatUser">Add a user to a normal chat (use channels->inviteToChannel for supergroups)</a>
|
||||
|
||||
@ -240,8 +205,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_deleteMessages.html" name="messages_deleteMessages">Delete messages</a>
|
||||
|
||||
* <a href="messages_discardEncryption.html" name="messages_discardEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_editChatAdmin.html" name="messages_editChatAdmin">Edit admin permissions</a>
|
||||
|
||||
* <a href="messages_editChatPhoto.html" name="messages_editChatPhoto">Edit the photo of a normal chat (not supergroup)</a>
|
||||
@ -264,14 +227,10 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_getChats.html" name="messages_getChats">Get info about chats</a>
|
||||
|
||||
* <a href="messages_getDhConfig.html" name="messages_getDhConfig">You cannot use this method directly, instead use $MadelineProto->get_dh_config();</a>
|
||||
|
||||
* <a href="messages_getDialogs.html" name="messages_getDialogs">Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html</a>
|
||||
|
||||
* <a href="messages_getDocumentByHash.html" name="messages_getDocumentByHash">Get document by SHA256 hash</a>
|
||||
|
||||
* <a href="messages_getFullChat.html" name="messages_getFullChat">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="messages_getHistory.html" name="messages_getHistory">Get previous messages of a group</a>
|
||||
|
||||
* <a href="messages_getInlineBotResults.html" name="messages_getInlineBotResults">Call inline bot</a>
|
||||
@ -308,14 +267,10 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_receivedMessages.html" name="messages_receivedMessages">Mark messages as read</a>
|
||||
|
||||
* <a href="messages_receivedQueue.html" name="messages_receivedQueue">You cannot use this method directly</a>
|
||||
|
||||
* <a href="messages_reorderStickerSets.html" name="messages_reorderStickerSets">Reorder sticker sets</a>
|
||||
|
||||
* <a href="messages_reportSpam.html" name="messages_reportSpam">Report a peer for spam</a>
|
||||
|
||||
* <a href="messages_requestEncryption.html" name="messages_requestEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_saveGif.html" name="messages_saveGif">Save a GIF</a>
|
||||
|
||||
* <a href="messages_search.html" name="messages_search">Search peers or messages</a>
|
||||
@ -352,8 +307,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_uninstallStickerSet.html" name="messages_uninstallStickerSet">Remove a sticker set</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
|
||||
* <a href="photos_getUserPhotos.html" name="photos_getUserPhotos">Get the profile photos of a user</a>
|
||||
|
||||
@ -361,22 +315,5 @@ description: What do you want to do?
|
||||
|
||||
* <a href="photos_uploadProfilePhoto.html" name="photos_uploadProfilePhoto">Upload profile photo</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="updates_getChannelDifference.html" name="updates_getChannelDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getDifference.html" name="updates_getDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getState.html" name="updates_getState">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="upload_getFile.html" name="upload_getFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveBigFilePart.html" name="upload_saveBigFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveFilePart.html" name="upload_saveFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="users_getFullUser.html" name="users_getFullUser">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="users_getUsers.html" name="users_getUsers">Get info about users</a>
|
||||
|
||||
|
@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
|
||||
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
|
||||
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="account_checkUsername"></a>
|
||||
|
||||
@ -83,7 +84,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
|
||||
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
|
||||
$MadelineProto->[auth->cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="auth_cancelCode"></a>
|
||||
|
||||
@ -116,7 +118,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
|
||||
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signUp"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
|
||||
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="channels_createChannel"></a>
|
||||
|
||||
@ -175,7 +178,8 @@ $MadelineProto->[channels->updatePinnedMessage](channels_updatePinnedMessage.md)
|
||||
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
|
||||
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)<a name="contacts_deleteContact"></a>
|
||||
|
||||
@ -200,7 +204,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
|
||||
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_unblock"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)<a name="help_getAppChangelog"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md)<a name="help_getAppChangelog"></a>
|
||||
|
||||
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||
|
||||
@ -217,22 +222,28 @@ $MadelineProto->[help->getTermsOfService](help_getTermsOfService.md)(\['lang_cod
|
||||
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)<a name="help_saveAppLog"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
|
||||
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="messages_addChatUser"></a>
|
||||
|
||||
@ -359,7 +370,8 @@ $MadelineProto->[messages->toggleChatAdmins](messages_toggleChatAdmins.md)(\['ch
|
||||
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)<a name="messages_uninstallStickerSet"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
|
||||
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)<a name="photos_getUserPhotos"></a>
|
||||
|
||||
@ -368,21 +380,24 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
|
||||
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md)<a name="photos_uploadProfilePhoto"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)<a name="updates_getState"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
|
||||
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveBigFilePart"></a>
|
||||
|
||||
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveFilePart"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
|
||||
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)<a name="users_getUsers"></a>
|
||||
|
||||
|
@ -27,8 +27,7 @@ description: What do you want to do?
|
||||
|
||||
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
||||
|
||||
***
|
||||
<br><br>* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
|
||||
* <a href="account_checkUsername.html" name="account_checkUsername">Check if this username is available</a>
|
||||
|
||||
@ -76,23 +75,10 @@ description: What do you want to do?
|
||||
|
||||
* <a href="account_updateUsername.html" name="account_updateUsername">Update this user's username</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="auth_bindTempAuthKey.html" name="auth_bindTempAuthKey">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</a>
|
||||
|
||||
* <a href="auth_cancelCode.html" name="auth_cancelCode">Invalidate sent phone code</a>
|
||||
|
||||
* <a href="auth_checkPassword.html" name="auth_checkPassword">You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_checkPhone.html" name="auth_checkPhone">Check if this phone number is registered on telegram</a>
|
||||
|
||||
* <a href="auth_exportAuthorization.html" name="auth_exportAuthorization">You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importAuthorization.html" name="auth_importAuthorization">You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importBotAuthorization.html" name="auth_importBotAuthorization">You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_logOut.html" name="auth_logOut">You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_recoverPassword.html" name="auth_recoverPassword">Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account</a>
|
||||
|
||||
* <a href="auth_requestPasswordRecovery.html" name="auth_requestPasswordRecovery">Send an email to recover the 2FA password</a>
|
||||
@ -101,16 +87,9 @@ description: What do you want to do?
|
||||
|
||||
* <a href="auth_resetAuthorizations.html" name="auth_resetAuthorizations">Delete all logged-in sessions.</a>
|
||||
|
||||
* <a href="auth_sendCode.html" name="auth_sendCode">Use phone_login instead</a>
|
||||
|
||||
* <a href="auth_sendInvites.html" name="auth_sendInvites">Invite friends to telegram!</a>
|
||||
|
||||
* <a href="auth_signIn.html" name="auth_signIn">You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_signUp.html" name="auth_signUp">You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
|
||||
* <a href="channels_createChannel.html" name="channels_createChannel">Create channel/supergroup</a>
|
||||
|
||||
@ -134,8 +113,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_getChannels.html" name="channels_getChannels">Get info about multiple channels/supergroups</a>
|
||||
|
||||
* <a href="channels_getFullChannel.html" name="channels_getFullChannel">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="channels_getMessages.html" name="channels_getMessages">Get channel/supergroup messages</a>
|
||||
|
||||
* <a href="channels_getParticipant.html" name="channels_getParticipant">Get info about a certain channel/supergroup participant</a>
|
||||
@ -162,8 +139,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_updateUsername.html" name="channels_updateUsername">Update the username of a supergroup/channel</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
|
||||
* <a href="contacts_deleteContact.html" name="contacts_deleteContact">Delete a contact</a>
|
||||
|
||||
@ -185,14 +161,11 @@ description: What do you want to do?
|
||||
|
||||
* <a href="contacts_resetTopPeerRating.html" name="contacts_resetTopPeerRating">Reset top peer rating for a certain category/peer</a>
|
||||
|
||||
* <a href="contacts_resolveUsername.html" name="contacts_resolveUsername">You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="contacts_search.html" name="contacts_search">Search contacts</a>
|
||||
|
||||
* <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
|
||||
* <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates</a>
|
||||
|
||||
@ -208,23 +181,15 @@ description: What do you want to do?
|
||||
|
||||
* <a href="help_saveAppLog.html" name="help_saveAppLog">Log data for developer of this app</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="messages_acceptEncryption.html" name="messages_acceptEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
* <a href="messages_addChatUser.html" name="messages_addChatUser">Add a user to a normal chat (use channels->inviteToChannel for supergroups)</a>
|
||||
|
||||
@ -238,8 +203,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_deleteMessages.html" name="messages_deleteMessages">Delete messages</a>
|
||||
|
||||
* <a href="messages_discardEncryption.html" name="messages_discardEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_editChatAdmin.html" name="messages_editChatAdmin">Edit admin permissions</a>
|
||||
|
||||
* <a href="messages_editChatPhoto.html" name="messages_editChatPhoto">Edit the photo of a normal chat (not supergroup)</a>
|
||||
@ -264,14 +227,10 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_getChats.html" name="messages_getChats">Get info about chats</a>
|
||||
|
||||
* <a href="messages_getDhConfig.html" name="messages_getDhConfig">You cannot use this method directly, instead use $MadelineProto->get_dh_config();</a>
|
||||
|
||||
* <a href="messages_getDialogs.html" name="messages_getDialogs">Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html</a>
|
||||
|
||||
* <a href="messages_getDocumentByHash.html" name="messages_getDocumentByHash">Get document by SHA256 hash</a>
|
||||
|
||||
* <a href="messages_getFullChat.html" name="messages_getFullChat">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="messages_getHistory.html" name="messages_getHistory">Get previous messages of a group</a>
|
||||
|
||||
* <a href="messages_getInlineBotResults.html" name="messages_getInlineBotResults">Call inline bot</a>
|
||||
@ -310,14 +269,10 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_receivedMessages.html" name="messages_receivedMessages">Mark messages as read</a>
|
||||
|
||||
* <a href="messages_receivedQueue.html" name="messages_receivedQueue">You cannot use this method directly</a>
|
||||
|
||||
* <a href="messages_reorderStickerSets.html" name="messages_reorderStickerSets">Reorder sticker sets</a>
|
||||
|
||||
* <a href="messages_reportSpam.html" name="messages_reportSpam">Report a peer for spam</a>
|
||||
|
||||
* <a href="messages_requestEncryption.html" name="messages_requestEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_saveDraft.html" name="messages_saveDraft">Save a message draft</a>
|
||||
|
||||
* <a href="messages_saveGif.html" name="messages_saveGif">Save a GIF</a>
|
||||
@ -356,8 +311,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_uninstallStickerSet.html" name="messages_uninstallStickerSet">Remove a sticker set</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
|
||||
* <a href="photos_getUserPhotos.html" name="photos_getUserPhotos">Get the profile photos of a user</a>
|
||||
|
||||
@ -365,22 +319,5 @@ description: What do you want to do?
|
||||
|
||||
* <a href="photos_uploadProfilePhoto.html" name="photos_uploadProfilePhoto">Upload profile photo</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="updates_getChannelDifference.html" name="updates_getChannelDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getDifference.html" name="updates_getDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getState.html" name="updates_getState">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="upload_getFile.html" name="upload_getFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveBigFilePart.html" name="upload_saveBigFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveFilePart.html" name="upload_saveFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="users_getFullUser.html" name="users_getFullUser">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="users_getUsers.html" name="users_getUsers">Get info about users</a>
|
||||
|
||||
|
@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
|
||||
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
|
||||
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="account_checkUsername"></a>
|
||||
|
||||
@ -83,7 +84,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
|
||||
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
|
||||
$MadelineProto->[auth->cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="auth_cancelCode"></a>
|
||||
|
||||
@ -116,7 +118,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
|
||||
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signUp"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
|
||||
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="channels_createChannel"></a>
|
||||
|
||||
@ -169,7 +172,8 @@ $MadelineProto->[channels->updatePinnedMessage](channels_updatePinnedMessage.md)
|
||||
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
|
||||
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)<a name="contacts_deleteContact"></a>
|
||||
|
||||
@ -198,7 +202,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
|
||||
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_unblock"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\[\]) === [$help\_AppChangelog](../types/help_AppChangelog.md)<a name="help_getAppChangelog"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\[\]) === [$help\_AppChangelog](../types/help_AppChangelog.md)<a name="help_getAppChangelog"></a>
|
||||
|
||||
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||
|
||||
@ -215,22 +220,28 @@ $MadelineProto->[help->getTermsOfService](help_getTermsOfService.md)(\[\]) === [
|
||||
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)<a name="help_saveAppLog"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
|
||||
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="messages_addChatUser"></a>
|
||||
|
||||
@ -363,7 +374,8 @@ $MadelineProto->[messages->toggleChatAdmins](messages_toggleChatAdmins.md)(\['ch
|
||||
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)<a name="messages_uninstallStickerSet"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
|
||||
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)<a name="photos_getUserPhotos"></a>
|
||||
|
||||
@ -372,21 +384,24 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
|
||||
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md)<a name="photos_uploadProfilePhoto"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)<a name="updates_getState"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
|
||||
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveBigFilePart"></a>
|
||||
|
||||
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveFilePart"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
|
||||
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)<a name="users_getUsers"></a>
|
||||
|
||||
|
@ -27,8 +27,7 @@ description: What do you want to do?
|
||||
|
||||
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
||||
|
||||
***
|
||||
<br><br>* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
|
||||
* <a href="account_checkUsername.html" name="account_checkUsername">Check if this username is available</a>
|
||||
|
||||
@ -80,23 +79,10 @@ description: What do you want to do?
|
||||
|
||||
* <a href="account_updateUsername.html" name="account_updateUsername">Update this user's username</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="auth_bindTempAuthKey.html" name="auth_bindTempAuthKey">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</a>
|
||||
|
||||
* <a href="auth_cancelCode.html" name="auth_cancelCode">Invalidate sent phone code</a>
|
||||
|
||||
* <a href="auth_checkPassword.html" name="auth_checkPassword">You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_checkPhone.html" name="auth_checkPhone">Check if this phone number is registered on telegram</a>
|
||||
|
||||
* <a href="auth_exportAuthorization.html" name="auth_exportAuthorization">You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importAuthorization.html" name="auth_importAuthorization">You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importBotAuthorization.html" name="auth_importBotAuthorization">You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_logOut.html" name="auth_logOut">You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_recoverPassword.html" name="auth_recoverPassword">Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account</a>
|
||||
|
||||
* <a href="auth_requestPasswordRecovery.html" name="auth_requestPasswordRecovery">Send an email to recover the 2FA password</a>
|
||||
@ -105,16 +91,9 @@ description: What do you want to do?
|
||||
|
||||
* <a href="auth_resetAuthorizations.html" name="auth_resetAuthorizations">Delete all logged-in sessions.</a>
|
||||
|
||||
* <a href="auth_sendCode.html" name="auth_sendCode">Use phone_login instead</a>
|
||||
|
||||
* <a href="auth_sendInvites.html" name="auth_sendInvites">Invite friends to telegram!</a>
|
||||
|
||||
* <a href="auth_signIn.html" name="auth_signIn">You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_signUp.html" name="auth_signUp">You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
|
||||
* <a href="channels_createChannel.html" name="channels_createChannel">Create channel/supergroup</a>
|
||||
|
||||
@ -138,8 +117,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_getChannels.html" name="channels_getChannels">Get info about multiple channels/supergroups</a>
|
||||
|
||||
* <a href="channels_getFullChannel.html" name="channels_getFullChannel">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="channels_getMessages.html" name="channels_getMessages">Get channel/supergroup messages</a>
|
||||
|
||||
* <a href="channels_getParticipant.html" name="channels_getParticipant">Get info about a certain channel/supergroup participant</a>
|
||||
@ -166,8 +143,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_updateUsername.html" name="channels_updateUsername">Update the username of a supergroup/channel</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
|
||||
* <a href="contacts_deleteContact.html" name="contacts_deleteContact">Delete a contact</a>
|
||||
|
||||
@ -189,14 +165,11 @@ description: What do you want to do?
|
||||
|
||||
* <a href="contacts_resetTopPeerRating.html" name="contacts_resetTopPeerRating">Reset top peer rating for a certain category/peer</a>
|
||||
|
||||
* <a href="contacts_resolveUsername.html" name="contacts_resolveUsername">You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="contacts_search.html" name="contacts_search">Search contacts</a>
|
||||
|
||||
* <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
|
||||
* <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates</a>
|
||||
|
||||
@ -212,23 +185,15 @@ description: What do you want to do?
|
||||
|
||||
* <a href="help_saveAppLog.html" name="help_saveAppLog">Log data for developer of this app</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="messages_acceptEncryption.html" name="messages_acceptEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
* <a href="messages_addChatUser.html" name="messages_addChatUser">Add a user to a normal chat (use channels->inviteToChannel for supergroups)</a>
|
||||
|
||||
@ -244,8 +209,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_deleteMessages.html" name="messages_deleteMessages">Delete messages</a>
|
||||
|
||||
* <a href="messages_discardEncryption.html" name="messages_discardEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_editChatAdmin.html" name="messages_editChatAdmin">Edit admin permissions</a>
|
||||
|
||||
* <a href="messages_editChatPhoto.html" name="messages_editChatPhoto">Edit the photo of a normal chat (not supergroup)</a>
|
||||
@ -272,16 +235,12 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_getChats.html" name="messages_getChats">Get info about chats</a>
|
||||
|
||||
* <a href="messages_getDhConfig.html" name="messages_getDhConfig">You cannot use this method directly, instead use $MadelineProto->get_dh_config();</a>
|
||||
|
||||
* <a href="messages_getDialogs.html" name="messages_getDialogs">Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html</a>
|
||||
|
||||
* <a href="messages_getDocumentByHash.html" name="messages_getDocumentByHash">Get document by SHA256 hash</a>
|
||||
|
||||
* <a href="messages_getFeaturedStickers.html" name="messages_getFeaturedStickers">Get featured stickers</a>
|
||||
|
||||
* <a href="messages_getFullChat.html" name="messages_getFullChat">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="messages_getHistory.html" name="messages_getHistory">Get previous messages of a group</a>
|
||||
|
||||
* <a href="messages_getInlineBotResults.html" name="messages_getInlineBotResults">Call inline bot</a>
|
||||
@ -326,14 +285,10 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_receivedMessages.html" name="messages_receivedMessages">Mark messages as read</a>
|
||||
|
||||
* <a href="messages_receivedQueue.html" name="messages_receivedQueue">You cannot use this method directly</a>
|
||||
|
||||
* <a href="messages_reorderStickerSets.html" name="messages_reorderStickerSets">Reorder sticker sets</a>
|
||||
|
||||
* <a href="messages_reportSpam.html" name="messages_reportSpam">Report a peer for spam</a>
|
||||
|
||||
* <a href="messages_requestEncryption.html" name="messages_requestEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_saveDraft.html" name="messages_saveDraft">Save a message draft</a>
|
||||
|
||||
* <a href="messages_saveGif.html" name="messages_saveGif">Save a GIF</a>
|
||||
@ -374,8 +329,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_uninstallStickerSet.html" name="messages_uninstallStickerSet">Remove a sticker set</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
|
||||
* <a href="photos_getUserPhotos.html" name="photos_getUserPhotos">Get the profile photos of a user</a>
|
||||
|
||||
@ -383,22 +337,5 @@ description: What do you want to do?
|
||||
|
||||
* <a href="photos_uploadProfilePhoto.html" name="photos_uploadProfilePhoto">Upload profile photo</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="updates_getChannelDifference.html" name="updates_getChannelDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getDifference.html" name="updates_getDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getState.html" name="updates_getState">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="upload_getFile.html" name="upload_getFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveBigFilePart.html" name="upload_saveBigFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveFilePart.html" name="upload_saveFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="users_getFullUser.html" name="users_getFullUser">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="users_getUsers.html" name="users_getUsers">Get info about users</a>
|
||||
|
||||
|
@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
|
||||
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
|
||||
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="account_checkUsername"></a>
|
||||
|
||||
@ -87,7 +88,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
|
||||
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
|
||||
$MadelineProto->[auth->cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="auth_cancelCode"></a>
|
||||
|
||||
@ -120,7 +122,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
|
||||
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signUp"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
|
||||
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="channels_createChannel"></a>
|
||||
|
||||
@ -173,7 +176,8 @@ $MadelineProto->[channels->updatePinnedMessage](channels_updatePinnedMessage.md)
|
||||
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
|
||||
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)<a name="contacts_deleteContact"></a>
|
||||
|
||||
@ -202,7 +206,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
|
||||
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_unblock"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\[\]) === [$help\_AppChangelog](../types/help_AppChangelog.md)<a name="help_getAppChangelog"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\[\]) === [$help\_AppChangelog](../types/help_AppChangelog.md)<a name="help_getAppChangelog"></a>
|
||||
|
||||
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||
|
||||
@ -219,22 +224,28 @@ $MadelineProto->[help->getTermsOfService](help_getTermsOfService.md)(\[\]) === [
|
||||
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)<a name="help_saveAppLog"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
|
||||
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="messages_addChatUser"></a>
|
||||
|
||||
@ -381,7 +392,8 @@ $MadelineProto->[messages->toggleChatAdmins](messages_toggleChatAdmins.md)(\['ch
|
||||
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)<a name="messages_uninstallStickerSet"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
|
||||
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)<a name="photos_getUserPhotos"></a>
|
||||
|
||||
@ -390,21 +402,24 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
|
||||
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md)<a name="photos_uploadProfilePhoto"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)<a name="updates_getState"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
|
||||
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveBigFilePart"></a>
|
||||
|
||||
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveFilePart"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
|
||||
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)<a name="users_getUsers"></a>
|
||||
|
||||
|
@ -27,8 +27,7 @@ description: What do you want to do?
|
||||
|
||||
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
||||
|
||||
***
|
||||
<br><br>* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
|
||||
* <a href="account_checkUsername.html" name="account_checkUsername">Check if this username is available</a>
|
||||
|
||||
@ -80,25 +79,12 @@ description: What do you want to do?
|
||||
|
||||
* <a href="account_updateUsername.html" name="account_updateUsername">Update this user's username</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="auth_bindTempAuthKey.html" name="auth_bindTempAuthKey">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</a>
|
||||
|
||||
* <a href="auth_cancelCode.html" name="auth_cancelCode">Invalidate sent phone code</a>
|
||||
|
||||
* <a href="auth_checkPassword.html" name="auth_checkPassword">You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_checkPhone.html" name="auth_checkPhone">Check if this phone number is registered on telegram</a>
|
||||
|
||||
* <a href="auth_dropTempAuthKeys.html" name="auth_dropTempAuthKeys">Delete all temporary authorization keys except the ones provided</a>
|
||||
|
||||
* <a href="auth_exportAuthorization.html" name="auth_exportAuthorization">You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importAuthorization.html" name="auth_importAuthorization">You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importBotAuthorization.html" name="auth_importBotAuthorization">You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_logOut.html" name="auth_logOut">You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_recoverPassword.html" name="auth_recoverPassword">Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account</a>
|
||||
|
||||
* <a href="auth_requestPasswordRecovery.html" name="auth_requestPasswordRecovery">Send an email to recover the 2FA password</a>
|
||||
@ -107,16 +93,9 @@ description: What do you want to do?
|
||||
|
||||
* <a href="auth_resetAuthorizations.html" name="auth_resetAuthorizations">Delete all logged-in sessions.</a>
|
||||
|
||||
* <a href="auth_sendCode.html" name="auth_sendCode">Use phone_login instead</a>
|
||||
|
||||
* <a href="auth_sendInvites.html" name="auth_sendInvites">Invite friends to telegram!</a>
|
||||
|
||||
* <a href="auth_signIn.html" name="auth_signIn">You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_signUp.html" name="auth_signUp">You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
|
||||
* <a href="channels_createChannel.html" name="channels_createChannel">Create channel/supergroup</a>
|
||||
|
||||
@ -142,8 +121,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_getChannels.html" name="channels_getChannels">Get info about multiple channels/supergroups</a>
|
||||
|
||||
* <a href="channels_getFullChannel.html" name="channels_getFullChannel">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="channels_getMessages.html" name="channels_getMessages">Get channel/supergroup messages</a>
|
||||
|
||||
* <a href="channels_getParticipant.html" name="channels_getParticipant">Get info about a certain channel/supergroup participant</a>
|
||||
@ -170,8 +147,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_updateUsername.html" name="channels_updateUsername">Update the username of a supergroup/channel</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
|
||||
* <a href="contacts_deleteContact.html" name="contacts_deleteContact">Delete a contact</a>
|
||||
|
||||
@ -193,14 +169,11 @@ description: What do you want to do?
|
||||
|
||||
* <a href="contacts_resetTopPeerRating.html" name="contacts_resetTopPeerRating">Reset top peer rating for a certain category/peer</a>
|
||||
|
||||
* <a href="contacts_resolveUsername.html" name="contacts_resolveUsername">You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="contacts_search.html" name="contacts_search">Search contacts</a>
|
||||
|
||||
* <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
|
||||
* <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates</a>
|
||||
|
||||
@ -216,23 +189,15 @@ description: What do you want to do?
|
||||
|
||||
* <a href="help_saveAppLog.html" name="help_saveAppLog">Log data for developer of this app</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="messages_acceptEncryption.html" name="messages_acceptEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
* <a href="messages_addChatUser.html" name="messages_addChatUser">Add a user to a normal chat (use channels->inviteToChannel for supergroups)</a>
|
||||
|
||||
@ -248,8 +213,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_deleteMessages.html" name="messages_deleteMessages">Delete messages</a>
|
||||
|
||||
* <a href="messages_discardEncryption.html" name="messages_discardEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_editChatAdmin.html" name="messages_editChatAdmin">Edit admin permissions</a>
|
||||
|
||||
* <a href="messages_editChatPhoto.html" name="messages_editChatPhoto">Edit the photo of a normal chat (not supergroup)</a>
|
||||
@ -278,16 +241,12 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_getChats.html" name="messages_getChats">Get info about chats</a>
|
||||
|
||||
* <a href="messages_getDhConfig.html" name="messages_getDhConfig">You cannot use this method directly, instead use $MadelineProto->get_dh_config();</a>
|
||||
|
||||
* <a href="messages_getDialogs.html" name="messages_getDialogs">Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html</a>
|
||||
|
||||
* <a href="messages_getDocumentByHash.html" name="messages_getDocumentByHash">Get document by SHA256 hash</a>
|
||||
|
||||
* <a href="messages_getFeaturedStickers.html" name="messages_getFeaturedStickers">Get featured stickers</a>
|
||||
|
||||
* <a href="messages_getFullChat.html" name="messages_getFullChat">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="messages_getGameHighScores.html" name="messages_getGameHighScores">Get high scores of a game</a>
|
||||
|
||||
* <a href="messages_getHistory.html" name="messages_getHistory">Get previous messages of a group</a>
|
||||
@ -334,14 +293,10 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_receivedMessages.html" name="messages_receivedMessages">Mark messages as read</a>
|
||||
|
||||
* <a href="messages_receivedQueue.html" name="messages_receivedQueue">You cannot use this method directly</a>
|
||||
|
||||
* <a href="messages_reorderStickerSets.html" name="messages_reorderStickerSets">Reorder sticker sets</a>
|
||||
|
||||
* <a href="messages_reportSpam.html" name="messages_reportSpam">Report a peer for spam</a>
|
||||
|
||||
* <a href="messages_requestEncryption.html" name="messages_requestEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_saveDraft.html" name="messages_saveDraft">Save a message draft</a>
|
||||
|
||||
* <a href="messages_saveGif.html" name="messages_saveGif">Save a GIF</a>
|
||||
@ -384,8 +339,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_uninstallStickerSet.html" name="messages_uninstallStickerSet">Remove a sticker set</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
|
||||
* <a href="photos_getUserPhotos.html" name="photos_getUserPhotos">Get the profile photos of a user</a>
|
||||
|
||||
@ -393,22 +347,5 @@ description: What do you want to do?
|
||||
|
||||
* <a href="photos_uploadProfilePhoto.html" name="photos_uploadProfilePhoto">Upload profile photo</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="updates_getChannelDifference.html" name="updates_getChannelDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getDifference.html" name="updates_getDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getState.html" name="updates_getState">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="upload_getFile.html" name="upload_getFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveBigFilePart.html" name="upload_saveBigFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveFilePart.html" name="upload_saveFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="users_getFullUser.html" name="users_getFullUser">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="users_getUsers.html" name="users_getUsers">Get info about users</a>
|
||||
|
||||
|
@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
|
||||
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
|
||||
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="account_checkUsername"></a>
|
||||
|
||||
@ -87,7 +88,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
|
||||
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
|
||||
$MadelineProto->[auth->cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="auth_cancelCode"></a>
|
||||
|
||||
@ -122,7 +124,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
|
||||
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signUp"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
|
||||
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="channels_createChannel"></a>
|
||||
|
||||
@ -177,7 +180,8 @@ $MadelineProto->[channels->updatePinnedMessage](channels_updatePinnedMessage.md)
|
||||
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
|
||||
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)<a name="contacts_deleteContact"></a>
|
||||
|
||||
@ -206,7 +210,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
|
||||
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_unblock"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\[\]) === [$help\_AppChangelog](../types/help_AppChangelog.md)<a name="help_getAppChangelog"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\[\]) === [$help\_AppChangelog](../types/help_AppChangelog.md)<a name="help_getAppChangelog"></a>
|
||||
|
||||
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||
|
||||
@ -223,22 +228,28 @@ $MadelineProto->[help->getTermsOfService](help_getTermsOfService.md)(\[\]) === [
|
||||
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)<a name="help_saveAppLog"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
|
||||
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="messages_addChatUser"></a>
|
||||
|
||||
@ -391,7 +402,8 @@ $MadelineProto->[messages->toggleChatAdmins](messages_toggleChatAdmins.md)(\['ch
|
||||
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)<a name="messages_uninstallStickerSet"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
|
||||
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)<a name="photos_getUserPhotos"></a>
|
||||
|
||||
@ -400,21 +412,24 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
|
||||
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md)<a name="photos_uploadProfilePhoto"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)<a name="updates_getState"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
|
||||
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveBigFilePart"></a>
|
||||
|
||||
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveFilePart"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
|
||||
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)<a name="users_getUsers"></a>
|
||||
|
||||
|
@ -27,8 +27,7 @@ description: What do you want to do?
|
||||
|
||||
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
||||
|
||||
***
|
||||
<br><br>* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
|
||||
* <a href="account_checkUsername.html" name="account_checkUsername">Check if this username is available</a>
|
||||
|
||||
@ -80,25 +79,12 @@ description: What do you want to do?
|
||||
|
||||
* <a href="account_updateUsername.html" name="account_updateUsername">Update this user's username</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="auth_bindTempAuthKey.html" name="auth_bindTempAuthKey">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</a>
|
||||
|
||||
* <a href="auth_cancelCode.html" name="auth_cancelCode">Invalidate sent phone code</a>
|
||||
|
||||
* <a href="auth_checkPassword.html" name="auth_checkPassword">You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_checkPhone.html" name="auth_checkPhone">Check if this phone number is registered on telegram</a>
|
||||
|
||||
* <a href="auth_dropTempAuthKeys.html" name="auth_dropTempAuthKeys">Delete all temporary authorization keys except the ones provided</a>
|
||||
|
||||
* <a href="auth_exportAuthorization.html" name="auth_exportAuthorization">You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importAuthorization.html" name="auth_importAuthorization">You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importBotAuthorization.html" name="auth_importBotAuthorization">You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_logOut.html" name="auth_logOut">You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_recoverPassword.html" name="auth_recoverPassword">Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account</a>
|
||||
|
||||
* <a href="auth_requestPasswordRecovery.html" name="auth_requestPasswordRecovery">Send an email to recover the 2FA password</a>
|
||||
@ -107,16 +93,9 @@ description: What do you want to do?
|
||||
|
||||
* <a href="auth_resetAuthorizations.html" name="auth_resetAuthorizations">Delete all logged-in sessions.</a>
|
||||
|
||||
* <a href="auth_sendCode.html" name="auth_sendCode">Use phone_login instead</a>
|
||||
|
||||
* <a href="auth_sendInvites.html" name="auth_sendInvites">Invite friends to telegram!</a>
|
||||
|
||||
* <a href="auth_signIn.html" name="auth_signIn">You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_signUp.html" name="auth_signUp">You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
|
||||
* <a href="channels_createChannel.html" name="channels_createChannel">Create channel/supergroup</a>
|
||||
|
||||
@ -142,8 +121,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_getChannels.html" name="channels_getChannels">Get info about multiple channels/supergroups</a>
|
||||
|
||||
* <a href="channels_getFullChannel.html" name="channels_getFullChannel">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="channels_getMessages.html" name="channels_getMessages">Get channel/supergroup messages</a>
|
||||
|
||||
* <a href="channels_getParticipant.html" name="channels_getParticipant">Get info about a certain channel/supergroup participant</a>
|
||||
@ -170,8 +147,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_updateUsername.html" name="channels_updateUsername">Update the username of a supergroup/channel</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
|
||||
* <a href="contacts_deleteContact.html" name="contacts_deleteContact">Delete a contact</a>
|
||||
|
||||
@ -193,17 +169,13 @@ description: What do you want to do?
|
||||
|
||||
* <a href="contacts_resetTopPeerRating.html" name="contacts_resetTopPeerRating">Reset top peer rating for a certain category/peer</a>
|
||||
|
||||
* <a href="contacts_resolveUsername.html" name="contacts_resolveUsername">You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="contacts_search.html" name="contacts_search">Search contacts</a>
|
||||
|
||||
* <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="destroy_auth_key.html" name="destroy_auth_key">Destroy current authorization key</a>
|
||||
* <a href="destroy_auth_key.html" name="destroy_auth_key">Destroy current authorization key</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
|
||||
* <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates</a>
|
||||
|
||||
@ -221,23 +193,15 @@ description: What do you want to do?
|
||||
|
||||
* <a href="help_setBotUpdatesStatus.html" name="help_setBotUpdatesStatus">Set the update status of webhook</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="messages_acceptEncryption.html" name="messages_acceptEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
* <a href="messages_addChatUser.html" name="messages_addChatUser">Add a user to a normal chat (use channels->inviteToChannel for supergroups)</a>
|
||||
|
||||
@ -253,8 +217,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_deleteMessages.html" name="messages_deleteMessages">Delete messages</a>
|
||||
|
||||
* <a href="messages_discardEncryption.html" name="messages_discardEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_editChatAdmin.html" name="messages_editChatAdmin">Edit admin permissions</a>
|
||||
|
||||
* <a href="messages_editChatPhoto.html" name="messages_editChatPhoto">Edit the photo of a normal chat (not supergroup)</a>
|
||||
@ -287,16 +249,12 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_getCommonChats.html" name="messages_getCommonChats">Get chats in common with a user</a>
|
||||
|
||||
* <a href="messages_getDhConfig.html" name="messages_getDhConfig">You cannot use this method directly, instead use $MadelineProto->get_dh_config();</a>
|
||||
|
||||
* <a href="messages_getDialogs.html" name="messages_getDialogs">Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html</a>
|
||||
|
||||
* <a href="messages_getDocumentByHash.html" name="messages_getDocumentByHash">Get document by SHA256 hash</a>
|
||||
|
||||
* <a href="messages_getFeaturedStickers.html" name="messages_getFeaturedStickers">Get featured stickers</a>
|
||||
|
||||
* <a href="messages_getFullChat.html" name="messages_getFullChat">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="messages_getGameHighScores.html" name="messages_getGameHighScores">Get high scores of a game</a>
|
||||
|
||||
* <a href="messages_getHistory.html" name="messages_getHistory">Get previous messages of a group</a>
|
||||
@ -347,8 +305,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_receivedMessages.html" name="messages_receivedMessages">Mark messages as read</a>
|
||||
|
||||
* <a href="messages_receivedQueue.html" name="messages_receivedQueue">You cannot use this method directly</a>
|
||||
|
||||
* <a href="messages_reorderPinnedDialogs.html" name="messages_reorderPinnedDialogs">Reorder pinned dialogs</a>
|
||||
|
||||
* <a href="messages_reorderStickerSets.html" name="messages_reorderStickerSets">Reorder sticker sets</a>
|
||||
@ -357,8 +313,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_reportSpam.html" name="messages_reportSpam">Report a peer for spam</a>
|
||||
|
||||
* <a href="messages_requestEncryption.html" name="messages_requestEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_saveDraft.html" name="messages_saveDraft">Save a message draft</a>
|
||||
|
||||
* <a href="messages_saveGif.html" name="messages_saveGif">Save a GIF</a>
|
||||
@ -403,17 +357,9 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_uninstallStickerSet.html" name="messages_uninstallStickerSet">Remove a sticker set</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="phone_acceptCall.html" name="phone_acceptCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_discardCall.html" name="phone_discardCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_receivedCall.html" name="phone_receivedCall">Notify server that you received a call (server will refuse all incoming calls until the current call is over)</a>
|
||||
|
||||
* <a href="phone_requestCall.html" name="phone_requestCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
|
||||
* <a href="photos_getUserPhotos.html" name="photos_getUserPhotos">Get the profile photos of a user</a>
|
||||
|
||||
@ -421,22 +367,5 @@ description: What do you want to do?
|
||||
|
||||
* <a href="photos_uploadProfilePhoto.html" name="photos_uploadProfilePhoto">Upload profile photo</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="updates_getChannelDifference.html" name="updates_getChannelDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getDifference.html" name="updates_getDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getState.html" name="updates_getState">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="upload_getFile.html" name="upload_getFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveBigFilePart.html" name="upload_saveBigFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveFilePart.html" name="upload_saveFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="users_getFullUser.html" name="users_getFullUser">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="users_getUsers.html" name="users_getUsers">Get info about users</a>
|
||||
|
||||
|
@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
|
||||
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
|
||||
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="account_checkUsername"></a>
|
||||
|
||||
@ -87,7 +88,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
|
||||
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
|
||||
$MadelineProto->[auth->cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="auth_cancelCode"></a>
|
||||
|
||||
@ -122,7 +124,8 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
|
||||
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signUp"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
|
||||
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="channels_createChannel"></a>
|
||||
|
||||
@ -177,7 +180,8 @@ $MadelineProto->[channels->updatePinnedMessage](channels_updatePinnedMessage.md)
|
||||
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
|
||||
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)<a name="contacts_deleteContact"></a>
|
||||
|
||||
@ -206,10 +210,12 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
|
||||
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_unblock"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[destroy_auth_key](destroy_auth_key.md)(\[\]) === [$DestroyAuthKeyRes](../types/DestroyAuthKeyRes.md)<a name="destroy_auth_key"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[destroy_auth_key](destroy_auth_key.md)(\[\]) === [$DestroyAuthKeyRes](../types/DestroyAuthKeyRes.md)<a name="destroy_auth_key"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\[\]) === [$help\_AppChangelog](../types/help_AppChangelog.md)<a name="help_getAppChangelog"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\[\]) === [$help\_AppChangelog](../types/help_AppChangelog.md)<a name="help_getAppChangelog"></a>
|
||||
|
||||
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||
|
||||
@ -228,22 +234,28 @@ $MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputApp
|
||||
$MadelineProto->[help->setBotUpdatesStatus](help_setBotUpdatesStatus.md)(\['pending_updates_count' => [int](../types/int.md), 'message' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="help_setBotUpdatesStatus"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
|
||||
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="messages_addChatUser"></a>
|
||||
|
||||
@ -410,7 +422,8 @@ $MadelineProto->[messages->toggleDialogPin](messages_toggleDialogPin.md)(\['pinn
|
||||
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)<a name="messages_uninstallStickerSet"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_acceptCall"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_acceptCall"></a>
|
||||
|
||||
$MadelineProto->[phone->discardCall](phone_discardCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'duration' => [int](../types/int.md), 'reason' => [PhoneCallDiscardReason](../types/PhoneCallDiscardReason.md), 'connection_id' => [long](../types/long.md), \]) === [$Bool](../types/Bool.md)<a name="phone_discardCall"></a>
|
||||
|
||||
@ -419,7 +432,8 @@ $MadelineProto->[phone->receivedCall](phone_receivedCall.md)(\['peer' => [InputP
|
||||
$MadelineProto->[phone->requestCall](phone_requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_requestCall"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
|
||||
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)<a name="photos_getUserPhotos"></a>
|
||||
|
||||
@ -428,21 +442,24 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
|
||||
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md)<a name="photos_uploadProfilePhoto"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)<a name="updates_getState"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
|
||||
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveBigFilePart"></a>
|
||||
|
||||
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveFilePart"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
|
||||
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)<a name="users_getUsers"></a>
|
||||
|
||||
|
@ -27,8 +27,7 @@ description: What do you want to do?
|
||||
|
||||
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
||||
|
||||
***
|
||||
<br><br>* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
|
||||
* <a href="account_checkUsername.html" name="account_checkUsername">Check if this username is available</a>
|
||||
|
||||
@ -82,25 +81,12 @@ description: What do you want to do?
|
||||
|
||||
* <a href="account_updateUsername.html" name="account_updateUsername">Update this user's username</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="auth_bindTempAuthKey.html" name="auth_bindTempAuthKey">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</a>
|
||||
|
||||
* <a href="auth_cancelCode.html" name="auth_cancelCode">Invalidate sent phone code</a>
|
||||
|
||||
* <a href="auth_checkPassword.html" name="auth_checkPassword">You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_checkPhone.html" name="auth_checkPhone">Check if this phone number is registered on telegram</a>
|
||||
|
||||
* <a href="auth_dropTempAuthKeys.html" name="auth_dropTempAuthKeys">Delete all temporary authorization keys except the ones provided</a>
|
||||
|
||||
* <a href="auth_exportAuthorization.html" name="auth_exportAuthorization">You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importAuthorization.html" name="auth_importAuthorization">You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importBotAuthorization.html" name="auth_importBotAuthorization">You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_logOut.html" name="auth_logOut">You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_recoverPassword.html" name="auth_recoverPassword">Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account</a>
|
||||
|
||||
* <a href="auth_requestPasswordRecovery.html" name="auth_requestPasswordRecovery">Send an email to recover the 2FA password</a>
|
||||
@ -109,21 +95,13 @@ description: What do you want to do?
|
||||
|
||||
* <a href="auth_resetAuthorizations.html" name="auth_resetAuthorizations">Delete all logged-in sessions.</a>
|
||||
|
||||
* <a href="auth_sendCode.html" name="auth_sendCode">Use phone_login instead</a>
|
||||
|
||||
* <a href="auth_sendInvites.html" name="auth_sendInvites">Invite friends to telegram!</a>
|
||||
|
||||
* <a href="auth_signIn.html" name="auth_signIn">You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_signUp.html" name="auth_signUp">You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="bots_answerWebhookJSONQuery.html" name="bots_answerWebhookJSONQuery">Send webhook request via bot API</a>
|
||||
* <a href="bots_answerWebhookJSONQuery.html" name="bots_answerWebhookJSONQuery">Send webhook request via bot API</a>
|
||||
|
||||
* <a href="bots_sendCustomRequest.html" name="bots_sendCustomRequest">Send a custom request to the bot API</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
|
||||
* <a href="channels_createChannel.html" name="channels_createChannel">Create channel/supergroup</a>
|
||||
|
||||
@ -149,8 +127,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_getChannels.html" name="channels_getChannels">Get info about multiple channels/supergroups</a>
|
||||
|
||||
* <a href="channels_getFullChannel.html" name="channels_getFullChannel">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="channels_getMessages.html" name="channels_getMessages">Get channel/supergroup messages</a>
|
||||
|
||||
* <a href="channels_getParticipant.html" name="channels_getParticipant">Get info about a certain channel/supergroup participant</a>
|
||||
@ -177,8 +153,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_updateUsername.html" name="channels_updateUsername">Update the username of a supergroup/channel</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
|
||||
* <a href="contacts_deleteContact.html" name="contacts_deleteContact">Delete a contact</a>
|
||||
|
||||
@ -200,25 +175,19 @@ description: What do you want to do?
|
||||
|
||||
* <a href="contacts_resetTopPeerRating.html" name="contacts_resetTopPeerRating">Reset top peer rating for a certain category/peer</a>
|
||||
|
||||
* <a href="contacts_resolveUsername.html" name="contacts_resolveUsername">You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="contacts_search.html" name="contacts_search">Search contacts</a>
|
||||
|
||||
* <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contest_saveDeveloperInfo.html" name="contest_saveDeveloperInfo">Save developer info for telegram contest</a>
|
||||
* <a href="contest_saveDeveloperInfo.html" name="contest_saveDeveloperInfo">Save developer info for telegram contest</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="destroy_auth_key.html" name="destroy_auth_key">Destroy current authorization key</a>
|
||||
* <a href="destroy_auth_key.html" name="destroy_auth_key">Destroy current authorization key</a>
|
||||
|
||||
* <a href="destroy_session.html" name="destroy_session">Destroy the current MTProto session</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="get_future_salts.html" name="get_future_salts">Get future salts</a>
|
||||
* <a href="get_future_salts.html" name="get_future_salts">Get future salts</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
|
||||
* <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates</a>
|
||||
|
||||
@ -236,23 +205,15 @@ description: What do you want to do?
|
||||
|
||||
* <a href="help_setBotUpdatesStatus.html" name="help_setBotUpdatesStatus">Set the update status of webhook</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="messages_acceptEncryption.html" name="messages_acceptEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
* <a href="messages_addChatUser.html" name="messages_addChatUser">Add a user to a normal chat (use channels->inviteToChannel for supergroups)</a>
|
||||
|
||||
@ -268,8 +229,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_deleteMessages.html" name="messages_deleteMessages">Delete messages</a>
|
||||
|
||||
* <a href="messages_discardEncryption.html" name="messages_discardEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_editChatAdmin.html" name="messages_editChatAdmin">Edit admin permissions</a>
|
||||
|
||||
* <a href="messages_editChatPhoto.html" name="messages_editChatPhoto">Edit the photo of a normal chat (not supergroup)</a>
|
||||
@ -302,16 +261,12 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_getCommonChats.html" name="messages_getCommonChats">Get chats in common with a user</a>
|
||||
|
||||
* <a href="messages_getDhConfig.html" name="messages_getDhConfig">You cannot use this method directly, instead use $MadelineProto->get_dh_config();</a>
|
||||
|
||||
* <a href="messages_getDialogs.html" name="messages_getDialogs">Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html</a>
|
||||
|
||||
* <a href="messages_getDocumentByHash.html" name="messages_getDocumentByHash">Get document by SHA256 hash</a>
|
||||
|
||||
* <a href="messages_getFeaturedStickers.html" name="messages_getFeaturedStickers">Get featured stickers</a>
|
||||
|
||||
* <a href="messages_getFullChat.html" name="messages_getFullChat">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="messages_getGameHighScores.html" name="messages_getGameHighScores">Get high scores of a game</a>
|
||||
|
||||
* <a href="messages_getHistory.html" name="messages_getHistory">Get previous messages of a group</a>
|
||||
@ -362,8 +317,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_receivedMessages.html" name="messages_receivedMessages">Mark messages as read</a>
|
||||
|
||||
* <a href="messages_receivedQueue.html" name="messages_receivedQueue">You cannot use this method directly</a>
|
||||
|
||||
* <a href="messages_reorderPinnedDialogs.html" name="messages_reorderPinnedDialogs">Reorder pinned dialogs</a>
|
||||
|
||||
* <a href="messages_reorderStickerSets.html" name="messages_reorderStickerSets">Reorder sticker sets</a>
|
||||
@ -372,8 +325,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_reportSpam.html" name="messages_reportSpam">Report a peer for spam</a>
|
||||
|
||||
* <a href="messages_requestEncryption.html" name="messages_requestEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_saveDraft.html" name="messages_saveDraft">Save a message draft</a>
|
||||
|
||||
* <a href="messages_saveGif.html" name="messages_saveGif">Save a GIF</a>
|
||||
@ -422,8 +373,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_uninstallStickerSet.html" name="messages_uninstallStickerSet">Remove a sticker set</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="payments_clearSavedInfo.html" name="payments_clearSavedInfo">Clear saved payments info</a>
|
||||
* <a href="payments_clearSavedInfo.html" name="payments_clearSavedInfo">Clear saved payments info</a>
|
||||
|
||||
* <a href="payments_getPaymentForm.html" name="payments_getPaymentForm">Get payment form</a>
|
||||
|
||||
@ -435,25 +385,15 @@ description: What do you want to do?
|
||||
|
||||
* <a href="payments_validateRequestedInfo.html" name="payments_validateRequestedInfo">Validate requested payment info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="phone_acceptCall.html" name="phone_acceptCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_confirmCall.html" name="phone_confirmCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_discardCall.html" name="phone_discardCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_getCallConfig.html" name="phone_getCallConfig">Get call configuration</a>
|
||||
|
||||
* <a href="phone_receivedCall.html" name="phone_receivedCall">Notify server that you received a call (server will refuse all incoming calls until the current call is over)</a>
|
||||
|
||||
* <a href="phone_requestCall.html" name="phone_requestCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_saveCallDebug.html" name="phone_saveCallDebug">Save call debugging info</a>
|
||||
|
||||
* <a href="phone_setCallRating.html" name="phone_setCallRating">Set phone call rating</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
|
||||
* <a href="photos_getUserPhotos.html" name="photos_getUserPhotos">Get the profile photos of a user</a>
|
||||
|
||||
@ -461,40 +401,19 @@ description: What do you want to do?
|
||||
|
||||
* <a href="photos_uploadProfilePhoto.html" name="photos_uploadProfilePhoto">Upload profile photo</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="ping.html" name="ping">pings the server</a>
|
||||
* <a href="ping.html" name="ping">pings the server</a>
|
||||
|
||||
* <a href="ping_delay_disconnect.html" name="ping_delay_disconnect">Pings the server and causes disconection if the same method is not called within ping_disconnect_delay</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="req_DH_params.html" name="req_DH_params">Requests Diffie-hellman parameters for key exchange</a>
|
||||
* <a href="req_DH_params.html" name="req_DH_params">Requests Diffie-hellman parameters for key exchange</a>
|
||||
|
||||
* <a href="req_pq.html" name="req_pq">Requests PQ for factorization</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="rpc_drop_answer.html" name="rpc_drop_answer">Do not send answer to provided request</a>
|
||||
* <a href="rpc_drop_answer.html" name="rpc_drop_answer">Do not send answer to provided request</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="set_client_DH_params.html" name="set_client_DH_params">Sets client diffie-hellman parameters</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="updates_getChannelDifference.html" name="updates_getChannelDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getDifference.html" name="updates_getDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getState.html" name="updates_getState">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="upload_getFile.html" name="upload_getFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
* <a href="set_client_DH_params.html" name="set_client_DH_params">Sets client diffie-hellman parameters</a>
|
||||
|
||||
* <a href="upload_getWebFile.html" name="upload_getWebFile">Download a file through telegram</a>
|
||||
|
||||
* <a href="upload_saveBigFilePart.html" name="upload_saveBigFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveFilePart.html" name="upload_saveFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="users_getFullUser.html" name="users_getFullUser">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="users_getUsers.html" name="users_getUsers">Get info about users</a>
|
||||
|
||||
|
@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
|
||||
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
|
||||
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="account_checkUsername"></a>
|
||||
|
||||
@ -89,7 +90,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
|
||||
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
|
||||
$MadelineProto->[auth->cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="auth_cancelCode"></a>
|
||||
|
||||
@ -124,12 +126,14 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
|
||||
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signUp"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)<a name="bots_answerWebhookJSONQuery"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)<a name="bots_answerWebhookJSONQuery"></a>
|
||||
|
||||
$MadelineProto->[bots->sendCustomRequest](bots_sendCustomRequest.md)(\['custom_method' => [string](../types/string.md), 'params' => [DataJSON](../types/DataJSON.md), \]) === [$DataJSON](../types/DataJSON.md)<a name="bots_sendCustomRequest"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
|
||||
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="channels_createChannel"></a>
|
||||
|
||||
@ -184,7 +188,8 @@ $MadelineProto->[channels->updatePinnedMessage](channels_updatePinnedMessage.md)
|
||||
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
|
||||
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)<a name="contacts_deleteContact"></a>
|
||||
|
||||
@ -213,18 +218,22 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
|
||||
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_unblock"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contest->saveDeveloperInfo](contest_saveDeveloperInfo.md)(\['vk_id' => [int](../types/int.md), 'name' => [string](../types/string.md), 'phone_number' => [string](../types/string.md), 'age' => [int](../types/int.md), 'city' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="contest_saveDeveloperInfo"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contest->saveDeveloperInfo](contest_saveDeveloperInfo.md)(\['vk_id' => [int](../types/int.md), 'name' => [string](../types/string.md), 'phone_number' => [string](../types/string.md), 'age' => [int](../types/int.md), 'city' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="contest_saveDeveloperInfo"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[destroy_auth_key](destroy_auth_key.md)(\[\]) === [$DestroyAuthKeyRes](../types/DestroyAuthKeyRes.md)<a name="destroy_auth_key"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[destroy_auth_key](destroy_auth_key.md)(\[\]) === [$DestroyAuthKeyRes](../types/DestroyAuthKeyRes.md)<a name="destroy_auth_key"></a>
|
||||
|
||||
$MadelineProto->[destroy_session](destroy_session.md)(\['session_id' => [long](../types/long.md), \]) === [$DestroySessionRes](../types/DestroySessionRes.md)<a name="destroy_session"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[get_future_salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) === [$FutureSalts](../types/FutureSalts.md)<a name="get_future_salts"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[get_future_salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) === [$FutureSalts](../types/FutureSalts.md)<a name="get_future_salts"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="help_getAppChangelog"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="help_getAppChangelog"></a>
|
||||
|
||||
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||
|
||||
@ -243,22 +252,28 @@ $MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputApp
|
||||
$MadelineProto->[help->setBotUpdatesStatus](help_setBotUpdatesStatus.md)(\['pending_updates_count' => [int](../types/int.md), 'message' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="help_setBotUpdatesStatus"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
|
||||
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="messages_addChatUser"></a>
|
||||
|
||||
@ -429,7 +444,8 @@ $MadelineProto->[messages->toggleDialogPin](messages_toggleDialogPin.md)(\['pinn
|
||||
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)<a name="messages_uninstallStickerSet"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)<a name="payments_clearSavedInfo"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)<a name="payments_clearSavedInfo"></a>
|
||||
|
||||
$MadelineProto->[payments->getPaymentForm](payments_getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md)<a name="payments_getPaymentForm"></a>
|
||||
|
||||
@ -442,7 +458,8 @@ $MadelineProto->[payments->sendPaymentForm](payments_sendPaymentForm.md)(\['msg_
|
||||
$MadelineProto->[payments->validateRequestedInfo](payments_validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md)<a name="payments_validateRequestedInfo"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_acceptCall"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_acceptCall"></a>
|
||||
|
||||
$MadelineProto->[phone->confirmCall](phone_confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_confirmCall"></a>
|
||||
|
||||
@ -459,7 +476,8 @@ $MadelineProto->[phone->saveCallDebug](phone_saveCallDebug.md)(\['peer' => [Inpu
|
||||
$MadelineProto->[phone->setCallRating](phone_setCallRating.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'rating' => [int](../types/int.md), 'comment' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="phone_setCallRating"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
|
||||
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)<a name="photos_getUserPhotos"></a>
|
||||
|
||||
@ -468,30 +486,36 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
|
||||
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md)<a name="photos_uploadProfilePhoto"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) === [$Pong](../types/Pong.md)<a name="ping"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) === [$Pong](../types/Pong.md)<a name="ping"></a>
|
||||
|
||||
$MadelineProto->[ping_delay_disconnect](ping_delay_disconnect.md)(\['ping_id' => [long](../types/long.md), 'disconnect_delay' => [int](../types/int.md), \]) === [$Pong](../types/Pong.md)<a name="ping_delay_disconnect"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[req_DH_params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [string](../types/string.md), 'q' => [string](../types/string.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Server\_DH\_Params](../types/Server_DH_Params.md)<a name="req_DH_params"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[req_DH_params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [string](../types/string.md), 'q' => [string](../types/string.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Server\_DH\_Params](../types/Server_DH_Params.md)<a name="req_DH_params"></a>
|
||||
|
||||
$MadelineProto->[req_pq](req_pq.md)(\['nonce' => [int128](../types/int128.md), \]) === [$ResPQ](../types/ResPQ.md)<a name="req_pq"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[rpc_drop_answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) === [$RpcDropAnswer](../types/RpcDropAnswer.md)<a name="rpc_drop_answer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[rpc_drop_answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) === [$RpcDropAnswer](../types/RpcDropAnswer.md)<a name="rpc_drop_answer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)<a name="set_client_DH_params"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)<a name="set_client_DH_params"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)<a name="updates_getState"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
|
||||
$MadelineProto->[upload->getWebFile](upload_getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_WebFile](../types/upload_WebFile.md)<a name="upload_getWebFile"></a>
|
||||
|
||||
@ -500,7 +524,8 @@ $MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id'
|
||||
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveFilePart"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
|
||||
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)<a name="users_getUsers"></a>
|
||||
|
||||
|
@ -27,8 +27,7 @@ description: What do you want to do?
|
||||
|
||||
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
||||
|
||||
***
|
||||
<br><br>* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
|
||||
* <a href="account_checkUsername.html" name="account_checkUsername">Check if this username is available</a>
|
||||
|
||||
@ -82,25 +81,12 @@ description: What do you want to do?
|
||||
|
||||
* <a href="account_updateUsername.html" name="account_updateUsername">Update this user's username</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="auth_bindTempAuthKey.html" name="auth_bindTempAuthKey">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</a>
|
||||
|
||||
* <a href="auth_cancelCode.html" name="auth_cancelCode">Invalidate sent phone code</a>
|
||||
|
||||
* <a href="auth_checkPassword.html" name="auth_checkPassword">You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_checkPhone.html" name="auth_checkPhone">Check if this phone number is registered on telegram</a>
|
||||
|
||||
* <a href="auth_dropTempAuthKeys.html" name="auth_dropTempAuthKeys">Delete all temporary authorization keys except the ones provided</a>
|
||||
|
||||
* <a href="auth_exportAuthorization.html" name="auth_exportAuthorization">You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importAuthorization.html" name="auth_importAuthorization">You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importBotAuthorization.html" name="auth_importBotAuthorization">You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_logOut.html" name="auth_logOut">You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_recoverPassword.html" name="auth_recoverPassword">Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account</a>
|
||||
|
||||
* <a href="auth_requestPasswordRecovery.html" name="auth_requestPasswordRecovery">Send an email to recover the 2FA password</a>
|
||||
@ -109,21 +95,13 @@ description: What do you want to do?
|
||||
|
||||
* <a href="auth_resetAuthorizations.html" name="auth_resetAuthorizations">Delete all logged-in sessions.</a>
|
||||
|
||||
* <a href="auth_sendCode.html" name="auth_sendCode">Use phone_login instead</a>
|
||||
|
||||
* <a href="auth_sendInvites.html" name="auth_sendInvites">Invite friends to telegram!</a>
|
||||
|
||||
* <a href="auth_signIn.html" name="auth_signIn">You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_signUp.html" name="auth_signUp">You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="bots_answerWebhookJSONQuery.html" name="bots_answerWebhookJSONQuery">Send webhook request via bot API</a>
|
||||
* <a href="bots_answerWebhookJSONQuery.html" name="bots_answerWebhookJSONQuery">Send webhook request via bot API</a>
|
||||
|
||||
* <a href="bots_sendCustomRequest.html" name="bots_sendCustomRequest">Send a custom request to the bot API</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
|
||||
* <a href="channels_createChannel.html" name="channels_createChannel">Create channel/supergroup</a>
|
||||
|
||||
@ -149,8 +127,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_getChannels.html" name="channels_getChannels">Get info about multiple channels/supergroups</a>
|
||||
|
||||
* <a href="channels_getFullChannel.html" name="channels_getFullChannel">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="channels_getMessages.html" name="channels_getMessages">Get channel/supergroup messages</a>
|
||||
|
||||
* <a href="channels_getParticipant.html" name="channels_getParticipant">Get info about a certain channel/supergroup participant</a>
|
||||
@ -177,8 +153,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_updateUsername.html" name="channels_updateUsername">Update the username of a supergroup/channel</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
|
||||
* <a href="contacts_deleteContact.html" name="contacts_deleteContact">Delete a contact</a>
|
||||
|
||||
@ -200,25 +175,19 @@ description: What do you want to do?
|
||||
|
||||
* <a href="contacts_resetTopPeerRating.html" name="contacts_resetTopPeerRating">Reset top peer rating for a certain category/peer</a>
|
||||
|
||||
* <a href="contacts_resolveUsername.html" name="contacts_resolveUsername">You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="contacts_search.html" name="contacts_search">Search contacts</a>
|
||||
|
||||
* <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contest_saveDeveloperInfo.html" name="contest_saveDeveloperInfo">Save developer info for telegram contest</a>
|
||||
* <a href="contest_saveDeveloperInfo.html" name="contest_saveDeveloperInfo">Save developer info for telegram contest</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="destroy_auth_key.html" name="destroy_auth_key">Destroy current authorization key</a>
|
||||
* <a href="destroy_auth_key.html" name="destroy_auth_key">Destroy current authorization key</a>
|
||||
|
||||
* <a href="destroy_session.html" name="destroy_session">Destroy the current MTProto session</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="get_future_salts.html" name="get_future_salts">Get future salts</a>
|
||||
* <a href="get_future_salts.html" name="get_future_salts">Get future salts</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
|
||||
* <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates</a>
|
||||
|
||||
@ -238,23 +207,15 @@ description: What do you want to do?
|
||||
|
||||
* <a href="help_setBotUpdatesStatus.html" name="help_setBotUpdatesStatus">Set the update status of webhook</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="messages_acceptEncryption.html" name="messages_acceptEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
* <a href="messages_addChatUser.html" name="messages_addChatUser">Add a user to a normal chat (use channels->inviteToChannel for supergroups)</a>
|
||||
|
||||
@ -270,8 +231,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_deleteMessages.html" name="messages_deleteMessages">Delete messages</a>
|
||||
|
||||
* <a href="messages_discardEncryption.html" name="messages_discardEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_editChatAdmin.html" name="messages_editChatAdmin">Edit admin permissions</a>
|
||||
|
||||
* <a href="messages_editChatPhoto.html" name="messages_editChatPhoto">Edit the photo of a normal chat (not supergroup)</a>
|
||||
@ -304,16 +263,12 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_getCommonChats.html" name="messages_getCommonChats">Get chats in common with a user</a>
|
||||
|
||||
* <a href="messages_getDhConfig.html" name="messages_getDhConfig">You cannot use this method directly, instead use $MadelineProto->get_dh_config();</a>
|
||||
|
||||
* <a href="messages_getDialogs.html" name="messages_getDialogs">Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html</a>
|
||||
|
||||
* <a href="messages_getDocumentByHash.html" name="messages_getDocumentByHash">Get document by SHA256 hash</a>
|
||||
|
||||
* <a href="messages_getFeaturedStickers.html" name="messages_getFeaturedStickers">Get featured stickers</a>
|
||||
|
||||
* <a href="messages_getFullChat.html" name="messages_getFullChat">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="messages_getGameHighScores.html" name="messages_getGameHighScores">Get high scores of a game</a>
|
||||
|
||||
* <a href="messages_getHistory.html" name="messages_getHistory">Get previous messages of a group</a>
|
||||
@ -364,8 +319,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_receivedMessages.html" name="messages_receivedMessages">Mark messages as read</a>
|
||||
|
||||
* <a href="messages_receivedQueue.html" name="messages_receivedQueue">You cannot use this method directly</a>
|
||||
|
||||
* <a href="messages_reorderPinnedDialogs.html" name="messages_reorderPinnedDialogs">Reorder pinned dialogs</a>
|
||||
|
||||
* <a href="messages_reorderStickerSets.html" name="messages_reorderStickerSets">Reorder sticker sets</a>
|
||||
@ -374,8 +327,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_reportSpam.html" name="messages_reportSpam">Report a peer for spam</a>
|
||||
|
||||
* <a href="messages_requestEncryption.html" name="messages_requestEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_saveDraft.html" name="messages_saveDraft">Save a message draft</a>
|
||||
|
||||
* <a href="messages_saveGif.html" name="messages_saveGif">Save a GIF</a>
|
||||
@ -424,8 +375,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_uninstallStickerSet.html" name="messages_uninstallStickerSet">Remove a sticker set</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="payments_clearSavedInfo.html" name="payments_clearSavedInfo">Clear saved payments info</a>
|
||||
* <a href="payments_clearSavedInfo.html" name="payments_clearSavedInfo">Clear saved payments info</a>
|
||||
|
||||
* <a href="payments_getPaymentForm.html" name="payments_getPaymentForm">Get payment form</a>
|
||||
|
||||
@ -437,25 +387,15 @@ description: What do you want to do?
|
||||
|
||||
* <a href="payments_validateRequestedInfo.html" name="payments_validateRequestedInfo">Validate requested payment info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="phone_acceptCall.html" name="phone_acceptCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_confirmCall.html" name="phone_confirmCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_discardCall.html" name="phone_discardCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_getCallConfig.html" name="phone_getCallConfig">Get call configuration</a>
|
||||
|
||||
* <a href="phone_receivedCall.html" name="phone_receivedCall">Notify server that you received a call (server will refuse all incoming calls until the current call is over)</a>
|
||||
|
||||
* <a href="phone_requestCall.html" name="phone_requestCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_saveCallDebug.html" name="phone_saveCallDebug">Save call debugging info</a>
|
||||
|
||||
* <a href="phone_setCallRating.html" name="phone_setCallRating">Set phone call rating</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
|
||||
* <a href="photos_getUserPhotos.html" name="photos_getUserPhotos">Get the profile photos of a user</a>
|
||||
|
||||
@ -463,44 +403,19 @@ description: What do you want to do?
|
||||
|
||||
* <a href="photos_uploadProfilePhoto.html" name="photos_uploadProfilePhoto">Upload profile photo</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="ping.html" name="ping">pings the server</a>
|
||||
* <a href="ping.html" name="ping">pings the server</a>
|
||||
|
||||
* <a href="ping_delay_disconnect.html" name="ping_delay_disconnect">Pings the server and causes disconection if the same method is not called within ping_disconnect_delay</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="req_DH_params.html" name="req_DH_params">Requests Diffie-hellman parameters for key exchange</a>
|
||||
* <a href="req_DH_params.html" name="req_DH_params">Requests Diffie-hellman parameters for key exchange</a>
|
||||
|
||||
* <a href="req_pq.html" name="req_pq">Requests PQ for factorization</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="rpc_drop_answer.html" name="rpc_drop_answer">Do not send answer to provided request</a>
|
||||
* <a href="rpc_drop_answer.html" name="rpc_drop_answer">Do not send answer to provided request</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="set_client_DH_params.html" name="set_client_DH_params">Sets client diffie-hellman parameters</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="updates_getChannelDifference.html" name="updates_getChannelDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getDifference.html" name="updates_getDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getState.html" name="updates_getState">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="upload_getCdnFile.html" name="upload_getCdnFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_getFile.html" name="upload_getFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
* <a href="set_client_DH_params.html" name="set_client_DH_params">Sets client diffie-hellman parameters</a>
|
||||
|
||||
* <a href="upload_getWebFile.html" name="upload_getWebFile">Download a file through telegram</a>
|
||||
|
||||
* <a href="upload_reuploadCdnFile.html" name="upload_reuploadCdnFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveBigFilePart.html" name="upload_saveBigFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveFilePart.html" name="upload_saveFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="users_getFullUser.html" name="users_getFullUser">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="users_getUsers.html" name="users_getUsers">Get info about users</a>
|
||||
|
||||
|
@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
|
||||
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
|
||||
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="account_checkUsername"></a>
|
||||
|
||||
@ -89,7 +90,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
|
||||
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
|
||||
$MadelineProto->[auth->cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="auth_cancelCode"></a>
|
||||
|
||||
@ -124,12 +126,14 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
|
||||
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signUp"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)<a name="bots_answerWebhookJSONQuery"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)<a name="bots_answerWebhookJSONQuery"></a>
|
||||
|
||||
$MadelineProto->[bots->sendCustomRequest](bots_sendCustomRequest.md)(\['custom_method' => [string](../types/string.md), 'params' => [DataJSON](../types/DataJSON.md), \]) === [$DataJSON](../types/DataJSON.md)<a name="bots_sendCustomRequest"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
|
||||
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="channels_createChannel"></a>
|
||||
|
||||
@ -184,7 +188,8 @@ $MadelineProto->[channels->updatePinnedMessage](channels_updatePinnedMessage.md)
|
||||
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
|
||||
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)<a name="contacts_deleteContact"></a>
|
||||
|
||||
@ -213,18 +218,22 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
|
||||
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_unblock"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contest->saveDeveloperInfo](contest_saveDeveloperInfo.md)(\['vk_id' => [int](../types/int.md), 'name' => [string](../types/string.md), 'phone_number' => [string](../types/string.md), 'age' => [int](../types/int.md), 'city' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="contest_saveDeveloperInfo"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contest->saveDeveloperInfo](contest_saveDeveloperInfo.md)(\['vk_id' => [int](../types/int.md), 'name' => [string](../types/string.md), 'phone_number' => [string](../types/string.md), 'age' => [int](../types/int.md), 'city' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="contest_saveDeveloperInfo"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[destroy_auth_key](destroy_auth_key.md)(\[\]) === [$DestroyAuthKeyRes](../types/DestroyAuthKeyRes.md)<a name="destroy_auth_key"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[destroy_auth_key](destroy_auth_key.md)(\[\]) === [$DestroyAuthKeyRes](../types/DestroyAuthKeyRes.md)<a name="destroy_auth_key"></a>
|
||||
|
||||
$MadelineProto->[destroy_session](destroy_session.md)(\['session_id' => [long](../types/long.md), \]) === [$DestroySessionRes](../types/DestroySessionRes.md)<a name="destroy_session"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[get_future_salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) === [$FutureSalts](../types/FutureSalts.md)<a name="get_future_salts"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[get_future_salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) === [$FutureSalts](../types/FutureSalts.md)<a name="get_future_salts"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="help_getAppChangelog"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="help_getAppChangelog"></a>
|
||||
|
||||
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||
|
||||
@ -245,22 +254,28 @@ $MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputApp
|
||||
$MadelineProto->[help->setBotUpdatesStatus](help_setBotUpdatesStatus.md)(\['pending_updates_count' => [int](../types/int.md), 'message' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="help_setBotUpdatesStatus"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
|
||||
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="messages_addChatUser"></a>
|
||||
|
||||
@ -431,7 +446,8 @@ $MadelineProto->[messages->toggleDialogPin](messages_toggleDialogPin.md)(\['pinn
|
||||
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)<a name="messages_uninstallStickerSet"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)<a name="payments_clearSavedInfo"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)<a name="payments_clearSavedInfo"></a>
|
||||
|
||||
$MadelineProto->[payments->getPaymentForm](payments_getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md)<a name="payments_getPaymentForm"></a>
|
||||
|
||||
@ -444,7 +460,8 @@ $MadelineProto->[payments->sendPaymentForm](payments_sendPaymentForm.md)(\['msg_
|
||||
$MadelineProto->[payments->validateRequestedInfo](payments_validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md)<a name="payments_validateRequestedInfo"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_acceptCall"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_acceptCall"></a>
|
||||
|
||||
$MadelineProto->[phone->confirmCall](phone_confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_confirmCall"></a>
|
||||
|
||||
@ -461,7 +478,8 @@ $MadelineProto->[phone->saveCallDebug](phone_saveCallDebug.md)(\['peer' => [Inpu
|
||||
$MadelineProto->[phone->setCallRating](phone_setCallRating.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'rating' => [int](../types/int.md), 'comment' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="phone_setCallRating"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
|
||||
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)<a name="photos_getUserPhotos"></a>
|
||||
|
||||
@ -470,30 +488,36 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
|
||||
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md)<a name="photos_uploadProfilePhoto"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) === [$Pong](../types/Pong.md)<a name="ping"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) === [$Pong](../types/Pong.md)<a name="ping"></a>
|
||||
|
||||
$MadelineProto->[ping_delay_disconnect](ping_delay_disconnect.md)(\['ping_id' => [long](../types/long.md), 'disconnect_delay' => [int](../types/int.md), \]) === [$Pong](../types/Pong.md)<a name="ping_delay_disconnect"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[req_DH_params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [string](../types/string.md), 'q' => [string](../types/string.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Server\_DH\_Params](../types/Server_DH_Params.md)<a name="req_DH_params"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[req_DH_params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [string](../types/string.md), 'q' => [string](../types/string.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Server\_DH\_Params](../types/Server_DH_Params.md)<a name="req_DH_params"></a>
|
||||
|
||||
$MadelineProto->[req_pq](req_pq.md)(\['nonce' => [int128](../types/int128.md), \]) === [$ResPQ](../types/ResPQ.md)<a name="req_pq"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[rpc_drop_answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) === [$RpcDropAnswer](../types/RpcDropAnswer.md)<a name="rpc_drop_answer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[rpc_drop_answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) === [$RpcDropAnswer](../types/RpcDropAnswer.md)<a name="rpc_drop_answer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)<a name="set_client_DH_params"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)<a name="set_client_DH_params"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)<a name="updates_getState"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[upload->getCdnFile](upload_getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md)<a name="upload_getCdnFile"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[upload->getCdnFile](upload_getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md)<a name="upload_getCdnFile"></a>
|
||||
|
||||
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
|
||||
@ -506,7 +530,8 @@ $MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id'
|
||||
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveFilePart"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
|
||||
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)<a name="users_getUsers"></a>
|
||||
|
||||
|
@ -27,8 +27,7 @@ description: What do you want to do?
|
||||
|
||||
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
||||
|
||||
***
|
||||
<br><br>* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
|
||||
* <a href="account_checkUsername.html" name="account_checkUsername">Check if this username is available</a>
|
||||
|
||||
@ -82,25 +81,12 @@ description: What do you want to do?
|
||||
|
||||
* <a href="account_updateUsername.html" name="account_updateUsername">Update this user's username</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="auth_bindTempAuthKey.html" name="auth_bindTempAuthKey">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</a>
|
||||
|
||||
* <a href="auth_cancelCode.html" name="auth_cancelCode">Invalidate sent phone code</a>
|
||||
|
||||
* <a href="auth_checkPassword.html" name="auth_checkPassword">You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_checkPhone.html" name="auth_checkPhone">Check if this phone number is registered on telegram</a>
|
||||
|
||||
* <a href="auth_dropTempAuthKeys.html" name="auth_dropTempAuthKeys">Delete all temporary authorization keys except the ones provided</a>
|
||||
|
||||
* <a href="auth_exportAuthorization.html" name="auth_exportAuthorization">You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importAuthorization.html" name="auth_importAuthorization">You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importBotAuthorization.html" name="auth_importBotAuthorization">You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_logOut.html" name="auth_logOut">You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_recoverPassword.html" name="auth_recoverPassword">Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account</a>
|
||||
|
||||
* <a href="auth_requestPasswordRecovery.html" name="auth_requestPasswordRecovery">Send an email to recover the 2FA password</a>
|
||||
@ -109,21 +95,13 @@ description: What do you want to do?
|
||||
|
||||
* <a href="auth_resetAuthorizations.html" name="auth_resetAuthorizations">Delete all logged-in sessions.</a>
|
||||
|
||||
* <a href="auth_sendCode.html" name="auth_sendCode">Use phone_login instead</a>
|
||||
|
||||
* <a href="auth_sendInvites.html" name="auth_sendInvites">Invite friends to telegram!</a>
|
||||
|
||||
* <a href="auth_signIn.html" name="auth_signIn">You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_signUp.html" name="auth_signUp">You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="bots_answerWebhookJSONQuery.html" name="bots_answerWebhookJSONQuery">Send webhook request via bot API</a>
|
||||
* <a href="bots_answerWebhookJSONQuery.html" name="bots_answerWebhookJSONQuery">Send webhook request via bot API</a>
|
||||
|
||||
* <a href="bots_sendCustomRequest.html" name="bots_sendCustomRequest">Send a custom request to the bot API</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
|
||||
* <a href="channels_createChannel.html" name="channels_createChannel">Create channel/supergroup</a>
|
||||
|
||||
@ -153,8 +131,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_getChannels.html" name="channels_getChannels">Get info about multiple channels/supergroups</a>
|
||||
|
||||
* <a href="channels_getFullChannel.html" name="channels_getFullChannel">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="channels_getMessages.html" name="channels_getMessages">Get channel/supergroup messages</a>
|
||||
|
||||
* <a href="channels_getParticipant.html" name="channels_getParticipant">Get info about a certain channel/supergroup participant</a>
|
||||
@ -179,8 +155,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_updateUsername.html" name="channels_updateUsername">Update the username of a supergroup/channel</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
|
||||
* <a href="contacts_deleteContact.html" name="contacts_deleteContact">Delete a contact</a>
|
||||
|
||||
@ -202,25 +177,19 @@ description: What do you want to do?
|
||||
|
||||
* <a href="contacts_resetTopPeerRating.html" name="contacts_resetTopPeerRating">Reset top peer rating for a certain category/peer</a>
|
||||
|
||||
* <a href="contacts_resolveUsername.html" name="contacts_resolveUsername">You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="contacts_search.html" name="contacts_search">Search contacts</a>
|
||||
|
||||
* <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contest_saveDeveloperInfo.html" name="contest_saveDeveloperInfo">Save developer info for telegram contest</a>
|
||||
* <a href="contest_saveDeveloperInfo.html" name="contest_saveDeveloperInfo">Save developer info for telegram contest</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="destroy_auth_key.html" name="destroy_auth_key">Destroy current authorization key</a>
|
||||
* <a href="destroy_auth_key.html" name="destroy_auth_key">Destroy current authorization key</a>
|
||||
|
||||
* <a href="destroy_session.html" name="destroy_session">Destroy the current MTProto session</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="get_future_salts.html" name="get_future_salts">Get future salts</a>
|
||||
* <a href="get_future_salts.html" name="get_future_salts">Get future salts</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
|
||||
* <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates</a>
|
||||
|
||||
@ -240,23 +209,17 @@ description: What do you want to do?
|
||||
|
||||
* <a href="help_setBotUpdatesStatus.html" name="help_setBotUpdatesStatus">Set the update status of webhook</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="langpack_getDifference.html" name="langpack_getDifference">Get language pack updates</a>
|
||||
* <a href="langpack_getDifference.html" name="langpack_getDifference">Get language pack updates</a>
|
||||
|
||||
* <a href="langpack_getLangPack.html" name="langpack_getLangPack">Get language pack</a>
|
||||
|
||||
@ -264,9 +227,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="langpack_getStrings.html" name="langpack_getStrings">Get language pack strings</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="messages_acceptEncryption.html" name="messages_acceptEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_addChatUser.html" name="messages_addChatUser">Add a user to a normal chat (use channels->inviteToChannel for supergroups)</a>
|
||||
|
||||
* <a href="messages_checkChatInvite.html" name="messages_checkChatInvite">Check if an invitation link is valid</a>
|
||||
@ -281,8 +241,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_deleteMessages.html" name="messages_deleteMessages">Delete messages</a>
|
||||
|
||||
* <a href="messages_discardEncryption.html" name="messages_discardEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_editChatAdmin.html" name="messages_editChatAdmin">Edit admin permissions</a>
|
||||
|
||||
* <a href="messages_editChatPhoto.html" name="messages_editChatPhoto">Edit the photo of a normal chat (not supergroup)</a>
|
||||
@ -315,16 +273,12 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_getCommonChats.html" name="messages_getCommonChats">Get chats in common with a user</a>
|
||||
|
||||
* <a href="messages_getDhConfig.html" name="messages_getDhConfig">You cannot use this method directly, instead use $MadelineProto->get_dh_config();</a>
|
||||
|
||||
* <a href="messages_getDialogs.html" name="messages_getDialogs">Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html</a>
|
||||
|
||||
* <a href="messages_getDocumentByHash.html" name="messages_getDocumentByHash">Get document by SHA256 hash</a>
|
||||
|
||||
* <a href="messages_getFeaturedStickers.html" name="messages_getFeaturedStickers">Get featured stickers</a>
|
||||
|
||||
* <a href="messages_getFullChat.html" name="messages_getFullChat">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="messages_getGameHighScores.html" name="messages_getGameHighScores">Get high scores of a game</a>
|
||||
|
||||
* <a href="messages_getHistory.html" name="messages_getHistory">Get previous messages of a group</a>
|
||||
@ -375,8 +329,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_receivedMessages.html" name="messages_receivedMessages">Mark messages as read</a>
|
||||
|
||||
* <a href="messages_receivedQueue.html" name="messages_receivedQueue">You cannot use this method directly</a>
|
||||
|
||||
* <a href="messages_reorderPinnedDialogs.html" name="messages_reorderPinnedDialogs">Reorder pinned dialogs</a>
|
||||
|
||||
* <a href="messages_reorderStickerSets.html" name="messages_reorderStickerSets">Reorder sticker sets</a>
|
||||
@ -385,8 +337,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_reportSpam.html" name="messages_reportSpam">Report a peer for spam</a>
|
||||
|
||||
* <a href="messages_requestEncryption.html" name="messages_requestEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_saveDraft.html" name="messages_saveDraft">Save a message draft</a>
|
||||
|
||||
* <a href="messages_saveGif.html" name="messages_saveGif">Save a GIF</a>
|
||||
@ -437,8 +387,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_uploadMedia.html" name="messages_uploadMedia">Upload a file without sending it to anyone</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="payments_clearSavedInfo.html" name="payments_clearSavedInfo">Clear saved payments info</a>
|
||||
* <a href="payments_clearSavedInfo.html" name="payments_clearSavedInfo">Clear saved payments info</a>
|
||||
|
||||
* <a href="payments_getPaymentForm.html" name="payments_getPaymentForm">Get payment form</a>
|
||||
|
||||
@ -450,25 +399,15 @@ description: What do you want to do?
|
||||
|
||||
* <a href="payments_validateRequestedInfo.html" name="payments_validateRequestedInfo">Validate requested payment info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="phone_acceptCall.html" name="phone_acceptCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_confirmCall.html" name="phone_confirmCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_discardCall.html" name="phone_discardCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_getCallConfig.html" name="phone_getCallConfig">Get call configuration</a>
|
||||
|
||||
* <a href="phone_receivedCall.html" name="phone_receivedCall">Notify server that you received a call (server will refuse all incoming calls until the current call is over)</a>
|
||||
|
||||
* <a href="phone_requestCall.html" name="phone_requestCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_saveCallDebug.html" name="phone_saveCallDebug">Save call debugging info</a>
|
||||
|
||||
* <a href="phone_setCallRating.html" name="phone_setCallRating">Set phone call rating</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
|
||||
* <a href="photos_getUserPhotos.html" name="photos_getUserPhotos">Get the profile photos of a user</a>
|
||||
|
||||
@ -476,24 +415,19 @@ description: What do you want to do?
|
||||
|
||||
* <a href="photos_uploadProfilePhoto.html" name="photos_uploadProfilePhoto">Upload profile photo</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="ping.html" name="ping">pings the server</a>
|
||||
* <a href="ping.html" name="ping">pings the server</a>
|
||||
|
||||
* <a href="ping_delay_disconnect.html" name="ping_delay_disconnect">Pings the server and causes disconection if the same method is not called within ping_disconnect_delay</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="req_DH_params.html" name="req_DH_params">Requests Diffie-hellman parameters for key exchange</a>
|
||||
* <a href="req_DH_params.html" name="req_DH_params">Requests Diffie-hellman parameters for key exchange</a>
|
||||
|
||||
* <a href="req_pq.html" name="req_pq">Requests PQ for factorization</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="rpc_drop_answer.html" name="rpc_drop_answer">Do not send answer to provided request</a>
|
||||
* <a href="rpc_drop_answer.html" name="rpc_drop_answer">Do not send answer to provided request</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="set_client_DH_params.html" name="set_client_DH_params">Sets client diffie-hellman parameters</a>
|
||||
* <a href="set_client_DH_params.html" name="set_client_DH_params">Sets client diffie-hellman parameters</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="stickers_addStickerToSet.html" name="stickers_addStickerToSet">Add sticker to stickerset</a>
|
||||
* <a href="stickers_addStickerToSet.html" name="stickers_addStickerToSet">Add sticker to stickerset</a>
|
||||
|
||||
* <a href="stickers_changeStickerPosition.html" name="stickers_changeStickerPosition">Change sticker position in photo</a>
|
||||
|
||||
@ -501,28 +435,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="stickers_removeStickerFromSet.html" name="stickers_removeStickerFromSet">Remove sticker from stickerset</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="updates_getChannelDifference.html" name="updates_getChannelDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getDifference.html" name="updates_getDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getState.html" name="updates_getState">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="upload_getCdnFile.html" name="upload_getCdnFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_getFile.html" name="upload_getFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_getWebFile.html" name="upload_getWebFile">Download a file through telegram</a>
|
||||
|
||||
* <a href="upload_reuploadCdnFile.html" name="upload_reuploadCdnFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveBigFilePart.html" name="upload_saveBigFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveFilePart.html" name="upload_saveFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="users_getFullUser.html" name="users_getFullUser">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="users_getUsers.html" name="users_getUsers">Get info about users</a>
|
||||
|
||||
|
@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
|
||||
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
|
||||
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="account_checkUsername"></a>
|
||||
|
||||
@ -89,7 +90,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
|
||||
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
|
||||
$MadelineProto->[auth->cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="auth_cancelCode"></a>
|
||||
|
||||
@ -124,12 +126,14 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
|
||||
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signUp"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)<a name="bots_answerWebhookJSONQuery"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)<a name="bots_answerWebhookJSONQuery"></a>
|
||||
|
||||
$MadelineProto->[bots->sendCustomRequest](bots_sendCustomRequest.md)(\['custom_method' => [string](../types/string.md), 'params' => [DataJSON](../types/DataJSON.md), \]) === [$DataJSON](../types/DataJSON.md)<a name="bots_sendCustomRequest"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
|
||||
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="channels_createChannel"></a>
|
||||
|
||||
@ -186,7 +190,8 @@ $MadelineProto->[channels->updatePinnedMessage](channels_updatePinnedMessage.md)
|
||||
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
|
||||
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)<a name="contacts_deleteContact"></a>
|
||||
|
||||
@ -215,18 +220,22 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
|
||||
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_unblock"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contest->saveDeveloperInfo](contest_saveDeveloperInfo.md)(\['vk_id' => [int](../types/int.md), 'name' => [string](../types/string.md), 'phone_number' => [string](../types/string.md), 'age' => [int](../types/int.md), 'city' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="contest_saveDeveloperInfo"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contest->saveDeveloperInfo](contest_saveDeveloperInfo.md)(\['vk_id' => [int](../types/int.md), 'name' => [string](../types/string.md), 'phone_number' => [string](../types/string.md), 'age' => [int](../types/int.md), 'city' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="contest_saveDeveloperInfo"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[destroy_auth_key](destroy_auth_key.md)(\[\]) === [$DestroyAuthKeyRes](../types/DestroyAuthKeyRes.md)<a name="destroy_auth_key"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[destroy_auth_key](destroy_auth_key.md)(\[\]) === [$DestroyAuthKeyRes](../types/DestroyAuthKeyRes.md)<a name="destroy_auth_key"></a>
|
||||
|
||||
$MadelineProto->[destroy_session](destroy_session.md)(\['session_id' => [long](../types/long.md), \]) === [$DestroySessionRes](../types/DestroySessionRes.md)<a name="destroy_session"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[get_future_salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) === [$FutureSalts](../types/FutureSalts.md)<a name="get_future_salts"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[get_future_salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) === [$FutureSalts](../types/FutureSalts.md)<a name="get_future_salts"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="help_getAppChangelog"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="help_getAppChangelog"></a>
|
||||
|
||||
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||
|
||||
@ -247,22 +256,28 @@ $MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputApp
|
||||
$MadelineProto->[help->setBotUpdatesStatus](help_setBotUpdatesStatus.md)(\['pending_updates_count' => [int](../types/int.md), 'message' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="help_setBotUpdatesStatus"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'system_lang_code' => [string](../types/string.md), 'lang_pack' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'system_lang_code' => [string](../types/string.md), 'lang_pack' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[langpack->getDifference](langpack_getDifference.md)(\['from_version' => [int](../types/int.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)<a name="langpack_getDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[langpack->getDifference](langpack_getDifference.md)(\['from_version' => [int](../types/int.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)<a name="langpack_getDifference"></a>
|
||||
|
||||
$MadelineProto->[langpack->getLangPack](langpack_getLangPack.md)(\['lang_code' => [string](../types/string.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)<a name="langpack_getLangPack"></a>
|
||||
|
||||
@ -271,7 +286,8 @@ $MadelineProto->[langpack->getLanguages](langpack_getLanguages.md)(\[\]) === [$V
|
||||
$MadelineProto->[langpack->getStrings](langpack_getStrings.md)(\['lang_code' => [string](../types/string.md), 'keys' => \[[string](../types/string.md)\], \]) === [$Vector\_of\_LangPackString](../types/LangPackString.md)<a name="langpack_getStrings"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
|
||||
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="messages_addChatUser"></a>
|
||||
|
||||
@ -444,7 +460,8 @@ $MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)
|
||||
$MadelineProto->[messages->uploadMedia](messages_uploadMedia.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$MessageMedia](../types/MessageMedia.md)<a name="messages_uploadMedia"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)<a name="payments_clearSavedInfo"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)<a name="payments_clearSavedInfo"></a>
|
||||
|
||||
$MadelineProto->[payments->getPaymentForm](payments_getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md)<a name="payments_getPaymentForm"></a>
|
||||
|
||||
@ -457,7 +474,8 @@ $MadelineProto->[payments->sendPaymentForm](payments_sendPaymentForm.md)(\['msg_
|
||||
$MadelineProto->[payments->validateRequestedInfo](payments_validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md)<a name="payments_validateRequestedInfo"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_acceptCall"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_acceptCall"></a>
|
||||
|
||||
$MadelineProto->[phone->confirmCall](phone_confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_confirmCall"></a>
|
||||
|
||||
@ -474,7 +492,8 @@ $MadelineProto->[phone->saveCallDebug](phone_saveCallDebug.md)(\['peer' => [Inpu
|
||||
$MadelineProto->[phone->setCallRating](phone_setCallRating.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'rating' => [int](../types/int.md), 'comment' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="phone_setCallRating"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
|
||||
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)<a name="photos_getUserPhotos"></a>
|
||||
|
||||
@ -483,23 +502,28 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
|
||||
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md)<a name="photos_uploadProfilePhoto"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) === [$Pong](../types/Pong.md)<a name="ping"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) === [$Pong](../types/Pong.md)<a name="ping"></a>
|
||||
|
||||
$MadelineProto->[ping_delay_disconnect](ping_delay_disconnect.md)(\['ping_id' => [long](../types/long.md), 'disconnect_delay' => [int](../types/int.md), \]) === [$Pong](../types/Pong.md)<a name="ping_delay_disconnect"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[req_DH_params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [string](../types/string.md), 'q' => [string](../types/string.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Server\_DH\_Params](../types/Server_DH_Params.md)<a name="req_DH_params"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[req_DH_params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [string](../types/string.md), 'q' => [string](../types/string.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Server\_DH\_Params](../types/Server_DH_Params.md)<a name="req_DH_params"></a>
|
||||
|
||||
$MadelineProto->[req_pq](req_pq.md)(\['nonce' => [int128](../types/int128.md), \]) === [$ResPQ](../types/ResPQ.md)<a name="req_pq"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[rpc_drop_answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) === [$RpcDropAnswer](../types/RpcDropAnswer.md)<a name="rpc_drop_answer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[rpc_drop_answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) === [$RpcDropAnswer](../types/RpcDropAnswer.md)<a name="rpc_drop_answer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)<a name="set_client_DH_params"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)<a name="set_client_DH_params"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[stickers->addStickerToSet](stickers_addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)<a name="stickers_addStickerToSet"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[stickers->addStickerToSet](stickers_addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)<a name="stickers_addStickerToSet"></a>
|
||||
|
||||
$MadelineProto->[stickers->changeStickerPosition](stickers_changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$Bool](../types/Bool.md)<a name="stickers_changeStickerPosition"></a>
|
||||
|
||||
@ -508,14 +532,16 @@ $MadelineProto->[stickers->createStickerSet](stickers_createStickerSet.md)(\['ma
|
||||
$MadelineProto->[stickers->removeStickerFromSet](stickers_removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$Bool](../types/Bool.md)<a name="stickers_removeStickerFromSet"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)<a name="updates_getState"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[upload->getCdnFile](upload_getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md)<a name="upload_getCdnFile"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[upload->getCdnFile](upload_getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md)<a name="upload_getCdnFile"></a>
|
||||
|
||||
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
|
||||
@ -528,7 +554,8 @@ $MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id'
|
||||
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveFilePart"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
|
||||
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)<a name="users_getUsers"></a>
|
||||
|
||||
|
@ -27,8 +27,7 @@ description: What do you want to do?
|
||||
|
||||
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
||||
|
||||
***
|
||||
<br><br>* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
|
||||
* <a href="account_checkUsername.html" name="account_checkUsername">Check if this username is available</a>
|
||||
|
||||
@ -82,25 +81,12 @@ description: What do you want to do?
|
||||
|
||||
* <a href="account_updateUsername.html" name="account_updateUsername">Update this user's username</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="auth_bindTempAuthKey.html" name="auth_bindTempAuthKey">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</a>
|
||||
|
||||
* <a href="auth_cancelCode.html" name="auth_cancelCode">Invalidate sent phone code</a>
|
||||
|
||||
* <a href="auth_checkPassword.html" name="auth_checkPassword">You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_checkPhone.html" name="auth_checkPhone">Check if this phone number is registered on telegram</a>
|
||||
|
||||
* <a href="auth_dropTempAuthKeys.html" name="auth_dropTempAuthKeys">Delete all temporary authorization keys except the ones provided</a>
|
||||
|
||||
* <a href="auth_exportAuthorization.html" name="auth_exportAuthorization">You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importAuthorization.html" name="auth_importAuthorization">You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importBotAuthorization.html" name="auth_importBotAuthorization">You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_logOut.html" name="auth_logOut">You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_recoverPassword.html" name="auth_recoverPassword">Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account</a>
|
||||
|
||||
* <a href="auth_requestPasswordRecovery.html" name="auth_requestPasswordRecovery">Send an email to recover the 2FA password</a>
|
||||
@ -109,21 +95,13 @@ description: What do you want to do?
|
||||
|
||||
* <a href="auth_resetAuthorizations.html" name="auth_resetAuthorizations">Delete all logged-in sessions.</a>
|
||||
|
||||
* <a href="auth_sendCode.html" name="auth_sendCode">Use phone_login instead</a>
|
||||
|
||||
* <a href="auth_sendInvites.html" name="auth_sendInvites">Invite friends to telegram!</a>
|
||||
|
||||
* <a href="auth_signIn.html" name="auth_signIn">You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_signUp.html" name="auth_signUp">You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="bots_answerWebhookJSONQuery.html" name="bots_answerWebhookJSONQuery">Send webhook request via bot API</a>
|
||||
* <a href="bots_answerWebhookJSONQuery.html" name="bots_answerWebhookJSONQuery">Send webhook request via bot API</a>
|
||||
|
||||
* <a href="bots_sendCustomRequest.html" name="bots_sendCustomRequest">Send a custom request to the bot API</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
|
||||
* <a href="channels_createChannel.html" name="channels_createChannel">Create channel/supergroup</a>
|
||||
|
||||
@ -153,8 +131,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_getChannels.html" name="channels_getChannels">Get info about multiple channels/supergroups</a>
|
||||
|
||||
* <a href="channels_getFullChannel.html" name="channels_getFullChannel">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="channels_getMessages.html" name="channels_getMessages">Get channel/supergroup messages</a>
|
||||
|
||||
* <a href="channels_getParticipant.html" name="channels_getParticipant">Get info about a certain channel/supergroup participant</a>
|
||||
@ -179,8 +155,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_updateUsername.html" name="channels_updateUsername">Update the username of a supergroup/channel</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
|
||||
* <a href="contacts_deleteContact.html" name="contacts_deleteContact">Delete a contact</a>
|
||||
|
||||
@ -202,25 +177,19 @@ description: What do you want to do?
|
||||
|
||||
* <a href="contacts_resetTopPeerRating.html" name="contacts_resetTopPeerRating">Reset top peer rating for a certain category/peer</a>
|
||||
|
||||
* <a href="contacts_resolveUsername.html" name="contacts_resolveUsername">You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="contacts_search.html" name="contacts_search">Search contacts</a>
|
||||
|
||||
* <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contest_saveDeveloperInfo.html" name="contest_saveDeveloperInfo">Save developer info for telegram contest</a>
|
||||
* <a href="contest_saveDeveloperInfo.html" name="contest_saveDeveloperInfo">Save developer info for telegram contest</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="destroy_auth_key.html" name="destroy_auth_key">Destroy current authorization key</a>
|
||||
* <a href="destroy_auth_key.html" name="destroy_auth_key">Destroy current authorization key</a>
|
||||
|
||||
* <a href="destroy_session.html" name="destroy_session">Destroy the current MTProto session</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="get_future_salts.html" name="get_future_salts">Get future salts</a>
|
||||
* <a href="get_future_salts.html" name="get_future_salts">Get future salts</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
|
||||
* <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates</a>
|
||||
|
||||
@ -240,23 +209,17 @@ description: What do you want to do?
|
||||
|
||||
* <a href="help_setBotUpdatesStatus.html" name="help_setBotUpdatesStatus">Set the update status of webhook</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="langpack_getDifference.html" name="langpack_getDifference">Get language pack updates</a>
|
||||
* <a href="langpack_getDifference.html" name="langpack_getDifference">Get language pack updates</a>
|
||||
|
||||
* <a href="langpack_getLangPack.html" name="langpack_getLangPack">Get language pack</a>
|
||||
|
||||
@ -264,9 +227,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="langpack_getStrings.html" name="langpack_getStrings">Get language pack strings</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="messages_acceptEncryption.html" name="messages_acceptEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_addChatUser.html" name="messages_addChatUser">Add a user to a normal chat (use channels->inviteToChannel for supergroups)</a>
|
||||
|
||||
* <a href="messages_checkChatInvite.html" name="messages_checkChatInvite">Check if an invitation link is valid</a>
|
||||
@ -281,8 +241,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_deleteMessages.html" name="messages_deleteMessages">Delete messages</a>
|
||||
|
||||
* <a href="messages_discardEncryption.html" name="messages_discardEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_editChatAdmin.html" name="messages_editChatAdmin">Edit admin permissions</a>
|
||||
|
||||
* <a href="messages_editChatPhoto.html" name="messages_editChatPhoto">Edit the photo of a normal chat (not supergroup)</a>
|
||||
@ -315,16 +273,12 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_getCommonChats.html" name="messages_getCommonChats">Get chats in common with a user</a>
|
||||
|
||||
* <a href="messages_getDhConfig.html" name="messages_getDhConfig">You cannot use this method directly, instead use $MadelineProto->get_dh_config();</a>
|
||||
|
||||
* <a href="messages_getDialogs.html" name="messages_getDialogs">Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html</a>
|
||||
|
||||
* <a href="messages_getDocumentByHash.html" name="messages_getDocumentByHash">Get document by SHA256 hash</a>
|
||||
|
||||
* <a href="messages_getFeaturedStickers.html" name="messages_getFeaturedStickers">Get featured stickers</a>
|
||||
|
||||
* <a href="messages_getFullChat.html" name="messages_getFullChat">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="messages_getGameHighScores.html" name="messages_getGameHighScores">Get high scores of a game</a>
|
||||
|
||||
* <a href="messages_getHistory.html" name="messages_getHistory">Get previous messages of a group</a>
|
||||
@ -375,8 +329,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_receivedMessages.html" name="messages_receivedMessages">Mark messages as read</a>
|
||||
|
||||
* <a href="messages_receivedQueue.html" name="messages_receivedQueue">You cannot use this method directly</a>
|
||||
|
||||
* <a href="messages_reorderPinnedDialogs.html" name="messages_reorderPinnedDialogs">Reorder pinned dialogs</a>
|
||||
|
||||
* <a href="messages_reorderStickerSets.html" name="messages_reorderStickerSets">Reorder sticker sets</a>
|
||||
@ -385,8 +337,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_reportSpam.html" name="messages_reportSpam">Report a peer for spam</a>
|
||||
|
||||
* <a href="messages_requestEncryption.html" name="messages_requestEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_saveDraft.html" name="messages_saveDraft">Save a message draft</a>
|
||||
|
||||
* <a href="messages_saveGif.html" name="messages_saveGif">Save a GIF</a>
|
||||
@ -439,8 +389,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_uploadMedia.html" name="messages_uploadMedia">Upload a file without sending it to anyone</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="payments_clearSavedInfo.html" name="payments_clearSavedInfo">Clear saved payments info</a>
|
||||
* <a href="payments_clearSavedInfo.html" name="payments_clearSavedInfo">Clear saved payments info</a>
|
||||
|
||||
* <a href="payments_getPaymentForm.html" name="payments_getPaymentForm">Get payment form</a>
|
||||
|
||||
@ -452,25 +401,15 @@ description: What do you want to do?
|
||||
|
||||
* <a href="payments_validateRequestedInfo.html" name="payments_validateRequestedInfo">Validate requested payment info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="phone_acceptCall.html" name="phone_acceptCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_confirmCall.html" name="phone_confirmCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_discardCall.html" name="phone_discardCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_getCallConfig.html" name="phone_getCallConfig">Get call configuration</a>
|
||||
|
||||
* <a href="phone_receivedCall.html" name="phone_receivedCall">Notify server that you received a call (server will refuse all incoming calls until the current call is over)</a>
|
||||
|
||||
* <a href="phone_requestCall.html" name="phone_requestCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_saveCallDebug.html" name="phone_saveCallDebug">Save call debugging info</a>
|
||||
|
||||
* <a href="phone_setCallRating.html" name="phone_setCallRating">Set phone call rating</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
|
||||
* <a href="photos_getUserPhotos.html" name="photos_getUserPhotos">Get the profile photos of a user</a>
|
||||
|
||||
@ -478,24 +417,19 @@ description: What do you want to do?
|
||||
|
||||
* <a href="photos_uploadProfilePhoto.html" name="photos_uploadProfilePhoto">Upload profile photo</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="ping.html" name="ping">pings the server</a>
|
||||
* <a href="ping.html" name="ping">pings the server</a>
|
||||
|
||||
* <a href="ping_delay_disconnect.html" name="ping_delay_disconnect">Pings the server and causes disconection if the same method is not called within ping_disconnect_delay</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="req_DH_params.html" name="req_DH_params">Requests Diffie-hellman parameters for key exchange</a>
|
||||
* <a href="req_DH_params.html" name="req_DH_params">Requests Diffie-hellman parameters for key exchange</a>
|
||||
|
||||
* <a href="req_pq.html" name="req_pq">Requests PQ for factorization</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="rpc_drop_answer.html" name="rpc_drop_answer">Do not send answer to provided request</a>
|
||||
* <a href="rpc_drop_answer.html" name="rpc_drop_answer">Do not send answer to provided request</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="set_client_DH_params.html" name="set_client_DH_params">Sets client diffie-hellman parameters</a>
|
||||
* <a href="set_client_DH_params.html" name="set_client_DH_params">Sets client diffie-hellman parameters</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="stickers_addStickerToSet.html" name="stickers_addStickerToSet">Add sticker to stickerset</a>
|
||||
* <a href="stickers_addStickerToSet.html" name="stickers_addStickerToSet">Add sticker to stickerset</a>
|
||||
|
||||
* <a href="stickers_changeStickerPosition.html" name="stickers_changeStickerPosition">Change sticker position in photo</a>
|
||||
|
||||
@ -503,30 +437,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="stickers_removeStickerFromSet.html" name="stickers_removeStickerFromSet">Remove sticker from stickerset</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="updates_getChannelDifference.html" name="updates_getChannelDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getDifference.html" name="updates_getDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getState.html" name="updates_getState">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="upload_getCdnFile.html" name="upload_getCdnFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_getCdnFileHashes.html" name="upload_getCdnFileHashes">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_getFile.html" name="upload_getFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_getWebFile.html" name="upload_getWebFile">Download a file through telegram</a>
|
||||
|
||||
* <a href="upload_reuploadCdnFile.html" name="upload_reuploadCdnFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveBigFilePart.html" name="upload_saveBigFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveFilePart.html" name="upload_saveFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="users_getFullUser.html" name="users_getFullUser">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="users_getUsers.html" name="users_getUsers">Get info about users</a>
|
||||
|
||||
|
@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
|
||||
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
|
||||
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="account_checkUsername"></a>
|
||||
|
||||
@ -89,7 +90,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
|
||||
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
|
||||
$MadelineProto->[auth->cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="auth_cancelCode"></a>
|
||||
|
||||
@ -124,12 +126,14 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
|
||||
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signUp"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)<a name="bots_answerWebhookJSONQuery"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)<a name="bots_answerWebhookJSONQuery"></a>
|
||||
|
||||
$MadelineProto->[bots->sendCustomRequest](bots_sendCustomRequest.md)(\['custom_method' => [string](../types/string.md), 'params' => [DataJSON](../types/DataJSON.md), \]) === [$DataJSON](../types/DataJSON.md)<a name="bots_sendCustomRequest"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
|
||||
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="channels_createChannel"></a>
|
||||
|
||||
@ -186,7 +190,8 @@ $MadelineProto->[channels->updatePinnedMessage](channels_updatePinnedMessage.md)
|
||||
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
|
||||
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)<a name="contacts_deleteContact"></a>
|
||||
|
||||
@ -215,18 +220,22 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
|
||||
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_unblock"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contest->saveDeveloperInfo](contest_saveDeveloperInfo.md)(\['vk_id' => [int](../types/int.md), 'name' => [string](../types/string.md), 'phone_number' => [string](../types/string.md), 'age' => [int](../types/int.md), 'city' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="contest_saveDeveloperInfo"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contest->saveDeveloperInfo](contest_saveDeveloperInfo.md)(\['vk_id' => [int](../types/int.md), 'name' => [string](../types/string.md), 'phone_number' => [string](../types/string.md), 'age' => [int](../types/int.md), 'city' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="contest_saveDeveloperInfo"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[destroy_auth_key](destroy_auth_key.md)(\[\]) === [$DestroyAuthKeyRes](../types/DestroyAuthKeyRes.md)<a name="destroy_auth_key"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[destroy_auth_key](destroy_auth_key.md)(\[\]) === [$DestroyAuthKeyRes](../types/DestroyAuthKeyRes.md)<a name="destroy_auth_key"></a>
|
||||
|
||||
$MadelineProto->[destroy_session](destroy_session.md)(\['session_id' => [long](../types/long.md), \]) === [$DestroySessionRes](../types/DestroySessionRes.md)<a name="destroy_session"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[get_future_salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) === [$FutureSalts](../types/FutureSalts.md)<a name="get_future_salts"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[get_future_salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) === [$FutureSalts](../types/FutureSalts.md)<a name="get_future_salts"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="help_getAppChangelog"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="help_getAppChangelog"></a>
|
||||
|
||||
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||
|
||||
@ -247,22 +256,28 @@ $MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputApp
|
||||
$MadelineProto->[help->setBotUpdatesStatus](help_setBotUpdatesStatus.md)(\['pending_updates_count' => [int](../types/int.md), 'message' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="help_setBotUpdatesStatus"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'system_lang_code' => [string](../types/string.md), 'lang_pack' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'system_lang_code' => [string](../types/string.md), 'lang_pack' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[langpack->getDifference](langpack_getDifference.md)(\['from_version' => [int](../types/int.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)<a name="langpack_getDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[langpack->getDifference](langpack_getDifference.md)(\['from_version' => [int](../types/int.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)<a name="langpack_getDifference"></a>
|
||||
|
||||
$MadelineProto->[langpack->getLangPack](langpack_getLangPack.md)(\['lang_code' => [string](../types/string.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)<a name="langpack_getLangPack"></a>
|
||||
|
||||
@ -271,7 +286,8 @@ $MadelineProto->[langpack->getLanguages](langpack_getLanguages.md)(\[\]) === [$V
|
||||
$MadelineProto->[langpack->getStrings](langpack_getStrings.md)(\['lang_code' => [string](../types/string.md), 'keys' => \[[string](../types/string.md)\], \]) === [$Vector\_of\_LangPackString](../types/LangPackString.md)<a name="langpack_getStrings"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
|
||||
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="messages_addChatUser"></a>
|
||||
|
||||
@ -446,7 +462,8 @@ $MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)
|
||||
$MadelineProto->[messages->uploadMedia](messages_uploadMedia.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$MessageMedia](../types/MessageMedia.md)<a name="messages_uploadMedia"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)<a name="payments_clearSavedInfo"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)<a name="payments_clearSavedInfo"></a>
|
||||
|
||||
$MadelineProto->[payments->getPaymentForm](payments_getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md)<a name="payments_getPaymentForm"></a>
|
||||
|
||||
@ -459,7 +476,8 @@ $MadelineProto->[payments->sendPaymentForm](payments_sendPaymentForm.md)(\['msg_
|
||||
$MadelineProto->[payments->validateRequestedInfo](payments_validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md)<a name="payments_validateRequestedInfo"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_acceptCall"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_acceptCall"></a>
|
||||
|
||||
$MadelineProto->[phone->confirmCall](phone_confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_confirmCall"></a>
|
||||
|
||||
@ -476,7 +494,8 @@ $MadelineProto->[phone->saveCallDebug](phone_saveCallDebug.md)(\['peer' => [Inpu
|
||||
$MadelineProto->[phone->setCallRating](phone_setCallRating.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'rating' => [int](../types/int.md), 'comment' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="phone_setCallRating"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
|
||||
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)<a name="photos_getUserPhotos"></a>
|
||||
|
||||
@ -485,23 +504,28 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
|
||||
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md)<a name="photos_uploadProfilePhoto"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) === [$Pong](../types/Pong.md)<a name="ping"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) === [$Pong](../types/Pong.md)<a name="ping"></a>
|
||||
|
||||
$MadelineProto->[ping_delay_disconnect](ping_delay_disconnect.md)(\['ping_id' => [long](../types/long.md), 'disconnect_delay' => [int](../types/int.md), \]) === [$Pong](../types/Pong.md)<a name="ping_delay_disconnect"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[req_DH_params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [string](../types/string.md), 'q' => [string](../types/string.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Server\_DH\_Params](../types/Server_DH_Params.md)<a name="req_DH_params"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[req_DH_params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [string](../types/string.md), 'q' => [string](../types/string.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Server\_DH\_Params](../types/Server_DH_Params.md)<a name="req_DH_params"></a>
|
||||
|
||||
$MadelineProto->[req_pq](req_pq.md)(\['nonce' => [int128](../types/int128.md), \]) === [$ResPQ](../types/ResPQ.md)<a name="req_pq"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[rpc_drop_answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) === [$RpcDropAnswer](../types/RpcDropAnswer.md)<a name="rpc_drop_answer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[rpc_drop_answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) === [$RpcDropAnswer](../types/RpcDropAnswer.md)<a name="rpc_drop_answer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)<a name="set_client_DH_params"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)<a name="set_client_DH_params"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[stickers->addStickerToSet](stickers_addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)<a name="stickers_addStickerToSet"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[stickers->addStickerToSet](stickers_addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)<a name="stickers_addStickerToSet"></a>
|
||||
|
||||
$MadelineProto->[stickers->changeStickerPosition](stickers_changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)<a name="stickers_changeStickerPosition"></a>
|
||||
|
||||
@ -510,14 +534,16 @@ $MadelineProto->[stickers->createStickerSet](stickers_createStickerSet.md)(\['ma
|
||||
$MadelineProto->[stickers->removeStickerFromSet](stickers_removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)<a name="stickers_removeStickerFromSet"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)<a name="updates_getState"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[upload->getCdnFile](upload_getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md)<a name="upload_getCdnFile"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[upload->getCdnFile](upload_getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md)<a name="upload_getCdnFile"></a>
|
||||
|
||||
$MadelineProto->[upload->getCdnFileHashes](upload_getCdnFileHashes.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), \]) === [$Vector\_of\_CdnFileHash](../types/CdnFileHash.md)<a name="upload_getCdnFileHashes"></a>
|
||||
|
||||
@ -532,7 +558,8 @@ $MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id'
|
||||
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveFilePart"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
|
||||
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)<a name="users_getUsers"></a>
|
||||
|
||||
|
@ -27,8 +27,7 @@ description: What do you want to do?
|
||||
|
||||
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
||||
|
||||
***
|
||||
<br><br>* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
|
||||
* <a href="account_checkUsername.html" name="account_checkUsername">Check if this username is available</a>
|
||||
|
||||
@ -82,25 +81,12 @@ description: What do you want to do?
|
||||
|
||||
* <a href="account_updateUsername.html" name="account_updateUsername">Update this user's username</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="auth_bindTempAuthKey.html" name="auth_bindTempAuthKey">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</a>
|
||||
|
||||
* <a href="auth_cancelCode.html" name="auth_cancelCode">Invalidate sent phone code</a>
|
||||
|
||||
* <a href="auth_checkPassword.html" name="auth_checkPassword">You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_checkPhone.html" name="auth_checkPhone">Check if this phone number is registered on telegram</a>
|
||||
|
||||
* <a href="auth_dropTempAuthKeys.html" name="auth_dropTempAuthKeys">Delete all temporary authorization keys except the ones provided</a>
|
||||
|
||||
* <a href="auth_exportAuthorization.html" name="auth_exportAuthorization">You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importAuthorization.html" name="auth_importAuthorization">You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importBotAuthorization.html" name="auth_importBotAuthorization">You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_logOut.html" name="auth_logOut">You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_recoverPassword.html" name="auth_recoverPassword">Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account</a>
|
||||
|
||||
* <a href="auth_requestPasswordRecovery.html" name="auth_requestPasswordRecovery">Send an email to recover the 2FA password</a>
|
||||
@ -109,21 +95,13 @@ description: What do you want to do?
|
||||
|
||||
* <a href="auth_resetAuthorizations.html" name="auth_resetAuthorizations">Delete all logged-in sessions.</a>
|
||||
|
||||
* <a href="auth_sendCode.html" name="auth_sendCode">Use phone_login instead</a>
|
||||
|
||||
* <a href="auth_sendInvites.html" name="auth_sendInvites">Invite friends to telegram!</a>
|
||||
|
||||
* <a href="auth_signIn.html" name="auth_signIn">You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_signUp.html" name="auth_signUp">You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="bots_answerWebhookJSONQuery.html" name="bots_answerWebhookJSONQuery">Send webhook request via bot API</a>
|
||||
* <a href="bots_answerWebhookJSONQuery.html" name="bots_answerWebhookJSONQuery">Send webhook request via bot API</a>
|
||||
|
||||
* <a href="bots_sendCustomRequest.html" name="bots_sendCustomRequest">Send a custom request to the bot API</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
|
||||
* <a href="channels_createChannel.html" name="channels_createChannel">Create channel/supergroup</a>
|
||||
|
||||
@ -153,8 +131,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_getChannels.html" name="channels_getChannels">Get info about multiple channels/supergroups</a>
|
||||
|
||||
* <a href="channels_getFullChannel.html" name="channels_getFullChannel">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="channels_getMessages.html" name="channels_getMessages">Get channel/supergroup messages</a>
|
||||
|
||||
* <a href="channels_getParticipant.html" name="channels_getParticipant">Get info about a certain channel/supergroup participant</a>
|
||||
@ -183,8 +159,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_updateUsername.html" name="channels_updateUsername">Update the username of a supergroup/channel</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
|
||||
* <a href="contacts_deleteContact.html" name="contacts_deleteContact">Delete a contact</a>
|
||||
|
||||
@ -208,25 +183,19 @@ description: What do you want to do?
|
||||
|
||||
* <a href="contacts_resetTopPeerRating.html" name="contacts_resetTopPeerRating">Reset top peer rating for a certain category/peer</a>
|
||||
|
||||
* <a href="contacts_resolveUsername.html" name="contacts_resolveUsername">You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="contacts_search.html" name="contacts_search">Search contacts</a>
|
||||
|
||||
* <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contest_saveDeveloperInfo.html" name="contest_saveDeveloperInfo">Save developer info for telegram contest</a>
|
||||
* <a href="contest_saveDeveloperInfo.html" name="contest_saveDeveloperInfo">Save developer info for telegram contest</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="destroy_auth_key.html" name="destroy_auth_key">Destroy current authorization key</a>
|
||||
* <a href="destroy_auth_key.html" name="destroy_auth_key">Destroy current authorization key</a>
|
||||
|
||||
* <a href="destroy_session.html" name="destroy_session">Destroy the current MTProto session</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="get_future_salts.html" name="get_future_salts">Get future salts</a>
|
||||
* <a href="get_future_salts.html" name="get_future_salts">Get future salts</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
|
||||
* <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates</a>
|
||||
|
||||
@ -246,23 +215,17 @@ description: What do you want to do?
|
||||
|
||||
* <a href="help_setBotUpdatesStatus.html" name="help_setBotUpdatesStatus">Set the update status of webhook</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="langpack_getDifference.html" name="langpack_getDifference">Get language pack updates</a>
|
||||
* <a href="langpack_getDifference.html" name="langpack_getDifference">Get language pack updates</a>
|
||||
|
||||
* <a href="langpack_getLangPack.html" name="langpack_getLangPack">Get language pack</a>
|
||||
|
||||
@ -270,9 +233,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="langpack_getStrings.html" name="langpack_getStrings">Get language pack strings</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="messages_acceptEncryption.html" name="messages_acceptEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_addChatUser.html" name="messages_addChatUser">Add a user to a normal chat (use channels->inviteToChannel for supergroups)</a>
|
||||
|
||||
* <a href="messages_checkChatInvite.html" name="messages_checkChatInvite">Check if an invitation link is valid</a>
|
||||
@ -287,8 +247,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_deleteMessages.html" name="messages_deleteMessages">Delete messages</a>
|
||||
|
||||
* <a href="messages_discardEncryption.html" name="messages_discardEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_editChatAdmin.html" name="messages_editChatAdmin">Edit admin permissions</a>
|
||||
|
||||
* <a href="messages_editChatPhoto.html" name="messages_editChatPhoto">Edit the photo of a normal chat (not supergroup)</a>
|
||||
@ -323,8 +281,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_getCommonChats.html" name="messages_getCommonChats">Get chats in common with a user</a>
|
||||
|
||||
* <a href="messages_getDhConfig.html" name="messages_getDhConfig">You cannot use this method directly, instead use $MadelineProto->get_dh_config();</a>
|
||||
|
||||
* <a href="messages_getDialogs.html" name="messages_getDialogs">Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html</a>
|
||||
|
||||
* <a href="messages_getDocumentByHash.html" name="messages_getDocumentByHash">Get document by SHA256 hash</a>
|
||||
@ -333,8 +289,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_getFeaturedStickers.html" name="messages_getFeaturedStickers">Get featured stickers</a>
|
||||
|
||||
* <a href="messages_getFullChat.html" name="messages_getFullChat">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="messages_getGameHighScores.html" name="messages_getGameHighScores">Get high scores of a game</a>
|
||||
|
||||
* <a href="messages_getHistory.html" name="messages_getHistory">Get previous messages of a group</a>
|
||||
@ -387,8 +341,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_receivedMessages.html" name="messages_receivedMessages">Mark messages as read</a>
|
||||
|
||||
* <a href="messages_receivedQueue.html" name="messages_receivedQueue">You cannot use this method directly</a>
|
||||
|
||||
* <a href="messages_reorderPinnedDialogs.html" name="messages_reorderPinnedDialogs">Reorder pinned dialogs</a>
|
||||
|
||||
* <a href="messages_reorderStickerSets.html" name="messages_reorderStickerSets">Reorder sticker sets</a>
|
||||
@ -397,8 +349,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_reportSpam.html" name="messages_reportSpam">Report a peer for spam</a>
|
||||
|
||||
* <a href="messages_requestEncryption.html" name="messages_requestEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_saveDraft.html" name="messages_saveDraft">Save a message draft</a>
|
||||
|
||||
* <a href="messages_saveGif.html" name="messages_saveGif">Save a GIF</a>
|
||||
@ -451,8 +401,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_uploadMedia.html" name="messages_uploadMedia">Upload a file without sending it to anyone</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="payments_clearSavedInfo.html" name="payments_clearSavedInfo">Clear saved payments info</a>
|
||||
* <a href="payments_clearSavedInfo.html" name="payments_clearSavedInfo">Clear saved payments info</a>
|
||||
|
||||
* <a href="payments_getPaymentForm.html" name="payments_getPaymentForm">Get payment form</a>
|
||||
|
||||
@ -464,25 +413,15 @@ description: What do you want to do?
|
||||
|
||||
* <a href="payments_validateRequestedInfo.html" name="payments_validateRequestedInfo">Validate requested payment info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="phone_acceptCall.html" name="phone_acceptCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_confirmCall.html" name="phone_confirmCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_discardCall.html" name="phone_discardCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_getCallConfig.html" name="phone_getCallConfig">Get call configuration</a>
|
||||
|
||||
* <a href="phone_receivedCall.html" name="phone_receivedCall">Notify server that you received a call (server will refuse all incoming calls until the current call is over)</a>
|
||||
|
||||
* <a href="phone_requestCall.html" name="phone_requestCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_saveCallDebug.html" name="phone_saveCallDebug">Save call debugging info</a>
|
||||
|
||||
* <a href="phone_setCallRating.html" name="phone_setCallRating">Set phone call rating</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
|
||||
* <a href="photos_getUserPhotos.html" name="photos_getUserPhotos">Get the profile photos of a user</a>
|
||||
|
||||
@ -490,24 +429,19 @@ description: What do you want to do?
|
||||
|
||||
* <a href="photos_uploadProfilePhoto.html" name="photos_uploadProfilePhoto">Upload profile photo</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="ping.html" name="ping">pings the server</a>
|
||||
* <a href="ping.html" name="ping">pings the server</a>
|
||||
|
||||
* <a href="ping_delay_disconnect.html" name="ping_delay_disconnect">Pings the server and causes disconection if the same method is not called within ping_disconnect_delay</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="req_DH_params.html" name="req_DH_params">Requests Diffie-hellman parameters for key exchange</a>
|
||||
* <a href="req_DH_params.html" name="req_DH_params">Requests Diffie-hellman parameters for key exchange</a>
|
||||
|
||||
* <a href="req_pq.html" name="req_pq">Requests PQ for factorization</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="rpc_drop_answer.html" name="rpc_drop_answer">Do not send answer to provided request</a>
|
||||
* <a href="rpc_drop_answer.html" name="rpc_drop_answer">Do not send answer to provided request</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="set_client_DH_params.html" name="set_client_DH_params">Sets client diffie-hellman parameters</a>
|
||||
* <a href="set_client_DH_params.html" name="set_client_DH_params">Sets client diffie-hellman parameters</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="stickers_addStickerToSet.html" name="stickers_addStickerToSet">Add sticker to stickerset</a>
|
||||
* <a href="stickers_addStickerToSet.html" name="stickers_addStickerToSet">Add sticker to stickerset</a>
|
||||
|
||||
* <a href="stickers_changeStickerPosition.html" name="stickers_changeStickerPosition">Change sticker position in photo</a>
|
||||
|
||||
@ -515,30 +449,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="stickers_removeStickerFromSet.html" name="stickers_removeStickerFromSet">Remove sticker from stickerset</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="updates_getChannelDifference.html" name="updates_getChannelDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getDifference.html" name="updates_getDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getState.html" name="updates_getState">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="upload_getCdnFile.html" name="upload_getCdnFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_getCdnFileHashes.html" name="upload_getCdnFileHashes">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_getFile.html" name="upload_getFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_getWebFile.html" name="upload_getWebFile">Download a file through telegram</a>
|
||||
|
||||
* <a href="upload_reuploadCdnFile.html" name="upload_reuploadCdnFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveBigFilePart.html" name="upload_saveBigFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveFilePart.html" name="upload_saveFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="users_getFullUser.html" name="users_getFullUser">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="users_getUsers.html" name="users_getUsers">Get info about users</a>
|
||||
|
||||
|
@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
|
||||
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
|
||||
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="account_checkUsername"></a>
|
||||
|
||||
@ -89,7 +90,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
|
||||
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
|
||||
$MadelineProto->[auth->cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="auth_cancelCode"></a>
|
||||
|
||||
@ -124,12 +126,14 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
|
||||
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signUp"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)<a name="bots_answerWebhookJSONQuery"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)<a name="bots_answerWebhookJSONQuery"></a>
|
||||
|
||||
$MadelineProto->[bots->sendCustomRequest](bots_sendCustomRequest.md)(\['custom_method' => [string](../types/string.md), 'params' => [DataJSON](../types/DataJSON.md), \]) === [$DataJSON](../types/DataJSON.md)<a name="bots_sendCustomRequest"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
|
||||
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="channels_createChannel"></a>
|
||||
|
||||
@ -190,7 +194,8 @@ $MadelineProto->[channels->updatePinnedMessage](channels_updatePinnedMessage.md)
|
||||
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
|
||||
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)<a name="contacts_deleteContact"></a>
|
||||
|
||||
@ -221,18 +226,22 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
|
||||
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_unblock"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contest->saveDeveloperInfo](contest_saveDeveloperInfo.md)(\['vk_id' => [int](../types/int.md), 'name' => [string](../types/string.md), 'phone_number' => [string](../types/string.md), 'age' => [int](../types/int.md), 'city' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="contest_saveDeveloperInfo"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contest->saveDeveloperInfo](contest_saveDeveloperInfo.md)(\['vk_id' => [int](../types/int.md), 'name' => [string](../types/string.md), 'phone_number' => [string](../types/string.md), 'age' => [int](../types/int.md), 'city' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="contest_saveDeveloperInfo"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[destroy_auth_key](destroy_auth_key.md)(\[\]) === [$DestroyAuthKeyRes](../types/DestroyAuthKeyRes.md)<a name="destroy_auth_key"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[destroy_auth_key](destroy_auth_key.md)(\[\]) === [$DestroyAuthKeyRes](../types/DestroyAuthKeyRes.md)<a name="destroy_auth_key"></a>
|
||||
|
||||
$MadelineProto->[destroy_session](destroy_session.md)(\['session_id' => [long](../types/long.md), \]) === [$DestroySessionRes](../types/DestroySessionRes.md)<a name="destroy_session"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[get_future_salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) === [$FutureSalts](../types/FutureSalts.md)<a name="get_future_salts"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[get_future_salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) === [$FutureSalts](../types/FutureSalts.md)<a name="get_future_salts"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="help_getAppChangelog"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="help_getAppChangelog"></a>
|
||||
|
||||
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||
|
||||
@ -253,22 +262,28 @@ $MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputApp
|
||||
$MadelineProto->[help->setBotUpdatesStatus](help_setBotUpdatesStatus.md)(\['pending_updates_count' => [int](../types/int.md), 'message' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="help_setBotUpdatesStatus"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'system_lang_code' => [string](../types/string.md), 'lang_pack' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'system_lang_code' => [string](../types/string.md), 'lang_pack' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[langpack->getDifference](langpack_getDifference.md)(\['from_version' => [int](../types/int.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)<a name="langpack_getDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[langpack->getDifference](langpack_getDifference.md)(\['from_version' => [int](../types/int.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)<a name="langpack_getDifference"></a>
|
||||
|
||||
$MadelineProto->[langpack->getLangPack](langpack_getLangPack.md)(\['lang_code' => [string](../types/string.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)<a name="langpack_getLangPack"></a>
|
||||
|
||||
@ -277,7 +292,8 @@ $MadelineProto->[langpack->getLanguages](langpack_getLanguages.md)(\[\]) === [$V
|
||||
$MadelineProto->[langpack->getStrings](langpack_getStrings.md)(\['lang_code' => [string](../types/string.md), 'keys' => \[[string](../types/string.md)\], \]) === [$Vector\_of\_LangPackString](../types/LangPackString.md)<a name="langpack_getStrings"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
|
||||
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="messages_addChatUser"></a>
|
||||
|
||||
@ -458,7 +474,8 @@ $MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)
|
||||
$MadelineProto->[messages->uploadMedia](messages_uploadMedia.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$MessageMedia](../types/MessageMedia.md)<a name="messages_uploadMedia"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)<a name="payments_clearSavedInfo"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)<a name="payments_clearSavedInfo"></a>
|
||||
|
||||
$MadelineProto->[payments->getPaymentForm](payments_getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md)<a name="payments_getPaymentForm"></a>
|
||||
|
||||
@ -471,7 +488,8 @@ $MadelineProto->[payments->sendPaymentForm](payments_sendPaymentForm.md)(\['msg_
|
||||
$MadelineProto->[payments->validateRequestedInfo](payments_validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md)<a name="payments_validateRequestedInfo"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_acceptCall"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_acceptCall"></a>
|
||||
|
||||
$MadelineProto->[phone->confirmCall](phone_confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_confirmCall"></a>
|
||||
|
||||
@ -488,7 +506,8 @@ $MadelineProto->[phone->saveCallDebug](phone_saveCallDebug.md)(\['peer' => [Inpu
|
||||
$MadelineProto->[phone->setCallRating](phone_setCallRating.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'rating' => [int](../types/int.md), 'comment' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="phone_setCallRating"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
|
||||
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)<a name="photos_getUserPhotos"></a>
|
||||
|
||||
@ -497,23 +516,28 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
|
||||
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md)<a name="photos_uploadProfilePhoto"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) === [$Pong](../types/Pong.md)<a name="ping"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) === [$Pong](../types/Pong.md)<a name="ping"></a>
|
||||
|
||||
$MadelineProto->[ping_delay_disconnect](ping_delay_disconnect.md)(\['ping_id' => [long](../types/long.md), 'disconnect_delay' => [int](../types/int.md), \]) === [$Pong](../types/Pong.md)<a name="ping_delay_disconnect"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[req_DH_params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [string](../types/string.md), 'q' => [string](../types/string.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Server\_DH\_Params](../types/Server_DH_Params.md)<a name="req_DH_params"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[req_DH_params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [string](../types/string.md), 'q' => [string](../types/string.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Server\_DH\_Params](../types/Server_DH_Params.md)<a name="req_DH_params"></a>
|
||||
|
||||
$MadelineProto->[req_pq](req_pq.md)(\['nonce' => [int128](../types/int128.md), \]) === [$ResPQ](../types/ResPQ.md)<a name="req_pq"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[rpc_drop_answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) === [$RpcDropAnswer](../types/RpcDropAnswer.md)<a name="rpc_drop_answer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[rpc_drop_answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) === [$RpcDropAnswer](../types/RpcDropAnswer.md)<a name="rpc_drop_answer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)<a name="set_client_DH_params"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)<a name="set_client_DH_params"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[stickers->addStickerToSet](stickers_addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)<a name="stickers_addStickerToSet"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[stickers->addStickerToSet](stickers_addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)<a name="stickers_addStickerToSet"></a>
|
||||
|
||||
$MadelineProto->[stickers->changeStickerPosition](stickers_changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)<a name="stickers_changeStickerPosition"></a>
|
||||
|
||||
@ -522,14 +546,16 @@ $MadelineProto->[stickers->createStickerSet](stickers_createStickerSet.md)(\['ma
|
||||
$MadelineProto->[stickers->removeStickerFromSet](stickers_removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)<a name="stickers_removeStickerFromSet"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)<a name="updates_getState"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[upload->getCdnFile](upload_getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md)<a name="upload_getCdnFile"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[upload->getCdnFile](upload_getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md)<a name="upload_getCdnFile"></a>
|
||||
|
||||
$MadelineProto->[upload->getCdnFileHashes](upload_getCdnFileHashes.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), \]) === [$Vector\_of\_CdnFileHash](../types/CdnFileHash.md)<a name="upload_getCdnFileHashes"></a>
|
||||
|
||||
@ -544,7 +570,8 @@ $MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id'
|
||||
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveFilePart"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
|
||||
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)<a name="users_getUsers"></a>
|
||||
|
||||
|
@ -27,8 +27,7 @@ description: What do you want to do?
|
||||
|
||||
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
||||
|
||||
***
|
||||
<br><br>* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
|
||||
* <a href="account_checkUsername.html" name="account_checkUsername">Check if this username is available</a>
|
||||
|
||||
@ -82,25 +81,12 @@ description: What do you want to do?
|
||||
|
||||
* <a href="account_updateUsername.html" name="account_updateUsername">Update this user's username</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="auth_bindTempAuthKey.html" name="auth_bindTempAuthKey">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</a>
|
||||
|
||||
* <a href="auth_cancelCode.html" name="auth_cancelCode">Invalidate sent phone code</a>
|
||||
|
||||
* <a href="auth_checkPassword.html" name="auth_checkPassword">You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_checkPhone.html" name="auth_checkPhone">Check if this phone number is registered on telegram</a>
|
||||
|
||||
* <a href="auth_dropTempAuthKeys.html" name="auth_dropTempAuthKeys">Delete all temporary authorization keys except the ones provided</a>
|
||||
|
||||
* <a href="auth_exportAuthorization.html" name="auth_exportAuthorization">You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importAuthorization.html" name="auth_importAuthorization">You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importBotAuthorization.html" name="auth_importBotAuthorization">You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_logOut.html" name="auth_logOut">You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_recoverPassword.html" name="auth_recoverPassword">Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account</a>
|
||||
|
||||
* <a href="auth_requestPasswordRecovery.html" name="auth_requestPasswordRecovery">Send an email to recover the 2FA password</a>
|
||||
@ -109,21 +95,13 @@ description: What do you want to do?
|
||||
|
||||
* <a href="auth_resetAuthorizations.html" name="auth_resetAuthorizations">Delete all logged-in sessions.</a>
|
||||
|
||||
* <a href="auth_sendCode.html" name="auth_sendCode">Use phone_login instead</a>
|
||||
|
||||
* <a href="auth_sendInvites.html" name="auth_sendInvites">Invite friends to telegram!</a>
|
||||
|
||||
* <a href="auth_signIn.html" name="auth_signIn">You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_signUp.html" name="auth_signUp">You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="bots_answerWebhookJSONQuery.html" name="bots_answerWebhookJSONQuery">Send webhook request via bot API</a>
|
||||
* <a href="bots_answerWebhookJSONQuery.html" name="bots_answerWebhookJSONQuery">Send webhook request via bot API</a>
|
||||
|
||||
* <a href="bots_sendCustomRequest.html" name="bots_sendCustomRequest">Send a custom request to the bot API</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
|
||||
* <a href="channels_createChannel.html" name="channels_createChannel">Create channel/supergroup</a>
|
||||
|
||||
@ -155,8 +133,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_getChannels.html" name="channels_getChannels">Get info about multiple channels/supergroups</a>
|
||||
|
||||
* <a href="channels_getFullChannel.html" name="channels_getFullChannel">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="channels_getMessages.html" name="channels_getMessages">Get channel/supergroup messages</a>
|
||||
|
||||
* <a href="channels_getParticipant.html" name="channels_getParticipant">Get info about a certain channel/supergroup participant</a>
|
||||
@ -187,8 +163,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_updateUsername.html" name="channels_updateUsername">Update the username of a supergroup/channel</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
|
||||
* <a href="contacts_deleteContact.html" name="contacts_deleteContact">Delete a contact</a>
|
||||
|
||||
@ -212,25 +187,19 @@ description: What do you want to do?
|
||||
|
||||
* <a href="contacts_resetTopPeerRating.html" name="contacts_resetTopPeerRating">Reset top peer rating for a certain category/peer</a>
|
||||
|
||||
* <a href="contacts_resolveUsername.html" name="contacts_resolveUsername">You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="contacts_search.html" name="contacts_search">Search contacts</a>
|
||||
|
||||
* <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contest_saveDeveloperInfo.html" name="contest_saveDeveloperInfo">Save developer info for telegram contest</a>
|
||||
* <a href="contest_saveDeveloperInfo.html" name="contest_saveDeveloperInfo">Save developer info for telegram contest</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="destroy_auth_key.html" name="destroy_auth_key">Destroy current authorization key</a>
|
||||
* <a href="destroy_auth_key.html" name="destroy_auth_key">Destroy current authorization key</a>
|
||||
|
||||
* <a href="destroy_session.html" name="destroy_session">Destroy the current MTProto session</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="get_future_salts.html" name="get_future_salts">Get future salts</a>
|
||||
* <a href="get_future_salts.html" name="get_future_salts">Get future salts</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
|
||||
* <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates</a>
|
||||
|
||||
@ -252,23 +221,17 @@ description: What do you want to do?
|
||||
|
||||
* <a href="help_setBotUpdatesStatus.html" name="help_setBotUpdatesStatus">Set the update status of webhook</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="langpack_getDifference.html" name="langpack_getDifference">Get language pack updates</a>
|
||||
* <a href="langpack_getDifference.html" name="langpack_getDifference">Get language pack updates</a>
|
||||
|
||||
* <a href="langpack_getLangPack.html" name="langpack_getLangPack">Get language pack</a>
|
||||
|
||||
@ -276,9 +239,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="langpack_getStrings.html" name="langpack_getStrings">Get language pack strings</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="messages_acceptEncryption.html" name="messages_acceptEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_addChatUser.html" name="messages_addChatUser">Add a user to a normal chat (use channels->inviteToChannel for supergroups)</a>
|
||||
|
||||
* <a href="messages_checkChatInvite.html" name="messages_checkChatInvite">Check if an invitation link is valid</a>
|
||||
@ -293,8 +253,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_deleteMessages.html" name="messages_deleteMessages">Delete messages</a>
|
||||
|
||||
* <a href="messages_discardEncryption.html" name="messages_discardEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_editChatAdmin.html" name="messages_editChatAdmin">Edit admin permissions</a>
|
||||
|
||||
* <a href="messages_editChatPhoto.html" name="messages_editChatPhoto">Edit the photo of a normal chat (not supergroup)</a>
|
||||
@ -329,8 +287,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_getCommonChats.html" name="messages_getCommonChats">Get chats in common with a user</a>
|
||||
|
||||
* <a href="messages_getDhConfig.html" name="messages_getDhConfig">You cannot use this method directly, instead use $MadelineProto->get_dh_config();</a>
|
||||
|
||||
* <a href="messages_getDialogs.html" name="messages_getDialogs">Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html</a>
|
||||
|
||||
* <a href="messages_getDocumentByHash.html" name="messages_getDocumentByHash">Get document by SHA256 hash</a>
|
||||
@ -339,8 +295,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_getFeaturedStickers.html" name="messages_getFeaturedStickers">Get featured stickers</a>
|
||||
|
||||
* <a href="messages_getFullChat.html" name="messages_getFullChat">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="messages_getGameHighScores.html" name="messages_getGameHighScores">Get high scores of a game</a>
|
||||
|
||||
* <a href="messages_getHistory.html" name="messages_getHistory">Get previous messages of a group</a>
|
||||
@ -397,8 +351,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_receivedMessages.html" name="messages_receivedMessages">Mark messages as read</a>
|
||||
|
||||
* <a href="messages_receivedQueue.html" name="messages_receivedQueue">You cannot use this method directly</a>
|
||||
|
||||
* <a href="messages_reorderPinnedDialogs.html" name="messages_reorderPinnedDialogs">Reorder pinned dialogs</a>
|
||||
|
||||
* <a href="messages_reorderStickerSets.html" name="messages_reorderStickerSets">Reorder sticker sets</a>
|
||||
@ -407,8 +359,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_reportSpam.html" name="messages_reportSpam">Report a peer for spam</a>
|
||||
|
||||
* <a href="messages_requestEncryption.html" name="messages_requestEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_saveDraft.html" name="messages_saveDraft">Save a message draft</a>
|
||||
|
||||
* <a href="messages_saveGif.html" name="messages_saveGif">Save a GIF</a>
|
||||
@ -461,8 +411,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_uploadMedia.html" name="messages_uploadMedia">Upload a file without sending it to anyone</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="payments_clearSavedInfo.html" name="payments_clearSavedInfo">Clear saved payments info</a>
|
||||
* <a href="payments_clearSavedInfo.html" name="payments_clearSavedInfo">Clear saved payments info</a>
|
||||
|
||||
* <a href="payments_getPaymentForm.html" name="payments_getPaymentForm">Get payment form</a>
|
||||
|
||||
@ -474,25 +423,15 @@ description: What do you want to do?
|
||||
|
||||
* <a href="payments_validateRequestedInfo.html" name="payments_validateRequestedInfo">Validate requested payment info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="phone_acceptCall.html" name="phone_acceptCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_confirmCall.html" name="phone_confirmCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_discardCall.html" name="phone_discardCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_getCallConfig.html" name="phone_getCallConfig">Get call configuration</a>
|
||||
|
||||
* <a href="phone_receivedCall.html" name="phone_receivedCall">Notify server that you received a call (server will refuse all incoming calls until the current call is over)</a>
|
||||
|
||||
* <a href="phone_requestCall.html" name="phone_requestCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_saveCallDebug.html" name="phone_saveCallDebug">Save call debugging info</a>
|
||||
|
||||
* <a href="phone_setCallRating.html" name="phone_setCallRating">Set phone call rating</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
|
||||
* <a href="photos_getUserPhotos.html" name="photos_getUserPhotos">Get the profile photos of a user</a>
|
||||
|
||||
@ -500,24 +439,19 @@ description: What do you want to do?
|
||||
|
||||
* <a href="photos_uploadProfilePhoto.html" name="photos_uploadProfilePhoto">Upload profile photo</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="ping.html" name="ping">pings the server</a>
|
||||
* <a href="ping.html" name="ping">pings the server</a>
|
||||
|
||||
* <a href="ping_delay_disconnect.html" name="ping_delay_disconnect">Pings the server and causes disconection if the same method is not called within ping_disconnect_delay</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="req_DH_params.html" name="req_DH_params">Requests Diffie-hellman parameters for key exchange</a>
|
||||
* <a href="req_DH_params.html" name="req_DH_params">Requests Diffie-hellman parameters for key exchange</a>
|
||||
|
||||
* <a href="req_pq.html" name="req_pq">Requests PQ for factorization</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="rpc_drop_answer.html" name="rpc_drop_answer">Do not send answer to provided request</a>
|
||||
* <a href="rpc_drop_answer.html" name="rpc_drop_answer">Do not send answer to provided request</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="set_client_DH_params.html" name="set_client_DH_params">Sets client diffie-hellman parameters</a>
|
||||
* <a href="set_client_DH_params.html" name="set_client_DH_params">Sets client diffie-hellman parameters</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="stickers_addStickerToSet.html" name="stickers_addStickerToSet">Add sticker to stickerset</a>
|
||||
* <a href="stickers_addStickerToSet.html" name="stickers_addStickerToSet">Add sticker to stickerset</a>
|
||||
|
||||
* <a href="stickers_changeStickerPosition.html" name="stickers_changeStickerPosition">Change sticker position in photo</a>
|
||||
|
||||
@ -525,30 +459,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="stickers_removeStickerFromSet.html" name="stickers_removeStickerFromSet">Remove sticker from stickerset</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="updates_getChannelDifference.html" name="updates_getChannelDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getDifference.html" name="updates_getDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getState.html" name="updates_getState">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="upload_getCdnFile.html" name="upload_getCdnFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_getCdnFileHashes.html" name="upload_getCdnFileHashes">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_getFile.html" name="upload_getFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_getWebFile.html" name="upload_getWebFile">Download a file through telegram</a>
|
||||
|
||||
* <a href="upload_reuploadCdnFile.html" name="upload_reuploadCdnFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveBigFilePart.html" name="upload_saveBigFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveFilePart.html" name="upload_saveFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="users_getFullUser.html" name="users_getFullUser">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="users_getUsers.html" name="users_getUsers">Get info about users</a>
|
||||
|
||||
|
@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
|
||||
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
|
||||
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="account_checkUsername"></a>
|
||||
|
||||
@ -89,7 +90,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
|
||||
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
|
||||
$MadelineProto->[auth->cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="auth_cancelCode"></a>
|
||||
|
||||
@ -124,12 +126,14 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
|
||||
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signUp"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)<a name="bots_answerWebhookJSONQuery"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)<a name="bots_answerWebhookJSONQuery"></a>
|
||||
|
||||
$MadelineProto->[bots->sendCustomRequest](bots_sendCustomRequest.md)(\['custom_method' => [string](../types/string.md), 'params' => [DataJSON](../types/DataJSON.md), \]) === [$DataJSON](../types/DataJSON.md)<a name="bots_sendCustomRequest"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
|
||||
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="channels_createChannel"></a>
|
||||
|
||||
@ -194,7 +198,8 @@ $MadelineProto->[channels->updatePinnedMessage](channels_updatePinnedMessage.md)
|
||||
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
|
||||
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)<a name="contacts_deleteContact"></a>
|
||||
|
||||
@ -225,18 +230,22 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
|
||||
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_unblock"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contest->saveDeveloperInfo](contest_saveDeveloperInfo.md)(\['vk_id' => [int](../types/int.md), 'name' => [string](../types/string.md), 'phone_number' => [string](../types/string.md), 'age' => [int](../types/int.md), 'city' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="contest_saveDeveloperInfo"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contest->saveDeveloperInfo](contest_saveDeveloperInfo.md)(\['vk_id' => [int](../types/int.md), 'name' => [string](../types/string.md), 'phone_number' => [string](../types/string.md), 'age' => [int](../types/int.md), 'city' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="contest_saveDeveloperInfo"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[destroy_auth_key](destroy_auth_key.md)(\[\]) === [$DestroyAuthKeyRes](../types/DestroyAuthKeyRes.md)<a name="destroy_auth_key"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[destroy_auth_key](destroy_auth_key.md)(\[\]) === [$DestroyAuthKeyRes](../types/DestroyAuthKeyRes.md)<a name="destroy_auth_key"></a>
|
||||
|
||||
$MadelineProto->[destroy_session](destroy_session.md)(\['session_id' => [long](../types/long.md), \]) === [$DestroySessionRes](../types/DestroySessionRes.md)<a name="destroy_session"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[get_future_salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) === [$FutureSalts](../types/FutureSalts.md)<a name="get_future_salts"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[get_future_salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) === [$FutureSalts](../types/FutureSalts.md)<a name="get_future_salts"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="help_getAppChangelog"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="help_getAppChangelog"></a>
|
||||
|
||||
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||
|
||||
@ -259,22 +268,28 @@ $MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputApp
|
||||
$MadelineProto->[help->setBotUpdatesStatus](help_setBotUpdatesStatus.md)(\['pending_updates_count' => [int](../types/int.md), 'message' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="help_setBotUpdatesStatus"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'system_lang_code' => [string](../types/string.md), 'lang_pack' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'system_lang_code' => [string](../types/string.md), 'lang_pack' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[langpack->getDifference](langpack_getDifference.md)(\['from_version' => [int](../types/int.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)<a name="langpack_getDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[langpack->getDifference](langpack_getDifference.md)(\['from_version' => [int](../types/int.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)<a name="langpack_getDifference"></a>
|
||||
|
||||
$MadelineProto->[langpack->getLangPack](langpack_getLangPack.md)(\['lang_code' => [string](../types/string.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)<a name="langpack_getLangPack"></a>
|
||||
|
||||
@ -283,7 +298,8 @@ $MadelineProto->[langpack->getLanguages](langpack_getLanguages.md)(\[\]) === [$V
|
||||
$MadelineProto->[langpack->getStrings](langpack_getStrings.md)(\['lang_code' => [string](../types/string.md), 'keys' => \[[string](../types/string.md)\], \]) === [$Vector\_of\_LangPackString](../types/LangPackString.md)<a name="langpack_getStrings"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
|
||||
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="messages_addChatUser"></a>
|
||||
|
||||
@ -468,7 +484,8 @@ $MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)
|
||||
$MadelineProto->[messages->uploadMedia](messages_uploadMedia.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$MessageMedia](../types/MessageMedia.md)<a name="messages_uploadMedia"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)<a name="payments_clearSavedInfo"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)<a name="payments_clearSavedInfo"></a>
|
||||
|
||||
$MadelineProto->[payments->getPaymentForm](payments_getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md)<a name="payments_getPaymentForm"></a>
|
||||
|
||||
@ -481,7 +498,8 @@ $MadelineProto->[payments->sendPaymentForm](payments_sendPaymentForm.md)(\['msg_
|
||||
$MadelineProto->[payments->validateRequestedInfo](payments_validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md)<a name="payments_validateRequestedInfo"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_acceptCall"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_acceptCall"></a>
|
||||
|
||||
$MadelineProto->[phone->confirmCall](phone_confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_confirmCall"></a>
|
||||
|
||||
@ -498,7 +516,8 @@ $MadelineProto->[phone->saveCallDebug](phone_saveCallDebug.md)(\['peer' => [Inpu
|
||||
$MadelineProto->[phone->setCallRating](phone_setCallRating.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'rating' => [int](../types/int.md), 'comment' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="phone_setCallRating"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
|
||||
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)<a name="photos_getUserPhotos"></a>
|
||||
|
||||
@ -507,23 +526,28 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
|
||||
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md)<a name="photos_uploadProfilePhoto"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) === [$Pong](../types/Pong.md)<a name="ping"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) === [$Pong](../types/Pong.md)<a name="ping"></a>
|
||||
|
||||
$MadelineProto->[ping_delay_disconnect](ping_delay_disconnect.md)(\['ping_id' => [long](../types/long.md), 'disconnect_delay' => [int](../types/int.md), \]) === [$Pong](../types/Pong.md)<a name="ping_delay_disconnect"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[req_DH_params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [string](../types/string.md), 'q' => [string](../types/string.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Server\_DH\_Params](../types/Server_DH_Params.md)<a name="req_DH_params"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[req_DH_params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [string](../types/string.md), 'q' => [string](../types/string.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Server\_DH\_Params](../types/Server_DH_Params.md)<a name="req_DH_params"></a>
|
||||
|
||||
$MadelineProto->[req_pq](req_pq.md)(\['nonce' => [int128](../types/int128.md), \]) === [$ResPQ](../types/ResPQ.md)<a name="req_pq"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[rpc_drop_answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) === [$RpcDropAnswer](../types/RpcDropAnswer.md)<a name="rpc_drop_answer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[rpc_drop_answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) === [$RpcDropAnswer](../types/RpcDropAnswer.md)<a name="rpc_drop_answer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)<a name="set_client_DH_params"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)<a name="set_client_DH_params"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[stickers->addStickerToSet](stickers_addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)<a name="stickers_addStickerToSet"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[stickers->addStickerToSet](stickers_addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)<a name="stickers_addStickerToSet"></a>
|
||||
|
||||
$MadelineProto->[stickers->changeStickerPosition](stickers_changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)<a name="stickers_changeStickerPosition"></a>
|
||||
|
||||
@ -532,14 +556,16 @@ $MadelineProto->[stickers->createStickerSet](stickers_createStickerSet.md)(\['ma
|
||||
$MadelineProto->[stickers->removeStickerFromSet](stickers_removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)<a name="stickers_removeStickerFromSet"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)<a name="updates_getState"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[upload->getCdnFile](upload_getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md)<a name="upload_getCdnFile"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[upload->getCdnFile](upload_getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md)<a name="upload_getCdnFile"></a>
|
||||
|
||||
$MadelineProto->[upload->getCdnFileHashes](upload_getCdnFileHashes.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), \]) === [$Vector\_of\_CdnFileHash](../types/CdnFileHash.md)<a name="upload_getCdnFileHashes"></a>
|
||||
|
||||
@ -554,7 +580,8 @@ $MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id'
|
||||
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveFilePart"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
|
||||
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)<a name="users_getUsers"></a>
|
||||
|
||||
|
@ -27,8 +27,7 @@ description: What do you want to do?
|
||||
|
||||
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
||||
|
||||
***
|
||||
<br><br>* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account</a>
|
||||
|
||||
* <a href="account_checkUsername.html" name="account_checkUsername">Check if this username is available</a>
|
||||
|
||||
@ -82,25 +81,12 @@ description: What do you want to do?
|
||||
|
||||
* <a href="account_updateUsername.html" name="account_updateUsername">Update this user's username</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="auth_bindTempAuthKey.html" name="auth_bindTempAuthKey">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</a>
|
||||
|
||||
* <a href="auth_cancelCode.html" name="auth_cancelCode">Invalidate sent phone code</a>
|
||||
|
||||
* <a href="auth_checkPassword.html" name="auth_checkPassword">You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_checkPhone.html" name="auth_checkPhone">Check if this phone number is registered on telegram</a>
|
||||
|
||||
* <a href="auth_dropTempAuthKeys.html" name="auth_dropTempAuthKeys">Delete all temporary authorization keys except the ones provided</a>
|
||||
|
||||
* <a href="auth_exportAuthorization.html" name="auth_exportAuthorization">You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importAuthorization.html" name="auth_importAuthorization">You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html</a>
|
||||
|
||||
* <a href="auth_importBotAuthorization.html" name="auth_importBotAuthorization">You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_logOut.html" name="auth_logOut">You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_recoverPassword.html" name="auth_recoverPassword">Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account</a>
|
||||
|
||||
* <a href="auth_requestPasswordRecovery.html" name="auth_requestPasswordRecovery">Send an email to recover the 2FA password</a>
|
||||
@ -109,21 +95,13 @@ description: What do you want to do?
|
||||
|
||||
* <a href="auth_resetAuthorizations.html" name="auth_resetAuthorizations">Delete all logged-in sessions.</a>
|
||||
|
||||
* <a href="auth_sendCode.html" name="auth_sendCode">Use phone_login instead</a>
|
||||
|
||||
* <a href="auth_sendInvites.html" name="auth_sendInvites">Invite friends to telegram!</a>
|
||||
|
||||
* <a href="auth_signIn.html" name="auth_signIn">You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="auth_signUp.html" name="auth_signUp">You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="bots_answerWebhookJSONQuery.html" name="bots_answerWebhookJSONQuery">Send webhook request via bot API</a>
|
||||
* <a href="bots_answerWebhookJSONQuery.html" name="bots_answerWebhookJSONQuery">Send webhook request via bot API</a>
|
||||
|
||||
* <a href="bots_sendCustomRequest.html" name="bots_sendCustomRequest">Send a custom request to the bot API</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup</a>
|
||||
|
||||
* <a href="channels_createChannel.html" name="channels_createChannel">Create channel/supergroup</a>
|
||||
|
||||
@ -155,8 +133,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_getChannels.html" name="channels_getChannels">Get info about multiple channels/supergroups</a>
|
||||
|
||||
* <a href="channels_getFullChannel.html" name="channels_getFullChannel">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="channels_getMessages.html" name="channels_getMessages">Get channel/supergroup messages</a>
|
||||
|
||||
* <a href="channels_getParticipant.html" name="channels_getParticipant">Get info about a certain channel/supergroup participant</a>
|
||||
@ -187,8 +163,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="channels_updateUsername.html" name="channels_updateUsername">Update the username of a supergroup/channel</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
* <a href="contacts_block.html" name="contacts_block">Block a user</a>
|
||||
|
||||
* <a href="contacts_deleteContact.html" name="contacts_deleteContact">Delete a contact</a>
|
||||
|
||||
@ -212,14 +187,11 @@ description: What do you want to do?
|
||||
|
||||
* <a href="contacts_resetTopPeerRating.html" name="contacts_resetTopPeerRating">Reset top peer rating for a certain category/peer</a>
|
||||
|
||||
* <a href="contacts_resolveUsername.html" name="contacts_resolveUsername">You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="contacts_search.html" name="contacts_search">Search contacts</a>
|
||||
|
||||
* <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app</a>
|
||||
|
||||
* <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates</a>
|
||||
|
||||
@ -241,23 +213,17 @@ description: What do you want to do?
|
||||
|
||||
* <a href="help_setBotUpdatesStatus.html" name="help_setBotUpdatesStatus">Set the update status of webhook</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="langpack_getDifference.html" name="langpack_getDifference">Get language pack updates</a>
|
||||
* <a href="langpack_getDifference.html" name="langpack_getDifference">Get language pack updates</a>
|
||||
|
||||
* <a href="langpack_getLangPack.html" name="langpack_getLangPack">Get language pack</a>
|
||||
|
||||
@ -265,9 +231,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="langpack_getStrings.html" name="langpack_getStrings">Get language pack strings</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="messages_acceptEncryption.html" name="messages_acceptEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_addChatUser.html" name="messages_addChatUser">Add a user to a normal chat (use channels->inviteToChannel for supergroups)</a>
|
||||
|
||||
* <a href="messages_checkChatInvite.html" name="messages_checkChatInvite">Check if an invitation link is valid</a>
|
||||
@ -282,8 +245,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_deleteMessages.html" name="messages_deleteMessages">Delete messages</a>
|
||||
|
||||
* <a href="messages_discardEncryption.html" name="messages_discardEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_editChatAdmin.html" name="messages_editChatAdmin">Edit admin permissions</a>
|
||||
|
||||
* <a href="messages_editChatPhoto.html" name="messages_editChatPhoto">Edit the photo of a normal chat (not supergroup)</a>
|
||||
@ -318,8 +279,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_getCommonChats.html" name="messages_getCommonChats">Get chats in common with a user</a>
|
||||
|
||||
* <a href="messages_getDhConfig.html" name="messages_getDhConfig">You cannot use this method directly, instead use $MadelineProto->get_dh_config();</a>
|
||||
|
||||
* <a href="messages_getDialogs.html" name="messages_getDialogs">Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html</a>
|
||||
|
||||
* <a href="messages_getDocumentByHash.html" name="messages_getDocumentByHash">Get document by SHA256 hash</a>
|
||||
@ -328,8 +287,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_getFeaturedStickers.html" name="messages_getFeaturedStickers">Get featured stickers</a>
|
||||
|
||||
* <a href="messages_getFullChat.html" name="messages_getFullChat">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="messages_getGameHighScores.html" name="messages_getGameHighScores">Get high scores of a game</a>
|
||||
|
||||
* <a href="messages_getHistory.html" name="messages_getHistory">Get previous messages of a group</a>
|
||||
@ -386,8 +343,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_receivedMessages.html" name="messages_receivedMessages">Mark messages as read</a>
|
||||
|
||||
* <a href="messages_receivedQueue.html" name="messages_receivedQueue">You cannot use this method directly</a>
|
||||
|
||||
* <a href="messages_reorderPinnedDialogs.html" name="messages_reorderPinnedDialogs">Reorder pinned dialogs</a>
|
||||
|
||||
* <a href="messages_reorderStickerSets.html" name="messages_reorderStickerSets">Reorder sticker sets</a>
|
||||
@ -396,8 +351,6 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_reportSpam.html" name="messages_reportSpam">Report a peer for spam</a>
|
||||
|
||||
* <a href="messages_requestEncryption.html" name="messages_requestEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats</a>
|
||||
|
||||
* <a href="messages_saveDraft.html" name="messages_saveDraft">Save a message draft</a>
|
||||
|
||||
* <a href="messages_saveGif.html" name="messages_saveGif">Save a GIF</a>
|
||||
@ -454,8 +407,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="messages_uploadMedia.html" name="messages_uploadMedia">Upload a file without sending it to anyone</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="payments_clearSavedInfo.html" name="payments_clearSavedInfo">Clear saved payments info</a>
|
||||
* <a href="payments_clearSavedInfo.html" name="payments_clearSavedInfo">Clear saved payments info</a>
|
||||
|
||||
* <a href="payments_getPaymentForm.html" name="payments_getPaymentForm">Get payment form</a>
|
||||
|
||||
@ -467,25 +419,15 @@ description: What do you want to do?
|
||||
|
||||
* <a href="payments_validateRequestedInfo.html" name="payments_validateRequestedInfo">Validate requested payment info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="phone_acceptCall.html" name="phone_acceptCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_confirmCall.html" name="phone_confirmCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_discardCall.html" name="phone_discardCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_getCallConfig.html" name="phone_getCallConfig">Get call configuration</a>
|
||||
|
||||
* <a href="phone_receivedCall.html" name="phone_receivedCall">Notify server that you received a call (server will refuse all incoming calls until the current call is over)</a>
|
||||
|
||||
* <a href="phone_requestCall.html" name="phone_requestCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls</a>
|
||||
|
||||
* <a href="phone_saveCallDebug.html" name="phone_saveCallDebug">Save call debugging info</a>
|
||||
|
||||
* <a href="phone_setCallRating.html" name="phone_setCallRating">Set phone call rating</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos</a>
|
||||
|
||||
* <a href="photos_getUserPhotos.html" name="photos_getUserPhotos">Get the profile photos of a user</a>
|
||||
|
||||
@ -493,8 +435,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="photos_uploadProfilePhoto.html" name="photos_uploadProfilePhoto">Upload profile photo</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="stickers_addStickerToSet.html" name="stickers_addStickerToSet">Add sticker to stickerset</a>
|
||||
* <a href="stickers_addStickerToSet.html" name="stickers_addStickerToSet">Add sticker to stickerset</a>
|
||||
|
||||
* <a href="stickers_changeStickerPosition.html" name="stickers_changeStickerPosition">Change sticker position in photo</a>
|
||||
|
||||
@ -502,30 +443,7 @@ description: What do you want to do?
|
||||
|
||||
* <a href="stickers_removeStickerFromSet.html" name="stickers_removeStickerFromSet">Remove sticker from stickerset</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="updates_getChannelDifference.html" name="updates_getChannelDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getDifference.html" name="updates_getDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
* <a href="updates_getState.html" name="updates_getState">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="upload_getCdnFile.html" name="upload_getCdnFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_getCdnFileHashes.html" name="upload_getCdnFileHashes">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_getFile.html" name="upload_getFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_getWebFile.html" name="upload_getWebFile">Download a file through telegram</a>
|
||||
|
||||
* <a href="upload_reuploadCdnFile.html" name="upload_reuploadCdnFile">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveBigFilePart.html" name="upload_saveBigFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
* <a href="upload_saveFilePart.html" name="upload_saveFilePart">You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info</a>
|
||||
|
||||
***
|
||||
<br><br>* <a href="users_getFullUser.html" name="users_getFullUser">You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)</a>
|
||||
|
||||
* <a href="users_getUsers.html" name="users_getUsers">Get info about users</a>
|
||||
|
||||
|
@ -34,7 +34,8 @@ $MadelineProto->[request_call](https://docs.madelineproto.xyz/request_call.html)
|
||||
$MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_secret_chat.html)($id);
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
|
||||
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="account_checkUsername"></a>
|
||||
|
||||
@ -89,7 +90,8 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
|
||||
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
|
||||
$MadelineProto->[auth->cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="auth_cancelCode"></a>
|
||||
|
||||
@ -124,12 +126,14 @@ $MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../t
|
||||
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signUp"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)<a name="bots_answerWebhookJSONQuery"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[bots->answerWebhookJSONQuery](bots_answerWebhookJSONQuery.md)(\['query_id' => [long](../types/long.md), 'data' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)<a name="bots_answerWebhookJSONQuery"></a>
|
||||
|
||||
$MadelineProto->[bots->sendCustomRequest](bots_sendCustomRequest.md)(\['custom_method' => [string](../types/string.md), 'params' => [DataJSON](../types/DataJSON.md), \]) === [$DataJSON](../types/DataJSON.md)<a name="bots_sendCustomRequest"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||
|
||||
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="channels_createChannel"></a>
|
||||
|
||||
@ -194,7 +198,8 @@ $MadelineProto->[channels->updatePinnedMessage](channels_updatePinnedMessage.md)
|
||||
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_updateUsername"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||
|
||||
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md)<a name="contacts_deleteContact"></a>
|
||||
|
||||
@ -225,7 +230,8 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
|
||||
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_unblock"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="help_getAppChangelog"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="help_getAppChangelog"></a>
|
||||
|
||||
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||
|
||||
@ -248,22 +254,28 @@ $MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputApp
|
||||
$MadelineProto->[help->setBotUpdatesStatus](help_setBotUpdatesStatus.md)(\['pending_updates_count' => [int](../types/int.md), 'message' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="help_setBotUpdatesStatus"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'system_lang_code' => [string](../types/string.md), 'lang_pack' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'system_lang_code' => [string](../types/string.md), 'lang_pack' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsgs"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[langpack->getDifference](langpack_getDifference.md)(\['from_version' => [int](../types/int.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)<a name="langpack_getDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[langpack->getDifference](langpack_getDifference.md)(\['from_version' => [int](../types/int.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)<a name="langpack_getDifference"></a>
|
||||
|
||||
$MadelineProto->[langpack->getLangPack](langpack_getLangPack.md)(\['lang_code' => [string](../types/string.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)<a name="langpack_getLangPack"></a>
|
||||
|
||||
@ -272,7 +284,8 @@ $MadelineProto->[langpack->getLanguages](langpack_getLanguages.md)(\[\]) === [$V
|
||||
$MadelineProto->[langpack->getStrings](langpack_getStrings.md)(\['lang_code' => [string](../types/string.md), 'keys' => \[[string](../types/string.md)\], \]) === [$Vector\_of\_LangPackString](../types/LangPackString.md)<a name="langpack_getStrings"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||
|
||||
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="messages_addChatUser"></a>
|
||||
|
||||
@ -461,7 +474,8 @@ $MadelineProto->[messages->uploadEncryptedFile](messages_uploadEncryptedFile.md)
|
||||
$MadelineProto->[messages->uploadMedia](messages_uploadMedia.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$MessageMedia](../types/MessageMedia.md)<a name="messages_uploadMedia"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)<a name="payments_clearSavedInfo"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)<a name="payments_clearSavedInfo"></a>
|
||||
|
||||
$MadelineProto->[payments->getPaymentForm](payments_getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md)<a name="payments_getPaymentForm"></a>
|
||||
|
||||
@ -474,7 +488,8 @@ $MadelineProto->[payments->sendPaymentForm](payments_sendPaymentForm.md)(\['msg_
|
||||
$MadelineProto->[payments->validateRequestedInfo](payments_validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md)<a name="payments_validateRequestedInfo"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_acceptCall"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_acceptCall"></a>
|
||||
|
||||
$MadelineProto->[phone->confirmCall](phone_confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_confirmCall"></a>
|
||||
|
||||
@ -491,7 +506,8 @@ $MadelineProto->[phone->saveCallDebug](phone_saveCallDebug.md)(\['peer' => [Inpu
|
||||
$MadelineProto->[phone->setCallRating](phone_setCallRating.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'rating' => [int](../types/int.md), 'comment' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="phone_setCallRating"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) === [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||
|
||||
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md)<a name="photos_getUserPhotos"></a>
|
||||
|
||||
@ -500,7 +516,8 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
|
||||
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md)<a name="photos_uploadProfilePhoto"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[stickers->addStickerToSet](stickers_addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)<a name="stickers_addStickerToSet"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[stickers->addStickerToSet](stickers_addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)<a name="stickers_addStickerToSet"></a>
|
||||
|
||||
$MadelineProto->[stickers->changeStickerPosition](stickers_changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)<a name="stickers_changeStickerPosition"></a>
|
||||
|
||||
@ -509,14 +526,16 @@ $MadelineProto->[stickers->createStickerSet](stickers_createStickerSet.md)(\['ma
|
||||
$MadelineProto->[stickers->removeStickerFromSet](stickers_removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)<a name="stickers_removeStickerFromSet"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||
|
||||
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_State](../types/updates_State.md)<a name="updates_getState"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[upload->getCdnFile](upload_getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md)<a name="upload_getCdnFile"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[upload->getCdnFile](upload_getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md)<a name="upload_getCdnFile"></a>
|
||||
|
||||
$MadelineProto->[upload->getCdnFileHashes](upload_getCdnFileHashes.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), \]) === [$Vector\_of\_CdnFileHash](../types/CdnFileHash.md)<a name="upload_getCdnFileHashes"></a>
|
||||
|
||||
@ -531,7 +550,8 @@ $MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id'
|
||||
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveFilePart"></a>
|
||||
|
||||
***
|
||||
<br><br>$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
<br><br>
|
||||
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||
|
||||
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)<a name="users_getUsers"></a>
|
||||
|
||||
|
@ -70,9 +70,11 @@ trait Methods
|
||||
$this->docs_methods[$method] = '$MadelineProto->'.$md_method.'(\\['.$params.'\\]) === [$'.str_replace('_', '\\_', $type).'](../types/'.$php_type.'.md)<a name="'.$method.'"></a>
|
||||
|
||||
';
|
||||
if (!isset(\danog\MadelineProto\MTProto::DISALLOWED_METHODS[$data['method']])) {
|
||||
$this->human_docs_methods[$method] = '* <a href="'.$method.'.html" name="'.$method.'">'.$this->td_descriptions['methods'][$data['method']]['description'].'</a>
|
||||
|
||||
';
|
||||
}
|
||||
$params = '';
|
||||
$lua_params = '';
|
||||
$pwr_params = '';
|
||||
@ -314,15 +316,8 @@ MadelineProto supports all html entities supported by [html_entity_decode](http:
|
||||
foreach ($this->docs_methods as $method => &$value) {
|
||||
$new_namespace = preg_replace('/_.*/', '', $method);
|
||||
$br = $new_namespace != $last_namespace ? '***
|
||||
<br><br>' : '';
|
||||
$value = $br.$value;
|
||||
$last_namespace = $new_namespace;
|
||||
}
|
||||
$last_namespace = '';
|
||||
foreach ($this->human_docs_methods as $method => &$value) {
|
||||
$new_namespace = preg_replace('/_.*/', '', $method);
|
||||
$br = $new_namespace != $last_namespace ? '***
|
||||
<br><br>' : '';
|
||||
<br><br>
|
||||
' : '';
|
||||
$value = $br.$value;
|
||||
$last_namespace = $new_namespace;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user