MadelineProtoDocs/old_docs/API_docs_v62/methods/README.md

429 lines
34 KiB
Markdown
Raw Normal View History

2018-04-01 13:19:25 +02:00
---
title: Methods
description: What do you want to do?
2018-04-04 19:52:48 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
2018-04-01 13:19:25 +02:00
---
# What do you want to do?
[Go back to API documentation index](..)
2018-04-01 13:24:46 +02:00
[Go to the old code-version method index](api_README.md)
2018-04-01 13:19:25 +02:00
* [Logout](https://docs.madelineproto.xyz/logout.html)
* [Login](https://docs.madelineproto.xyz/docs/LOGIN.html)
2019-12-27 17:48:04 +01:00
* [Change 2FA password](https://docs.madelineproto.xyz/update2fa.html)
2019-06-05 12:04:07 +02:00
2018-04-01 13:19:25 +02:00
* [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html)
2019-10-29 22:23:35 +01:00
* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/getPwrChat.html)
2018-04-01 13:19:25 +02:00
2019-10-29 22:23:35 +01:00
* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getFullInfo.html)
2018-04-01 13:19:25 +02:00
2019-10-29 22:23:35 +01:00
* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/getInfo.html)
2018-04-01 13:19:25 +02:00
2019-10-29 22:23:35 +01:00
* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/getSelf.html)
2018-04-01 13:19:25 +02:00
* [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html)
* [Make a phone call and play a song](https://docs.madelineproto.xyz/docs/CALLS.html)
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
2019-12-27 17:48:04 +01:00
* <a href="messages.saveGif.html" name="messages.saveGif">Add GIF to saved gifs list: messages.saveGif</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.saveRecentSticker.html" name="messages.saveRecentSticker">Add/remove sticker from recent stickers list: messages.saveRecentSticker</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="messages.addChatUser.html" name="messages.addChatUser">Adds a user to a chat and sends a service message on it: messages.addChatUser</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="contacts.block.html" name="contacts.block">Adds the user to the blacklist: contacts.block</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="channels.toggleInvites.html" name="channels.toggleInvites">Allow or disallow any user to invite users to this channel/supergroup: channels.toggleInvites</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.setInlineBotResults.html" name="messages.setInlineBotResults">Answer an inline query, for bots only: messages.setInlineBotResults</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="auth.cancelCode.html" name="auth.cancelCode">Cancel the login verification code: auth.cancelCode</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="messages.editChatTitle.html" name="messages.editChatTitle">Chanages chat name and sends a service message on it: messages.editChatTitle</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="account.setPrivacy.html" name="account.setPrivacy">Change privacy settings of current account: account.setPrivacy</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="account.changePhone.html" name="account.changePhone">Change the phone number of the current account: account.changePhone</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="channels.editPhoto.html" name="channels.editPhoto">Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="channels.updateUsername.html" name="channels.updateUsername">Change the username of a supergroup/channel: channels.updateUsername</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.editChatPhoto.html" name="messages.editChatPhoto">Changes chat photo and sends a service message on it: messages.editChatPhoto</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="account.updateUsername.html" name="account.updateUsername">Changes username for the current user: account.updateUsername</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="channels.checkUsername.html" name="channels.checkUsername">Check if a username is free and can be assigned to a channel/supergroup: channels.checkUsername</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="auth.checkPhone.html" name="auth.checkPhone">Check if this phone number is registered on telegram: auth.checkPhone</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.checkChatInvite.html" name="messages.checkChatInvite">Check the validity of a chat invite link and get basic info about it: messages.checkChatInvite</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.clearRecentStickers.html" name="messages.clearRecentStickers">Clear recent stickers: messages.clearRecentStickers</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="account.confirmPhone.html" name="account.confirmPhone">Confirm a phone number to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.confirmPhone</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="messages.receivedMessages.html" name="messages.receivedMessages">Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="channels.createChannel.html" name="channels.createChannel">Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="messages.createChat.html" name="messages.createChat">Creates a new chat: messages.createChat</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="channels.deleteChannel.html" name="channels.deleteChannel">Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="contacts.deleteContact.html" name="contacts.deleteContact">Delete a contact: contacts.deleteContact</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="channels.deleteUserHistory.html" name="channels.deleteUserHistory">Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="auth.dropTempAuthKeys.html" name="auth.dropTempAuthKeys">Delete all temporary authorization keys **except for** the ones specified: auth.dropTempAuthKeys</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="channels.deleteMessages.html" name="channels.deleteMessages">Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="account.deleteAccount.html" name="account.deleteAccount">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](https://core.telegram.org/api/srp): account.deleteAccount</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="account.unregisterDevice.html" name="account.unregisterDevice">Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="messages.deleteChatUser.html" name="messages.deleteChatUser">Deletes a user from a chat and sends a service message on it: messages.deleteChatUser</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="messages.deleteHistory.html" name="messages.deleteHistory">Deletes communication history: messages.deleteHistory</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="messages.deleteMessages.html" name="messages.deleteMessages">Deletes messages by their identifiers: messages.deleteMessages</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="photos.deletePhotos.html" name="photos.deletePhotos">Deletes profile photos: photos.deletePhotos</a>
2019-12-27 17:48:04 +01:00
2019-12-27 18:07:55 +01:00
* <a href="contacts.deleteContacts.html" name="contacts.deleteContacts">Deletes several contacts from the list: contacts.deleteContacts</a>
2019-12-27 17:48:04 +01:00
2019-12-27 18:07:55 +01:00
* <a href="contacts.unblock.html" name="contacts.unblock">Deletes the user from the blacklist: contacts.unblock</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="destroy_auth_key.html" name="destroy_auth_key">Destroy current authorization key: destroy_auth_key</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.editInlineBotMessage.html" name="messages.editInlineBotMessage">Edit an inline bot message: messages.editInlineBotMessage</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.editMessage.html" name="messages.editMessage">Edit message: messages.editMessage</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="channels.editAbout.html" name="channels.editAbout">Edit the about text of a channel/supergroup: channels.editAbout</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="channels.editTitle.html" name="channels.editTitle">Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="account.updateNotifySettings.html" name="account.updateNotifySettings">Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.toggleChatAdmins.html" name="messages.toggleChatAdmins">Enable all users are admins in normal groups (not supergroups): messages.toggleChatAdmins</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="channels.toggleSignatures.html" name="channels.toggleSignatures">Enable/disable message signatures in channels: channels.toggleSignatures</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.exportChatInvite.html" name="messages.exportChatInvite">Export an invite link for a chat: messages.exportChatInvite</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="contacts.exportCard.html" name="contacts.exportCard">Export contact as card: contacts.exportCard</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="channels.exportInvite.html" name="channels.exportInvite">Export the invite link of a channel: channels.exportInvite</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.getMessageEditData.html" name="messages.getMessageEditData">Find out if a media message's caption can be edited: messages.getMessageEditData</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.forwardMessage.html" name="messages.forwardMessage">Forward message: messages.forwardMessage</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="messages.forwardMessages.html" name="messages.forwardMessages">Forwards messages by their IDs: messages.forwardMessages</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="channels.getMessages.html" name="channels.getMessages">Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="channels.getAdminedPublicChannels.html" name="channels.getAdminedPublicChannels">Get [channels/supergroups/geogroups](https://core.telegram.org/api/channel) we're admin in. Usually called when the user exceeds the [limit](../constructors/config.md) for owned public [channels/supergroups/geogroups](https://core.telegram.org/api/channel), and the user is given the choice to remove one of his channels/supergroups/geogroups: channels.getAdminedPublicChannels</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.getWebPage.html" name="messages.getWebPage">Get [instant view](https://instantview.telegram.org) page: messages.getWebPage</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.getDocumentByHash.html" name="messages.getDocumentByHash">Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.getArchivedStickers.html" name="messages.getArchivedStickers">Get all archived stickers: messages.getArchivedStickers</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.getAllChats.html" name="messages.getAllChats">Get all chats, channels and supergroups: messages.getAllChats</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.getAllStickers.html" name="messages.getAllStickers">Get all installed stickers: messages.getAllStickers</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.getMessagesViews.html" name="messages.getMessagesViews">Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="help.getAppChangelog.html" name="help.getAppChangelog">Get changelog of current app: help.getAppChangelog</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.getCommonChats.html" name="messages.getCommonChats">Get chats in common with a user: messages.getCommonChats</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="account.getAccountTTL.html" name="account.getAccountTTL">Get days to live of account: account.getAccountTTL</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.getPeerDialogs.html" name="messages.getPeerDialogs">Get dialog info of specified peers: messages.getPeerDialogs</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.getFeaturedStickers.html" name="messages.getFeaturedStickers">Get featured stickers: messages.getFeaturedStickers</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.getInlineGameHighScores.html" name="messages.getInlineGameHighScores">Get highscores of a game sent using an inline bot: messages.getInlineGameHighScores</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.getGameHighScores.html" name="messages.getGameHighScores">Get highscores of a game: messages.getGameHighScores</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="channels.getChannels.html" name="channels.getChannels">Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="channels.getParticipant.html" name="channels.getParticipant">Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.getStickerSet.html" name="messages.getStickerSet">Get info about a stickerset: messages.getStickerSet</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.getMaskStickers.html" name="messages.getMaskStickers">Get installed mask stickers: messages.getMaskStickers</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="channels.exportMessageLink.html" name="channels.exportMessageLink">Get link and embed info of a message in a [channel/supergroup](https://core.telegram.org/api/channel): channels.exportMessageLink</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="account.getAuthorizations.html" name="account.getAuthorizations">Get logged-in sessions: account.getAuthorizations</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="contacts.getTopPeers.html" name="contacts.getTopPeers">Get most used peers: contacts.getTopPeers</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.getPeerSettings.html" name="messages.getPeerSettings">Get peer settings: messages.getPeerSettings</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.getPinnedDialogs.html" name="messages.getPinnedDialogs">Get pinned dialogs: messages.getPinnedDialogs</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.getWebPagePreview.html" name="messages.getWebPagePreview">Get preview of webpage: messages.getWebPagePreview</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="account.getPrivacy.html" name="account.getPrivacy">Get privacy settings of current account: account.getPrivacy</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.getRecentStickers.html" name="messages.getRecentStickers">Get recent stickers: messages.getRecentStickers</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.getSavedGifs.html" name="messages.getSavedGifs">Get saved GIFs: messages.getSavedGifs</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.getAttachedStickers.html" name="messages.getAttachedStickers">Get stickers attached to a photo or video: messages.getAttachedStickers</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="help.getTermsOfService.html" name="help.getTermsOfService">Get terms of service: help.getTermsOfService</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="channels.getParticipants.html" name="channels.getParticipants">Get the participants of a channel: channels.getParticipants</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.search.html" name="messages.search">Gets back found messages: messages.search</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.getHistory.html" name="messages.getHistory">Gets back the conversation history with one interlocutor / within a chat: messages.getHistory</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="account.getNotifySettings.html" name="account.getNotifySettings">Gets current notification settings for a given user/group, from all users/all groups: account.getNotifySettings</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.hideReportSpam.html" name="messages.hideReportSpam">Hide report spam popup: messages.hideReportSpam</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.importChatInvite.html" name="messages.importChatInvite">Import a chat invite and join a private chat/supergroup/channel: messages.importChatInvite</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="contacts.importCard.html" name="contacts.importCard">Import card as contact: contacts.importCard</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="contacts.importContacts.html" name="contacts.importContacts">Imports contacts: saves a full list on the server, adds already registered contacts to the contact list, returns added contacts and their info: contacts.importContacts</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="help.setBotUpdatesStatus.html" name="help.setBotUpdatesStatus">Informs the server about the number of pending bot updates if they haven't been processed for a long time; for bots only: help.setBotUpdatesStatus</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="initConnection.html" name="initConnection">Initialize connection: initConnection</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.installStickerSet.html" name="messages.installStickerSet">Install a stickerset: messages.installStickerSet</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="photos.updateProfilePhoto.html" name="photos.updateProfilePhoto">Installs a previously uploaded photo as a profile photo: photos.updateProfilePhoto</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="auth.sendInvites.html" name="auth.sendInvites">Invite friends to telegram!: auth.sendInvites</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="channels.inviteToChannel.html" name="channels.inviteToChannel">Invite users to a channel/supergroup: channels.inviteToChannel</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke a request without subscribing the used connection for [updates](https://core.telegram.org/api/updates) (this is enabled by default for [file queries](https://core.telegram.org/api/files)): invokeWithoutUpdates</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Invokes a query after a successfull completion of previous queries: invokeAfterMsgs</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries: invokeAfterMsg</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="channels.joinChannel.html" name="channels.joinChannel">Join a channel/supergroup: channels.joinChannel</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="channels.kickFromChannel.html" name="channels.kickFromChannel">Kick user from channel: channels.kickFromChannel</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="channels.leaveChannel.html" name="channels.leaveChannel">Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="account.resetAuthorization.html" name="account.resetAuthorization">Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="messages.editChatAdmin.html" name="messages.editChatAdmin">Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="channels.readHistory.html" name="channels.readHistory">Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.readFeaturedStickers.html" name="messages.readFeaturedStickers">Mark new featured stickers as read: messages.readFeaturedStickers</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="messages.readHistory.html" name="messages.readHistory">Marks message history as read: messages.readHistory</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="messages.readEncryptedHistory.html" name="messages.readEncryptedHistory">Marks message history within a secret chat as read: messages.readEncryptedHistory</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="channels.editAdmin.html" name="channels.editAdmin">Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="messages.readMessageContents.html" name="messages.readMessageContents">Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="account.getPassword.html" name="account.getPassword">Obtain configuration for two-factor authorization with password: account.getPassword</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="phone.receivedCall.html" name="phone.receivedCall">Optional: notify the server that the user is currently busy in a call: this will automatically refuse all incoming phone calls until the current phone call is ended: phone.receivedCall</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.toggleDialogPin.html" name="messages.toggleDialogPin">Pin/unpin a dialog: messages.toggleDialogPin</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.getBotCallbackAnswer.html" name="messages.getBotCallbackAnswer">Press an inline callback button and get a callback answer from the bot: messages.getBotCallbackAnswer</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.getInlineBotResults.html" name="messages.getInlineBotResults">Query an inline bot: messages.getInlineBotResults</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="account.registerDevice.html" name="account.registerDevice">Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.reorderStickerSets.html" name="messages.reorderStickerSets">Reorder installed stickersets: messages.reorderStickerSets</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.reorderPinnedDialogs.html" name="messages.reorderPinnedDialogs">Reorder pinned dialogs: messages.reorderPinnedDialogs</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.reportSpam.html" name="messages.reportSpam">Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="account.reportPeer.html" name="account.reportPeer">Report a peer for violation of telegram's Terms of Service: account.reportPeer</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.reportEncryptedSpam.html" name="messages.reportEncryptedSpam">Report a secret chat for spam: messages.reportEncryptedSpam</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="channels.reportSpam.html" name="channels.reportSpam">Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="auth.requestPasswordRecovery.html" name="auth.requestPasswordRecovery">Request recovery code of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification): auth.requestPasswordRecovery</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="auth.resendCode.html" name="auth.resendCode">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](https://core.telegram.org/api/auth) for more info: auth.resendCode</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="contacts.resetTopPeerRating.html" name="contacts.resetTopPeerRating">Reset [rating](https://core.telegram.org/api/top-rating) of top peer: contacts.resetTopPeerRating</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="auth.recoverPassword.html" name="auth.recoverPassword">Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="account.resetNotifySettings.html" name="account.resetNotifySettings">Resets all notification settings from users and groups: account.resetNotifySettings</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="account.getWallPapers.html" name="account.getWallPapers">Returns a list of available wallpapers: account.getWallPapers</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="users.getUsers.html" name="users.getUsers">Returns basic user info according to their identifiers: users.getUsers</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="messages.getChats.html" name="messages.getChats">Returns chat basic info on their IDs: messages.getChats</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="help.getConfig.html" name="help.getConfig">Returns current configuration, icluding data center configuration: help.getConfig</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="help.getNearestDc.html" name="help.getNearestDc">Returns info on data centre nearest to the user: help.getNearestDc</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="help.getAppUpdate.html" name="help.getAppUpdate">Returns information on update availability for the current application: help.getAppUpdate</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="help.getInviteText.html" name="help.getInviteText">Returns text of a text message with an invitation: help.getInviteText</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="messages.getDialogs.html" name="messages.getDialogs">Returns the current user dialog list: messages.getDialogs</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="contacts.getContacts.html" name="contacts.getContacts">Returns the current user's contact list: contacts.getContacts</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="contacts.getBlocked.html" name="contacts.getBlocked">Returns the list of blocked users: contacts.getBlocked</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="contacts.getStatuses.html" name="contacts.getStatuses">Returns the list of contact statuses: contacts.getStatuses</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="messages.getMessages.html" name="messages.getMessages">Returns the list of messages by their IDs: messages.getMessages</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="photos.getUserPhotos.html" name="photos.getUserPhotos">Returns the list of user photos: photos.getUserPhotos</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="help.getSupport.html" name="help.getSupport">Returns the support user for the 'ask a question' feature: help.getSupport</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="contacts.search.html" name="contacts.search">Returns users found by username substring: contacts.search</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="messages.saveDraft.html" name="messages.saveDraft">Save a message [draft](https://core.telegram.org/api/drafts) associated to a chat: messages.saveDraft</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="messages.getAllDrafts.html" name="messages.getAllDrafts">Save get all message [drafts](https://core.telegram.org/api/drafts): messages.getAllDrafts</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="help.saveAppLog.html" name="help.saveAppLog">Saves logs of application on the server: help.saveAppLog</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.searchGifs.html" name="messages.searchGifs">Search for GIFs: messages.searchGifs</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.searchGlobal.html" name="messages.searchGlobal">Search for messages and peers globally: messages.searchGlobal</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.sendMedia.html" name="messages.sendMedia">Send a media: messages.sendMedia</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="messages.sendInlineBotResult.html" name="messages.sendInlineBotResult">Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md): messages.sendInlineBotResult</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="account.sendConfirmPhoneCode.html" name="account.sendConfirmPhoneCode">Send confirmation code to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.sendConfirmPhoneCode</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="messages.setEncryptedTyping.html" name="messages.setEncryptedTyping">Send typing event by the current user to a secret chat: messages.setEncryptedTyping</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="messages.setTyping.html" name="messages.setTyping">Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.sendMessage.html" name="messages.sendMessage">Sends a message to a chat: messages.sendMessage</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.sendEncryptedFile.html" name="messages.sendEncryptedFile">Sends a message with a file attachment to a secret chat: messages.sendEncryptedFile</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="messages.sendEncryptedService.html" name="messages.sendEncryptedService">Sends a service message to a secret chat: messages.sendEncryptedService</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="messages.sendEncrypted.html" name="messages.sendEncrypted">Sends a text message to a secret chat: messages.sendEncrypted</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="account.setAccountTTL.html" name="account.setAccountTTL">Set account self-destruction period: account.setAccountTTL</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.setBotCallbackAnswer.html" name="messages.setBotCallbackAnswer">Set the callback answer to a user button press (bots only): messages.setBotCallbackAnswer</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="channels.updatePinnedMessage.html" name="channels.updatePinnedMessage">Set the pinned message of a channel/supergroup: channels.updatePinnedMessage</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.startBot.html" name="messages.startBot">Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="auth.resetAuthorizations.html" name="auth.resetAuthorizations">Terminates all user's authorized sessions except for the current one: auth.resetAuthorizations</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.migrateChat.html" name="messages.migrateChat">Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="messages.uninstallStickerSet.html" name="messages.uninstallStickerSet">Uninstall a stickerset: messages.uninstallStickerSet</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="photos.uploadProfilePhoto.html" name="photos.uploadProfilePhoto">Updates current user profile photo: photos.uploadProfilePhoto</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="account.updateStatus.html" name="account.updateStatus">Updates online user status: account.updateStatus</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="account.updateProfile.html" name="account.updateProfile">Updates user profile: account.updateProfile</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="messages.setGameScore.html" name="messages.setGameScore">Use this method to set the score of the specified user in a game sent as a normal message (bots only): messages.setGameScore</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="messages.setInlineGameScore.html" name="messages.setInlineGameScore">Use this method to set the score of the specified user in a game sent as an inline message (bots only): messages.setInlineGameScore</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="account.checkUsername.html" name="account.checkUsername">Validates a username and checks availability: account.checkUsername</a>
2019-09-04 01:13:06 +02:00
2019-12-27 17:48:04 +01:00
* <a href="account.sendChangePhoneCode.html" name="account.sendChangePhoneCode">Verify a new phone number to associate to the current account: account.sendChangePhoneCode</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:07:55 +01:00
* <a href="account.updateDeviceLocked.html" name="account.updateDeviceLocked">When client-side passcode lock feature is enabled, will not show message texts in incoming [PUSH notifications](https://core.telegram.org/api/push-updates): account.updateDeviceLocked</a>
2019-09-04 01:13:06 +02:00
2019-12-27 18:02:36 +01:00
* <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->getDhConfig();: 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.getChannelDifference.html" name="updates.getChannelDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates: updates.getChannelDifference</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="phone.acceptCall.html" name="phone.acceptCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls: phone.acceptCall</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: phone.discardCall</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: phone.requestCall</a>
* <a href="auth.exportAuthorization.html" name="auth.exportAuthorization">You cannot use this method directly, use $MadelineProto->exportAuthorization() 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->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization</a>
* <a href="auth.importBotAuthorization.html" name="auth.importBotAuthorization">You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization</a>
* <a href="auth.signIn.html" name="auth.signIn">You cannot use this method directly, use the completePhoneLogin 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 completeSignup method instead (see https://docs.madelineproto.xyz for more info): auth.signUp</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): auth.checkPassword</a>
* <a href="channels.getFullChannel.html" name="channels.getFullChannel">You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info): channels.getFullChannel</a>
* <a href="messages.getFullChat.html" name="messages.getFullChat">You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo 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 getPwrChat, getInfo, getFullInfo 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="auth.sendCode.html" name="auth.sendCode">You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info): auth.sendCode</a>
* <a href="contacts.resolveUsername.html" name="contacts.resolveUsername">You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info): contacts.resolveUsername</a>
* <a href="upload.getFile.html" name="upload.getFile">You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir 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, downloadToStream, downloadToFile, downloadToDir 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, downloadToStream, downloadToFile, downloadToDir 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>
* <a href="account.getPasswordSettings.html" name="account.getPasswordSettings">You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info): account.getPasswordSettings</a>
* <a href="account.updatePasswordSettings.html" name="account.updatePasswordSettings">You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info): account.updatePasswordSettings</a>