MadelineProtoDocs/old_docs/API_docs_v18/methods
2019-09-03 16:27:12 +02:00
..
account_checkUsername.md Update docs 2019-09-02 17:41:28 +02:00
account_getNotifySettings.md Update docs 2019-09-02 17:41:28 +02:00
account_getWallPapers.md Update docs 2019-06-19 18:42:02 +02:00
account_registerDevice.md Update docs 2019-09-02 17:41:28 +02:00
account_resetNotifySettings.md Update docs 2019-06-19 18:42:02 +02:00
account_unregisterDevice.md Update docs 2019-09-02 17:41:28 +02:00
account_updateNotifySettings.md Update docs 2019-09-02 17:41:28 +02:00
account_updateProfile.md Update docs 2019-09-02 17:41:28 +02:00
account_updateStatus.md Update docs 2019-09-02 17:41:28 +02:00
account_updateUsername.md Update docs 2019-09-02 17:41:28 +02:00
api_README.md Improve SEO 2018-04-04 19:52:48 +02:00
auth_bindTempAuthKey.md Update docs 2019-09-02 17:41:28 +02:00
auth_checkPhone.md Update docs 2019-09-02 17:41:28 +02:00
auth_exportAuthorization.md Update docs 2019-09-02 17:41:28 +02:00
auth_importAuthorization.md Update docs 2019-09-02 17:41:28 +02:00
auth_logOut.md Update docs 2019-09-02 17:41:28 +02:00
auth_resetAuthorizations.md Update docs 2019-09-02 17:41:28 +02:00
auth_sendCall.md Update docs 2019-06-19 18:42:02 +02:00
auth_sendCode.md Update docs 2019-09-02 17:41:28 +02:00
auth_sendInvites.md Update docs 2019-09-02 17:41:28 +02:00
auth_sendSms.md Update docs 2019-06-19 18:42:02 +02:00
auth_signIn.md Update docs 2019-09-02 17:41:28 +02:00
auth_signUp.md Update docs 2019-09-02 17:41:28 +02:00
contacts_block.md Update docs 2019-09-02 17:41:28 +02:00
contacts_deleteContact.md Update docs 2019-09-02 17:41:28 +02:00
contacts_deleteContacts.md Update docs 2019-09-02 17:41:28 +02:00
contacts_exportCard.md Update docs 2019-08-15 20:25:16 +02:00
contacts_getBlocked.md Update docs 2019-06-19 18:42:02 +02:00
contacts_getContacts.md Update docs 2019-06-19 18:42:02 +02:00
contacts_getStatuses.md Update docs 2019-09-02 17:41:28 +02:00
contacts_getSuggested.md Update docs 2019-06-19 18:42:02 +02:00
contacts_importCard.md Update docs 2019-09-02 17:41:28 +02:00
contacts_importContacts.md Update docs 2019-06-19 18:42:02 +02:00
contacts_search.md Update docs 2019-09-02 17:41:28 +02:00
contacts_unblock.md Update docs 2019-09-02 17:41:28 +02:00
help_getAppUpdate.md Update docs 2019-06-19 18:42:02 +02:00
help_getConfig.md Update docs 2019-09-02 17:41:28 +02:00
help_getInviteText.md Update docs 2019-06-19 18:42:02 +02:00
help_getNearestDc.md Update docs 2019-06-19 18:42:02 +02:00
help_getSupport.md Update docs 2019-06-19 18:42:02 +02:00
help_saveAppLog.md Update docs 2019-06-19 18:42:02 +02:00
initConnection.md Update docs 2019-09-02 17:41:28 +02:00
invokeAfterMsg.md Update docs 2019-06-19 18:42:02 +02:00
invokeAfterMsgs.md Update docs 2019-06-19 18:42:02 +02:00
invokeWithLayer18.md Update docs 2019-06-19 18:42:02 +02:00
messages_acceptEncryption.md Update docs 2019-09-02 17:41:28 +02:00
messages_addChatUser.md Update docs 2019-09-02 17:41:28 +02:00
messages_createChat.md Update docs 2019-09-02 17:41:28 +02:00
messages_deleteChatUser.md Update docs 2019-09-02 17:41:28 +02:00
messages_deleteHistory.md Update docs 2019-09-02 17:41:28 +02:00
messages_deleteMessages.md Update docs 2019-09-02 17:41:28 +02:00
messages_discardEncryption.md Update docs 2019-09-02 17:41:28 +02:00
messages_editChatPhoto.md Update docs 2019-09-02 17:41:28 +02:00
messages_editChatTitle.md Update docs 2019-09-02 17:41:28 +02:00
messages_forwardMessage.md Update docs 2019-09-02 17:41:28 +02:00
messages_forwardMessages.md Update docs 2019-09-02 17:41:28 +02:00
messages_getChats.md Update docs 2019-09-02 17:41:28 +02:00
messages_getDhConfig.md Update docs 2019-09-02 17:41:28 +02:00
messages_getDialogs.md Update docs 2019-09-02 17:41:28 +02:00
messages_getFullChat.md Update docs 2019-09-02 17:41:28 +02:00
messages_getHistory.md Update docs 2019-09-02 17:41:28 +02:00
messages_getMessages.md Update docs 2019-06-19 18:42:02 +02:00
messages_readEncryptedHistory.md Update docs 2019-09-02 17:41:28 +02:00
messages_readHistory.md Update docs 2019-09-02 17:41:28 +02:00
messages_readMessageContents.md Update docs 2019-06-19 18:42:02 +02:00
messages_receivedMessages.md Update docs 2019-06-19 18:42:02 +02:00
messages_receivedQueue.md Update docs 2019-09-02 17:41:28 +02:00
messages_reportSpam.md Update docs 2019-09-02 17:41:28 +02:00
messages_requestEncryption.md Update docs 2019-09-02 17:41:28 +02:00
messages_search.md Update docs 2019-09-02 17:41:28 +02:00
messages_sendBroadcast.md Update docs 2019-06-19 18:42:02 +02:00
messages_sendEncrypted.md Update docs 2019-09-02 17:41:28 +02:00
messages_sendEncryptedFile.md Update docs 2019-09-02 17:41:28 +02:00
messages_sendEncryptedService.md Update docs 2019-09-02 17:41:28 +02:00
messages_sendMedia.md Update docs 2019-09-02 17:41:28 +02:00
messages_sendMessage.md Update docs 2019-09-02 17:41:28 +02:00
messages_setEncryptedTyping.md Update docs 2019-09-02 17:41:28 +02:00
messages_setTyping.md Update docs 2019-09-02 17:41:28 +02:00
photos_deletePhotos.md Update docs 2019-06-19 18:42:02 +02:00
photos_getUserPhotos.md Update docs 2019-09-02 17:41:28 +02:00
photos_updateProfilePhoto.md Update docs 2019-09-02 17:41:28 +02:00
photos_uploadProfilePhoto.md Update docs 2019-09-02 17:41:28 +02:00
README.md Update index 2019-09-03 16:27:12 +02:00
updates_getDifference.md Update docs 2019-09-02 17:41:28 +02:00
updates_getState.md Update docs 2019-09-02 17:41:28 +02:00
upload_getFile.md Update docs 2019-09-02 17:41:28 +02:00
upload_saveBigFilePart.md Update docs 2019-09-02 17:41:28 +02:00
upload_saveFilePart.md Update docs 2019-09-02 17:41:28 +02:00
users_getFullUser.md Update docs 2019-09-02 17:41:28 +02:00
users_getUsers.md Update docs 2019-09-02 17:41:28 +02:00

title description image
Methods What do you want to do? https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

What do you want to do?

Go back to API documentation index

Go to the old code-version method index

  • Logout

  • Login

  • Change 2FA password

  • Get all chats, broadcast a message to all chats

  • Get the full participant list of a channel/group/supergroup

  • Get full info about a user/chat/supergroup/channel

  • Get info about a user/chat/supergroup/channel

  • Get info about the currently logged-in user

  • Upload or download files up to 1.5 GB

  • Make a phone call and play a song

  • Create a secret chat bot

  • Add a user to a normal chat (use channels->inviteToChannel for supergroups): messages.addChatUser

          * <a href="contacts_importContacts.html" name="contacts_importContacts">Add phone number as contact: contacts.importContacts</a>
    
          * <a href="contacts_block.html" name="contacts_block">Block a user: contacts.block</a>
    
          * <a href="account_updateNotifySettings.html" name="account_updateNotifySettings">Change notification settings: account.updateNotifySettings</a>
    
          * <a href="photos_updateProfilePhoto.html" name="photos_updateProfilePhoto">Change the profile photo: photos.updateProfilePhoto</a>
    
          * <a href="messages_setTyping.html" name="messages_setTyping">Change typing status: messages.setTyping</a>
    
          * <a href="auth_checkPhone.html" name="auth_checkPhone">Check if this phone number is registered on telegram: auth.checkPhone</a>
    
          * <a href="account_checkUsername.html" name="account_checkUsername">Check if this username is available: account.checkUsername</a>
    
          * <a href="messages_createChat.html" name="messages_createChat">Create a chat (not supergroup): messages.createChat</a>
    
          * <a href="contacts_deleteContact.html" name="contacts_deleteContact">Delete a contact: contacts.deleteContact</a>
    
          * <a href="messages_deleteChatUser.html" name="messages_deleteChatUser">Delete a user from a chat (not supergroup): messages.deleteChatUser</a>
    
          * <a href="auth_resetAuthorizations.html" name="auth_resetAuthorizations">Delete all logged-in sessions.: auth.resetAuthorizations</a>
    
          * <a href="messages_deleteHistory.html" name="messages_deleteHistory">Delete chat history: messages.deleteHistory</a>
    
          * <a href="messages_deleteMessages.html" name="messages_deleteMessages">Delete messages: messages.deleteMessages</a>
    
          * <a href="contacts_deleteContacts.html" name="contacts_deleteContacts">Delete multiple contacts: contacts.deleteContacts</a>
    
          * <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos: photos.deletePhotos</a>
    
          * <a href="messages_editChatPhoto.html" name="messages_editChatPhoto">Edit the photo of a normal chat (not supergroup): messages.editChatPhoto</a>
    
          * <a href="messages_editChatTitle.html" name="messages_editChatTitle">Edit the title of a normal chat (not supergroup): messages.editChatTitle</a>
    
          * <a href="contacts_exportCard.html" name="contacts_exportCard">Export contact as card: contacts.exportCard</a>
    
          * <a href="messages_forwardMessage.html" name="messages_forwardMessage">Forward message: messages.forwardMessage</a>
    
          * <a href="messages_forwardMessages.html" name="messages_forwardMessages">Forward messages: messages.forwardMessages</a>
    
          * <a href="contacts_getContacts.html" name="contacts_getContacts">Get all contacts: contacts.getContacts</a>
    
          * <a href="contacts_getBlocked.html" name="contacts_getBlocked">Get blocked users: contacts.getBlocked</a>
    
          * <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates: help.getAppUpdate</a>
    
          * <a href="messages_getChats.html" name="messages_getChats">Get info about chats: messages.getChats</a>
    
          * <a href="users_getUsers.html" name="users_getUsers">Get info about users: users.getUsers</a>
    
          * <a href="help_getSupport.html" name="help_getSupport">Get info of support user: help.getSupport</a>
    
          * <a href="help_getInviteText.html" name="help_getInviteText">Get invitation text: help.getInviteText</a>
    
          * <a href="messages_getMessages.html" name="messages_getMessages">Get messages: messages.getMessages</a>
    
          * <a href="help_getNearestDc.html" name="help_getNearestDc">Get nearest datacenter: help.getNearestDc</a>
    
          * <a href="account_getNotifySettings.html" name="account_getNotifySettings">Get notification settings: account.getNotifySettings</a>
    
          * <a href="contacts_getStatuses.html" name="contacts_getStatuses">Get online status of all users: contacts.getStatuses</a>
    
          * <a href="messages_getHistory.html" name="messages_getHistory">Get previous messages of a group: messages.getHistory</a>
    
          * <a href="help_getConfig.html" name="help_getConfig">Get server configuration: help.getConfig</a>
    
          * <a href="contacts_getSuggested.html" name="contacts_getSuggested">Get suggested contacts: contacts.getSuggested</a>
    
          * <a href="photos_getUserPhotos.html" name="photos_getUserPhotos">Get the profile photos of a user: photos.getUserPhotos</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: messages.getDialogs</a>
    
          * <a href="contacts_importCard.html" name="contacts_importCard">Import card as contact: contacts.importCard</a>
    
          * <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.: initConnection</a>
    
          * <a href="auth_sendInvites.html" name="auth_sendInvites">Invite friends to telegram!: auth.sendInvites</a>
    
          * <a href="invokeWithLayer18.html" name="invokeWithLayer18">Invoke this method with layer 18: invokeWithLayer18</a>
    
          * <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.: invokeAfterMsg</a>
    
          * <a href="help_saveAppLog.html" name="help_saveAppLog">Log data for developer of this app: help.saveAppLog</a>
    
          * <a href="messages_readMessageContents.html" name="messages_readMessageContents">Mark message as read: messages.readMessageContents</a>
    
          * <a href="messages_readEncryptedHistory.html" name="messages_readEncryptedHistory">Mark messages as read in secret chats: messages.readEncryptedHistory</a>
    
          * <a href="messages_readHistory.html" name="messages_readHistory">Mark messages as read: messages.readHistory</a>
    
          * <a href="messages_receivedMessages.html" name="messages_receivedMessages">Mark messages as read: messages.receivedMessages</a>
    
          * <a href="account_registerDevice.html" name="account_registerDevice">Register device for push notifications: account.registerDevice</a>
    
          * <a href="messages_reportSpam.html" name="messages_reportSpam">Report a peer for spam: messages.reportSpam</a>
    
          * <a href="account_resetNotifySettings.html" name="account_resetNotifySettings">Reset all notification settings: account.resetNotifySettings</a>
    
          * <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.: invokeAfterMsgs</a>
    
          * <a href="account_getWallPapers.html" name="account_getWallPapers">Returns a list of available wallpapers.: account.getWallPapers</a>
    
          * <a href="contacts_search.html" name="contacts_search">Search contacts: contacts.search</a>
    
          * <a href="messages_search.html" name="messages_search">Search peers or messages: messages.search</a>
    
          * <a href="auth_sendSms.html" name="auth_sendSms">Send SMS verification code: auth.sendSms</a>
    
          * <a href="messages_sendEncryptedFile.html" name="messages_sendEncryptedFile">Send a file to a secret chat: messages.sendEncryptedFile</a>
    
          * <a href="messages_sendMedia.html" name="messages_sendMedia">Send a media: messages.sendMedia</a>
    
          * <a href="messages_sendBroadcast.html" name="messages_sendBroadcast">Send a message to all users in the chat list: messages.sendBroadcast</a>
    
          * <a href="messages_sendMessage.html" name="messages_sendMessage">Send a message: messages.sendMessage</a>
    
          * <a href="messages_sendEncryptedService.html" name="messages_sendEncryptedService">Send a service message to a secret chat: messages.sendEncryptedService</a>
    
          * <a href="messages_sendEncrypted.html" name="messages_sendEncrypted">Send message to secret chat: messages.sendEncrypted</a>
    
          * <a href="messages_setEncryptedTyping.html" name="messages_setEncryptedTyping">Send typing notification to secret chat: messages.setEncryptedTyping</a>
    
          * <a href="auth_sendCall.html" name="auth_sendCall">Send verification phone call: auth.sendCall</a>
    
          * <a href="account_unregisterDevice.html" name="account_unregisterDevice">Stop sending PUSH notifications to app: account.unregisterDevice</a>
    
          * <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user: contacts.unblock</a>
    
          * <a href="account_updateStatus.html" name="account_updateStatus">Update online status: account.updateStatus</a>
    
          * <a href="account_updateProfile.html" name="account_updateProfile">Update profile info: account.updateProfile</a>
    
          * <a href="account_updateUsername.html" name="account_updateUsername">Update this user's username: account.updateUsername</a>
    
          * <a href="photos_uploadProfilePhoto.html" name="photos_uploadProfilePhoto">Upload profile photo: photos.uploadProfilePhoto</a>
    
          * <a href="auth_sendCode.html" name="auth_sendCode">Use phone_login instead: auth.sendCode</a>
    
          * <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: auth.bindTempAuthKey</a>
    
          * <a href="messages_getDhConfig.html" name="messages_getDhConfig">You cannot use this method directly, instead use $MadelineProto->get_dh_config();: messages.getDhConfig</a>
    
          * <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: messages.acceptEncryption</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: messages.discardEncryption</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: messages.requestEncryption</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: updates.getDifference</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: updates.getState</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: auth.exportAuthorization</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: auth.importAuthorization</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): auth.signIn</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): auth.signUp</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): messages.getFullChat</a>
    
          * <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): users.getFullUser</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): auth.logOut</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: upload.getFile</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: upload.saveBigFilePart</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: upload.saveFilePart</a>
    
          * <a href="messages_receivedQueue.html" name="messages_receivedQueue">You cannot use this method directly: messages.receivedQueue</a>