4baac3178e
Add PHP, Lua language tag to Code area |
||
---|---|---|
.. | ||
account_changePhone.md | ||
account_checkUsername.md | ||
account_deleteAccount.md | ||
account_getAccountTTL.md | ||
account_getAuthorizations.md | ||
account_getNotifySettings.md | ||
account_getPassword.md | ||
account_getPasswordSettings.md | ||
account_getPrivacy.md | ||
account_getWallPapers.md | ||
account_registerDevice.md | ||
account_reportPeer.md | ||
account_resetAuthorization.md | ||
account_resetNotifySettings.md | ||
account_sendChangePhoneCode.md | ||
account_setAccountTTL.md | ||
account_setPrivacy.md | ||
account_unregisterDevice.md | ||
account_updateDeviceLocked.md | ||
account_updateNotifySettings.md | ||
account_updatePasswordSettings.md | ||
account_updateProfile.md | ||
account_updateStatus.md | ||
account_updateUsername.md | ||
api_README.md | ||
auth_bindTempAuthKey.md | ||
auth_cancelCode.md | ||
auth_checkPassword.md | ||
auth_checkPhone.md | ||
auth_exportAuthorization.md | ||
auth_importAuthorization.md | ||
auth_importBotAuthorization.md | ||
auth_logOut.md | ||
auth_recoverPassword.md | ||
auth_requestPasswordRecovery.md | ||
auth_resendCode.md | ||
auth_resetAuthorizations.md | ||
auth_sendCode.md | ||
auth_sendInvites.md | ||
auth_signIn.md | ||
auth_signUp.md | ||
channels_checkUsername.md | ||
channels_createChannel.md | ||
channels_deleteChannel.md | ||
channels_deleteMessages.md | ||
channels_deleteUserHistory.md | ||
channels_editAbout.md | ||
channels_editAdmin.md | ||
channels_editPhoto.md | ||
channels_editTitle.md | ||
channels_exportInvite.md | ||
channels_exportMessageLink.md | ||
channels_getChannels.md | ||
channels_getFullChannel.md | ||
channels_getMessages.md | ||
channels_getParticipant.md | ||
channels_getParticipants.md | ||
channels_inviteToChannel.md | ||
channels_joinChannel.md | ||
channels_kickFromChannel.md | ||
channels_leaveChannel.md | ||
channels_readHistory.md | ||
channels_reportSpam.md | ||
channels_toggleInvites.md | ||
channels_toggleSignatures.md | ||
channels_updatePinnedMessage.md | ||
channels_updateUsername.md | ||
contacts_block.md | ||
contacts_deleteContact.md | ||
contacts_deleteContacts.md | ||
contacts_exportCard.md | ||
contacts_getBlocked.md | ||
contacts_getContacts.md | ||
contacts_getStatuses.md | ||
contacts_getTopPeers.md | ||
contacts_importCard.md | ||
contacts_importContacts.md | ||
contacts_resetTopPeerRating.md | ||
contacts_resolveUsername.md | ||
contacts_search.md | ||
contacts_unblock.md | ||
help_getAppChangelog.md | ||
help_getAppUpdate.md | ||
help_getConfig.md | ||
help_getInviteText.md | ||
help_getNearestDc.md | ||
help_getSupport.md | ||
help_getTermsOfService.md | ||
help_saveAppLog.md | ||
initConnection.md | ||
invokeAfterMsg.md | ||
invokeAfterMsgs.md | ||
invokeWithLayer.md | ||
invokeWithoutUpdates.md | ||
messages_acceptEncryption.md | ||
messages_addChatUser.md | ||
messages_checkChatInvite.md | ||
messages_createChat.md | ||
messages_deleteChatUser.md | ||
messages_deleteHistory.md | ||
messages_deleteMessages.md | ||
messages_discardEncryption.md | ||
messages_editChatAdmin.md | ||
messages_editChatPhoto.md | ||
messages_editChatTitle.md | ||
messages_editInlineBotMessage.md | ||
messages_editMessage.md | ||
messages_exportChatInvite.md | ||
messages_forwardMessage.md | ||
messages_forwardMessages.md | ||
messages_getAllDrafts.md | ||
messages_getAllStickers.md | ||
messages_getBotCallbackAnswer.md | ||
messages_getChats.md | ||
messages_getDhConfig.md | ||
messages_getDialogs.md | ||
messages_getDocumentByHash.md | ||
messages_getFullChat.md | ||
messages_getHistory.md | ||
messages_getInlineBotResults.md | ||
messages_getMessageEditData.md | ||
messages_getMessages.md | ||
messages_getMessagesViews.md | ||
messages_getPeerDialogs.md | ||
messages_getPeerSettings.md | ||
messages_getSavedGifs.md | ||
messages_getStickers.md | ||
messages_getStickerSet.md | ||
messages_getWebPagePreview.md | ||
messages_hideReportSpam.md | ||
messages_importChatInvite.md | ||
messages_installStickerSet.md | ||
messages_migrateChat.md | ||
messages_readEncryptedHistory.md | ||
messages_readHistory.md | ||
messages_readMessageContents.md | ||
messages_receivedMessages.md | ||
messages_receivedQueue.md | ||
messages_reorderStickerSets.md | ||
messages_reportSpam.md | ||
messages_requestEncryption.md | ||
messages_saveDraft.md | ||
messages_saveGif.md | ||
messages_search.md | ||
messages_searchGifs.md | ||
messages_searchGlobal.md | ||
messages_sendBroadcast.md | ||
messages_sendEncrypted.md | ||
messages_sendEncryptedFile.md | ||
messages_sendEncryptedService.md | ||
messages_sendInlineBotResult.md | ||
messages_sendMedia.md | ||
messages_sendMessage.md | ||
messages_setBotCallbackAnswer.md | ||
messages_setEncryptedTyping.md | ||
messages_setInlineBotResults.md | ||
messages_setTyping.md | ||
messages_startBot.md | ||
messages_toggleChatAdmins.md | ||
messages_uninstallStickerSet.md | ||
photos_deletePhotos.md | ||
photos_getUserPhotos.md | ||
photos_updateProfilePhoto.md | ||
photos_uploadProfilePhoto.md | ||
README.md | ||
updates_getChannelDifference.md | ||
updates_getDifference.md | ||
updates_getState.md | ||
upload_getFile.md | ||
upload_saveBigFilePart.md | ||
upload_saveFilePart.md | ||
users_getFullUser.md | ||
users_getUsers.md |
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
-
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
-
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 info about a certain channel/supergroup participant: channels.getParticipant
-
Get info about multiple channels/supergroups: channels.getChannels
-
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
-
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 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
-
Set the pinned message of a channel/supergroup: channels.updatePinnedMessage
-
Stop sending PUSH notifications to app: account.unregisterDevice
-
Update the 2FA password settings: account.updatePasswordSettings
-
Update the username of a supergroup/channel: channels.updateUsername