.. | ||
account.acceptAuthorization.md | ||
account.cancelPasswordEmail.md | ||
account.changePhone.md | ||
account.checkUsername.md | ||
account.confirmPasswordEmail.md | ||
account.confirmPhone.md | ||
account.deleteAccount.md | ||
account.deleteSecureValue.md | ||
account.finishTakeoutSession.md | ||
account.getAccountTTL.md | ||
account.getAllSecureValues.md | ||
account.getAuthorizationForm.md | ||
account.getAuthorizations.md | ||
account.getContactSignUpNotification.md | ||
account.getNotifyExceptions.md | ||
account.getNotifySettings.md | ||
account.getPassword.md | ||
account.getPasswordSettings.md | ||
account.getPrivacy.md | ||
account.getSecureValue.md | ||
account.getTmpPassword.md | ||
account.getWallPapers.md | ||
account.getWebAuthorizations.md | ||
account.initTakeoutSession.md | ||
account.registerDevice.md | ||
account.reportPeer.md | ||
account.resendPasswordEmail.md | ||
account.resetAuthorization.md | ||
account.resetNotifySettings.md | ||
account.resetWebAuthorization.md | ||
account.resetWebAuthorizations.md | ||
account.saveSecureValue.md | ||
account.sendChangePhoneCode.md | ||
account.sendConfirmPhoneCode.md | ||
account.sendVerifyEmailCode.md | ||
account.sendVerifyPhoneCode.md | ||
account.setAccountTTL.md | ||
account.setContactSignUpNotification.md | ||
account.setPrivacy.md | ||
account.unregisterDevice.md | ||
account.updateDeviceLocked.md | ||
account.updateNotifySettings.md | ||
account.updatePasswordSettings.md | ||
account.updateProfile.md | ||
account.updateStatus.md | ||
account.updateUsername.md | ||
account.verifyEmail.md | ||
account.verifyPhone.md | ||
api_README.md | ||
auth.bindTempAuthKey.md | ||
auth.cancelCode.md | ||
auth.checkPassword.md | ||
auth.dropTempAuthKeys.md | ||
auth.exportAuthorization.md | ||
auth.importAuthorization.md | ||
auth.importBotAuthorization.md | ||
auth.logOut.md | ||
auth.recoverPassword.md | ||
auth.requestPasswordRecovery.md | ||
auth.resendCode.md | ||
auth.resetAuthorizations.md | ||
auth.sendCode.md | ||
auth.signIn.md | ||
auth.signUp.md | ||
bots.answerWebhookJSONQuery.md | ||
bots.sendCustomRequest.md | ||
channels.checkUsername.md | ||
channels.createChannel.md | ||
channels.deleteChannel.md | ||
channels.deleteHistory.md | ||
channels.deleteMessages.md | ||
channels.deleteUserHistory.md | ||
channels.editAbout.md | ||
channels.editAdmin.md | ||
channels.editBanned.md | ||
channels.editPhoto.md | ||
channels.editTitle.md | ||
channels.exportInvite.md | ||
channels.exportMessageLink.md | ||
channels.getAdminedPublicChannels.md | ||
channels.getAdminLog.md | ||
channels.getChannels.md | ||
channels.getFullChannel.md | ||
channels.getLeftChannels.md | ||
channels.getMessages.md | ||
channels.getParticipant.md | ||
channels.getParticipants.md | ||
channels.inviteToChannel.md | ||
channels.joinChannel.md | ||
channels.leaveChannel.md | ||
channels.readHistory.md | ||
channels.readMessageContents.md | ||
channels.reportSpam.md | ||
channels.setStickers.md | ||
channels.toggleInvites.md | ||
channels.togglePreHistoryHidden.md | ||
channels.toggleSignatures.md | ||
channels.updateUsername.md | ||
contacts.block.md | ||
contacts.deleteByPhones.md | ||
contacts.deleteContact.md | ||
contacts.deleteContacts.md | ||
contacts.getBlocked.md | ||
contacts.getContactIDs.md | ||
contacts.getContacts.md | ||
contacts.getSaved.md | ||
contacts.getStatuses.md | ||
contacts.getTopPeers.md | ||
contacts.importContacts.md | ||
contacts.resetSaved.md | ||
contacts.resetTopPeerRating.md | ||
contacts.resolveUsername.md | ||
contacts.search.md | ||
contacts.toggleTopPeers.md | ||
contacts.unblock.md | ||
help.acceptTermsOfService.md | ||
help.editUserInfo.md | ||
help.getAppChangelog.md | ||
help.getAppConfig.md | ||
help.getAppUpdate.md | ||
help.getCdnConfig.md | ||
help.getConfig.md | ||
help.getDeepLinkInfo.md | ||
help.getInviteText.md | ||
help.getNearestDc.md | ||
help.getPassportConfig.md | ||
help.getProxyData.md | ||
help.getRecentMeUrls.md | ||
help.getSupport.md | ||
help.getSupportName.md | ||
help.getTermsOfServiceUpdate.md | ||
help.getUserInfo.md | ||
help.saveAppLog.md | ||
help.setBotUpdatesStatus.md | ||
initConnection.md | ||
invokeAfterMsg.md | ||
invokeAfterMsgs.md | ||
invokeWithLayer.md | ||
invokeWithMessagesRange.md | ||
invokeWithoutUpdates.md | ||
invokeWithTakeout.md | ||
langpack.getDifference.md | ||
langpack.getLangPack.md | ||
langpack.getLanguage.md | ||
langpack.getLanguages.md | ||
langpack.getStrings.md | ||
messages.acceptEncryption.md | ||
messages.addChatUser.md | ||
messages.checkChatInvite.md | ||
messages.clearAllDrafts.md | ||
messages.clearRecentStickers.md | ||
messages.createChat.md | ||
messages.deleteChatUser.md | ||
messages.deleteHistory.md | ||
messages.deleteMessages.md | ||
messages.discardEncryption.md | ||
messages.editChatAdmin.md | ||
messages.editChatPhoto.md | ||
messages.editChatTitle.md | ||
messages.editInlineBotMessage.md | ||
messages.editMessage.md | ||
messages.exportChatInvite.md | ||
messages.faveSticker.md | ||
messages.forwardMessages.md | ||
messages.getAllChats.md | ||
messages.getAllDrafts.md | ||
messages.getAllStickers.md | ||
messages.getArchivedStickers.md | ||
messages.getAttachedStickers.md | ||
messages.getBotCallbackAnswer.md | ||
messages.getChats.md | ||
messages.getCommonChats.md | ||
messages.getDhConfig.md | ||
messages.getDialogs.md | ||
messages.getDialogUnreadMarks.md | ||
messages.getDocumentByHash.md | ||
messages.getFavedStickers.md | ||
messages.getFeaturedStickers.md | ||
messages.getFullChat.md | ||
messages.getGameHighScores.md | ||
messages.getHistory.md | ||
messages.getInlineBotResults.md | ||
messages.getInlineGameHighScores.md | ||
messages.getMaskStickers.md | ||
messages.getMessageEditData.md | ||
messages.getMessages.md | ||
messages.getMessagesViews.md | ||
messages.getOnlines.md | ||
messages.getPeerDialogs.md | ||
messages.getPeerSettings.md | ||
messages.getPinnedDialogs.md | ||
messages.getPollResults.md | ||
messages.getRecentLocations.md | ||
messages.getRecentStickers.md | ||
messages.getSavedGifs.md | ||
messages.getSplitRanges.md | ||
messages.getStatsURL.md | ||
messages.getStickers.md | ||
messages.getStickerSet.md | ||
messages.getUnreadMentions.md | ||
messages.getWebPage.md | ||
messages.getWebPagePreview.md | ||
messages.hideReportSpam.md | ||
messages.importChatInvite.md | ||
messages.installStickerSet.md | ||
messages.markDialogUnread.md | ||
messages.migrateChat.md | ||
messages.readEncryptedHistory.md | ||
messages.readFeaturedStickers.md | ||
messages.readHistory.md | ||
messages.readMentions.md | ||
messages.readMessageContents.md | ||
messages.receivedMessages.md | ||
messages.receivedQueue.md | ||
messages.reorderPinnedDialogs.md | ||
messages.reorderStickerSets.md | ||
messages.report.md | ||
messages.reportEncryptedSpam.md | ||
messages.reportSpam.md | ||
messages.requestEncryption.md | ||
messages.saveDraft.md | ||
messages.saveGif.md | ||
messages.saveRecentSticker.md | ||
messages.search.md | ||
messages.searchGifs.md | ||
messages.searchGlobal.md | ||
messages.searchStickerSets.md | ||
messages.sendEncrypted.md | ||
messages.sendEncryptedFile.md | ||
messages.sendEncryptedService.md | ||
messages.sendInlineBotResult.md | ||
messages.sendMedia.md | ||
messages.sendMessage.md | ||
messages.sendMultiMedia.md | ||
messages.sendScreenshotNotification.md | ||
messages.sendVote.md | ||
messages.setBotCallbackAnswer.md | ||
messages.setBotPrecheckoutResults.md | ||
messages.setBotShippingResults.md | ||
messages.setEncryptedTyping.md | ||
messages.setGameScore.md | ||
messages.setInlineBotResults.md | ||
messages.setInlineGameScore.md | ||
messages.setTyping.md | ||
messages.startBot.md | ||
messages.toggleChatAdmins.md | ||
messages.toggleDialogPin.md | ||
messages.uninstallStickerSet.md | ||
messages.updatePinnedMessage.md | ||
messages.uploadEncryptedFile.md | ||
messages.uploadMedia.md | ||
payments.clearSavedInfo.md | ||
payments.getPaymentForm.md | ||
payments.getPaymentReceipt.md | ||
payments.getSavedInfo.md | ||
payments.sendPaymentForm.md | ||
payments.validateRequestedInfo.md | ||
phone.acceptCall.md | ||
phone.confirmCall.md | ||
phone.discardCall.md | ||
phone.getCallConfig.md | ||
phone.receivedCall.md | ||
phone.requestCall.md | ||
phone.saveCallDebug.md | ||
phone.setCallRating.md | ||
photos.deletePhotos.md | ||
photos.getUserPhotos.md | ||
photos.updateProfilePhoto.md | ||
photos.uploadProfilePhoto.md | ||
README.md | ||
stickers.addStickerToSet.md | ||
stickers.changeStickerPosition.md | ||
stickers.createStickerSet.md | ||
stickers.removeStickerFromSet.md | ||
updates.getChannelDifference.md | ||
updates.getDifference.md | ||
updates.getState.md | ||
upload.getCdnFile.md | ||
upload.getCdnFileHashes.md | ||
upload.getFile.md | ||
upload.getFileHashes.md | ||
upload.getWebFile.md | ||
upload.reuploadCdnFile.md | ||
upload.saveBigFilePart.md | ||
upload.saveFilePart.md | ||
users.getFullUser.md | ||
users.getUsers.md | ||
users.setSecureValueErrors.md |
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
-
Add/remove sticker from recent stickers list: messages.saveRecentSticker
-
Adds a user to a chat and sends a service message on it: messages.addChatUser
-
Answer an inline query, for bots only: messages.setInlineBotResults
-
Answers a custom query; for bots only: bots.answerWebhookJSONQuery
-
Associate a stickerset to the supergroup: channels.setStickers
-
Ban/unban/kick a user in a supergroup/channel: channels.editBanned
-
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
-
Change privacy settings of current account: account.setPrivacy
-
Change the phone number of the current account: account.changePhone
-
Change the photo of a channel/supergroup: channels.editPhoto
-
Change the username of a supergroup/channel: channels.updateUsername
-
Changes chat photo and sends a service message on it: messages.editChatPhoto
-
Changes username for the current user: account.updateUsername
-
Check if a username is free and can be assigned to a channel/supergroup: channels.checkUsername
-
Check the validity of a chat invite link and get basic info about it: messages.checkChatInvite
-
Confirm a phone number to cancel account deletion, for more info click here »: account.confirmPhone
-
Confirms creation of a secret chat: messages.acceptEncryption
-
Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory
-
Delete all temporary authorization keys except for the ones specified: auth.dropTempAuthKeys
-
Delete messages in a channel/supergroup: channels.deleteMessages
-
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
-
Enable/disable message signatures in channels: channels.toggleSignatures
-
Find out if a media message's caption can be edited: messages.getMessageEditData
-
Finish account takeout session: account.finishTakeoutSession
-
Get SHA256 hashes for verifying downloaded CDN files: upload.getCdnFileHashes
-
Get SHA256 hashes for verifying downloaded files: upload.getFileHashes
-
Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash
-
Get a list of channels/supergroups we left: channels.getLeftChannels
-
Get all chats, channels and supergroups: messages.getAllChats
-
Get dialogs manually marked as unread: messages.getDialogUnreadMarks
-
Get highscores of a game sent using an inline bot: messages.getInlineGameHighScores
-
Get info about a channel/supergroup participant: channels.getParticipant
-
Get information about a language in a localization pack: langpack.getLanguage
-
Get information about all languages in a localization pack: langpack.getLanguages
-
Get link and embed info of a message in a channel/supergroup: channels.exportMessageLink
-
Get live location history of a certain user: messages.getRecentLocations
-
Get localized name of the telegram support user: help.getSupportName
-
Get message ranges for saving the user's chat history: messages.getSplitRanges
-
Get phone call configuration to be passed to libtgvoip's shared config: phone.getCallConfig
-
Get promotion info of the currently-used MTProxy: help.getProxyData
-
Get saved Telegram Passport document, for more info see the passport docs »: account.getSecureValue
-
Get stickers attached to a photo or video: messages.getAttachedStickers
-
Get the admin log of a channel/supergroup: channels.getAdminLog
-
Get unread messages where we were mentioned: messages.getUnreadMentions
-
Get web login widget authorizations: account.getWebAuthorizations
-
Gets back the conversation history with one interlocutor / within a chat: messages.getHistory
-
Hide/unhide message history for new channel/supergroup users: channels.togglePreHistoryHidden
-
Import a chat invite and join a private chat/supergroup/channel: messages.importChatInvite
-
Installs a previously uploaded photo as a profile photo: photos.updateProfilePhoto
-
Intialize account takeout session: account.initTakeoutSession
-
Invite users to a channel/supergroup: channels.inviteToChannel
-
Invoke the specified query using the specified API layer: invokeWithLayer
-
Invoke with the given message range: invokeWithMessagesRange
-
Invokes a query after a successfull completion of previous queries: invokeAfterMsgs
-
Invokes a query after successfull completion of one of the previous queries: invokeAfterMsg
-
Log out an active authorized session by its hash: account.resetAuthorization
-
Log out an active web telegram login session: account.resetWebAuthorization
-
Logs in a user using a key transmitted from his native data-centre: auth.importAuthorization
-
Look for updates of telegram's terms of service: help.getTermsOfServiceUpdate
-
Mark channel/supergroup history as read: channels.readHistory
-
Mark channel/supergroup message contents as read: channels.readMessageContents
-
Mark new featured stickers as read: messages.readFeaturedStickers
-
Marks message history within a secret chat as read: messages.readEncryptedHistory
-
Modify the admin rights of a user in a supergroup/channel: channels.editAdmin
-
Obtain configuration for two-factor authorization with password: account.getPassword
-
Register device to receive PUSH notifications: account.registerDevice
-
Registers a validated phone number in the system: auth.signUp
-
Report a message in a chat for violation of telegram's Terms of Service: messages.report
-
Report a peer for violation of telegram's Terms of Service: account.reportPeer
-
Request a reupload of a certain file to a CDN DC: upload.reuploadCdnFile
-
Resend the code to verify an email to use as 2FA recovery method: account.resendPasswordEmail
-
Reset all active web telegram login sessions: account.resetWebAuthorizations
-
Resets all notification settings from users and groups: account.resetNotifySettings
-
Resolve a @username to get peer info: contacts.resolveUsername
-
Returns a list of available wallpapers: account.getWallPapers
-
Returns basic user info according to their identifiers: users.getUsers
-
Returns current configuration, including 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 list of chats with non-default notification settings: account.getNotifyExceptions
-
Returns localized 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
-
Save a message draft associated to a chat: messages.saveDraft
-
Saves a part of file for futher sending to one of the methods: upload.saveFilePart
-
Search for messages and peers globally: messages.searchGlobal
-
Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult
-
Send the verification email code for telegram passport: account.sendVerifyEmailCode
-
Send the verification phone code for telegram passport: account.sendVerifyPhoneCode
-
Send typing event by the current user to a secret chat: messages.setEncryptedTyping
-
Sends a custom request; for bots only: bots.sendCustomRequest
-
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
-
Set the callback answer to a user button press (bots only): messages.setBotCallbackAnswer
-
Start a conversation with a bot using a deep linking parameter: messages.startBot
-
Submit requested order information for validation: payments.validateRequestedInfo
-
Terminates all user's authorized sessions except for the current one: auth.resetAuthorizations
-
Toggle contact sign up notifications: account.setContactSignUpNotification
-
Try logging to an account protected by a 2FA password: auth.checkPassword
-
Updates current user profile photo: photos.uploadProfilePhoto
-
Upload encrypted file and associate it to a secret chat: messages.uploadEncryptedFile
-
Validates a username and checks availability: account.checkUsername
-
Verify a new phone number to associate to the current account: account.sendChangePhoneCode
-
Verify a phone number for telegram passport: account.verifyPhone
-
Verify an email address for telegram passport: account.verifyEmail
-
Verify an email to use as 2FA recovery method: account.confirmPasswordEmail
-
Complete phone call E2E encryption key exchange »: phone.confirmCall