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