.. | ||
account.changePhone.md | ||
account.checkUsername.md | ||
account.deleteAccount.md | ||
account.getAccountTTL.md | ||
account.getAuthorizations.md | ||
account.getNotifySettings.md | ||
account.getPassword.md | ||
account.getPasswordSettings.md | ||
account.getPrivacy.md | ||
account.getWallPapers.md | ||
account.registerDevice.md | ||
account.reportPeer.md | ||
account.resetAuthorization.md | ||
account.resetNotifySettings.md | ||
account.sendChangePhoneCode.md | ||
account.setAccountTTL.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 | ||
api_README.md | ||
auth.bindTempAuthKey.md | ||
auth.cancelCode.md | ||
auth.checkPassword.md | ||
auth.checkPhone.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.sendInvites.md | ||
auth.signIn.md | ||
auth.signUp.md | ||
channels.checkUsername.md | ||
channels.createChannel.md | ||
channels.deleteChannel.md | ||
channels.deleteMessages.md | ||
channels.deleteUserHistory.md | ||
channels.editAbout.md | ||
channels.editAdmin.md | ||
channels.editPhoto.md | ||
channels.editTitle.md | ||
channels.exportInvite.md | ||
channels.exportMessageLink.md | ||
channels.getChannels.md | ||
channels.getFullChannel.md | ||
channels.getMessages.md | ||
channels.getParticipant.md | ||
channels.getParticipants.md | ||
channels.inviteToChannel.md | ||
channels.joinChannel.md | ||
channels.kickFromChannel.md | ||
channels.leaveChannel.md | ||
channels.readHistory.md | ||
channels.reportSpam.md | ||
channels.toggleInvites.md | ||
channels.toggleSignatures.md | ||
channels.updatePinnedMessage.md | ||
channels.updateUsername.md | ||
contacts.block.md | ||
contacts.deleteContact.md | ||
contacts.deleteContacts.md | ||
contacts.exportCard.md | ||
contacts.getBlocked.md | ||
contacts.getContacts.md | ||
contacts.getStatuses.md | ||
contacts.getTopPeers.md | ||
contacts.importCard.md | ||
contacts.importContacts.md | ||
contacts.resetTopPeerRating.md | ||
contacts.resolveUsername.md | ||
contacts.search.md | ||
contacts.unblock.md | ||
help.getAppChangelog.md | ||
help.getAppUpdate.md | ||
help.getConfig.md | ||
help.getInviteText.md | ||
help.getNearestDc.md | ||
help.getSupport.md | ||
help.getTermsOfService.md | ||
help.saveAppLog.md | ||
initConnection.md | ||
invokeAfterMsg.md | ||
invokeAfterMsgs.md | ||
invokeWithLayer.md | ||
invokeWithoutUpdates.md | ||
messages.acceptEncryption.md | ||
messages.addChatUser.md | ||
messages.checkChatInvite.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.forwardMessage.md | ||
messages.forwardMessages.md | ||
messages.getAllDrafts.md | ||
messages.getAllStickers.md | ||
messages.getBotCallbackAnswer.md | ||
messages.getChats.md | ||
messages.getDhConfig.md | ||
messages.getDialogs.md | ||
messages.getDocumentByHash.md | ||
messages.getFullChat.md | ||
messages.getHistory.md | ||
messages.getInlineBotResults.md | ||
messages.getMessageEditData.md | ||
messages.getMessages.md | ||
messages.getMessagesViews.md | ||
messages.getPeerDialogs.md | ||
messages.getPeerSettings.md | ||
messages.getSavedGifs.md | ||
messages.getStickers.md | ||
messages.getStickerSet.md | ||
messages.getWebPagePreview.md | ||
messages.hideReportSpam.md | ||
messages.importChatInvite.md | ||
messages.installStickerSet.md | ||
messages.migrateChat.md | ||
messages.readEncryptedHistory.md | ||
messages.readHistory.md | ||
messages.readMessageContents.md | ||
messages.receivedMessages.md | ||
messages.receivedQueue.md | ||
messages.reorderStickerSets.md | ||
messages.reportSpam.md | ||
messages.requestEncryption.md | ||
messages.saveDraft.md | ||
messages.saveGif.md | ||
messages.search.md | ||
messages.searchGifs.md | ||
messages.searchGlobal.md | ||
messages.sendBroadcast.md | ||
messages.sendEncrypted.md | ||
messages.sendEncryptedFile.md | ||
messages.sendEncryptedService.md | ||
messages.sendInlineBotResult.md | ||
messages.sendMedia.md | ||
messages.sendMessage.md | ||
messages.setBotCallbackAnswer.md | ||
messages.setEncryptedTyping.md | ||
messages.setInlineBotResults.md | ||
messages.setTyping.md | ||
messages.startBot.md | ||
messages.toggleChatAdmins.md | ||
messages.uninstallStickerSet.md | ||
photos.deletePhotos.md | ||
photos.getUserPhotos.md | ||
photos.updateProfilePhoto.md | ||
photos.uploadProfilePhoto.md | ||
README.md | ||
updates.getChannelDifference.md | ||
updates.getDifference.md | ||
updates.getState.md | ||
upload.getFile.md | ||
upload.saveBigFilePart.md | ||
upload.saveFilePart.md | ||
users.getFullUser.md | ||
users.getUsers.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
-
Adds a user to a chat and sends a service message on it.: messages.addChatUser
-
Allow or disallow any user to invite users to this channel/supergroup: channels.toggleInvites
-
Answer an inline query, for bots only: messages.setInlineBotResults
-
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 if this phone number is registered on telegram: auth.checkPhone
-
Check the validity of a chat invite link and get basic info about it: messages.checkChatInvite
-
Create a supergroup/channel.: channels.createChannel
-
Delete a channel/supergroup: channels.deleteChannel
-
Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory
-
Delete messages in a channel/supergroup: channels.deleteMessages
-
Delete the user's account from the telegram servers. Can be used, for example, to delete the account of a user that provided the login code, but forgot the 2FA password and no recovery method is configured.: account.deleteAccount
-
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
-
Edit the about text of a channel/supergroup: channels.editAbout
-
Edit the name of a channel/supergroup: channels.editTitle
-
Enable all users are admins in normal groups (not supergroups): messages.toggleChatAdmins
-
Enable/disable message signatures in channels: channels.toggleSignatures
-
Find out if a media message's caption can be edited: messages.getMessageEditData
-
Get channel/supergroup messages: channels.getMessages
-
Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash
-
Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews
-
Get info about channels/supergroups: channels.getChannels
-
Get info about a channel/supergroup participant: channels.getParticipant
-
Get link and embed info of a message in a channel/supergroup: channels.exportMessageLink
-
Gets back the conversation history with one interlocutor / within a chat: messages.getHistory
-
Import a chat invite and join a private chat/supergroup/channel: messages.importChatInvite
-
Installs a previously uploaded photo as a profile photo.: photos.updateProfilePhoto
-
Invite users to a channel/supergroup: channels.inviteToChannel
-
Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries).: invokeWithoutUpdates
-
Invoke the specified query using the specified API layer: invokeWithLayer
-
Invokes a query after a successfull completion of previous queries: invokeAfterMsgs
-
Invokes a query after successfull completion of one of the previous queries.: invokeAfterMsg
-
Leave a channel/supergroup: channels.leaveChannel
-
Log out an active authorized session by its hash: account.resetAuthorization
-
Make a user admin in a legacy group.: messages.editChatAdmin
-
Mark channel/supergroup history as read: channels.readHistory
-
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
-
Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam
-
Report a peer for violation of telegram's Terms of Service: account.reportPeer
-
Request recovery code of a 2FA password, only for accounts with a recovery email configured.: auth.requestPasswordRecovery
-
Resend the login code via another medium, the phone code type is determined by the return value of the previous auth.sendCode/auth.resendCode: see login for more info.: auth.resendCode
-
Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery.: auth.recoverPassword
-
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 current configuration, icluding data center configuration.: help.getConfig
-
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
-
Save a message draft associated to a chat.: messages.saveDraft
-
Save get all message drafts.: messages.getAllDrafts
-
Search for messages and peers globally: messages.searchGlobal
-
Send a message to all users in the chat list: messages.sendBroadcast
-
Send a result obtained using messages.getInlineBotResults.: messages.sendInlineBotResult
-
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 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
-
Set the pinned message of a channel/supergroup: channels.updatePinnedMessage
-
Start a conversation with a bot using a deep linking parameter: messages.startBot
-
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
-
Turn a legacy group into a supergroup: messages.migrateChat
-
Updates current user profile photo.: photos.uploadProfilePhoto
-
Validates a username and checks availability.: account.checkUsername
-
Verify a new phone number to associate to the current account: account.sendChangePhoneCode
-
When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications.: account.updateDeviceLocked