24 KiB
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 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 the callback answer (after a button was clicked): messages.setBotCallbackAnswer
-
Bots only: set the results of an inline query: messages.setInlineBotResults
-
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 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
-
Mark channel/supergroup history as read: channels.readHistory
-
Mark messages as read in secret chats: messages.readEncryptedHistory
-
Mark new featured stickers as read: messages.readFeaturedStickers
-
Register device for push notifications: account.registerDevice
-
Report a message in a supergroup/channel for spam: channels.reportSpam
-
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
-
Send a service message to a secret chat: messages.sendEncryptedService
-
Send an email to recover the 2FA password: auth.requestPasswordRecovery
-
Send typing notification to secret chat: messages.setEncryptedTyping
-
Set the game score of an inline message: messages.setInlineGameScore
-
Set the pinned message of a channel/supergroup: channels.updatePinnedMessage
-
Stop sending PUSH notifications to app: account.unregisterDevice
-
Update the username of a supergroup/channel: channels.updateUsername