17 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 user to a normal chat (use channels->inviteToChannel for supergroups): messages.addChatUser
-
Change the phone number associated to this account: account.changePhone
-
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
-
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 important channel/supergroup history: channels.getImportantHistory
-
Get info about a certain channel/supergroup participant: channels.getParticipant
-
Get info about multiple channels/supergroups: channels.getChannels
-
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
-
Register device for push notifications: account.registerDevice
-
Report a message in a supergroup/channel for spam: channels.reportSpam
-
Reset all notification settings: account.resetNotifySettings
-
Returns a list of available wallpapers.: account.getWallPapers
-
Send a message to all users in the chat list: messages.sendBroadcast
-
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
-
Stop sending PUSH notifications to app: account.unregisterDevice
-
Update the 2FA password settings: account.updatePasswordSettings
-
Update the username of a supergroup/channel: channels.updateUsername