30 KiB
title | description |
---|---|
Methods | What do you want to do? |
What do you want to do?
Go back to API documentation index
Go to the old code-version method index
-
Change the phone number associated to this account: account.changePhone
-
Get temporary password for buying products through bots: account.getTmpPassword
-
Returns a list of available wallpapers.: account.getWallPapers
-
Register device for push notifications: account.registerDevice
-
Reset all notification settings: account.resetNotifySettings
-
Stop sending PUSH notifications to app: account.unregisterDevice
-
Disable all notifications for a certain period: account.updateDeviceLocked
-
Update the 2FA password settings: account.updatePasswordSettings
-
Check if this phone number is registered on telegram: auth.checkPhone
-
Delete all temporary authorization keys except the ones provided: auth.dropTempAuthKeys
-
Send an email to recover the 2FA password: auth.requestPasswordRecovery
-
Send webhook request via bot API: bots.answerWebhookJSONQuery
-
Send a custom request to the bot API: bots.sendCustomRequest
-
Check if this username is free and can be assigned to a channel/supergroup: channels.checkUsername
-
Delete the history of a supergroup/channel: channels.deleteHistory
-
Delete all messages of a user in a channel/supergroup: channels.deleteUserHistory
-
Edit the about text of a channel/supergroup: channels.editAbout
-
Edit admin permissions of a user in a channel/supergroup: channels.editAdmin
-
Kick or ban a user from a channel/supergroup: channels.editBanned
-
Get the link of a message in a channel: channels.exportMessageLink
-
Get all supergroups/channels where you're admin: channels.getAdminedPublicChannels
-
Get info about multiple channels/supergroups: channels.getChannels
-
Get info about a certain channel/supergroup participant: channels.getParticipant
-
Mark channel/supergroup history as read: channels.readHistory
-
Mark channel/supergroup messages as read: channels.readMessageContents
-
Set the supergroup/channel stickerpack: channels.setStickers
-
Allow or disallow any user to invite users to this channel/supergroup: channels.toggleInvites
-
Enable or disable hidden history for new channel/supergroup users: channels.togglePreHistoryHidden
-
Set the pinned message of a channel/supergroup: channels.updatePinnedMessage
-
Update the username of a supergroup/channel: channels.updateUsername
-
Reset top peer rating for a certain category/peer: contacts.resetTopPeerRating
-
Save developer info for telegram contest: contest.saveDeveloperInfo
-
Initializes connection and save information on the user's device and application.: initConnection
-
Invokes a query after successfull completion of one of the previous queries.: invokeAfterMsg
-
Invoke with method without returning updates in the socket: invokeWithoutUpdates
-
Add a user to a normal chat (use channels->inviteToChannel for supergroups): messages.addChatUser
-
Check if an invitation link is valid: messages.checkChatInvite
-
Delete a user from a chat (not supergroup): messages.deleteChatUser
-
Edit the photo of a normal chat (not supergroup): messages.editChatPhoto
-
Edit the title of a normal chat (not supergroup): messages.editChatTitle
-
Get all chats (not supergroups or channels): messages.getAllChats
-
Get stickers attachable to images: messages.getAttachedStickers
-
Get the callback answer of a bot (after clicking a button): messages.getBotCallbackAnswer
-
Get high scores of a game sent in an inline message: messages.getInlineGameHighScores
-
Check if about to edit a message or a media caption: messages.getMessageEditData
-
Mark messages as read in secret chats: messages.readEncryptedHistory
-
Mark new featured stickers as read: messages.readFeaturedStickers
-
Add a sticker to recent stickers: messages.saveRecentSticker
-
Send a service message to a secret chat: messages.sendEncryptedService
-
Send a received bot result to the chat: messages.sendInlineBotResult
-
Send screenshot notification: messages.sendScreenshotNotification
-
Bots only: set the callback answer (after a button was clicked): messages.setBotCallbackAnswer
-
Bots only: set precheckout results: messages.setBotPrecheckoutResults
-
Bots only: set shipping results: messages.setBotShippingResults
-
Send typing notification to secret chat: messages.setEncryptedTyping
-
Bots only: set the results of an inline query: messages.setInlineBotResults
-
Set the game score of an inline message: messages.setInlineGameScore
-
Enable all users are admins in normal groups (not supergroups): messages.toggleChatAdmins
-
Upload a file without sending it to anyone: messages.uploadMedia
-
Validate requested payment info: payments.validateRequestedInfo
-
Requests Diffie-hellman parameters for key exchange: req_DH_params
-
Change sticker position in photo: stickers.changeStickerPosition
-
Remove sticker from stickerset: stickers.removeStickerFromSet