14 KiB
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
For more information, see Perfect Forward Secrecy.: auth.bindTempAuthKey
-
Cancels a request for creation and/or delete info on secret chat.: messages.discardEncryption
-
Chanages chat name and sends a service message on it.: messages.editChatTitle
-
Changes chat photo and sends a service message on it: messages.editChatPhoto
-
Changes username for the current user.: account.updateUsername
-
Check if this phone number is registered on telegram: auth.checkPhone
-
Confirms creation of a secret chat: messages.acceptEncryption
-
Deletes a device by its token, stops sending PUSH-notifications to it.: account.unregisterDevice
-
Deletes a user from a chat and sends a service message on it.: messages.deleteChatUser
-
Deletes messages by their identifiers.: messages.deleteMessages
-
Deletes several contacts from the list.: contacts.deleteContacts
-
Gets back the conversation history with one interlocutor / within a chat: messages.getHistory
-
Installs a previously uploaded photo as a profile photo.: photos.updateProfilePhoto
-
Invokes a query after a successfull completion of previous queries: invokeAfterMsgs
-
Invokes a query after successfull completion of one of the previous queries.: invokeAfterMsg
-
Logs in a user using a key transmitted from his native data-centre.: auth.importAuthorization
-
Marks message history within a secret chat as read.: messages.readEncryptedHistory
-
Register device to receive PUSH notifications: account.registerDevice
-
Registers a validated phone number in the system.: auth.signUp
-
Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam
-
Resets all notification settings from users and groups.: account.resetNotifySettings
-
Returns a list of available wallpapers.: account.getWallPapers
-
Returns basic user info according to their identifiers.: users.getUsers
-
Returns content of a whole file or its part.: upload.getFile
-
Returns current configuration, icluding data center configuration.: help.getConfig
-
Returns data for copying authorization to another data-centre.: auth.exportAuthorization
-
Returns full chat info according to its ID.: messages.getFullChat
-
Returns info on data centre nearest to the user.: help.getNearestDc
-
Returns information on update availability for the current application.: help.getAppUpdate
-
Returns text of a text message with an invitation.: help.getInviteText
-
Returns the current user's contact list.: contacts.getContacts
-
Returns the list of messages by their IDs.: messages.getMessages
-
Returns the support user for the 'ask a question' feature.: help.getSupport
-
Saves a part of file for futher sending to one of the methods.: upload.saveFilePart
-
Send a message to all users in the chat list: messages.sendBroadcast
-
Send typing event by the current user to a secret chat.: messages.setEncryptedTyping
-
Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group.: messages.setTyping
-
Sends a message with a file attachment to a secret chat: messages.sendEncryptedFile
-
Sends a request to start a secret chat to the user.: messages.requestEncryption
-
Sends a service message to a secret chat.: messages.sendEncryptedService
-
Sends a text message to a secret chat.: messages.sendEncrypted
-
Terminates all user's authorized sessions except for the current one.
After calling this method it is necessary to reregister the current device using the method account.registerDevice: auth.resetAuthorizations