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
-
Allow or disallow any user to invite users to this channel/supergroup: channels.toggleInvites
-
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
-
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
-
Confirm a phone number to cancel account deletion, for more info click here »: account.confirmPhone
-
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
-
Edit the about text of a channel/supergroup: channels.editAbout
-
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 a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash
-
Get all chats, channels and supergroups: messages.getAllChats
-
Get highscores of a game sent using an inline bot: messages.getInlineGameHighScores
-
Get info about a channel/supergroup participant: channels.getParticipant
-
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 phone call configuration to be passed to libtgvoip's shared config: phone.getCallConfig
-
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
-
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 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
-
Log out an active authorized session by its hash: account.resetAuthorization
-
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
-
Report a peer for violation of telegram's Terms of Service: account.reportPeer
-
Requests Diffie-hellman parameters for key exchange: req_DH_params
-
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 developer info for telegram contest: contest.saveDeveloperInfo
-
Search for messages and peers globally: messages.searchGlobal
-
Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult
-
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 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
-
Submit requested order information for validation: payments.validateRequestedInfo
-
Terminates all user's authorized sessions except for the current one: auth.resetAuthorizations
-
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