Fix descriptions

This commit is contained in:
Daniil Gentili 2019-12-27 18:26:47 +01:00
parent b2596c483d
commit 76044ae1aa
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
9 changed files with 585 additions and 579 deletions

328
README.md
View File

@ -177,101 +177,93 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro
* [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html)
* [Make a phone call and play a song](https://docs.madelineproto.xyz/docs/CALLS.html)
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
* <a href="https://docs.madelineproto.xyz/API_docs/methods/phone.acceptCall.html" name="phone.acceptCall">Accept incoming call: phone.acceptCall</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/help.acceptTermsOfService.html" name="help.acceptTermsOfService">Accept the new terms of service: help.acceptTermsOfService</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.saveGif.html" name="messages.saveGif">Add GIF to saved gifs list: messages.saveGif</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/stickers.addStickerToSet.html" name="stickers.addStickerToSet">Add a sticker to a stickerset, bots only. The sticker set must have been created by the bot.: stickers.addStickerToSet</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/stickers.addStickerToSet.html" name="stickers.addStickerToSet">Add a sticker to a stickerset, bots only. The sticker set must have been created by the bot: stickers.addStickerToSet</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.addContact.html" name="contacts.addContact">Add an existing telegram user as contact: contacts.addContact</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.saveRecentSticker.html" name="messages.saveRecentSticker">Add/remove sticker from recent stickers list: messages.saveRecentSticker</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.addChatUser.html" name="messages.addChatUser">Adds a user to a chat and sends a service message on it.: messages.addChatUser</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.block.html" name="contacts.block">Adds the user to the blacklist.: contacts.block</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.addChatUser.html" name="messages.addChatUser">Adds a user to a chat and sends a service message on it: messages.addChatUser</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.block.html" name="contacts.block">Adds the user to the blacklist: contacts.block</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.setInlineBotResults.html" name="messages.setInlineBotResults">Answer an inline query, for bots only: messages.setInlineBotResults</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/bots.answerWebhookJSONQuery.html" name="bots.answerWebhookJSONQuery">Answers a custom query; for bots only: bots.answerWebhookJSONQuery</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.setDiscussionGroup.html" name="channels.setDiscussionGroup">Associate a group to a channel as [discussion group](https://telegram.org/blog/privacy-discussions-web-bots) for that channel: channels.setDiscussionGroup</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.setDiscussionGroup.html" name="channels.setDiscussionGroup">Associate a group to a channel as discussion group for that channel: channels.setDiscussionGroup</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.setStickers.html" name="channels.setStickers">Associate a stickerset to the supergroup: channels.setStickers</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.editBanned.html" name="channels.editBanned">Ban/unban/kick a user in a [supergroup/channel](https://core.telegram.org/api/channel).: channels.editBanned</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/auth.bindTempAuthKey.html" name="auth.bindTempAuthKey">Binds a temporary authorization key `temp_auth_key_id` to the permanent authorization key `perm_auth_key_id`. Each permanent key may only be bound to one temporary key at a time, binding a new temporary key overwrites the previous one.
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.cancelPasswordEmail.html" name="account.cancelPasswordEmail">Cancel the code that was sent to verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp).: account.cancelPasswordEmail</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.editBanned.html" name="channels.editBanned">Ban/unban/kick a user in a supergroup/channel: channels.editBanned</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.cancelPasswordEmail.html" name="account.cancelPasswordEmail">Cancel the code that was sent to verify an email to use as 2FA recovery method: account.cancelPasswordEmail</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/auth.cancelCode.html" name="auth.cancelCode">Cancel the login verification code: auth.cancelCode</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.discardEncryption.html" name="messages.discardEncryption">Cancels a request for creation and/or delete info on secret chat.: messages.discardEncryption</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.editChatTitle.html" name="messages.editChatTitle">Chanages chat name and sends a service message on it.: messages.editChatTitle</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.editChatTitle.html" name="messages.editChatTitle">Chanages chat name and sends a service message on it: messages.editChatTitle</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.saveAutoDownloadSettings.html" name="account.saveAutoDownloadSettings">Change media autodownload settings: account.saveAutoDownloadSettings</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.setPrivacy.html" name="account.setPrivacy">Change privacy settings of current account: account.setPrivacy</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.changePhone.html" name="account.changePhone">Change the phone number of the current account: account.changePhone</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.editPhoto.html" name="channels.editPhoto">Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.editPhoto.html" name="channels.editPhoto">Change the photo of a channel/supergroup: channels.editPhoto</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.updateUsername.html" name="channels.updateUsername">Change the username of a supergroup/channel: channels.updateUsername</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.editChatPhoto.html" name="messages.editChatPhoto">Changes chat photo and sends a service message on it: messages.editChatPhoto</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/stickers.changeStickerPosition.html" name="stickers.changeStickerPosition">Changes the absolute position of a sticker in the set to which it belongs; for bots only. The sticker set must have been created by the bot: stickers.changeStickerPosition</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.updateUsername.html" name="account.updateUsername">Changes username for the current user.: account.updateUsername</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.updateUsername.html" name="account.updateUsername">Changes username for the current user: account.updateUsername</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.checkUsername.html" name="channels.checkUsername">Check if a username is free and can be assigned to a channel/supergroup: channels.checkUsername</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.checkChatInvite.html" name="messages.checkChatInvite">Check the validity of a chat invite link and get basic info about it: messages.checkChatInvite</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.clearAllDrafts.html" name="messages.clearAllDrafts">Clear all [drafts](https://core.telegram.org/api/drafts).: messages.clearAllDrafts</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.clearAllDrafts.html" name="messages.clearAllDrafts">Clear all drafts: messages.clearAllDrafts</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.clearRecentStickers.html" name="messages.clearRecentStickers">Clear recent stickers: messages.clearRecentStickers</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/payments.clearSavedInfo.html" name="payments.clearSavedInfo">Clear saved payment information: payments.clearSavedInfo</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.confirmPhone.html" name="account.confirmPhone">Confirm a phone number to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.confirmPhone</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.acceptEncryption.html" name="messages.acceptEncryption">Confirms creation of a secret chat: messages.acceptEncryption</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.receivedMessages.html" name="messages.receivedMessages">Confirms receipt of messages by a client, cancels PUSH-notification sending.: messages.receivedMessages</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.receivedQueue.html" name="messages.receivedQueue">Confirms receipt of messages in a secret chat by client, cancels push notifications.: messages.receivedQueue</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.createChannel.html" name="channels.createChannel">Create a [supergroup/channel](https://core.telegram.org/api/channel).: channels.createChannel</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/stickers.createStickerSet.html" name="stickers.createStickerSet">Create a stickerset, bots only.: stickers.createStickerSet</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.confirmPhone.html" name="account.confirmPhone">Confirm a phone number to cancel account deletion, for more info click here »: account.confirmPhone</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.receivedMessages.html" name="messages.receivedMessages">Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.createChannel.html" name="channels.createChannel">Create a supergroup/channel: channels.createChannel</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/stickers.createStickerSet.html" name="stickers.createStickerSet">Create a stickerset, bots only: stickers.createStickerSet</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.createTheme.html" name="account.createTheme">Create a theme: account.createTheme</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.uploadWallPaper.html" name="account.uploadWallPaper">Create and upload a new wallpaper: account.uploadWallPaper</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.createChat.html" name="messages.createChat">Creates a new chat.: messages.createChat</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.deleteChannel.html" name="channels.deleteChannel">Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.createChat.html" name="messages.createChat">Creates a new chat: messages.createChat</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.deleteChannel.html" name="channels.deleteChannel">Delete a channel/supergroup: channels.deleteChannel</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/folders.deleteFolder.html" name="folders.deleteFolder">Delete a folder: folders.deleteFolder</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.deleteUserHistory.html" name="channels.deleteUserHistory">Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/auth.dropTempAuthKeys.html" name="auth.dropTempAuthKeys">Delete all temporary authorization keys **except for** the ones specified: auth.dropTempAuthKeys</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.deleteUserHistory.html" name="channels.deleteUserHistory">Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/auth.dropTempAuthKeys.html" name="auth.dropTempAuthKeys">Delete all temporary authorization keys except for the ones specified: auth.dropTempAuthKeys</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.deleteByPhones.html" name="contacts.deleteByPhones">Delete contacts by phone number: contacts.deleteByPhones</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.resetWallPapers.html" name="account.resetWallPapers">Delete installed wallpapers: account.resetWallPapers</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.deleteMessages.html" name="channels.deleteMessages">Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.deleteMessages.html" name="channels.deleteMessages">Delete messages in a channel/supergroup: channels.deleteMessages</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.resetSaved.html" name="contacts.resetSaved">Delete saved contacts: contacts.resetSaved</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.deleteScheduledMessages.html" name="messages.deleteScheduledMessages">Delete scheduled messages: messages.deleteScheduledMessages</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.deleteSecureValue.html" name="account.deleteSecureValue">Delete stored [Telegram Passport](https://core.telegram.org/passport) documents, [for more info see the passport docs »](https://core.telegram.org/passport/encryption#encryption): account.deleteSecureValue</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.deleteHistory.html" name="channels.deleteHistory">Delete the history of a [supergroup](https://core.telegram.org/api/channel): channels.deleteHistory</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.deleteAccount.html" name="account.deleteAccount">Delete the user's account from the telegram servers. Can be used, for example, to delete the account of a user that provided the login code, but forgot the [2FA password and no recovery method is configured](https://core.telegram.org/api/srp).: account.deleteAccount</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.unregisterDevice.html" name="account.unregisterDevice">Deletes a device by its token, stops sending PUSH-notifications to it.: account.unregisterDevice</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.deleteChatUser.html" name="messages.deleteChatUser">Deletes a user from a chat and sends a service message on it.: messages.deleteChatUser</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.deleteHistory.html" name="messages.deleteHistory">Deletes communication history.: messages.deleteHistory</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.deleteMessages.html" name="messages.deleteMessages">Deletes messages by their identifiers.: messages.deleteMessages</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/photos.deletePhotos.html" name="photos.deletePhotos">Deletes profile photos.: photos.deletePhotos</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.deleteContacts.html" name="contacts.deleteContacts">Deletes several contacts from the list.: contacts.deleteContacts</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.unblock.html" name="contacts.unblock">Deletes the user from the blacklist.: contacts.unblock</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/upload.getCdnFile.html" name="upload.getCdnFile">Download a [CDN](https://core.telegram.org/cdn) file.: upload.getCdnFile</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.deleteSecureValue.html" name="account.deleteSecureValue">Delete stored Telegram Passport documents, for more info see the passport docs »: account.deleteSecureValue</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.deleteHistory.html" name="channels.deleteHistory">Delete the history of a supergroup: channels.deleteHistory</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.deleteAccount.html" name="account.deleteAccount">Delete the user's account from the telegram servers. Can be used, for example, to delete the account of a user that provided the login code, but forgot the 2FA password and no recovery method is configured: account.deleteAccount</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.unregisterDevice.html" name="account.unregisterDevice">Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.deleteChatUser.html" name="messages.deleteChatUser">Deletes a user from a chat and sends a service message on it: messages.deleteChatUser</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.deleteHistory.html" name="messages.deleteHistory">Deletes communication history: messages.deleteHistory</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.deleteMessages.html" name="messages.deleteMessages">Deletes messages by their identifiers: messages.deleteMessages</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/photos.deletePhotos.html" name="photos.deletePhotos">Deletes profile photos: photos.deletePhotos</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.deleteContacts.html" name="contacts.deleteContacts">Deletes several contacts from the list: contacts.deleteContacts</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.unblock.html" name="contacts.unblock">Deletes the user from the blacklist: contacts.unblock</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.editInlineBotMessage.html" name="messages.editInlineBotMessage">Edit an inline bot message: messages.editInlineBotMessage</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.editLocation.html" name="channels.editLocation">Edit location of geogroup: channels.editLocation</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.editMessage.html" name="messages.editMessage">Edit message: messages.editMessage</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/folders.editPeerFolders.html" name="folders.editPeerFolders">Edit peers in folder: folders.editPeerFolders</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.editChatDefaultBannedRights.html" name="messages.editChatDefaultBannedRights">Edit the default banned rights of a [channel/supergroup/group](https://core.telegram.org/api/channel).: messages.editChatDefaultBannedRights</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.editChatAbout.html" name="messages.editChatAbout">Edit the description of a [group/supergroup/channel](https://core.telegram.org/api/channel).: messages.editChatAbout</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.editTitle.html" name="channels.editTitle">Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.updateNotifySettings.html" name="account.updateNotifySettings">Edits notification settings from a given user/group, from all users/all groups.: account.updateNotifySettings</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.toggleTopPeers.html" name="contacts.toggleTopPeers">Enable/disable [top peers](https://core.telegram.org/api/top-rating): contacts.toggleTopPeers</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.editChatDefaultBannedRights.html" name="messages.editChatDefaultBannedRights">Edit the default banned rights of a channel/supergroup/group: messages.editChatDefaultBannedRights</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.editChatAbout.html" name="messages.editChatAbout">Edit the description of a group/supergroup/channel: messages.editChatAbout</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.editTitle.html" name="channels.editTitle">Edit the name of a channel/supergroup: channels.editTitle</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.updateNotifySettings.html" name="account.updateNotifySettings">Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.toggleTopPeers.html" name="contacts.toggleTopPeers">Enable/disable top peers: contacts.toggleTopPeers</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.toggleSignatures.html" name="channels.toggleSignatures">Enable/disable message signatures in channels: channels.toggleSignatures</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.exportChatInvite.html" name="messages.exportChatInvite">Export an invite link for a chat: messages.exportChatInvite</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getMessageEditData.html" name="messages.getMessageEditData">Find out if a media message's caption can be edited: messages.getMessageEditData</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.finishTakeoutSession.html" name="account.finishTakeoutSession">Finish account takeout session: account.finishTakeoutSession</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.forwardMessages.html" name="messages.forwardMessages">Forwards messages by their IDs.: messages.forwardMessages</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/upload.getCdnFileHashes.html" name="upload.getCdnFileHashes">Get SHA256 hashes for verifying downloaded [CDN](https://core.telegram.org/cdn) files: upload.getCdnFileHashes</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/upload.getFileHashes.html" name="upload.getFileHashes">Get SHA256 hashes for verifying downloaded files: upload.getFileHashes</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.getMessages.html" name="channels.getMessages">Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.getAdminedPublicChannels.html" name="channels.getAdminedPublicChannels">Get [channels/supergroups/geogroups](https://core.telegram.org/api/channel) we're admin in. Usually called when the user exceeds the [limit](../constructors/config.md) for owned public [channels/supergroups/geogroups](https://core.telegram.org/api/channel), and the user is given the choice to remove one of his channels/supergroups/geogroups.: channels.getAdminedPublicChannels</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getWebPage.html" name="messages.getWebPage">Get [instant view](https://instantview.telegram.org) page: messages.getWebPage</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/help.getPassportConfig.html" name="help.getPassportConfig">Get [passport](https://core.telegram.org/passport) configuration: help.getPassportConfig</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.forwardMessages.html" name="messages.forwardMessages">Forwards messages by their IDs: messages.forwardMessages</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.getMessages.html" name="channels.getMessages">Get channel/supergroup messages: channels.getMessages</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.getAdminedPublicChannels.html" name="channels.getAdminedPublicChannels">Get channels/supergroups/geogroups we're admin in. Usually called when the user exceeds the limit for owned public channels/supergroups/geogroups, and the user is given the choice to remove one of his channels/supergroups/geogroups: channels.getAdminedPublicChannels</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getWebPage.html" name="messages.getWebPage">Get instant view page: messages.getWebPage</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/help.getPassportConfig.html" name="help.getPassportConfig">Get passport configuration: help.getPassportConfig</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getDocumentByHash.html" name="messages.getDocumentByHash">Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.getLeftChannels.html" name="channels.getLeftChannels">Get a list of [channels/supergroups](https://core.telegram.org/api/channel) we left: channels.getLeftChannels</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.getLeftChannels.html" name="channels.getLeftChannels">Get a list of channels/supergroups we left: channels.getLeftChannels</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/payments.getPaymentForm.html" name="payments.getPaymentForm">Get a payment form: payments.getPaymentForm</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getArchivedStickers.html" name="messages.getArchivedStickers">Get all archived stickers: messages.getArchivedStickers</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getAllChats.html" name="messages.getAllChats">Get all chats, channels and supergroups: messages.getAllChats</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.getSaved.html" name="contacts.getSaved">Get all contacts: contacts.getSaved</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.getGroupsForDiscussion.html" name="channels.getGroupsForDiscussion">Get all groups that can be used as [discussion groups](https://telegram.org/blog/privacy-discussions-web-bots): channels.getGroupsForDiscussion</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.getGroupsForDiscussion.html" name="channels.getGroupsForDiscussion">Get all groups that can be used as discussion groups: channels.getGroupsForDiscussion</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getAllStickers.html" name="messages.getAllStickers">Get all installed stickers: messages.getAllStickers</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.getAllSecureValues.html" name="account.getAllSecureValues">Get all saved [Telegram Passport](https://core.telegram.org/passport) documents, [for more info see the passport docs »](https://core.telegram.org/passport/encryption#encryption): account.getAllSecureValues</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getMessagesViews.html" name="messages.getMessagesViews">Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.getAllSecureValues.html" name="account.getAllSecureValues">Get all saved Telegram Passport documents, for more info see the passport docs »: account.getAllSecureValues</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getMessagesViews.html" name="messages.getMessagesViews">Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/help.getAppConfig.html" name="help.getAppConfig">Get app-specific configuration: help.getAppConfig</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getEmojiKeywordsDifference.html" name="messages.getEmojiKeywordsDifference">Get changed emoji keywords: messages.getEmojiKeywordsDifference</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/help.getAppChangelog.html" name="help.getAppChangelog">Get changelog of current app: help.getAppChangelog</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getCommonChats.html" name="messages.getCommonChats">Get chats in common with a user: messages.getCommonChats</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/help.getCdnConfig.html" name="help.getCdnConfig">Get configuration for [CDN](https://core.telegram.org/cdn) file downloads.: help.getCdnConfig</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/help.getCdnConfig.html" name="help.getCdnConfig">Get configuration for CDN file downloads: help.getCdnConfig</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.getContactIDs.html" name="contacts.getContactIDs">Get contact by telegram IDs: contacts.getContactIDs</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.getLocated.html" name="contacts.getLocated">Get contacts near you: contacts.getLocated</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getOnlines.html" name="messages.getOnlines">Get count of online users in a chat: messages.getOnlines</a>
@ -280,12 +272,11 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getDialogUnreadMarks.html" name="messages.getDialogUnreadMarks">Get dialogs manually marked as unread: messages.getDialogUnreadMarks</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getFavedStickers.html" name="messages.getFavedStickers">Get faved stickers: messages.getFavedStickers</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getFeaturedStickers.html" name="messages.getFeaturedStickers">Get featured stickers: messages.getFeaturedStickers</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.getFullChannel.html" name="channels.getFullChannel">Get full info about a channel: channels.getFullChannel</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getInlineGameHighScores.html" name="messages.getInlineGameHighScores">Get highscores of a game sent using an inline bot: messages.getInlineGameHighScores</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getGameHighScores.html" name="messages.getGameHighScores">Get highscores of a game: messages.getGameHighScores</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.getChannels.html" name="channels.getChannels">Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.getParticipant.html" name="channels.getParticipant">Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/help.getDeepLinkInfo.html" name="help.getDeepLinkInfo">Get info about a `t.me` link: help.getDeepLinkInfo</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.getChannels.html" name="channels.getChannels">Get info about channels/supergroups: channels.getChannels</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.getParticipant.html" name="channels.getParticipant">Get info about a channel/supergroup participant: channels.getParticipant</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/help.getDeepLinkInfo.html" name="help.getDeepLinkInfo">Get info about a t.me link: help.getDeepLinkInfo</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.getWallPaper.html" name="account.getWallPaper">Get info about a certain wallpaper: account.getWallPaper</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getStickerSet.html" name="messages.getStickerSet">Get info about a stickerset: messages.getStickerSet</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getEmojiKeywordsLanguages.html" name="messages.getEmojiKeywordsLanguages">Get info about an emoji keyword localization: messages.getEmojiKeywordsLanguages</a>
@ -293,7 +284,7 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro
* <a href="https://docs.madelineproto.xyz/API_docs/methods/langpack.getLanguages.html" name="langpack.getLanguages">Get information about all languages in a localization pack: langpack.getLanguages</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getMaskStickers.html" name="messages.getMaskStickers">Get installed mask stickers: messages.getMaskStickers</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.getThemes.html" name="account.getThemes">Get installed themes: account.getThemes</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.exportMessageLink.html" name="channels.exportMessageLink">Get link and embed info of a message in a [channel/supergroup](https://core.telegram.org/api/channel): channels.exportMessageLink</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.exportMessageLink.html" name="channels.exportMessageLink">Get link and embed info of a message in a channel/supergroup: channels.exportMessageLink</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getRecentLocations.html" name="messages.getRecentLocations">Get live location history of a certain user: messages.getRecentLocations</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/langpack.getLangPack.html" name="langpack.getLangPack">Get localization pack strings: langpack.getLangPack</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getEmojiKeywords.html" name="messages.getEmojiKeywords">Get localized emoji keywords: messages.getEmojiKeywords</a>
@ -301,9 +292,8 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.getAuthorizations.html" name="account.getAuthorizations">Get logged-in sessions: account.getAuthorizations</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.getAutoDownloadSettings.html" name="account.getAutoDownloadSettings">Get media autodownload settings: account.getAutoDownloadSettings</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getSplitRanges.html" name="messages.getSplitRanges">Get message ranges for saving the user's chat history: messages.getSplitRanges</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.requestUrlAuth.html" name="messages.requestUrlAuth">Get more info about a Seamless Telegram Login authorization request, for more info [click here »](https://core.telegram.org/api/url-authorization): messages.requestUrlAuth</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.requestUrlAuth.html" name="messages.requestUrlAuth">Get more info about a Seamless Telegram Login authorization request, for more info click here »: messages.requestUrlAuth</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.getTopPeers.html" name="contacts.getTopPeers">Get most used peers: contacts.getTopPeers</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/updates.getDifference.html" name="updates.getDifference">Get new [updates](https://core.telegram.org/api/updates).: updates.getDifference</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/langpack.getDifference.html" name="langpack.getDifference">Get new strings in languagepack: langpack.getDifference</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/payments.getPaymentReceipt.html" name="payments.getPaymentReceipt">Get payment receipt: payments.getPaymentReceipt</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getPeerSettings.html" name="messages.getPeerSettings">Get peer settings: messages.getPeerSettings</a>
@ -312,12 +302,11 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getPollResults.html" name="messages.getPollResults">Get poll results: messages.getPollResults</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getWebPagePreview.html" name="messages.getWebPagePreview">Get preview of webpage: messages.getWebPagePreview</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.getPrivacy.html" name="account.getPrivacy">Get privacy settings of current account: account.getPrivacy</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.getPasswordSettings.html" name="account.getPasswordSettings">Get private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on): account.getPasswordSettings</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/help.getProxyData.html" name="help.getProxyData">Get promotion info of the currently-used MTProxy: help.getProxyData</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getRecentStickers.html" name="messages.getRecentStickers">Get recent stickers: messages.getRecentStickers</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/help.getRecentMeUrls.html" name="help.getRecentMeUrls">Get recently used `t.me` links: help.getRecentMeUrls</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/help.getRecentMeUrls.html" name="help.getRecentMeUrls">Get recently used t.me links: help.getRecentMeUrls</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getSavedGifs.html" name="messages.getSavedGifs">Get saved GIFs: messages.getSavedGifs</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.getSecureValue.html" name="account.getSecureValue">Get saved [Telegram Passport](https://core.telegram.org/passport) document, [for more info see the passport docs »](https://core.telegram.org/passport/encryption#encryption): account.getSecureValue</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.getSecureValue.html" name="account.getSecureValue">Get saved Telegram Passport document, for more info see the passport docs »: account.getSecureValue</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/payments.getSavedInfo.html" name="payments.getSavedInfo">Get saved payment information: payments.getSavedInfo</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getScheduledHistory.html" name="messages.getScheduledHistory">Get scheduled messages: messages.getScheduledHistory</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getScheduledMessages.html" name="messages.getScheduledMessages">Get scheduled messages: messages.getScheduledMessages</a>
@ -325,176 +314,187 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getStickers.html" name="messages.getStickers">Get stickers by emoji: messages.getStickers</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/langpack.getStrings.html" name="langpack.getStrings">Get strings from a language pack: langpack.getStrings</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.getTmpPassword.html" name="account.getTmpPassword">Get temporary payment password: account.getTmpPassword</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.getAdminLog.html" name="channels.getAdminLog">Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channel): channels.getAdminLog</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getSearchCounters.html" name="messages.getSearchCounters">Get the number of results that would be found by a [messages.search](../methods/messages.search.md) call with the same parameters: messages.getSearchCounters</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.getAdminLog.html" name="channels.getAdminLog">Get the admin log of a channel/supergroup: channels.getAdminLog</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getSearchCounters.html" name="messages.getSearchCounters">Get the number of results that would be found by a messages.search call with the same parameters: messages.getSearchCounters</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.getParticipants.html" name="channels.getParticipants">Get the participants of a channel: channels.getParticipants</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.getTheme.html" name="account.getTheme">Get theme information: account.getTheme</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getUnreadMentions.html" name="messages.getUnreadMentions">Get unread messages where we were mentioned: messages.getUnreadMentions</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.getWebAuthorizations.html" name="account.getWebAuthorizations">Get web [login widget](https://core.telegram.org/widgets/login) authorizations: account.getWebAuthorizations</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.getWebAuthorizations.html" name="account.getWebAuthorizations">Get web login widget authorizations: account.getWebAuthorizations</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.search.html" name="messages.search">Gets back found messages: messages.search</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getHistory.html" name="messages.getHistory">Gets back the conversation history with one interlocutor / within a chat: messages.getHistory</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.getNotifySettings.html" name="account.getNotifySettings">Gets current notification settings for a given user/group, from all users/all groups.: account.getNotifySettings</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.getNotifySettings.html" name="account.getNotifySettings">Gets current notification settings for a given user/group, from all users/all groups: account.getNotifySettings</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.togglePreHistoryHidden.html" name="channels.togglePreHistoryHidden">Hide/unhide message history for new channel/supergroup users: channels.togglePreHistoryHidden</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.acceptContact.html" name="contacts.acceptContact">If the [peer settings](../constructors/peerSettings.md) of a new user allow us to add him as contact, add that user as contact: contacts.acceptContact</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.setBotShippingResults.html" name="messages.setBotShippingResults">If you sent an invoice requesting a shipping address and the parameter is\_flexible was specified, the bot will receive an [updateBotShippingQuery](../constructors/updateBotShippingQuery.md) update. Use this method to reply to shipping queries.: messages.setBotShippingResults</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.acceptContact.html" name="contacts.acceptContact">If the peer settings of a new user allow us to add him as contact, add that user as contact: contacts.acceptContact</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.setBotShippingResults.html" name="messages.setBotShippingResults">If you sent an invoice requesting a shipping address and the parameter is_flexible was specified, the bot will receive an updateBotShippingQuery update. Use this method to reply to shipping queries: messages.setBotShippingResults</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.importChatInvite.html" name="messages.importChatInvite">Import a chat invite and join a private chat/supergroup/channel: messages.importChatInvite</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.importContacts.html" name="contacts.importContacts">Imports contacts: saves a full list on the server, adds already registered contacts to the contact list, returns added contacts and their info.: contacts.importContacts</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.importContacts.html" name="contacts.importContacts">Imports contacts: saves a full list on the server, adds already registered contacts to the contact list, returns added contacts and their info: contacts.importContacts</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/help.setBotUpdatesStatus.html" name="help.setBotUpdatesStatus">Informs the server about the number of pending bot updates if they haven't been processed for a long time; for bots only: help.setBotUpdatesStatus</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/initConnection.html" name="initConnection">Initialize connection: initConnection</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.installStickerSet.html" name="messages.installStickerSet">Install a stickerset: messages.installStickerSet</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.installTheme.html" name="account.installTheme">Install a theme: account.installTheme</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.installWallPaper.html" name="account.installWallPaper">Install wallpaper: account.installWallPaper</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.saveWallPaper.html" name="account.saveWallPaper">Install/uninstall wallpaper: account.saveWallPaper</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/photos.updateProfilePhoto.html" name="photos.updateProfilePhoto">Installs a previously uploaded photo as a profile photo.: photos.updateProfilePhoto</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/photos.updateProfilePhoto.html" name="photos.updateProfilePhoto">Installs a previously uploaded photo as a profile photo: photos.updateProfilePhoto</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/help.editUserInfo.html" name="help.editUserInfo">Internal use: help.editUserInfo</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/help.getUserInfo.html" name="help.getUserInfo">Internal use: help.getUserInfo</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.initTakeoutSession.html" name="account.initTakeoutSession">Intialize account takeout session: account.initTakeoutSession</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.inviteToChannel.html" name="channels.inviteToChannel">Invite users to a channel/supergroup: channels.inviteToChannel</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/invokeWithTakeout.html" name="invokeWithTakeout">Invoke a method within a takeout session: invokeWithTakeout</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke a request without subscribing the used connection for [updates](https://core.telegram.org/api/updates) (this is enabled by default for [file queries](https://core.telegram.org/api/files)).: invokeWithoutUpdates</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/invokeWithLayer.html" name="invokeWithLayer">Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/invokeWithLayer.html" name="invokeWithLayer">Invoke the specified query using the specified API layer: invokeWithLayer</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/invokeWithMessagesRange.html" name="invokeWithMessagesRange">Invoke with the given message range: invokeWithMessagesRange</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/invokeAfterMsgs.html" name="invokeAfterMsgs">Invokes a query after a successfull completion of previous queries: invokeAfterMsgs</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.: invokeAfterMsg</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries: invokeAfterMsg</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.joinChannel.html" name="channels.joinChannel">Join a channel/supergroup: channels.joinChannel</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.leaveChannel.html" name="channels.leaveChannel">Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.resetAuthorization.html" name="account.resetAuthorization">Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.resetWebAuthorization.html" name="account.resetWebAuthorization">Log out an active web [telegram login](https://core.telegram.org/widgets/login) session: account.resetWebAuthorization</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/auth.importBotAuthorization.html" name="auth.importBotAuthorization">Login as a bot: auth.importBotAuthorization</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/auth.importAuthorization.html" name="auth.importAuthorization">Logs in a user using a key transmitted from his native data-centre.: auth.importAuthorization</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/auth.logOut.html" name="auth.logOut">Logs out the user.: auth.logOut</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.leaveChannel.html" name="channels.leaveChannel">Leave a channel/supergroup: channels.leaveChannel</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.resetAuthorization.html" name="account.resetAuthorization">Log out an active authorized session by its hash: account.resetAuthorization</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.resetWebAuthorization.html" name="account.resetWebAuthorization">Log out an active web telegram login session: account.resetWebAuthorization</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/help.getTermsOfServiceUpdate.html" name="help.getTermsOfServiceUpdate">Look for updates of telegram's terms of service: help.getTermsOfServiceUpdate</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.editChatAdmin.html" name="messages.editChatAdmin">Make a user admin in a [legacy group](https://core.telegram.org/api/channel).: messages.editChatAdmin</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.editChatAdmin.html" name="messages.editChatAdmin">Make a user admin in a legacy group: messages.editChatAdmin</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.markDialogUnread.html" name="messages.markDialogUnread">Manually mark dialog as unread: messages.markDialogUnread</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.readHistory.html" name="channels.readHistory">Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.readMessageContents.html" name="channels.readMessageContents">Mark [channel/supergroup](https://core.telegram.org/api/channel) message contents as read: channels.readMessageContents</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.readHistory.html" name="channels.readHistory">Mark channel/supergroup history as read: channels.readHistory</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.readMessageContents.html" name="channels.readMessageContents">Mark channel/supergroup message contents as read: channels.readMessageContents</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.faveSticker.html" name="messages.faveSticker">Mark a sticker as favorite: messages.faveSticker</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.readMentions.html" name="messages.readMentions">Mark mentions as read: messages.readMentions</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.readFeaturedStickers.html" name="messages.readFeaturedStickers">Mark new featured stickers as read: messages.readFeaturedStickers</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.readHistory.html" name="messages.readHistory">Marks message history as read.: messages.readHistory</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.readEncryptedHistory.html" name="messages.readEncryptedHistory">Marks message history within a secret chat as read.: messages.readEncryptedHistory</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.editAdmin.html" name="channels.editAdmin">Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel).: channels.editAdmin</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.readMessageContents.html" name="messages.readMessageContents">Notifies the sender about the recipient having listened a voice message or watched a video.: messages.readMessageContents</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.readHistory.html" name="messages.readHistory">Marks message history as read: messages.readHistory</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.readEncryptedHistory.html" name="messages.readEncryptedHistory">Marks message history within a secret chat as read: messages.readEncryptedHistory</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.editAdmin.html" name="channels.editAdmin">Modify the admin rights of a user in a supergroup/channel: channels.editAdmin</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.readMessageContents.html" name="messages.readMessageContents">Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.sendScreenshotNotification.html" name="messages.sendScreenshotNotification">Notify the other user in a private chat that a screenshot of the chat was taken: messages.sendScreenshotNotification</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/users.setSecureValueErrors.html" name="users.setSecureValueErrors">Notify the user that the sent [passport](https://core.telegram.org/passport) data contains some errors The user will not be able to re-submit their Passport data to you until the errors are fixed (the contents of the field for which you returned the error must change).
* <a href="https://docs.madelineproto.xyz/API_docs/methods/users.setSecureValueErrors.html" name="users.setSecureValueErrors">Notify the user that the sent passport data contains some errors The user will not be able to re-submit their Passport data to you until the errors are fixed (the contents of the field for which you returned the error must change): users.setSecureValueErrors</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.getPassword.html" name="account.getPassword">Obtain configuration for two-factor authorization with password: account.getPassword</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.setBotPrecheckoutResults.html" name="messages.setBotPrecheckoutResults">Once the user has confirmed their payment and shipping details, the bot receives an [updateBotPrecheckoutQuery](../constructors/updateBotPrecheckoutQuery.md) update.
* <a href="https://docs.madelineproto.xyz/API_docs/methods/phone.receivedCall.html" name="phone.receivedCall">Optional: notify the server that the user is currently busy in a call: this will automatically refuse all incoming phone calls until the current phone call is ended.: phone.receivedCall</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.setBotPrecheckoutResults.html" name="messages.setBotPrecheckoutResults">Once the user has confirmed their payment and shipping details, the bot receives an updateBotPrecheckoutQuery update. : messages.setBotPrecheckoutResults</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/phone.receivedCall.html" name="phone.receivedCall">Optional: notify the server that the user is currently busy in a call: this will automatically refuse all incoming phone calls until the current phone call is ended: phone.receivedCall</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.updatePinnedMessage.html" name="messages.updatePinnedMessage">Pin a message: messages.updatePinnedMessage</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.toggleDialogPin.html" name="messages.toggleDialogPin">Pin/unpin a dialog: messages.toggleDialogPin</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getBotCallbackAnswer.html" name="messages.getBotCallbackAnswer">Press an inline callback button and get a callback answer from the bot: messages.getBotCallbackAnswer</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getInlineBotResults.html" name="messages.getInlineBotResults">Query an inline bot: messages.getInlineBotResults</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/phone.setCallRating.html" name="phone.setCallRating">Rate a call: phone.setCallRating</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/phone.discardCall.html" name="phone.discardCall">Refuse or end running call: phone.discardCall</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.registerDevice.html" name="account.registerDevice">Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/auth.signUp.html" name="auth.signUp">Registers a validated phone number in the system.: auth.signUp</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/stickers.removeStickerFromSet.html" name="stickers.removeStickerFromSet">Remove a sticker from the set where it belongs, bots only. The sticker set must have been created by the bot.: stickers.removeStickerFromSet</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.registerDevice.html" name="account.registerDevice">Register device to receive PUSH notifications: account.registerDevice</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/stickers.removeStickerFromSet.html" name="stickers.removeStickerFromSet">Remove a sticker from the set where it belongs, bots only. The sticker set must have been created by the bot: stickers.removeStickerFromSet</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.reorderStickerSets.html" name="messages.reorderStickerSets">Reorder installed stickersets: messages.reorderStickerSets</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.reorderPinnedDialogs.html" name="messages.reorderPinnedDialogs">Reorder pinned dialogs: messages.reorderPinnedDialogs</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.report.html" name="messages.report">Report a message in a chat for violation of telegram's Terms of Service: messages.report</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.reportSpam.html" name="messages.reportSpam">Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.reportSpam.html" name="messages.reportSpam">Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.reportPeer.html" name="account.reportPeer">Report a peer for violation of telegram's Terms of Service: account.reportPeer</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.reportEncryptedSpam.html" name="messages.reportEncryptedSpam">Report a secret chat for spam: messages.reportEncryptedSpam</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.reportSpam.html" name="channels.reportSpam">Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/upload.reuploadCdnFile.html" name="upload.reuploadCdnFile">Request a reupload of a certain file to a [CDN DC](https://core.telegram.org/cdn).: upload.reuploadCdnFile</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/auth.requestPasswordRecovery.html" name="auth.requestPasswordRecovery">Request recovery code of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification).: auth.requestPasswordRecovery</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.resendPasswordEmail.html" name="account.resendPasswordEmail">Resend the code to verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp).: account.resendPasswordEmail</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/auth.resendCode.html" name="auth.resendCode">Resend the login code via another medium, the phone code type is determined by the return value of the previous auth.sendCode/auth.resendCode: see [login](https://core.telegram.org/api/auth) for more info.: auth.resendCode</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.resetTopPeerRating.html" name="contacts.resetTopPeerRating">Reset [rating](https://core.telegram.org/api/top-rating) of top peer: contacts.resetTopPeerRating</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.resetWebAuthorizations.html" name="account.resetWebAuthorizations">Reset all active web [telegram login](https://core.telegram.org/widgets/login) sessions: account.resetWebAuthorizations</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/auth.recoverPassword.html" name="auth.recoverPassword">Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md).: auth.recoverPassword</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.resetNotifySettings.html" name="account.resetNotifySettings">Resets all notification settings from users and groups.: account.resetNotifySettings</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.resolveUsername.html" name="contacts.resolveUsername">Resolve a @username to get peer info: contacts.resolveUsername</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/auth.requestPasswordRecovery.html" name="auth.requestPasswordRecovery">Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.resendPasswordEmail.html" name="account.resendPasswordEmail">Resend the code to verify an email to use as 2FA recovery method: account.resendPasswordEmail</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/auth.resendCode.html" name="auth.resendCode">Resend the login code via another medium, the phone code type is determined by the return value of the previous auth.sendCode/auth.resendCode: see login for more info: auth.resendCode</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.resetTopPeerRating.html" name="contacts.resetTopPeerRating">Reset rating of top peer: contacts.resetTopPeerRating</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.resetWebAuthorizations.html" name="account.resetWebAuthorizations">Reset all active web telegram login sessions: account.resetWebAuthorizations</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/auth.recoverPassword.html" name="auth.recoverPassword">Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.resetNotifySettings.html" name="account.resetNotifySettings">Resets all notification settings from users and groups: account.resetNotifySettings</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getStatsURL.html" name="messages.getStatsURL">Returns URL with the chat statistics. Currently this method can be used only for channels: messages.getStatsURL</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.getAuthorizationForm.html" name="account.getAuthorizationForm">Returns a Telegram Passport authorization form for sharing data with a service: account.getAuthorizationForm</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/updates.getState.html" name="updates.getState">Returns a current state of updates.: updates.getState</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.getWallPapers.html" name="account.getWallPapers">Returns a list of available wallpapers.: account.getWallPapers</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.getWallPapers.html" name="account.getWallPapers">Returns a list of available wallpapers: account.getWallPapers</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getEmojiURL.html" name="messages.getEmojiURL">Returns an HTTP URL which can be used to automatically log in into translation platform and suggest new emoji replacements. The URL will be valid for 30 seconds after generation: messages.getEmojiURL</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/users.getUsers.html" name="users.getUsers">Returns basic user info according to their identifiers.: users.getUsers</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getChats.html" name="messages.getChats">Returns chat basic info on their IDs.: messages.getChats</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getDhConfig.html" name="messages.getDhConfig">Returns configuration parameters for Diffie-Hellman key generation. Can also return a random sequence of bytes of required length.: messages.getDhConfig</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/upload.getFile.html" name="upload.getFile">Returns content of a whole file or its part.: upload.getFile</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/upload.getWebFile.html" name="upload.getWebFile">Returns content of an HTTP file or a part, by proxying the request through telegram.: upload.getWebFile</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/help.getConfig.html" name="help.getConfig">Returns current configuration, icluding data center configuration.: help.getConfig</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/auth.exportAuthorization.html" name="auth.exportAuthorization">Returns data for copying authorization to another data-centre.: auth.exportAuthorization</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/users.getFullUser.html" name="users.getFullUser">Returns extended user info by ID.: users.getFullUser</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getFullChat.html" name="messages.getFullChat">Returns full chat info according to its ID.: messages.getFullChat</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/help.getNearestDc.html" name="help.getNearestDc">Returns info on data centre nearest to the user.: help.getNearestDc</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/help.getAppUpdate.html" name="help.getAppUpdate">Returns information on update availability for the current application.: help.getAppUpdate</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/users.getUsers.html" name="users.getUsers">Returns basic user info according to their identifiers: users.getUsers</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getChats.html" name="messages.getChats">Returns chat basic info on their IDs: messages.getChats</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/upload.getWebFile.html" name="upload.getWebFile">Returns content of an HTTP file or a part, by proxying the request through telegram: upload.getWebFile</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/help.getConfig.html" name="help.getConfig">Returns current configuration, icluding data center configuration: help.getConfig</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/help.getNearestDc.html" name="help.getNearestDc">Returns info on data centre nearest to the user: help.getNearestDc</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/help.getAppUpdate.html" name="help.getAppUpdate">Returns information on update availability for the current application: help.getAppUpdate</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.getNotifyExceptions.html" name="account.getNotifyExceptions">Returns list of chats with non-default notification settings: account.getNotifyExceptions</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/help.getInviteText.html" name="help.getInviteText">Returns text of a text message with an invitation.: help.getInviteText</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getDialogs.html" name="messages.getDialogs">Returns the current user dialog list.: messages.getDialogs</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.getContacts.html" name="contacts.getContacts">Returns the current user's contact list.: contacts.getContacts</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/updates.getChannelDifference.html" name="updates.getChannelDifference">Returns the difference between the current state of updates of a certain channel and transmitted.: updates.getChannelDifference</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.getBlocked.html" name="contacts.getBlocked">Returns the list of blocked users.: contacts.getBlocked</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.getStatuses.html" name="contacts.getStatuses">Returns the list of contact statuses.: contacts.getStatuses</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getMessages.html" name="messages.getMessages">Returns the list of messages by their IDs.: messages.getMessages</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/photos.getUserPhotos.html" name="photos.getUserPhotos">Returns the list of user photos.: photos.getUserPhotos</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/help.getSupport.html" name="help.getSupport">Returns the support user for the 'ask a question' feature.: help.getSupport</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.search.html" name="contacts.search">Returns users found by username substring.: contacts.search</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.saveDraft.html" name="messages.saveDraft">Save a message [draft](https://core.telegram.org/api/drafts) associated to a chat.: messages.saveDraft</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/help.getInviteText.html" name="help.getInviteText">Returns text of a text message with an invitation: help.getInviteText</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getDialogs.html" name="messages.getDialogs">Returns the current user dialog list: messages.getDialogs</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.getContacts.html" name="contacts.getContacts">Returns the current user's contact list: contacts.getContacts</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.getBlocked.html" name="contacts.getBlocked">Returns the list of blocked users: contacts.getBlocked</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.getStatuses.html" name="contacts.getStatuses">Returns the list of contact statuses: contacts.getStatuses</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getMessages.html" name="messages.getMessages">Returns the list of messages by their IDs: messages.getMessages</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/photos.getUserPhotos.html" name="photos.getUserPhotos">Returns the list of user photos: photos.getUserPhotos</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/help.getSupport.html" name="help.getSupport">Returns the support user for the 'ask a question' feature: help.getSupport</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.search.html" name="contacts.search">Returns users found by username substring: contacts.search</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.saveDraft.html" name="messages.saveDraft">Save a message draft associated to a chat: messages.saveDraft</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.saveTheme.html" name="account.saveTheme">Save a theme: account.saveTheme</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getAllDrafts.html" name="messages.getAllDrafts">Save get all message [drafts](https://core.telegram.org/api/drafts).: messages.getAllDrafts</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/upload.saveBigFilePart.html" name="upload.saveBigFilePart">Saves a part of a large file (over 10Mb in size) to be later passed to one of the methods.: upload.saveBigFilePart</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/upload.saveFilePart.html" name="upload.saveFilePart">Saves a part of file for futher sending to one of the methods.: upload.saveFilePart</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/help.saveAppLog.html" name="help.saveAppLog">Saves logs of application on the server.: help.saveAppLog</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getAllDrafts.html" name="messages.getAllDrafts">Save get all message drafts: messages.getAllDrafts</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/help.saveAppLog.html" name="help.saveAppLog">Saves logs of application on the server: help.saveAppLog</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.searchGifs.html" name="messages.searchGifs">Search for GIFs: messages.searchGifs</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.searchGlobal.html" name="messages.searchGlobal">Search for messages and peers globally: messages.searchGlobal</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.searchStickerSets.html" name="messages.searchStickerSets">Search for stickersets: messages.searchStickerSets</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.saveSecureValue.html" name="account.saveSecureValue">Securely save [Telegram Passport](https://core.telegram.org/passport) document, [for more info see the passport docs »](https://core.telegram.org/passport/encryption#encryption): account.saveSecureValue</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.saveSecureValue.html" name="account.saveSecureValue">Securely save Telegram Passport document, for more info see the passport docs »: account.saveSecureValue</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.sendMedia.html" name="messages.sendMedia">Send a media: messages.sendMedia</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.sendInlineBotResult.html" name="messages.sendInlineBotResult">Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md).: messages.sendInlineBotResult</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.sendInlineBotResult.html" name="messages.sendInlineBotResult">Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.sendMultiMedia.html" name="messages.sendMultiMedia">Send an album of media: messages.sendMultiMedia</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/payments.sendPaymentForm.html" name="payments.sendPaymentForm">Send compiled payment form: payments.sendPaymentForm</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.sendConfirmPhoneCode.html" name="account.sendConfirmPhoneCode">Send confirmation code to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.sendConfirmPhoneCode</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.sendConfirmPhoneCode.html" name="account.sendConfirmPhoneCode">Send confirmation code to cancel account deletion, for more info click here »: account.sendConfirmPhoneCode</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/phone.saveCallDebug.html" name="phone.saveCallDebug">Send phone call debug data to server: phone.saveCallDebug</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.sendScheduledMessages.html" name="messages.sendScheduledMessages">Send scheduled messages right away: messages.sendScheduledMessages</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/auth.sendCode.html" name="auth.sendCode">Send the verification code for login: auth.sendCode</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.sendVerifyEmailCode.html" name="account.sendVerifyEmailCode">Send the verification email code for telegram [passport](https://core.telegram.org/passport).: account.sendVerifyEmailCode</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.sendVerifyPhoneCode.html" name="account.sendVerifyPhoneCode">Send the verification phone code for telegram [passport](https://core.telegram.org/passport).: account.sendVerifyPhoneCode</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.setEncryptedTyping.html" name="messages.setEncryptedTyping">Send typing event by the current user to a secret chat.: messages.setEncryptedTyping</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.sendVerifyEmailCode.html" name="account.sendVerifyEmailCode">Send the verification email code for telegram passport: account.sendVerifyEmailCode</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.sendVerifyPhoneCode.html" name="account.sendVerifyPhoneCode">Send the verification phone code for telegram passport: account.sendVerifyPhoneCode</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.setEncryptedTyping.html" name="messages.setEncryptedTyping">Send typing event by the current user to a secret chat: messages.setEncryptedTyping</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.acceptAuthorization.html" name="account.acceptAuthorization">Sends a Telegram Passport authorization form, effectively sharing data with the service: account.acceptAuthorization</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.setTyping.html" name="messages.setTyping">Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group.: messages.setTyping</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.setTyping.html" name="messages.setTyping">Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/bots.sendCustomRequest.html" name="bots.sendCustomRequest">Sends a custom request; for bots only: bots.sendCustomRequest</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.sendMessage.html" name="messages.sendMessage">Sends a message to a chat: messages.sendMessage</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.sendEncryptedFile.html" name="messages.sendEncryptedFile">Sends a message with a file attachment to a secret chat: messages.sendEncryptedFile</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.requestEncryption.html" name="messages.requestEncryption">Sends a request to start a secret chat to the user.: messages.requestEncryption</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.sendEncryptedService.html" name="messages.sendEncryptedService">Sends a service message to a secret chat.: messages.sendEncryptedService</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.sendEncrypted.html" name="messages.sendEncrypted">Sends a text message to a secret chat.: messages.sendEncrypted</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.updatePasswordSettings.html" name="account.updatePasswordSettings">Set a new 2FA password: account.updatePasswordSettings</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.sendEncryptedService.html" name="messages.sendEncryptedService">Sends a service message to a secret chat: messages.sendEncryptedService</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.sendEncrypted.html" name="messages.sendEncrypted">Sends a text message to a secret chat: messages.sendEncrypted</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.setAccountTTL.html" name="account.setAccountTTL">Set account self-destruction period: account.setAccountTTL</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.setBotCallbackAnswer.html" name="messages.setBotCallbackAnswer">Set the callback answer to a user button press (bots only): messages.setBotCallbackAnswer</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.hidePeerSettingsBar.html" name="messages.hidePeerSettingsBar">Should be called after the user hides the report spam/add as contact bar of a new chat, effectively prevents the user from executing the actions specified in the [peer's settings](../constructors/peerSettings.md).: messages.hidePeerSettingsBar</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/auth.signIn.html" name="auth.signIn">Signs in a user with a validated phone number.: auth.signIn</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.startBot.html" name="messages.startBot">Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/phone.requestCall.html" name="phone.requestCall">Start a telegram phone call: phone.requestCall</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.hidePeerSettingsBar.html" name="messages.hidePeerSettingsBar">Should be called after the user hides the report spam/add as contact bar of a new chat, effectively prevents the user from executing the actions specified in the peer's settings: messages.hidePeerSettingsBar</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.startBot.html" name="messages.startBot">Start a conversation with a bot using a deep linking parameter: messages.startBot</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/payments.validateRequestedInfo.html" name="payments.validateRequestedInfo">Submit requested order information for validation: payments.validateRequestedInfo</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/auth.resetAuthorizations.html" name="auth.resetAuthorizations">Terminates all user's authorized sessions except for the current one.
* <a href="https://docs.madelineproto.xyz/API_docs/methods/auth.resetAuthorizations.html" name="auth.resetAuthorizations">Terminates all user's authorized sessions except for the current one: auth.resetAuthorizations</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.setContactSignUpNotification.html" name="account.setContactSignUpNotification">Toggle contact sign up notifications: account.setContactSignUpNotification</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.toggleSlowMode.html" name="channels.toggleSlowMode">Toggle supergroup slow mode: if enabled, users will only be able to send one message every `seconds` seconds: channels.toggleSlowMode</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.toggleSlowMode.html" name="channels.toggleSlowMode">Toggle supergroup slow mode: if enabled, users will only be able to send one message every seconds seconds: channels.toggleSlowMode</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.editCreator.html" name="channels.editCreator">Transfer channel ownership: channels.editCreator</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/auth.checkPassword.html" name="auth.checkPassword">Try logging to an account protected by a [2FA password](https://core.telegram.org/api/srp).: auth.checkPassword</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.migrateChat.html" name="messages.migrateChat">Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.migrateChat.html" name="messages.migrateChat">Turn a legacy group into a supergroup: messages.migrateChat</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.uninstallStickerSet.html" name="messages.uninstallStickerSet">Uninstall a stickerset: messages.uninstallStickerSet</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.updateTheme.html" name="account.updateTheme">Update theme: account.updateTheme</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/photos.uploadProfilePhoto.html" name="photos.uploadProfilePhoto">Updates current user profile photo.: photos.uploadProfilePhoto</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.updateStatus.html" name="account.updateStatus">Updates online user status.: account.updateStatus</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.updateProfile.html" name="account.updateProfile">Updates user profile.: account.updateProfile</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/photos.uploadProfilePhoto.html" name="photos.uploadProfilePhoto">Updates current user profile photo: photos.uploadProfilePhoto</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.updateStatus.html" name="account.updateStatus">Updates online user status: account.updateStatus</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.updateProfile.html" name="account.updateProfile">Updates user profile: account.updateProfile</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.uploadMedia.html" name="messages.uploadMedia">Upload a file and associate it to a chat (without actually sending it to the chat): messages.uploadMedia</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.uploadEncryptedFile.html" name="messages.uploadEncryptedFile">Upload encrypted file and associate it to a secret chat: messages.uploadEncryptedFile</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.uploadTheme.html" name="account.uploadTheme">Upload theme: account.uploadTheme</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.setGameScore.html" name="messages.setGameScore">Use this method to set the score of the specified user in a game sent as a normal message (bots only).: messages.setGameScore</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.setInlineGameScore.html" name="messages.setInlineGameScore">Use this method to set the score of the specified user in a game sent as an inline message (bots only).: messages.setInlineGameScore</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.acceptUrlAuth.html" name="messages.acceptUrlAuth">Use this to accept a Seamless Telegram Login authorization request, for more info [click here »](https://core.telegram.org/api/url-authorization): messages.acceptUrlAuth</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.checkUsername.html" name="account.checkUsername">Validates a username and checks availability.: account.checkUsername</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.setGameScore.html" name="messages.setGameScore">Use this method to set the score of the specified user in a game sent as a normal message (bots only): messages.setGameScore</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.setInlineGameScore.html" name="messages.setInlineGameScore">Use this method to set the score of the specified user in a game sent as an inline message (bots only): messages.setInlineGameScore</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.acceptUrlAuth.html" name="messages.acceptUrlAuth">Use this to accept a Seamless Telegram Login authorization request, for more info click here »: messages.acceptUrlAuth</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.checkUsername.html" name="account.checkUsername">Validates a username and checks availability: account.checkUsername</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.sendChangePhoneCode.html" name="account.sendChangePhoneCode">Verify a new phone number to associate to the current account: account.sendChangePhoneCode</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.verifyPhone.html" name="account.verifyPhone">Verify a phone number for telegram [passport](https://core.telegram.org/passport).: account.verifyPhone</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.verifyEmail.html" name="account.verifyEmail">Verify an email address for telegram [passport](https://core.telegram.org/passport).: account.verifyEmail</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.confirmPasswordEmail.html" name="account.confirmPasswordEmail">Verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp).: account.confirmPasswordEmail</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.sendVote.html" name="messages.sendVote">Vote in a [poll](../constructors/poll.md): messages.sendVote</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.updateDeviceLocked.html" name="account.updateDeviceLocked">When client-side passcode lock feature is enabled, will not show message texts in incoming [PUSH notifications](https://core.telegram.org/api/push-updates).: account.updateDeviceLocked</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.verifyPhone.html" name="account.verifyPhone">Verify a phone number for telegram passport: account.verifyPhone</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.verifyEmail.html" name="account.verifyEmail">Verify an email address for telegram passport: account.verifyEmail</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.confirmPasswordEmail.html" name="account.confirmPasswordEmail">Verify an email to use as 2FA recovery method: account.confirmPasswordEmail</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.sendVote.html" name="messages.sendVote">Vote in a poll: messages.sendVote</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.updateDeviceLocked.html" name="account.updateDeviceLocked">When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.getContactSignUpNotification.html" name="account.getContactSignUpNotification">Whether the user will receive notifications when contacts sign up: account.getContactSignUpNotification</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/phone.confirmCall.html" name="phone.confirmCall">[Complete phone call E2E encryption key exchange »](https://core.telegram.org/api/end-to-end/voice-calls): phone.confirmCall</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/auth.bindTempAuthKey.html" name="auth.bindTempAuthKey">You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info: auth.bindTempAuthKey</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getDhConfig.html" name="messages.getDhConfig">You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.acceptEncryption.html" name="messages.acceptEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.acceptEncryption</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.discardEncryption.html" name="messages.discardEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.discardEncryption</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.requestEncryption.html" name="messages.requestEncryption">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats: messages.requestEncryption</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/updates.getChannelDifference.html" name="updates.getChannelDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates: updates.getChannelDifference</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/updates.getDifference.html" name="updates.getDifference">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates: updates.getDifference</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/updates.getState.html" name="updates.getState">You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates: updates.getState</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/phone.acceptCall.html" name="phone.acceptCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls: phone.acceptCall</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/phone.confirmCall.html" name="phone.confirmCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls: phone.confirmCall</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/phone.discardCall.html" name="phone.discardCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls: phone.discardCall</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/phone.requestCall.html" name="phone.requestCall">You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls: phone.requestCall</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/auth.exportAuthorization.html" name="auth.exportAuthorization">You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.exportAuthorization</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/auth.importAuthorization.html" name="auth.importAuthorization">You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html: auth.importAuthorization</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/auth.importBotAuthorization.html" name="auth.importBotAuthorization">You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info): auth.importBotAuthorization</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/auth.signIn.html" name="auth.signIn">You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info): auth.signIn</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/auth.signUp.html" name="auth.signUp">You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info): auth.signUp</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/auth.checkPassword.html" name="auth.checkPassword">You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info): auth.checkPassword</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.getFullChannel.html" name="channels.getFullChannel">You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info): channels.getFullChannel</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getFullChat.html" name="messages.getFullChat">You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info): messages.getFullChat</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/users.getFullUser.html" name="users.getFullUser">You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info): users.getFullUser</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/auth.logOut.html" name="auth.logOut">You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info): auth.logOut</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/auth.sendCode.html" name="auth.sendCode">You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info): auth.sendCode</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.resolveUsername.html" name="contacts.resolveUsername">You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info): contacts.resolveUsername</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/upload.getCdnFile.html" name="upload.getCdnFile">You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info: upload.getCdnFile</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/upload.getCdnFileHashes.html" name="upload.getCdnFileHashes">You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info: upload.getCdnFileHashes</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/upload.getFile.html" name="upload.getFile">You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info: upload.getFile</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/upload.getFileHashes.html" name="upload.getFileHashes">You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info: upload.getFileHashes</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/upload.reuploadCdnFile.html" name="upload.reuploadCdnFile">You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info: upload.reuploadCdnFile</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/upload.saveBigFilePart.html" name="upload.saveBigFilePart">You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info: upload.saveBigFilePart</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/upload.saveFilePart.html" name="upload.saveFilePart">You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info: upload.saveFilePart</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.receivedQueue.html" name="messages.receivedQueue">You cannot use this method directly: messages.receivedQueue</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.getPasswordSettings.html" name="account.getPasswordSettings">You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info): account.getPasswordSettings</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.updatePasswordSettings.html" name="account.updatePasswordSettings">You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info): account.updatePasswordSettings</a>
* [Peers](https://docs.madelineproto.xyz/docs/USING_METHODS.html#peers)
* [Files](https://docs.madelineproto.xyz/docs/FILES.html)
* [Secret chats](https://docs.madelineproto.xyz/docs/USING_METHODS.html#secret-chats)

2
docs

@ -1 +1 @@
Subproject commit 336c4d4aa0086a548029a974a8b830fa3974b3db
Subproject commit 3dd0584ee70f75d010dd5263b9b696f7d129d51a

View File

@ -88,14 +88,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
foreach ($this->types as $otype => $keys) {
$new_namespace = \preg_replace('/_.*/', '', $otype);
//$br = $new_namespace != $last_namespace ? '***<br><br>' : '';
$type = \str_replace(['.', '<', '>'], ['_', '_of_', ''], $otype);
$type = \str_replace(['<', '>'], ['_of_', ''], $otype);
$type = \preg_replace('/.*_of_/', '', $type);
$index .= '['.\str_replace('_', '\\_', $type).']('.$type.'.md)<a name="'.$type.'"></a>
';
$constructors = '';
foreach ($keys['constructors'] as $data) {
$predicate = \str_replace('.', '_', $data['predicate']).(isset($data['layer']) && $data['layer'] !== '' ? '_'.$data['layer'] : '');
$predicate = $data['predicate'].(isset($data['layer']) && $data['layer'] !== '' ? '_'.$data['layer'] : '');
$md_predicate = \str_replace('_', '\\_', $predicate);
$constructors .= '['.$md_predicate.'](../constructors/'.$predicate.'.md)
@ -103,13 +103,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
}
$methods = '';
foreach ($keys['methods'] as $data) {
$name = \str_replace('.', '_', $data['method']);
$md_name = \str_replace('_', '->', $name);
$name = $data['method'];
$md_name = \str_replace(['.', '_'], ['->', '\\_'], $name);
$methods .= '[$MadelineProto->'.$md_name.'](../methods/'.$name.'.md)
';
}
$description = isset($this->td_descriptions['types'][$otype]) ? $this->td_descriptions['types'][$otype] : 'constructors and methods of typr '.$type;
$description = isset($this->td_descriptions['types'][$otype]) ? $this->td_descriptions['types'][$otype] : 'constructors and methods of type '.$type;
$header = '---
title: '.$type.'
description: constructors and methods of type '.$type.'

View File

@ -46,9 +46,9 @@ trait Constructors
$type = $this->TL->getConstructors($this->td)->findByType(str_replace('%', '', $type))['predicate'];
}*/
$layer = isset($data['layer']) && $data['layer'] !== '' ? '_'.$data['layer'] : '';
$type = \str_replace(['.', '<', '>'], ['_', '_of_', ''], $data['type']);
$type = \str_replace(['<', '>'], ['_of_', ''], $data['type']);
$php_type = \preg_replace('/.*_of_/', '', $type);
$constructor = \str_replace(['.', '<', '>'], ['_', '_of_', ''], $data['predicate']);
$constructor = \str_replace(['<', '>'], ['_of_', ''], $data['predicate']);
$php_constructor = \preg_replace('/.*_of_/', '', $constructor);
if (!isset($this->types[$php_type])) {
$this->types[$php_type] = ['constructors' => [], 'methods' => []];
@ -67,7 +67,7 @@ trait Constructors
}
$type_or_subtype = isset($param['subtype']) ? 'subtype' : 'type';
$type_or_bare_type = \ctype_upper(Tools::end(\explode('.', $param[$type_or_subtype]))[0]) || \in_array($param[$type_or_subtype], ['!X', 'X', 'bytes', 'true', 'false', 'double', 'string', 'Bool', 'int53', 'int', 'long', 'int128', 'int256', 'int512']) ? 'types' : 'constructors';
$param[$type_or_subtype] = \str_replace(['.', 'true', 'false'], ['.', 'Bool', 'Bool'], $param[$type_or_subtype]);
$param[$type_or_subtype] = \str_replace(['true', 'false'], ['Bool', 'Bool'], $param[$type_or_subtype]);
if (\preg_match('/%/', $param[$type_or_subtype])) {
$param[$type_or_subtype] = $this->TL->getConstructors($this->td)->findByType(\str_replace('%', '', $param[$type_or_subtype]))['predicate'];
}
@ -118,7 +118,7 @@ trait Constructors
unset(\danog\MadelineProto\Lang::$lang['en']['object_'.$data['predicate'].'_param_'.$param['name'].'_type_'.$param['type']]);
continue;
}
$ptype = \str_replace('.', '_', $param[isset($param['subtype']) ? 'subtype' : 'type']);
$ptype = $param[isset($param['subtype']) ? 'subtype' : 'type'];
//$type_or_bare_type = 'types';
/*if (isset($param['subtype'])) {
if ($param['type'] === 'vector') {

View File

@ -57,7 +57,7 @@ trait Methods
foreach ($this->TL->getMethods($this->td)->by_id as $id => $data) {
$method = $data['method'];
$php_method = \str_replace('.', '->', $data['method']);
$type = \str_replace(['.', '<', '>'], ['_', '_of_', ''], $data['type']);
$type = \str_replace(['<', '>'], ['_of_', ''], $data['type']);
$php_type = \preg_replace('/.*_of_/', '', $type);
if (!isset($this->types[$php_type])) {
$this->types[$php_type] = ['methods' => [], 'constructors' => []];
@ -96,7 +96,11 @@ trait Methods
';
if (isset($this->td_descriptions['methods'][$data['method']])) {
$this->human_docs_methods[$this->td_descriptions['methods'][$data['method']]['description'].': '.$data['method']] = '* <a href="'.$method.'.html" name="'.$method.'">'.$this->td_descriptions['methods'][$data['method']]['description'].': '.$data['method'].'</a>
$desc = \Parsedown::instance()->line(\trim(\explode("\n", $this->td_descriptions['methods'][$data['method']]['description'])[0], '.'));
$dom = new \DOMDocument();
$dom->loadHTML(\mb_convert_encoding($desc, 'HTML-ENTITIES', 'UTF-8'));
$desc = $dom->textContent;
$this->human_docs_methods[$this->td_descriptions['methods'][$data['method']]['description'].': '.$data['method']] = '* <a href="'.$method.'.html" name="'.$method.'">'.$desc.': '.$data['method'].'</a>
';
}

View File

@ -10,13 +10,13 @@ namespace danog\MadelineProto;
interface auth
{
/**
* Send the verification code for login.
* You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info).
*
* Parameters:
* * `string` **phone_number** - Phone number in international format
* * `int` **api_id** - Application identifier (see [App configuration](https://core.telegram.org/myapp))
* * `string` **api_hash** - Application secret hash (see [App configuration](https://core.telegram.org/myapp))
* * `CodeSettings` **settings** - Settings for the code type to send
* * `string` **phone_number** - You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info)
* * `int` **api_id** - You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info)
* * `string` **api_hash** - You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info)
* * `CodeSettings` **settings** - You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info)
*
* @param array $params Parameters
*
@ -25,13 +25,13 @@ interface auth
public function sendCode($params);
/**
* Registers a validated phone number in the system.
* You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info).
*
* Parameters:
* * `string` **phone_number** - Phone number in the international format
* * `string` **phone_code_hash** - SMS-message ID
* * `string` **first_name** - New user first name
* * `string` **last_name** - New user last name
* * `string` **phone_number** - You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info)
* * `string` **phone_code_hash** - You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info)
* * `string` **first_name** - You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info)
* * `string` **last_name** - You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info)
*
* @param array $params Parameters
*
@ -40,12 +40,12 @@ interface auth
public function signUp($params);
/**
* Signs in a user with a validated phone number.
* You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info).
*
* Parameters:
* * `string` **phone_number** - Phone number in the international format
* * `string` **phone_code_hash** - SMS-message ID, obtained from [auth.sendCode](../methods/auth.sendCode.md)
* * `string` **phone_code** - Valid numerical code from the SMS-message
* * `string` **phone_number** - You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info)
* * `string` **phone_code_hash** - You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info)
* * `string` **phone_code** - You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info)
*
* @param array $params Parameters
*
@ -54,7 +54,7 @@ interface auth
public function signIn($params);
/**
* Logs out the user.
* You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info).
*
* @return bool
*/
@ -70,10 +70,10 @@ After calling this method it is necessary to reregister the current device using
public function resetAuthorizations();
/**
* Returns data for copying authorization to another data-centre.
* You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html.
*
* Parameters:
* * `int` **dc_id** - Number of a target data-centre
* * `int` **dc_id** - You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
*
* @param array $params Parameters
*
@ -82,11 +82,11 @@ After calling this method it is necessary to reregister the current device using
public function exportAuthorization($params);
/**
* Logs in a user using a key transmitted from his native data-centre.
* You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html.
*
* Parameters:
* * `int` **id** - User ID
* * `bytes` **bytes** - Authorization key
* * `int` **id** - You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
* * `bytes` **bytes** - You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html
*
* @param array $params Parameters
*
@ -95,15 +95,13 @@ After calling this method it is necessary to reregister the current device using
public function importAuthorization($params);
/**
* Binds a temporary authorization key `temp_auth_key_id` to the permanent authorization key `perm_auth_key_id`. Each permanent key may only be bound to one temporary key at a time, binding a new temporary key overwrites the previous one.
For more information, see [Perfect Forward Secrecy](https://core.telegram.org/api/pfs).
* You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info.
*
* Parameters:
* * `long` **perm_auth_key_id** - Permanent auth\_key\_id to bind to
* * `long` **nonce** - Random long from [Binding message contents](#binding-message-contents)
* * `int` **expires_at** - Unix timestamp to invalidate temporary key, see [Binding message contents](#binding-message-contents)
* * `bytes` **encrypted_message** - See [Generating encrypted\_message](#generating-encrypted-message)
* * `long` **perm_auth_key_id** - You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info
* * `long` **nonce** - You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info
* * `int` **expires_at** - You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info
* * `bytes` **encrypted_message** - You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info
*
* @param array $params Parameters
*
@ -112,12 +110,12 @@ For more information, see [Perfect Forward Secrecy](https://core.telegram.org/ap
public function bindTempAuthKey($params);
/**
* Login as a bot.
* You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info).
*
* Parameters:
* * `int` **api_id** - Application identifier (see. [App configuration](https://core.telegram.org/myapp))
* * `string` **api_hash** - Application identifier hash (see. [App configuration](https://core.telegram.org/myapp))
* * `string` **bot_auth_token** - Bot token (see [bots](https://core.telegram.org/bots))
* * `int` **api_id** - You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info)
* * `string` **api_hash** - You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info)
* * `string` **bot_auth_token** - You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info)
*
* @param array $params Parameters
*
@ -126,10 +124,10 @@ For more information, see [Perfect Forward Secrecy](https://core.telegram.org/ap
public function importBotAuthorization($params);
/**
* Try logging to an account protected by a [2FA password](https://core.telegram.org/api/srp).
* You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info).
*
* Parameters:
* * `InputCheckPasswordSRP` **password** - The account's password (see [SRP](https://core.telegram.org/api/srp))
* * `InputCheckPasswordSRP` **password** - You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)
*
* @param array $params Parameters
*
@ -315,7 +313,7 @@ interface account
* Validates a username and checks availability.
*
* Parameters:
* * `string` **username** - username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters.
* * `string` **username** - Username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters.
*
* @param array $params Parameters
*
@ -327,7 +325,7 @@ interface account
* Changes username for the current user.
*
* Parameters:
* * `string` **username** - username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters.
* * `string` **username** - Username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters.
*
* @param array $params Parameters
*
@ -457,10 +455,10 @@ interface account
public function getPassword();
/**
* Get private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on).
* You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info).
*
* Parameters:
* * `InputCheckPasswordSRP` **password** - The password (see [SRP](https://core.telegram.org/api/srp))
* * `InputCheckPasswordSRP` **password** - You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info)
*
* @param array $params Parameters
*
@ -469,11 +467,11 @@ interface account
public function getPasswordSettings($params);
/**
* Set a new 2FA password.
* You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info).
*
* Parameters:
* * `InputCheckPasswordSRP` **password** - The old password (see [SRP](https://core.telegram.org/api/srp))
* * `account.PasswordInputSettings` **new_settings** - The new password (see [SRP](https://core.telegram.org/api/srp))
* * `InputCheckPasswordSRP` **password** - You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info)
* * `account.PasswordInputSettings` **new_settings** - You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info)
*
* @param array $params Parameters
*
@ -956,10 +954,10 @@ interface users
public function getUsers($params);
/**
* Returns extended user info by ID.
* You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info).
*
* Parameters:
* * `InputUser` **id** - User ID
* * `InputUser` **id** - You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info)
*
* @param array $params Parameters
*
@ -1103,10 +1101,10 @@ interface contacts
public function search($params);
/**
* Resolve a @username to get peer info.
* You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info).
*
* Parameters:
* * `string` **username** - @username to resolve
* * `string` **username** - You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info)
*
* @param array $params Parameters
*
@ -1468,7 +1466,7 @@ interface messages
public function getChats($params);
/**
* Returns full chat info according to its ID.
* You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info).
*
* Parameters:
* * `InputPeer` **chat_id** - You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info)
@ -1546,11 +1544,11 @@ interface messages
public function createChat($params);
/**
* Returns configuration parameters for Diffie-Hellman key generation. Can also return a random sequence of bytes of required length.
* You cannot use this method directly, instead use $MadelineProto->getDhConfig();.
*
* Parameters:
* * `int` **version** - Value of the **version** parameter from [messages.dhConfig](../constructors/messages.dhConfig.md), avialable at the client
* * `int` **random_length** - Length of the required random sequence
* * `int` **version** - You cannot use this method directly, instead use $MadelineProto->getDhConfig();
* * `int` **random_length** - You cannot use this method directly, instead use $MadelineProto->getDhConfig();
*
* @param array $params Parameters
*
@ -1559,11 +1557,11 @@ interface messages
public function getDhConfig($params);
/**
* Sends a request to start a secret chat to the user.
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats.
*
* Parameters:
* * `InputUser` **user_id** - User ID
* * `bytes` **g_a** - `A = g ^ a mod p`, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)
* * `InputUser` **user_id** - You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
* * `bytes` **g_a** - You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
*
* @param array $params Parameters
*
@ -1572,12 +1570,12 @@ interface messages
public function requestEncryption($params);
/**
* Confirms creation of a secret chat.
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats.
*
* Parameters:
* * `InputEncryptedChat` **peer** - Secret chat ID
* * `bytes` **g_b** - `B = g ^ b mod p`, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)
* * `long` **key_fingerprint** - 64-bit fingerprint of the received key
* * `InputEncryptedChat` **peer** - You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
* * `bytes` **g_b** - You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
* * `long` **key_fingerprint** - You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
*
* @param array $params Parameters
*
@ -1586,10 +1584,10 @@ interface messages
public function acceptEncryption($params);
/**
* Cancels a request for creation and/or delete info on secret chat.
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats.
*
* Parameters:
* * `int` **chat_id** - Secret chat ID
* * `int` **chat_id** - You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats
*
* @param array $params Parameters
*
@ -1664,10 +1662,10 @@ interface messages
public function sendEncryptedService($params);
/**
* Confirms receipt of messages in a secret chat by client, cancels push notifications.
* You cannot use this method directly.
*
* Parameters:
* * `int` **max_qts** - Maximum qts value available at the client
* * `int` **max_qts** - You cannot use this method directly
*
* @param array $params Parameters
*
@ -2809,20 +2807,20 @@ Use this method to respond to such pre-checkout queries.
interface updates
{
/**
* Returns a current state of updates.
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates.
*
* @return updates.State
*/
public function getState();
/**
* Get new [updates](https://core.telegram.org/api/updates).
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates.
*
* Parameters:
* * `int` **pts** - PTS, see [updates](https://core.telegram.org/api/updates).
* * `int` **pts_total_limit** - Optional: For fast updating: if provided and `pts + pts_total_limit < remote pts`, [updates.differenceTooLong](../constructors/updates.differenceTooLong.md) will be returned.<br>Simply tells the server to not return the difference if it is bigger than `pts_total_limit`<br>If the remote pts is too big (> ~4000000), this field will default to 1000000
* * `int` **date** - date, see [updates](https://core.telegram.org/api/updates).
* * `int` **qts** - QTS, see [updates](https://core.telegram.org/api/updates).
* * `int` **pts** - You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
* * `int` **pts_total_limit** - Optional: You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
* * `int` **date** - You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
* * `int` **qts** - You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
*
* @param array $params Parameters
*
@ -2831,14 +2829,14 @@ interface updates
public function getDifference($params);
/**
* Returns the difference between the current state of updates of a certain channel and transmitted.
* You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates.
*
* Parameters:
* * `boolean` **force** - Optional: Set to true to skip some possibly unneeded updates and reduce server-side load
* * `InputChannel` **channel** - The channel
* * `ChannelMessagesFilter` **filter** - Messsage filter
* * `int` **pts** - Persistent timestamp (see [updates](https://core.telegram.org/api/updates))
* * `int` **limit** - How many updates to fetch, max `100000`<br>Ordinary (non-bot) users are supposed to pass `10-100`
* * `boolean` **force** - Optional: You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
* * `InputChannel` **channel** - You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
* * `ChannelMessagesFilter` **filter** - You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
* * `int` **pts** - You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
* * `int` **limit** - You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates
*
* @param array $params Parameters
*
@ -2904,12 +2902,12 @@ interface photos
interface upload
{
/**
* Saves a part of file for futher sending to one of the methods.
* You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info.
*
* Parameters:
* * `long` **file_id** - Random file identifier created by the client
* * `int` **file_part** - Numerical order of a part
* * `bytes` **bytes** - Binary data, contend of a part
* * `long` **file_id** - You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info
* * `int` **file_part** - You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info
* * `bytes` **bytes** - You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info
*
* @param array $params Parameters
*
@ -2918,13 +2916,13 @@ interface upload
public function saveFilePart($params);
/**
* Returns content of a whole file or its part.
* You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info.
*
* Parameters:
* * `boolean` **precise** - Optional: Disable some checks on limit and offset values, useful for example to stream videos by keyframes
* * `InputFileLocation` **location** - File location
* * `int` **offset** - Number of bytes to be skipped
* * `int` **limit** - Number of bytes to be returned
* * `boolean` **precise** - Optional: You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info
* * `InputFileLocation` **location** - You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info
* * `int` **offset** - You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info
* * `int` **limit** - You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info
*
* @param array $params Parameters
*
@ -2933,13 +2931,13 @@ interface upload
public function getFile($params);
/**
* Saves a part of a large file (over 10Mb in size) to be later passed to one of the methods.
* You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info.
*
* Parameters:
* * `long` **file_id** - Random file id, created by the client
* * `int` **file_part** - Part sequence number
* * `int` **file_total_parts** - Total number of parts
* * `bytes` **bytes** - Binary data, part contents
* * `long` **file_id** - You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info
* * `int` **file_part** - You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info
* * `int` **file_total_parts** - You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info
* * `bytes` **bytes** - You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info
*
* @param array $params Parameters
*
@ -2962,12 +2960,12 @@ interface upload
public function getWebFile($params);
/**
* Download a [CDN](https://core.telegram.org/cdn) file.
* You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info.
*
* Parameters:
* * `bytes` **file_token** - File token
* * `int` **offset** - Offset of chunk to download
* * `int` **limit** - Length of chunk to download
* * `bytes` **file_token** - You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info
* * `int` **offset** - You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info
* * `int` **limit** - You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info
*
* @param array $params Parameters
*
@ -2976,11 +2974,11 @@ interface upload
public function getCdnFile($params);
/**
* Request a reupload of a certain file to a [CDN DC](https://core.telegram.org/cdn).
* You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info.
*
* Parameters:
* * `bytes` **file_token** - File token
* * `bytes` **request_token** - Request token
* * `bytes` **file_token** - You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info
* * `bytes` **request_token** - You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info
*
* @param array $params Parameters
*
@ -2989,11 +2987,11 @@ interface upload
public function reuploadCdnFile($params);
/**
* Get SHA256 hashes for verifying downloaded [CDN](https://core.telegram.org/cdn) files.
* You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info.
*
* Parameters:
* * `bytes` **file_token** - File
* * `int` **offset** - Offset from which to start getting hashes
* * `bytes` **file_token** - You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info
* * `int` **offset** - You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info
*
* @param array $params Parameters
*
@ -3002,11 +3000,11 @@ interface upload
public function getCdnFileHashes($params);
/**
* Get SHA256 hashes for verifying downloaded files.
* You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info.
*
* Parameters:
* * `InputFileLocation` **location** - File
* * `int` **offset** - Offset from which to get file hashes
* * `InputFileLocation` **location** - You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info
* * `int` **offset** - You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info
*
* @param array $params Parameters
*
@ -3314,10 +3312,10 @@ interface channels
public function getChannels($params);
/**
* Get full info about a channel.
* You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info).
*
* Parameters:
* * `InputChannel` **channel** - The channel to get info about
* * `InputChannel` **channel** - You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info)
*
* @param array $params Parameters
*
@ -3828,13 +3826,13 @@ interface phone
public function getCallConfig();
/**
* Start a telegram phone call.
* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls.
*
* Parameters:
* * `boolean` **video** - Optional: Whether to start a video call
* * `InputUser` **user_id** - Destination of the phone call
* * `bytes` **g_a_hash** - [Parameter for E2E encryption key exchange »](https://core.telegram.org/api/end-to-end/voice-calls)
* * `PhoneCallProtocol` **protocol** - Phone call settings
* * `boolean` **video** - Optional: You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
* * `InputUser` **user_id** - You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
* * `bytes` **g_a_hash** - You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
* * `PhoneCallProtocol` **protocol** - You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
*
* @param array $params Parameters
*
@ -3843,12 +3841,12 @@ interface phone
public function requestCall($params);
/**
* Accept incoming call.
* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls.
*
* Parameters:
* * `InputPhoneCall` **peer** - The call to accept
* * `bytes` **g_b** - [Parameter for E2E encryption key exchange »](https://core.telegram.org/api/end-to-end/voice-calls)
* * `PhoneCallProtocol` **protocol** - Phone call settings
* * `InputPhoneCall` **peer** - You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
* * `bytes` **g_b** - You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
* * `PhoneCallProtocol` **protocol** - You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
*
* @param array $params Parameters
*
@ -3857,13 +3855,13 @@ interface phone
public function acceptCall($params);
/**
* [Complete phone call E2E encryption key exchange »](https://core.telegram.org/api/end-to-end/voice-calls).
* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls.
*
* Parameters:
* * `InputPhoneCall` **peer** - The phone call
* * `bytes` **g_a** - [Parameter for E2E encryption key exchange »](https://core.telegram.org/api/end-to-end/voice-calls)
* * `long` **key_fingerprint** - Key fingerprint
* * `PhoneCallProtocol` **protocol** - Phone call settings
* * `InputPhoneCall` **peer** - You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
* * `bytes` **g_a** - You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
* * `long` **key_fingerprint** - You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
* * `PhoneCallProtocol` **protocol** - You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
*
* @param array $params Parameters
*
@ -3884,14 +3882,14 @@ interface phone
public function receivedCall($params);
/**
* Refuse or end running call.
* You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls.
*
* Parameters:
* * `boolean` **video** - Optional: Whether this is a video call
* * `InputPhoneCall` **peer** - The phone call
* * `int` **duration** - Call duration
* * `PhoneCallDiscardReason` **reason** - Why was the call discarded
* * `long` **connection_id** - Preferred libtgvoip relay ID
* * `boolean` **video** - Optional: You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
* * `InputPhoneCall` **peer** - You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
* * `int` **duration** - You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
* * `PhoneCallDiscardReason` **reason** - You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
* * `long` **connection_id** - You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls
*
* @param array $params Parameters
*

View File

@ -12,7 +12,7 @@
* @author Daniil Gentili <daniil@daniil.it>
* @copyright 2016-2019 Daniil Gentili <daniil@daniil.it>
* @license https://opensource.org/licenses/AGPL-3.0 AGPLv3
* @link https://docs.madelineproto.xyz MadelineProto documentation
* @link https://docs.madelineproto.xyz MadelineProto documentation
*/
namespace danog\MadelineProto;
@ -355,46 +355,44 @@ class Lang
'method_invokeWithoutUpdates_param_query_type_!X' => 'The query',
'method_auth.checkPhone' => 'Check if this phone number is registered on telegram',
'method_auth.checkPhone_param_phone_number_type_string' => 'The phone number to check',
'method_auth.sendCode' => 'Send the verification code for login',
'method_auth.sendCode_param_allow_flashcall_type_true' => 'Use phoneLogin instead',
'method_auth.sendCode_param_phone_number_type_string' => 'Phone number in international format',
'method_auth.sendCode_param_current_number_type_Bool' => 'Use phoneLogin instead',
'method_auth.sendCode_param_api_id_type_int' => 'Application identifier (see [App configuration](https://core.telegram.org/myapp))',
'method_auth.sendCode_param_api_hash_type_string' => 'Application secret hash (see [App configuration](https://core.telegram.org/myapp))',
'method_auth.signUp' => 'Registers a validated phone number in the system.',
'method_auth.signUp_param_phone_number_type_string' => 'Phone number in the international format',
'method_auth.signUp_param_phone_code_hash_type_string' => 'SMS-message ID',
'method_auth.sendCode' => 'You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.sendCode_param_allow_flashcall_type_true' => 'You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.sendCode_param_phone_number_type_string' => 'You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.sendCode_param_current_number_type_Bool' => 'You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.sendCode_param_api_id_type_int' => 'You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.sendCode_param_api_hash_type_string' => 'You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.signUp' => 'You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.signUp_param_phone_number_type_string' => 'You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.signUp_param_phone_code_hash_type_string' => 'You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.signUp_param_phone_code_type_string' => 'You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.signUp_param_first_name_type_string' => 'New user first name',
'method_auth.signUp_param_last_name_type_string' => 'New user last name',
'method_auth.signIn' => 'Signs in a user with a validated phone number.',
'method_auth.signIn_param_phone_number_type_string' => 'Phone number in the international format',
'method_auth.signIn_param_phone_code_hash_type_string' => 'SMS-message ID, obtained from [auth.sendCode](../methods/auth.sendCode.md)',
'method_auth.signIn_param_phone_code_type_string' => 'Valid numerical code from the SMS-message',
'method_auth.logOut' => 'Logs out the user.',
'method_auth.signUp_param_first_name_type_string' => 'You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.signUp_param_last_name_type_string' => 'You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.signIn' => 'You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.signIn_param_phone_number_type_string' => 'You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.signIn_param_phone_code_hash_type_string' => 'You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.signIn_param_phone_code_type_string' => 'You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.logOut' => 'You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.resetAuthorizations' => 'Terminates all user\'s authorized sessions except for the current one.
After calling this method it is necessary to reregister the current device using the method [account.registerDevice](../methods/account.registerDevice.md)',
'method_auth.sendInvites' => 'Invite friends to telegram!',
'method_auth.sendInvites_param_phone_numbers_type_Vector t' => 'Phone numbers to invite',
'method_auth.sendInvites_param_message_type_string' => 'The message to send',
'method_auth.exportAuthorization' => 'Returns data for copying authorization to another data-centre.',
'method_auth.exportAuthorization_param_dc_id_type_int' => 'Number of a target data-centre',
'method_auth.importAuthorization' => 'Logs in a user using a key transmitted from his native data-centre.',
'method_auth.importAuthorization_param_id_type_int' => 'User ID',
'method_auth.importAuthorization_param_bytes_type_bytes' => 'Authorization key',
'method_auth.bindTempAuthKey' => 'Binds a temporary authorization key `temp_auth_key_id` to the permanent authorization key `perm_auth_key_id`. Each permanent key may only be bound to one temporary key at a time, binding a new temporary key overwrites the previous one.
For more information, see [Perfect Forward Secrecy](https://core.telegram.org/api/pfs).',
'method_auth.bindTempAuthKey_param_perm_auth_key_id_type_long' => 'Permanent auth\\_key\\_id to bind to',
'method_auth.bindTempAuthKey_param_nonce_type_long' => 'Random long from [Binding message contents](#binding-message-contents)',
'method_auth.bindTempAuthKey_param_expires_at_type_int' => 'Unix timestamp to invalidate temporary key, see [Binding message contents](#binding-message-contents)',
'method_auth.bindTempAuthKey_param_encrypted_message_type_bytes' => 'See [Generating encrypted\\_message](#generating-encrypted-message)',
'method_auth.importBotAuthorization' => 'Login as a bot',
'method_auth.importBotAuthorization_param_api_id_type_int' => 'Application identifier (see. [App configuration](https://core.telegram.org/myapp))',
'method_auth.importBotAuthorization_param_api_hash_type_string' => 'Application identifier hash (see. [App configuration](https://core.telegram.org/myapp))',
'method_auth.importBotAuthorization_param_bot_auth_token_type_string' => 'Bot token (see [bots](https://core.telegram.org/bots))',
'method_auth.checkPassword' => 'Try logging to an account protected by a [2FA password](https://core.telegram.org/api/srp).',
'method_auth.exportAuthorization' => 'You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html',
'method_auth.exportAuthorization_param_dc_id_type_int' => 'You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html',
'method_auth.importAuthorization' => 'You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html',
'method_auth.importAuthorization_param_id_type_int' => 'You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html',
'method_auth.importAuthorization_param_bytes_type_bytes' => 'You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html',
'method_auth.bindTempAuthKey' => 'You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info',
'method_auth.bindTempAuthKey_param_perm_auth_key_id_type_long' => 'You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info',
'method_auth.bindTempAuthKey_param_nonce_type_long' => 'You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info',
'method_auth.bindTempAuthKey_param_expires_at_type_int' => 'You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info',
'method_auth.bindTempAuthKey_param_encrypted_message_type_bytes' => 'You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info',
'method_auth.importBotAuthorization' => 'You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.importBotAuthorization_param_api_id_type_int' => 'You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.importBotAuthorization_param_api_hash_type_string' => 'You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.importBotAuthorization_param_bot_auth_token_type_string' => 'You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.checkPassword' => 'You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.checkPassword_param_password_hash_type_bytes' => 'You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.requestPasswordRecovery' => 'Request recovery code of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification).',
'method_auth.recoverPassword' => 'Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md).',
@ -433,9 +431,9 @@ For more information, see [Perfect Forward Secrecy](https://core.telegram.org/ap
'method_account.reportPeer_param_peer_type_InputPeer' => 'The peer to report',
'method_account.reportPeer_param_reason_type_ReportReason' => 'The reason why this peer is being reported',
'method_account.checkUsername' => 'Validates a username and checks availability.',
'method_account.checkUsername_param_username_type_string' => 'username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters.',
'method_account.checkUsername_param_username_type_string' => 'Username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters.',
'method_account.updateUsername' => 'Changes username for the current user.',
'method_account.updateUsername_param_username_type_string' => 'username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters.',
'method_account.updateUsername_param_username_type_string' => 'Username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters.',
'method_account.getPrivacy' => 'Get privacy settings of current account',
'method_account.getPrivacy_param_key_type_InputPrivacyKey' => 'Peer category whose privacy settings should be fetched',
'method_account.setPrivacy' => 'Change privacy settings of current account',
@ -460,11 +458,11 @@ For more information, see [Perfect Forward Secrecy](https://core.telegram.org/ap
'method_account.resetAuthorization' => 'Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash',
'method_account.resetAuthorization_param_hash_type_long' => 'Session hash',
'method_account.getPassword' => 'Obtain configuration for two-factor authorization with password',
'method_account.getPasswordSettings' => 'Get private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on)',
'method_account.getPasswordSettings_param_current_password_hash_type_bytes' => 'Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()[\'current_salt\']; $current_password_hash = hash(\'sha256\', $current_salt.$password.$current_salt, true);`',
'method_account.updatePasswordSettings' => 'Set a new 2FA password',
'method_account.updatePasswordSettings_param_current_password_hash_type_bytes' => 'Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()[\'current_salt\']; $current_password_hash = hash(\'sha256\', $current_salt.$password.$current_salt, true);`',
'method_account.updatePasswordSettings_param_new_settings_type_account.PasswordInputSettings' => 'The new password (see [SRP](https://core.telegram.org/api/srp))',
'method_account.getPasswordSettings' => 'You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info)',
'method_account.getPasswordSettings_param_current_password_hash_type_bytes' => 'You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info)',
'method_account.updatePasswordSettings' => 'You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info)',
'method_account.updatePasswordSettings_param_current_password_hash_type_bytes' => 'You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info)',
'method_account.updatePasswordSettings_param_new_settings_type_account.PasswordInputSettings' => 'You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info)',
'method_account.sendConfirmPhoneCode' => 'Send confirmation code to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion)',
'method_account.sendConfirmPhoneCode_param_allow_flashcall_type_true' => 'Can telegram call you instead of sending an SMS?',
'method_account.sendConfirmPhoneCode_param_hash_type_string' => 'The hash from the service notification, for more info [click here »](https://core.telegram.org/api/account-deletion)',
@ -481,8 +479,8 @@ For more information, see [Perfect Forward Secrecy](https://core.telegram.org/ap
'method_account.resetWebAuthorizations' => 'Reset all active web [telegram login](https://core.telegram.org/widgets/login) sessions',
'method_users.getUsers' => 'Returns basic user info according to their identifiers.',
'method_users.getUsers_param_id_type_Vector t' => 'The ids of the users',
'method_users.getFullUser' => 'Returns extended user info by ID.',
'method_users.getFullUser_param_id_type_InputUser' => 'User ID',
'method_users.getFullUser' => 'You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info)',
'method_users.getFullUser_param_id_type_InputUser' => 'You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info)',
'method_contacts.getStatuses' => 'Returns the list of contact statuses.',
'method_contacts.getContacts' => 'Returns the current user\'s contact list.',
'method_contacts.getContacts_param_hash_type_int' => 'If there already is a full contact list on the client, a [hash](https://core.telegram.org/api/offsets#hash-generation) of a the list of contact IDs in ascending order may be passed in this parameter. If the contact set was not changed, [(contacts.contactsNotModified)](../constructors/contacts.contactsNotModified.md) will be returned.',
@ -505,8 +503,8 @@ For more information, see [Perfect Forward Secrecy](https://core.telegram.org/ap
'method_contacts.search' => 'Returns users found by username substring.',
'method_contacts.search_param_q_type_string' => 'Target substring',
'method_contacts.search_param_limit_type_int' => 'Maximum number of users to be returned',
'method_contacts.resolveUsername' => 'Resolve a @username to get peer info',
'method_contacts.resolveUsername_param_username_type_string' => '@username to resolve',
'method_contacts.resolveUsername' => 'You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info)',
'method_contacts.resolveUsername_param_username_type_string' => 'You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info)',
'method_contacts.getTopPeers' => 'Get most used peers',
'method_contacts.getTopPeers_param_correspondents_type_true' => 'Users we\'ve chatted most frequently with',
'method_contacts.getTopPeers_param_bots_pm_type_true' => 'Most used bots',
@ -601,7 +599,7 @@ For more information, see [Perfect Forward Secrecy](https://core.telegram.org/ap
'method_messages.getPeerSettings_param_peer_type_InputPeer' => 'The peer',
'method_messages.getChats' => 'Returns chat basic info on their IDs.',
'method_messages.getChats_param_id_type_Vector t' => 'The MTProto IDs of chats to fetch info about',
'method_messages.getFullChat' => 'Returns full chat info according to its ID.',
'method_messages.getFullChat' => 'You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info)',
'method_messages.getFullChat_param_chat_id_type_InputPeer' => 'You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info)',
'method_messages.editChatTitle' => 'Chanages chat name and sends a service message on it.',
'method_messages.editChatTitle_param_chat_id_type_InputPeer' => 'The ID of the chat',
@ -619,18 +617,18 @@ For more information, see [Perfect Forward Secrecy](https://core.telegram.org/ap
'method_messages.createChat' => 'Creates a new chat.',
'method_messages.createChat_param_users_type_Vector t' => 'The users to add to the chat',
'method_messages.createChat_param_title_type_string' => 'Chat name',
'method_messages.getDhConfig' => 'Returns configuration parameters for Diffie-Hellman key generation. Can also return a random sequence of bytes of required length.',
'method_messages.getDhConfig_param_version_type_int' => 'Value of the **version** parameter from [messages.dhConfig](../constructors/messages.dhConfig.md), avialable at the client',
'method_messages.getDhConfig_param_random_length_type_int' => 'Length of the required random sequence',
'method_messages.requestEncryption' => 'Sends a request to start a secret chat to the user.',
'method_messages.requestEncryption_param_user_id_type_InputUser' => 'User ID',
'method_messages.requestEncryption_param_g_a_type_bytes' => '`A = g ^ a mod p`, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)',
'method_messages.acceptEncryption' => 'Confirms creation of a secret chat',
'method_messages.acceptEncryption_param_peer_type_InputEncryptedChat' => 'Secret chat ID',
'method_messages.acceptEncryption_param_g_b_type_bytes' => '`B = g ^ b mod p`, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)',
'method_messages.acceptEncryption_param_key_fingerprint_type_long' => '64-bit fingerprint of the received key',
'method_messages.discardEncryption' => 'Cancels a request for creation and/or delete info on secret chat.',
'method_messages.discardEncryption_param_chat_id_type_int' => 'Secret chat ID',
'method_messages.getDhConfig' => 'You cannot use this method directly, instead use $MadelineProto->getDhConfig();',
'method_messages.getDhConfig_param_version_type_int' => 'You cannot use this method directly, instead use $MadelineProto->getDhConfig();',
'method_messages.getDhConfig_param_random_length_type_int' => 'You cannot use this method directly, instead use $MadelineProto->getDhConfig();',
'method_messages.requestEncryption' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats',
'method_messages.requestEncryption_param_user_id_type_InputUser' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats',
'method_messages.requestEncryption_param_g_a_type_bytes' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats',
'method_messages.acceptEncryption' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats',
'method_messages.acceptEncryption_param_peer_type_InputEncryptedChat' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats',
'method_messages.acceptEncryption_param_g_b_type_bytes' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats',
'method_messages.acceptEncryption_param_key_fingerprint_type_long' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats',
'method_messages.discardEncryption' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats',
'method_messages.discardEncryption_param_chat_id_type_int' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats',
'method_messages.setEncryptedTyping' => 'Send typing event by the current user to a secret chat.',
'method_messages.setEncryptedTyping_param_peer_type_InputEncryptedChat' => 'Secret chat ID',
'method_messages.setEncryptedTyping_param_typing_type_Bool' => 'Typing.<br>**Possible values**:<br>[(boolTrue)](../constructors/boolTrue.md), if the user started typing and more than **5 seconds** have passed since the last request<br>[(boolFalse)](../constructors/boolFalse.md), if the user stopped typing',
@ -647,8 +645,8 @@ For more information, see [Perfect Forward Secrecy](https://core.telegram.org/ap
'method_messages.sendEncryptedService' => 'Sends a service message to a secret chat.',
'method_messages.sendEncryptedService_param_peer_type_InputEncryptedChat' => 'Secret chat ID',
'method_messages.sendEncryptedService_param_message_type_DecryptedMessage' => 'The service message',
'method_messages.receivedQueue' => 'Confirms receipt of messages in a secret chat by client, cancels push notifications.',
'method_messages.receivedQueue_param_max_qts_type_int' => 'Maximum qts value available at the client',
'method_messages.receivedQueue' => 'You cannot use this method directly',
'method_messages.receivedQueue_param_max_qts_type_int' => 'You cannot use this method directly',
'method_messages.reportEncryptedSpam' => 'Report a secret chat for spam',
'method_messages.reportEncryptedSpam_param_peer_type_InputEncryptedChat' => 'The secret chat to report',
'method_messages.readMessageContents' => 'Notifies the sender about the recipient having listened a voice message or watched a video.',
@ -874,18 +872,18 @@ Use this method to respond to such pre-checkout queries.
'method_messages.uploadEncryptedFile' => 'Upload encrypted file and associate it to a secret chat',
'method_messages.uploadEncryptedFile_param_peer_type_InputEncryptedChat' => 'The secret chat to associate the file to',
'method_messages.uploadEncryptedFile_param_file_type_InputEncryptedFile' => 'The file',
'method_updates.getState' => 'Returns a current state of updates.',
'method_updates.getDifference' => 'Get new [updates](https://core.telegram.org/api/updates).',
'method_updates.getDifference_param_pts_type_int' => 'PTS, see [updates](https://core.telegram.org/api/updates).',
'method_updates.getDifference_param_pts_total_limit_type_int' => 'For fast updating: if provided and `pts + pts_total_limit < remote pts`, [updates.differenceTooLong](../constructors/updates.differenceTooLong.md) will be returned.<br>Simply tells the server to not return the difference if it is bigger than `pts_total_limit`<br>If the remote pts is too big (> ~4000000), this field will default to 1000000',
'method_updates.getDifference_param_date_type_int' => 'date, see [updates](https://core.telegram.org/api/updates).',
'method_updates.getDifference_param_qts_type_int' => 'QTS, see [updates](https://core.telegram.org/api/updates).',
'method_updates.getChannelDifference' => 'Returns the difference between the current state of updates of a certain channel and transmitted.',
'method_updates.getChannelDifference_param_force_type_true' => 'Set to true to skip some possibly unneeded updates and reduce server-side load',
'method_updates.getChannelDifference_param_channel_type_InputChannel' => 'The channel',
'method_updates.getChannelDifference_param_filter_type_ChannelMessagesFilter' => 'Messsage filter',
'method_updates.getChannelDifference_param_pts_type_int' => 'Persistent timestamp (see [updates](https://core.telegram.org/api/updates))',
'method_updates.getChannelDifference_param_limit_type_int' => 'How many updates to fetch, max `100000`<br>Ordinary (non-bot) users are supposed to pass `10-100`',
'method_updates.getState' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates',
'method_updates.getDifference' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates',
'method_updates.getDifference_param_pts_type_int' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates',
'method_updates.getDifference_param_pts_total_limit_type_int' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates',
'method_updates.getDifference_param_date_type_int' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates',
'method_updates.getDifference_param_qts_type_int' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates',
'method_updates.getChannelDifference' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates',
'method_updates.getChannelDifference_param_force_type_true' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates',
'method_updates.getChannelDifference_param_channel_type_InputChannel' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates',
'method_updates.getChannelDifference_param_filter_type_ChannelMessagesFilter' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates',
'method_updates.getChannelDifference_param_pts_type_int' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates',
'method_updates.getChannelDifference_param_limit_type_int' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates',
'method_photos.updateProfilePhoto' => 'Installs a previously uploaded photo as a profile photo.',
'method_photos.updateProfilePhoto_param_id_type_InputPhoto' => 'Input photo',
'method_photos.uploadProfilePhoto' => 'Updates current user profile photo.',
@ -897,33 +895,33 @@ Use this method to respond to such pre-checkout queries.
'method_photos.getUserPhotos_param_offset_type_int' => 'Number of list elements to be skipped',
'method_photos.getUserPhotos_param_max_id_type_long' => 'If a positive value was transferred, the method will return only photos with IDs less than the set one',
'method_photos.getUserPhotos_param_limit_type_int' => 'Number of list elements to be returned',
'method_upload.saveFilePart' => 'Saves a part of file for futher sending to one of the methods.',
'method_upload.saveFilePart_param_file_id_type_long' => 'Random file identifier created by the client',
'method_upload.saveFilePart_param_file_part_type_int' => 'Numerical order of a part',
'method_upload.saveFilePart_param_bytes_type_bytes' => 'Binary data, contend of a part',
'method_upload.getFile' => 'Returns content of a whole file or its part.',
'method_upload.getFile_param_location_type_InputFileLocation' => 'File location',
'method_upload.getFile_param_offset_type_int' => 'Number of bytes to be skipped',
'method_upload.getFile_param_limit_type_int' => 'Number of bytes to be returned',
'method_upload.saveBigFilePart' => 'Saves a part of a large file (over 10Mb in size) to be later passed to one of the methods.',
'method_upload.saveBigFilePart_param_file_id_type_long' => 'Random file id, created by the client',
'method_upload.saveBigFilePart_param_file_part_type_int' => 'Part sequence number',
'method_upload.saveBigFilePart_param_file_total_parts_type_int' => 'Total number of parts',
'method_upload.saveBigFilePart_param_bytes_type_bytes' => 'Binary data, part contents',
'method_upload.saveFilePart' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.saveFilePart_param_file_id_type_long' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.saveFilePart_param_file_part_type_int' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.saveFilePart_param_bytes_type_bytes' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.getFile' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.getFile_param_location_type_InputFileLocation' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.getFile_param_offset_type_int' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.getFile_param_limit_type_int' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.saveBigFilePart' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.saveBigFilePart_param_file_id_type_long' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.saveBigFilePart_param_file_part_type_int' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.saveBigFilePart_param_file_total_parts_type_int' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.saveBigFilePart_param_bytes_type_bytes' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.getWebFile' => 'Returns content of an HTTP file or a part, by proxying the request through telegram.',
'method_upload.getWebFile_param_location_type_InputWebFileLocation' => 'The file to download',
'method_upload.getWebFile_param_offset_type_int' => 'Number of bytes to be skipped',
'method_upload.getWebFile_param_limit_type_int' => 'Number of bytes to be returned',
'method_upload.getCdnFile' => 'Download a [CDN](https://core.telegram.org/cdn) file.',
'method_upload.getCdnFile_param_file_token_type_bytes' => 'File token',
'method_upload.getCdnFile_param_offset_type_int' => 'Offset of chunk to download',
'method_upload.getCdnFile_param_limit_type_int' => 'Length of chunk to download',
'method_upload.reuploadCdnFile' => 'Request a reupload of a certain file to a [CDN DC](https://core.telegram.org/cdn).',
'method_upload.reuploadCdnFile_param_file_token_type_bytes' => 'File token',
'method_upload.reuploadCdnFile_param_request_token_type_bytes' => 'Request token',
'method_upload.getCdnFileHashes' => 'Get SHA256 hashes for verifying downloaded [CDN](https://core.telegram.org/cdn) files',
'method_upload.getCdnFileHashes_param_file_token_type_bytes' => 'File',
'method_upload.getCdnFileHashes_param_offset_type_int' => 'Offset from which to start getting hashes',
'method_upload.getCdnFile' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.getCdnFile_param_file_token_type_bytes' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.getCdnFile_param_offset_type_int' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.getCdnFile_param_limit_type_int' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.reuploadCdnFile' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.reuploadCdnFile_param_file_token_type_bytes' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.reuploadCdnFile_param_request_token_type_bytes' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.getCdnFileHashes' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.getCdnFileHashes_param_file_token_type_bytes' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.getCdnFileHashes_param_offset_type_int' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_help.getConfig' => 'Returns current configuration, icluding data center configuration.',
'method_help.getNearestDc' => 'Returns info on data centre nearest to the user.',
'method_help.getAppUpdate' => 'Returns information on update availability for the current application.',
@ -967,8 +965,8 @@ Use this method to respond to such pre-checkout queries.
'method_channels.getParticipant_param_user_id_type_InputUser' => 'ID of participant to get info about',
'method_channels.getChannels' => 'Get info about [channels/supergroups](https://core.telegram.org/api/channel)',
'method_channels.getChannels_param_id_type_Vector t' => 'The channel/supergroup MTProto IDs',
'method_channels.getFullChannel' => 'Get full info about a channel',
'method_channels.getFullChannel_param_channel_type_InputChannel' => 'The channel to get info about',
'method_channels.getFullChannel' => 'You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info)',
'method_channels.getFullChannel_param_channel_type_InputChannel' => 'You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info)',
'method_channels.createChannel' => 'Create a [supergroup/channel](https://core.telegram.org/api/channel).',
'method_channels.createChannel_param_broadcast_type_true' => 'Whether to create a [channel](https://core.telegram.org/api/channel)',
'method_channels.createChannel_param_megagroup_type_true' => 'Whether to create a [supergroup](https://core.telegram.org/api/channel)',
@ -1081,26 +1079,26 @@ Use this method to respond to such pre-checkout queries.
'method_stickers.addStickerToSet_param_stickerset_type_InputStickerSet' => 'The stickerset',
'method_stickers.addStickerToSet_param_sticker_type_InputStickerSetItem' => 'The sticker',
'method_phone.getCallConfig' => 'Get phone call configuration to be passed to libtgvoip\'s shared config',
'method_phone.requestCall' => 'Start a telegram phone call',
'method_phone.requestCall_param_user_id_type_InputUser' => 'Destination of the phone call',
'method_phone.requestCall_param_g_a_hash_type_bytes' => '[Parameter for E2E encryption key exchange »](https://core.telegram.org/api/end-to-end/voice-calls)',
'method_phone.requestCall_param_protocol_type_PhoneCallProtocol' => 'Phone call settings',
'method_phone.acceptCall' => 'Accept incoming call',
'method_phone.acceptCall_param_peer_type_InputPhoneCall' => 'The call to accept',
'method_phone.acceptCall_param_g_b_type_bytes' => '[Parameter for E2E encryption key exchange »](https://core.telegram.org/api/end-to-end/voice-calls)',
'method_phone.acceptCall_param_protocol_type_PhoneCallProtocol' => 'Phone call settings',
'method_phone.confirmCall' => '[Complete phone call E2E encryption key exchange »](https://core.telegram.org/api/end-to-end/voice-calls)',
'method_phone.confirmCall_param_peer_type_InputPhoneCall' => 'The phone call',
'method_phone.confirmCall_param_g_a_type_bytes' => '[Parameter for E2E encryption key exchange »](https://core.telegram.org/api/end-to-end/voice-calls)',
'method_phone.confirmCall_param_key_fingerprint_type_long' => 'Key fingerprint',
'method_phone.confirmCall_param_protocol_type_PhoneCallProtocol' => 'Phone call settings',
'method_phone.requestCall' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.requestCall_param_user_id_type_InputUser' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.requestCall_param_g_a_hash_type_bytes' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.requestCall_param_protocol_type_PhoneCallProtocol' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.acceptCall' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.acceptCall_param_peer_type_InputPhoneCall' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.acceptCall_param_g_b_type_bytes' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.acceptCall_param_protocol_type_PhoneCallProtocol' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.confirmCall' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.confirmCall_param_peer_type_InputPhoneCall' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.confirmCall_param_g_a_type_bytes' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.confirmCall_param_key_fingerprint_type_long' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.confirmCall_param_protocol_type_PhoneCallProtocol' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.receivedCall' => 'Optional: notify the server that the user is currently busy in a call: this will automatically refuse all incoming phone calls until the current phone call is ended.',
'method_phone.receivedCall_param_peer_type_InputPhoneCall' => 'The phone call we\'re currently in',
'method_phone.discardCall' => 'Refuse or end running call',
'method_phone.discardCall_param_peer_type_InputPhoneCall' => 'The phone call',
'method_phone.discardCall_param_duration_type_int' => 'Call duration',
'method_phone.discardCall_param_reason_type_PhoneCallDiscardReason' => 'Why was the call discarded',
'method_phone.discardCall_param_connection_id_type_long' => 'Preferred libtgvoip relay ID',
'method_phone.discardCall' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.discardCall_param_peer_type_InputPhoneCall' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.discardCall_param_duration_type_int' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.discardCall_param_reason_type_PhoneCallDiscardReason' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.discardCall_param_connection_id_type_long' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.setCallRating' => 'Rate a call',
'method_phone.setCallRating_param_peer_type_InputPhoneCall' => 'The call to rate',
'method_phone.setCallRating_param_rating_type_int' => 'Rating in `1-5` stars',
@ -1855,8 +1853,8 @@ Use this method to respond to such pre-checkout queries.
'object_auth.authorization_param_tmp_sessions_type_int' => 'Temporary [passport](https://core.telegram.org/passport) sessions',
'object_auth.authorization_param_user_type_User' => 'Info on authorized user',
'object_auth.exportedAuthorization' => 'Data for copying of authorization between data centres.',
'object_auth.exportedAuthorization_param_id_type_int' => 'current user identifier',
'object_auth.exportedAuthorization_param_bytes_type_bytes' => 'authorizes key',
'object_auth.exportedAuthorization_param_id_type_int' => 'Current user identifier',
'object_auth.exportedAuthorization_param_bytes_type_bytes' => 'Authorizes key',
'object_inputNotifyPeer' => 'Notifications generated by a certain user or group.',
'object_inputNotifyPeer_param_peer_type_InputPeer' => 'User or group',
'object_inputNotifyUsers' => 'Notifications generated by all users.',
@ -2469,7 +2467,7 @@ The app must show the message to the user upon receiving this update. In case th
'object_help.support_param_phone_number_type_string' => 'Phone number',
'object_help.support_param_user_type_User' => 'User',
'object_notifyPeer' => 'Notifications generated by a certain user or group.',
'object_notifyPeer_param_peer_type_Peer' => 'user or group',
'object_notifyPeer_param_peer_type_Peer' => 'User or group',
'object_notifyUsers' => 'Notifications generated by all users.',
'object_notifyChats' => 'Notifications generated by all groups.',
'object_notifyAll' => 'Notify all',
@ -3071,8 +3069,8 @@ The `n` position indicates where the mask should be placed:
'object_game_param_photo_type_Photo' => 'Game preview',
'object_game_param_document_type_Document' => 'Optional attached document',
'object_inputGameID' => 'Indicates an already sent game',
'object_inputGameID_param_id_type_long' => 'game ID from [Game](../types/Game.md) constructor',
'object_inputGameID_param_access_hash_type_long' => 'access hash from [Game](../types/Game.md) constructor',
'object_inputGameID_param_id_type_long' => 'Game ID from [Game](../types/Game.md) constructor',
'object_inputGameID_param_access_hash_type_long' => 'Access hash from [Game](../types/Game.md) constructor',
'object_inputGameShortName' => 'Game by short name',
'object_inputGameShortName_param_bot_id_type_InputUser' => 'The bot that provides the game',
'object_inputGameShortName_param_short_name_type_string' => 'The game\'s short name',
@ -3478,13 +3476,13 @@ The `n` position indicates where the mask should be placed:
'object_recentMeUrlUser_param_url_type_string' => 'URL',
'object_recentMeUrlUser_param_user_id_type_int' => 'User ID',
'object_recentMeUrlChat' => 'Recent t.me link to a chat',
'object_recentMeUrlChat_param_url_type_string' => 't.me URL',
'object_recentMeUrlChat_param_url_type_string' => 'T.me URL',
'object_recentMeUrlChat_param_chat_id_type_int' => 'Chat ID',
'object_recentMeUrlChatInvite' => 'Recent t.me invite link to a chat',
'object_recentMeUrlChatInvite_param_url_type_string' => 't.me URL',
'object_recentMeUrlChatInvite_param_url_type_string' => 'T.me URL',
'object_recentMeUrlChatInvite_param_chat_invite_type_ChatInvite' => 'Chat invitation',
'object_recentMeUrlStickerSet' => 'Recent t.me stickerset installation URL',
'object_recentMeUrlStickerSet_param_url_type_string' => 't.me URL',
'object_recentMeUrlStickerSet_param_url_type_string' => 'T.me URL',
'object_recentMeUrlStickerSet_param_set_type_StickerSetCovered' => 'Stickerset',
'object_help.recentMeUrls' => 'Recent t.me URLs',
'object_help.recentMeUrls_param_urls_type_Vector t' => 'URLs',
@ -3589,7 +3587,7 @@ Upon receiving such message the client shall start deleting of all messages of a
'object_decryptedMessageActionTyping_param_action_type_SendMessageAction' => 'Type of action',
'object_decryptedMessageActionRequestKey' => 'Request rekeying, see [rekeying process](https://core.telegram.org/api/end-to-end/pfs)',
'object_decryptedMessageActionRequestKey_param_exchange_id_type_long' => 'Exchange ID',
'object_decryptedMessageActionRequestKey_param_g_a_type_bytes' => 'g\\_a, see [rekeying process](https://core.telegram.org/api/end-to-end/pfs)',
'object_decryptedMessageActionRequestKey_param_g_a_type_bytes' => 'G\\_a, see [rekeying process](https://core.telegram.org/api/end-to-end/pfs)',
'object_decryptedMessageActionAcceptKey' => 'Accept new key',
'object_decryptedMessageActionAcceptKey_param_exchange_id_type_long' => 'Exchange ID',
'object_decryptedMessageActionAcceptKey_param_g_b_type_bytes' => 'B parameter, see [rekeying process](https://core.telegram.org/api/end-to-end/pfs)',
@ -3602,7 +3600,7 @@ Upon receiving such message the client shall start deleting of all messages of a
'object_decryptedMessageActionNoop' => 'NOOP action',
'object_decryptedMessageMediaExternalDocument' => 'Non-e2e documented forwarded from non-secret chat',
'object_decryptedMessageMediaExternalDocument_param_id_type_long' => 'Document ID',
'object_decryptedMessageMediaExternalDocument_param_access_hash_type_long' => 'access hash',
'object_decryptedMessageMediaExternalDocument_param_access_hash_type_long' => 'Access hash',
'object_decryptedMessageMediaExternalDocument_param_date_type_int' => 'Date',
'object_decryptedMessageMediaExternalDocument_param_mime_type_type_string' => 'Mime type',
'object_decryptedMessageMediaExternalDocument_param_size_type_int' => 'Size',
@ -4180,9 +4178,9 @@ Use this if the data submitted by the user doesn\'t satisfy the standards your s
'method_messages.searchStickerSets_param_exclude_featured_type_true' => 'Exclude featured stickersets from results',
'method_messages.searchStickerSets_param_q_type_string' => 'Query string',
'method_messages.searchStickerSets_param_hash_type_int' => '[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)',
'method_upload.getFileHashes' => 'Get SHA256 hashes for verifying downloaded files',
'method_upload.getFileHashes_param_location_type_InputFileLocation' => 'File',
'method_upload.getFileHashes_param_offset_type_int' => 'Offset from which to get file hashes',
'method_upload.getFileHashes' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.getFileHashes_param_location_type_InputFileLocation' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.getFileHashes_param_offset_type_int' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_help.getProxyData' => 'Get promotion info of the currently-used MTProxy',
'method_help.getTermsOfServiceUpdate' => 'Look for updates of telegram\'s terms of service',
'method_help.acceptTermsOfService' => 'Accept the new terms of service',
@ -4475,9 +4473,9 @@ Use this if the data submitted by the user doesn\'t satisfy the standards your s
'method_messages.getRecentLocations_param_hash_type_Vector t' => 'IDs of locations you already fetched',
'method_messages.searchStickerSets_param_hash_type_Vector t' => 'The IDs of stickersets you already fetched',
'method_channels.getParticipants_param_hash_type_Vector t' => 'IDs of previously fetched participants',
'method_auth.checkPassword_param_password_type_InputCheckPasswordSRP' => 'The account\'s password (see [SRP](https://core.telegram.org/api/srp))',
'method_account.getPasswordSettings_param_password_type_InputCheckPasswordSRP' => 'The password (see [SRP](https://core.telegram.org/api/srp))',
'method_account.updatePasswordSettings_param_password_type_InputCheckPasswordSRP' => 'The old password (see [SRP](https://core.telegram.org/api/srp))',
'method_auth.checkPassword_param_password_type_InputCheckPasswordSRP' => 'You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)',
'method_account.getPasswordSettings_param_password_type_InputCheckPasswordSRP' => 'You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info)',
'method_account.updatePasswordSettings_param_password_type_InputCheckPasswordSRP' => 'You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info)',
'method_account.getTmpPassword_param_password_type_InputCheckPasswordSRP' => 'SRP password parameters',
'method_account.confirmPasswordEmail' => 'Verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp).',
'method_account.confirmPasswordEmail_param_code_type_string' => 'The phone code that was received after [setting a recovery email](https://core.telegram.org/api/srp#email-verification)',
@ -4689,7 +4687,7 @@ Use this if the data submitted by the user doesn\'t satisfy the standards your s
'object_jsonObjectValue' => 'JSON key: value pair',
'object_jsonObjectValue_param_key_type_string' => 'Key',
'object_jsonObjectValue_param_value_type_JSONValue' => 'Value',
'object_jsonNull' => 'null JSON value',
'object_jsonNull' => 'Null JSON value',
'object_jsonBool' => 'JSON boolean value',
'object_jsonBool_param_value_type_Bool' => 'Value',
'object_jsonNumber' => 'JSON numeric value',
@ -4768,7 +4766,7 @@ Use this if the data submitted by the user doesn\'t satisfy the standards your s
'object_chatOnlines_param_onlines_type_int' => 'Number of online users',
'object_statsURL' => 'URL with chat statistics',
'object_statsURL_param_url_type_string' => 'Chat statistics',
'method_auth.sendCode_param_settings_type_CodeSettings' => 'Settings for the code type to send',
'method_auth.sendCode_param_settings_type_CodeSettings' => 'You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info)',
'method_account.getWallPapers_param_hash_type_Vector t' => 'IDs of previously fetched wallpapers',
'method_account.sendChangePhoneCode_param_settings_type_CodeSettings' => 'Phone code settings',
'method_account.sendConfirmPhoneCode_param_settings_type_CodeSettings' => 'Phone code settings',
@ -4950,8 +4948,8 @@ Example implementations: [telegram for android](https://github.com/DrKLO/Telegra
'method_channels.setDiscussionGroup' => 'Associate a group to a channel as [discussion group](https://telegram.org/blog/privacy-discussions-web-bots) for that channel',
'method_channels.setDiscussionGroup_param_broadcast_type_InputChannel' => 'Channel',
'method_channels.setDiscussionGroup_param_group_type_InputChannel' => 'Discussion group to associate to the channel',
'method_phone.requestCall_param_video_type_true' => 'Whether to start a video call',
'method_phone.discardCall_param_video_type_true' => 'Whether this is a video call',
'method_phone.requestCall_param_video_type_true' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.discardCall_param_video_type_true' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_folders.editPeerFolders' => 'Edit peers in folder',
'method_folders.editPeerFolders_param_folder_peers_type_Vector t' => 'New folder peers',
'method_folders.deleteFolder' => 'Delete a folder',
@ -5155,7 +5153,7 @@ Example implementations: [telegram for android](https://github.com/DrKLO/Telegra
'object_peerLocated_param_expires_type_int' => 'Validity period of current data',
'object_peerLocated_param_distance_type_int' => 'Distance from the peer in meters',
'method_account.registerDevice_param_no_muted_type_true' => 'Avoid receiving (silent and invisible background) notifications. Useful to save battery.',
'method_upload.getFile_param_precise_type_true' => 'Disable some checks on limit and offset values, useful for example to stream videos by keyframes',
'method_upload.getFile_param_precise_type_true' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_channels.editAdmin_param_rank_type_string' => 'Indicates the role (rank) of the admin in the group: just an arbitrary string',
'method_channels.toggleSlowMode' => 'Toggle supergroup slow mode: if enabled, users will only be able to send one message every `seconds` seconds',
'method_channels.toggleSlowMode_param_channel_type_InputChannel' => 'The [supergroup](https://core.telegram.org/api/channel)',
@ -5553,7 +5551,7 @@ Contains the reason why access to a certain object must be restricted. Clients a
'method_account.getWallPapers_param_hash_type_int' => '[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)',
'method_messages.readMessageContents_param_id_type_Vector int' => 'Message ID list',
'method_messages.getScheduledHistory_param_hash_type_int' => '[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)',
'method_phone.requestCall_param_random_id_type_int' => 'Random ID to avoid resending the same object',
'method_phone.requestCall_param_random_id_type_int' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_messages.setInlineBotResults_param_results_type_Vector InputBotInlineResult' => 'Vector of results for the inline query',
'method_messages.sendMedia_param_random_id_type_long' => 'Random ID to avoid resending the same message',
'method_messages.sendMedia_param_entities_type_Vector MessageEntity' => 'Message [entities](https://core.telegram.org/api/entities) for styled text',
@ -5574,7 +5572,7 @@ Contains the reason why access to a certain object must be restricted. Clients a
'method_messages.reorderStickerSets_param_order_type_Vector long' => 'New stickerset order by stickerset IDs',
'method_messages.sendInlineBotResult_param_random_id_type_long' => 'Random ID to avoid resending the same query',
'method_messages.getAllChats_param_except_ids_type_Vector int' => 'Except these chats/channels/supergroups',
'method_messages.requestEncryption_param_random_id_type_int' => 'Unique client request ID required to prevent resending. This also doubles as the chat ID.',
'method_messages.requestEncryption_param_random_id_type_int' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats',
'method_channels.reportSpam_param_id_type_Vector int' => 'IDs of spam messages',
'method_messages.createChat_param_users_type_Vector InputUser' => 'List of user IDs to be invited',
'method_account.acceptAuthorization_param_value_hashes_type_Vector SecureValueHash' => 'Types of values sent and their hashes',
@ -5591,7 +5589,7 @@ Contains the reason why access to a certain object must be restricted. Clients a
'method_messages.sendReaction_param_reaction_type_string' => 'Reaction (a UTF8 emoji)',
'method_channels.deleteMessages_param_id_type_Vector int' => 'IDs of messages to delete',
'method_messages.deleteMessages_param_id_type_Vector int' => 'Message ID list',
'method_messages.getFullChat_param_chat_id_type_int' => 'Chat ID',
'method_messages.getFullChat_param_chat_id_type_int' => 'You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info)',
'method_account.getSecureValue_param_types_type_Vector SecureValueType' => 'Requested value types',
'method_messages.getMessagesViews_param_id_type_Vector int' => 'ID of message',
'method_account.getThemes_param_hash_type_int' => '[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)',
@ -5823,46 +5821,44 @@ Contains the reason why access to a certain object must be restricted. Clients a
'method_invokeWithoutUpdates_param_query_type_!X' => 'The query',
'method_auth.checkPhone' => 'Check if this phone number is registered on telegram',
'method_auth.checkPhone_param_phone_number_type_string' => 'The phone number to check',
'method_auth.sendCode' => 'Send the verification code for login',
'method_auth.sendCode_param_allow_flashcall_type_true' => 'Use phoneLogin instead',
'method_auth.sendCode_param_phone_number_type_string' => 'Phone number in international format',
'method_auth.sendCode_param_current_number_type_Bool' => 'Use phoneLogin instead',
'method_auth.sendCode_param_api_id_type_int' => 'Application identifier (see [App configuration](https://core.telegram.org/myapp))',
'method_auth.sendCode_param_api_hash_type_string' => 'Application secret hash (see [App configuration](https://core.telegram.org/myapp))',
'method_auth.signUp' => 'Registers a validated phone number in the system.',
'method_auth.signUp_param_phone_number_type_string' => 'Phone number in the international format',
'method_auth.signUp_param_phone_code_hash_type_string' => 'SMS-message ID',
'method_auth.sendCode' => 'You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.sendCode_param_allow_flashcall_type_true' => 'You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.sendCode_param_phone_number_type_string' => 'You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.sendCode_param_current_number_type_Bool' => 'You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.sendCode_param_api_id_type_int' => 'You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.sendCode_param_api_hash_type_string' => 'You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.signUp' => 'You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.signUp_param_phone_number_type_string' => 'You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.signUp_param_phone_code_hash_type_string' => 'You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.signUp_param_phone_code_type_string' => 'You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.signUp_param_first_name_type_string' => 'New user first name',
'method_auth.signUp_param_last_name_type_string' => 'New user last name',
'method_auth.signIn' => 'Signs in a user with a validated phone number.',
'method_auth.signIn_param_phone_number_type_string' => 'Phone number in the international format',
'method_auth.signIn_param_phone_code_hash_type_string' => 'SMS-message ID, obtained from [auth.sendCode](../methods/auth.sendCode.md)',
'method_auth.signIn_param_phone_code_type_string' => 'Valid numerical code from the SMS-message',
'method_auth.logOut' => 'Logs out the user.',
'method_auth.signUp_param_first_name_type_string' => 'You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.signUp_param_last_name_type_string' => 'You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.signIn' => 'You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.signIn_param_phone_number_type_string' => 'You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.signIn_param_phone_code_hash_type_string' => 'You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.signIn_param_phone_code_type_string' => 'You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.logOut' => 'You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.resetAuthorizations' => 'Terminates all user\'s authorized sessions except for the current one.
After calling this method it is necessary to reregister the current device using the method [account.registerDevice](../methods/account.registerDevice.md)',
'method_auth.sendInvites' => 'Invite friends to telegram!',
'method_auth.sendInvites_param_phone_numbers_type_Vector t' => 'Phone numbers to invite',
'method_auth.sendInvites_param_message_type_string' => 'The message to send',
'method_auth.exportAuthorization' => 'Returns data for copying authorization to another data-centre.',
'method_auth.exportAuthorization_param_dc_id_type_int' => 'Number of a target data-centre',
'method_auth.importAuthorization' => 'Logs in a user using a key transmitted from his native data-centre.',
'method_auth.importAuthorization_param_id_type_int' => 'User ID',
'method_auth.importAuthorization_param_bytes_type_bytes' => 'Authorization key',
'method_auth.bindTempAuthKey' => 'Binds a temporary authorization key `temp_auth_key_id` to the permanent authorization key `perm_auth_key_id`. Each permanent key may only be bound to one temporary key at a time, binding a new temporary key overwrites the previous one.
For more information, see [Perfect Forward Secrecy](https://core.telegram.org/api/pfs).',
'method_auth.bindTempAuthKey_param_perm_auth_key_id_type_long' => 'Permanent auth\\_key\\_id to bind to',
'method_auth.bindTempAuthKey_param_nonce_type_long' => 'Random long from [Binding message contents](#binding-message-contents)',
'method_auth.bindTempAuthKey_param_expires_at_type_int' => 'Unix timestamp to invalidate temporary key, see [Binding message contents](#binding-message-contents)',
'method_auth.bindTempAuthKey_param_encrypted_message_type_bytes' => 'See [Generating encrypted\\_message](#generating-encrypted-message)',
'method_auth.importBotAuthorization' => 'Login as a bot',
'method_auth.importBotAuthorization_param_api_id_type_int' => 'Application identifier (see. [App configuration](https://core.telegram.org/myapp))',
'method_auth.importBotAuthorization_param_api_hash_type_string' => 'Application identifier hash (see. [App configuration](https://core.telegram.org/myapp))',
'method_auth.importBotAuthorization_param_bot_auth_token_type_string' => 'Bot token (see [bots](https://core.telegram.org/bots))',
'method_auth.checkPassword' => 'Try logging to an account protected by a [2FA password](https://core.telegram.org/api/srp).',
'method_auth.exportAuthorization' => 'You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html',
'method_auth.exportAuthorization_param_dc_id_type_int' => 'You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html',
'method_auth.importAuthorization' => 'You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html',
'method_auth.importAuthorization_param_id_type_int' => 'You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html',
'method_auth.importAuthorization_param_bytes_type_bytes' => 'You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html',
'method_auth.bindTempAuthKey' => 'You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info',
'method_auth.bindTempAuthKey_param_perm_auth_key_id_type_long' => 'You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info',
'method_auth.bindTempAuthKey_param_nonce_type_long' => 'You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info',
'method_auth.bindTempAuthKey_param_expires_at_type_int' => 'You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info',
'method_auth.bindTempAuthKey_param_encrypted_message_type_bytes' => 'You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info',
'method_auth.importBotAuthorization' => 'You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.importBotAuthorization_param_api_id_type_int' => 'You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.importBotAuthorization_param_api_hash_type_string' => 'You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.importBotAuthorization_param_bot_auth_token_type_string' => 'You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.checkPassword' => 'You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.checkPassword_param_password_hash_type_bytes' => 'You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)',
'method_auth.requestPasswordRecovery' => 'Request recovery code of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification).',
'method_auth.recoverPassword' => 'Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md).',
@ -5901,9 +5897,9 @@ For more information, see [Perfect Forward Secrecy](https://core.telegram.org/ap
'method_account.reportPeer_param_peer_type_InputPeer' => 'The peer to report',
'method_account.reportPeer_param_reason_type_ReportReason' => 'The reason why this peer is being reported',
'method_account.checkUsername' => 'Validates a username and checks availability.',
'method_account.checkUsername_param_username_type_string' => 'username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters.',
'method_account.checkUsername_param_username_type_string' => 'Username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters.',
'method_account.updateUsername' => 'Changes username for the current user.',
'method_account.updateUsername_param_username_type_string' => 'username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters.',
'method_account.updateUsername_param_username_type_string' => 'Username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters.',
'method_account.getPrivacy' => 'Get privacy settings of current account',
'method_account.getPrivacy_param_key_type_InputPrivacyKey' => 'Peer category whose privacy settings should be fetched',
'method_account.setPrivacy' => 'Change privacy settings of current account',
@ -5928,11 +5924,11 @@ For more information, see [Perfect Forward Secrecy](https://core.telegram.org/ap
'method_account.resetAuthorization' => 'Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash',
'method_account.resetAuthorization_param_hash_type_long' => 'Session hash',
'method_account.getPassword' => 'Obtain configuration for two-factor authorization with password',
'method_account.getPasswordSettings' => 'Get private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on)',
'method_account.getPasswordSettings_param_current_password_hash_type_bytes' => 'Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()[\'current_salt\']; $current_password_hash = hash(\'sha256\', $current_salt.$password.$current_salt, true);`',
'method_account.updatePasswordSettings' => 'Set a new 2FA password',
'method_account.updatePasswordSettings_param_current_password_hash_type_bytes' => 'Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()[\'current_salt\']; $current_password_hash = hash(\'sha256\', $current_salt.$password.$current_salt, true);`',
'method_account.updatePasswordSettings_param_new_settings_type_account.PasswordInputSettings' => 'The new password (see [SRP](https://core.telegram.org/api/srp))',
'method_account.getPasswordSettings' => 'You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info)',
'method_account.getPasswordSettings_param_current_password_hash_type_bytes' => 'You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info)',
'method_account.updatePasswordSettings' => 'You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info)',
'method_account.updatePasswordSettings_param_current_password_hash_type_bytes' => 'You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info)',
'method_account.updatePasswordSettings_param_new_settings_type_account.PasswordInputSettings' => 'You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info)',
'method_account.sendConfirmPhoneCode' => 'Send confirmation code to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion)',
'method_account.sendConfirmPhoneCode_param_allow_flashcall_type_true' => 'Can telegram call you instead of sending an SMS?',
'method_account.sendConfirmPhoneCode_param_hash_type_string' => 'The hash from the service notification, for more info [click here »](https://core.telegram.org/api/account-deletion)',
@ -5949,8 +5945,8 @@ For more information, see [Perfect Forward Secrecy](https://core.telegram.org/ap
'method_account.resetWebAuthorizations' => 'Reset all active web [telegram login](https://core.telegram.org/widgets/login) sessions',
'method_users.getUsers' => 'Returns basic user info according to their identifiers.',
'method_users.getUsers_param_id_type_Vector t' => 'The ids of the users',
'method_users.getFullUser' => 'Returns extended user info by ID.',
'method_users.getFullUser_param_id_type_InputUser' => 'User ID',
'method_users.getFullUser' => 'You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info)',
'method_users.getFullUser_param_id_type_InputUser' => 'You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info)',
'method_contacts.getStatuses' => 'Returns the list of contact statuses.',
'method_contacts.getContacts' => 'Returns the current user\'s contact list.',
'method_contacts.getContacts_param_hash_type_int' => 'If there already is a full contact list on the client, a [hash](https://core.telegram.org/api/offsets#hash-generation) of a the list of contact IDs in ascending order may be passed in this parameter. If the contact set was not changed, [(contacts.contactsNotModified)](../constructors/contacts.contactsNotModified.md) will be returned.',
@ -5973,8 +5969,8 @@ For more information, see [Perfect Forward Secrecy](https://core.telegram.org/ap
'method_contacts.search' => 'Returns users found by username substring.',
'method_contacts.search_param_q_type_string' => 'Target substring',
'method_contacts.search_param_limit_type_int' => 'Maximum number of users to be returned',
'method_contacts.resolveUsername' => 'Resolve a @username to get peer info',
'method_contacts.resolveUsername_param_username_type_string' => '@username to resolve',
'method_contacts.resolveUsername' => 'You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info)',
'method_contacts.resolveUsername_param_username_type_string' => 'You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info)',
'method_contacts.getTopPeers' => 'Get most used peers',
'method_contacts.getTopPeers_param_correspondents_type_true' => 'Users we\'ve chatted most frequently with',
'method_contacts.getTopPeers_param_bots_pm_type_true' => 'Most used bots',
@ -6069,7 +6065,7 @@ For more information, see [Perfect Forward Secrecy](https://core.telegram.org/ap
'method_messages.getPeerSettings_param_peer_type_InputPeer' => 'The peer',
'method_messages.getChats' => 'Returns chat basic info on their IDs.',
'method_messages.getChats_param_id_type_Vector t' => 'The MTProto IDs of chats to fetch info about',
'method_messages.getFullChat' => 'Returns full chat info according to its ID.',
'method_messages.getFullChat' => 'You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info)',
'method_messages.getFullChat_param_chat_id_type_InputPeer' => 'You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info)',
'method_messages.editChatTitle' => 'Chanages chat name and sends a service message on it.',
'method_messages.editChatTitle_param_chat_id_type_InputPeer' => 'The ID of the chat',
@ -6087,18 +6083,18 @@ For more information, see [Perfect Forward Secrecy](https://core.telegram.org/ap
'method_messages.createChat' => 'Creates a new chat.',
'method_messages.createChat_param_users_type_Vector t' => 'The users to add to the chat',
'method_messages.createChat_param_title_type_string' => 'Chat name',
'method_messages.getDhConfig' => 'Returns configuration parameters for Diffie-Hellman key generation. Can also return a random sequence of bytes of required length.',
'method_messages.getDhConfig_param_version_type_int' => 'Value of the **version** parameter from [messages.dhConfig](../constructors/messages.dhConfig.md), avialable at the client',
'method_messages.getDhConfig_param_random_length_type_int' => 'Length of the required random sequence',
'method_messages.requestEncryption' => 'Sends a request to start a secret chat to the user.',
'method_messages.requestEncryption_param_user_id_type_InputUser' => 'User ID',
'method_messages.requestEncryption_param_g_a_type_bytes' => '`A = g ^ a mod p`, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)',
'method_messages.acceptEncryption' => 'Confirms creation of a secret chat',
'method_messages.acceptEncryption_param_peer_type_InputEncryptedChat' => 'Secret chat ID',
'method_messages.acceptEncryption_param_g_b_type_bytes' => '`B = g ^ b mod p`, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)',
'method_messages.acceptEncryption_param_key_fingerprint_type_long' => '64-bit fingerprint of the received key',
'method_messages.discardEncryption' => 'Cancels a request for creation and/or delete info on secret chat.',
'method_messages.discardEncryption_param_chat_id_type_int' => 'Secret chat ID',
'method_messages.getDhConfig' => 'You cannot use this method directly, instead use $MadelineProto->getDhConfig();',
'method_messages.getDhConfig_param_version_type_int' => 'You cannot use this method directly, instead use $MadelineProto->getDhConfig();',
'method_messages.getDhConfig_param_random_length_type_int' => 'You cannot use this method directly, instead use $MadelineProto->getDhConfig();',
'method_messages.requestEncryption' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats',
'method_messages.requestEncryption_param_user_id_type_InputUser' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats',
'method_messages.requestEncryption_param_g_a_type_bytes' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats',
'method_messages.acceptEncryption' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats',
'method_messages.acceptEncryption_param_peer_type_InputEncryptedChat' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats',
'method_messages.acceptEncryption_param_g_b_type_bytes' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats',
'method_messages.acceptEncryption_param_key_fingerprint_type_long' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats',
'method_messages.discardEncryption' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats',
'method_messages.discardEncryption_param_chat_id_type_int' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats',
'method_messages.setEncryptedTyping' => 'Send typing event by the current user to a secret chat.',
'method_messages.setEncryptedTyping_param_peer_type_InputEncryptedChat' => 'Secret chat ID',
'method_messages.setEncryptedTyping_param_typing_type_Bool' => 'Typing.<br>**Possible values**:<br>[(boolTrue)](../constructors/boolTrue.md), if the user started typing and more than **5 seconds** have passed since the last request<br>[(boolFalse)](../constructors/boolFalse.md), if the user stopped typing',
@ -6115,8 +6111,8 @@ For more information, see [Perfect Forward Secrecy](https://core.telegram.org/ap
'method_messages.sendEncryptedService' => 'Sends a service message to a secret chat.',
'method_messages.sendEncryptedService_param_peer_type_InputEncryptedChat' => 'Secret chat ID',
'method_messages.sendEncryptedService_param_message_type_DecryptedMessage' => 'The service message',
'method_messages.receivedQueue' => 'Confirms receipt of messages in a secret chat by client, cancels push notifications.',
'method_messages.receivedQueue_param_max_qts_type_int' => 'Maximum qts value available at the client',
'method_messages.receivedQueue' => 'You cannot use this method directly',
'method_messages.receivedQueue_param_max_qts_type_int' => 'You cannot use this method directly',
'method_messages.reportEncryptedSpam' => 'Report a secret chat for spam',
'method_messages.reportEncryptedSpam_param_peer_type_InputEncryptedChat' => 'The secret chat to report',
'method_messages.readMessageContents' => 'Notifies the sender about the recipient having listened a voice message or watched a video.',
@ -6342,18 +6338,18 @@ Use this method to respond to such pre-checkout queries.
'method_messages.uploadEncryptedFile' => 'Upload encrypted file and associate it to a secret chat',
'method_messages.uploadEncryptedFile_param_peer_type_InputEncryptedChat' => 'The secret chat to associate the file to',
'method_messages.uploadEncryptedFile_param_file_type_InputEncryptedFile' => 'The file',
'method_updates.getState' => 'Returns a current state of updates.',
'method_updates.getDifference' => 'Get new [updates](https://core.telegram.org/api/updates).',
'method_updates.getDifference_param_pts_type_int' => 'PTS, see [updates](https://core.telegram.org/api/updates).',
'method_updates.getDifference_param_pts_total_limit_type_int' => 'For fast updating: if provided and `pts + pts_total_limit < remote pts`, [updates.differenceTooLong](../constructors/updates.differenceTooLong.md) will be returned.<br>Simply tells the server to not return the difference if it is bigger than `pts_total_limit`<br>If the remote pts is too big (> ~4000000), this field will default to 1000000',
'method_updates.getDifference_param_date_type_int' => 'date, see [updates](https://core.telegram.org/api/updates).',
'method_updates.getDifference_param_qts_type_int' => 'QTS, see [updates](https://core.telegram.org/api/updates).',
'method_updates.getChannelDifference' => 'Returns the difference between the current state of updates of a certain channel and transmitted.',
'method_updates.getChannelDifference_param_force_type_true' => 'Set to true to skip some possibly unneeded updates and reduce server-side load',
'method_updates.getChannelDifference_param_channel_type_InputChannel' => 'The channel',
'method_updates.getChannelDifference_param_filter_type_ChannelMessagesFilter' => 'Messsage filter',
'method_updates.getChannelDifference_param_pts_type_int' => 'Persistent timestamp (see [updates](https://core.telegram.org/api/updates))',
'method_updates.getChannelDifference_param_limit_type_int' => 'How many updates to fetch, max `100000`<br>Ordinary (non-bot) users are supposed to pass `10-100`',
'method_updates.getState' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates',
'method_updates.getDifference' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates',
'method_updates.getDifference_param_pts_type_int' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates',
'method_updates.getDifference_param_pts_total_limit_type_int' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates',
'method_updates.getDifference_param_date_type_int' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates',
'method_updates.getDifference_param_qts_type_int' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates',
'method_updates.getChannelDifference' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates',
'method_updates.getChannelDifference_param_force_type_true' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates',
'method_updates.getChannelDifference_param_channel_type_InputChannel' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates',
'method_updates.getChannelDifference_param_filter_type_ChannelMessagesFilter' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates',
'method_updates.getChannelDifference_param_pts_type_int' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates',
'method_updates.getChannelDifference_param_limit_type_int' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates',
'method_photos.updateProfilePhoto' => 'Installs a previously uploaded photo as a profile photo.',
'method_photos.updateProfilePhoto_param_id_type_InputPhoto' => 'Input photo',
'method_photos.uploadProfilePhoto' => 'Updates current user profile photo.',
@ -6365,33 +6361,33 @@ Use this method to respond to such pre-checkout queries.
'method_photos.getUserPhotos_param_offset_type_int' => 'Number of list elements to be skipped',
'method_photos.getUserPhotos_param_max_id_type_long' => 'If a positive value was transferred, the method will return only photos with IDs less than the set one',
'method_photos.getUserPhotos_param_limit_type_int' => 'Number of list elements to be returned',
'method_upload.saveFilePart' => 'Saves a part of file for futher sending to one of the methods.',
'method_upload.saveFilePart_param_file_id_type_long' => 'Random file identifier created by the client',
'method_upload.saveFilePart_param_file_part_type_int' => 'Numerical order of a part',
'method_upload.saveFilePart_param_bytes_type_bytes' => 'Binary data, contend of a part',
'method_upload.getFile' => 'Returns content of a whole file or its part.',
'method_upload.getFile_param_location_type_InputFileLocation' => 'File location',
'method_upload.getFile_param_offset_type_int' => 'Number of bytes to be skipped',
'method_upload.getFile_param_limit_type_int' => 'Number of bytes to be returned',
'method_upload.saveBigFilePart' => 'Saves a part of a large file (over 10Mb in size) to be later passed to one of the methods.',
'method_upload.saveBigFilePart_param_file_id_type_long' => 'Random file id, created by the client',
'method_upload.saveBigFilePart_param_file_part_type_int' => 'Part sequence number',
'method_upload.saveBigFilePart_param_file_total_parts_type_int' => 'Total number of parts',
'method_upload.saveBigFilePart_param_bytes_type_bytes' => 'Binary data, part contents',
'method_upload.saveFilePart' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.saveFilePart_param_file_id_type_long' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.saveFilePart_param_file_part_type_int' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.saveFilePart_param_bytes_type_bytes' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.getFile' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.getFile_param_location_type_InputFileLocation' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.getFile_param_offset_type_int' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.getFile_param_limit_type_int' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.saveBigFilePart' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.saveBigFilePart_param_file_id_type_long' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.saveBigFilePart_param_file_part_type_int' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.saveBigFilePart_param_file_total_parts_type_int' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.saveBigFilePart_param_bytes_type_bytes' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.getWebFile' => 'Returns content of an HTTP file or a part, by proxying the request through telegram.',
'method_upload.getWebFile_param_location_type_InputWebFileLocation' => 'The file to download',
'method_upload.getWebFile_param_offset_type_int' => 'Number of bytes to be skipped',
'method_upload.getWebFile_param_limit_type_int' => 'Number of bytes to be returned',
'method_upload.getCdnFile' => 'Download a [CDN](https://core.telegram.org/cdn) file.',
'method_upload.getCdnFile_param_file_token_type_bytes' => 'File token',
'method_upload.getCdnFile_param_offset_type_int' => 'Offset of chunk to download',
'method_upload.getCdnFile_param_limit_type_int' => 'Length of chunk to download',
'method_upload.reuploadCdnFile' => 'Request a reupload of a certain file to a [CDN DC](https://core.telegram.org/cdn).',
'method_upload.reuploadCdnFile_param_file_token_type_bytes' => 'File token',
'method_upload.reuploadCdnFile_param_request_token_type_bytes' => 'Request token',
'method_upload.getCdnFileHashes' => 'Get SHA256 hashes for verifying downloaded [CDN](https://core.telegram.org/cdn) files',
'method_upload.getCdnFileHashes_param_file_token_type_bytes' => 'File',
'method_upload.getCdnFileHashes_param_offset_type_int' => 'Offset from which to start getting hashes',
'method_upload.getCdnFile' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.getCdnFile_param_file_token_type_bytes' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.getCdnFile_param_offset_type_int' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.getCdnFile_param_limit_type_int' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.reuploadCdnFile' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.reuploadCdnFile_param_file_token_type_bytes' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.reuploadCdnFile_param_request_token_type_bytes' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.getCdnFileHashes' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.getCdnFileHashes_param_file_token_type_bytes' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.getCdnFileHashes_param_offset_type_int' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_help.getConfig' => 'Returns current configuration, icluding data center configuration.',
'method_help.getNearestDc' => 'Returns info on data centre nearest to the user.',
'method_help.getAppUpdate' => 'Returns information on update availability for the current application.',
@ -6435,8 +6431,8 @@ Use this method to respond to such pre-checkout queries.
'method_channels.getParticipant_param_user_id_type_InputUser' => 'ID of participant to get info about',
'method_channels.getChannels' => 'Get info about [channels/supergroups](https://core.telegram.org/api/channel)',
'method_channels.getChannels_param_id_type_Vector t' => 'The channel/supergroup MTProto IDs',
'method_channels.getFullChannel' => 'Get full info about a channel',
'method_channels.getFullChannel_param_channel_type_InputChannel' => 'The channel to get info about',
'method_channels.getFullChannel' => 'You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info)',
'method_channels.getFullChannel_param_channel_type_InputChannel' => 'You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info)',
'method_channels.createChannel' => 'Create a [supergroup/channel](https://core.telegram.org/api/channel).',
'method_channels.createChannel_param_broadcast_type_true' => 'Whether to create a [channel](https://core.telegram.org/api/channel)',
'method_channels.createChannel_param_megagroup_type_true' => 'Whether to create a [supergroup](https://core.telegram.org/api/channel)',
@ -6549,26 +6545,26 @@ Use this method to respond to such pre-checkout queries.
'method_stickers.addStickerToSet_param_stickerset_type_InputStickerSet' => 'The stickerset',
'method_stickers.addStickerToSet_param_sticker_type_InputStickerSetItem' => 'The sticker',
'method_phone.getCallConfig' => 'Get phone call configuration to be passed to libtgvoip\'s shared config',
'method_phone.requestCall' => 'Start a telegram phone call',
'method_phone.requestCall_param_user_id_type_InputUser' => 'Destination of the phone call',
'method_phone.requestCall_param_g_a_hash_type_bytes' => '[Parameter for E2E encryption key exchange »](https://core.telegram.org/api/end-to-end/voice-calls)',
'method_phone.requestCall_param_protocol_type_PhoneCallProtocol' => 'Phone call settings',
'method_phone.acceptCall' => 'Accept incoming call',
'method_phone.acceptCall_param_peer_type_InputPhoneCall' => 'The call to accept',
'method_phone.acceptCall_param_g_b_type_bytes' => '[Parameter for E2E encryption key exchange »](https://core.telegram.org/api/end-to-end/voice-calls)',
'method_phone.acceptCall_param_protocol_type_PhoneCallProtocol' => 'Phone call settings',
'method_phone.confirmCall' => '[Complete phone call E2E encryption key exchange »](https://core.telegram.org/api/end-to-end/voice-calls)',
'method_phone.confirmCall_param_peer_type_InputPhoneCall' => 'The phone call',
'method_phone.confirmCall_param_g_a_type_bytes' => '[Parameter for E2E encryption key exchange »](https://core.telegram.org/api/end-to-end/voice-calls)',
'method_phone.confirmCall_param_key_fingerprint_type_long' => 'Key fingerprint',
'method_phone.confirmCall_param_protocol_type_PhoneCallProtocol' => 'Phone call settings',
'method_phone.requestCall' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.requestCall_param_user_id_type_InputUser' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.requestCall_param_g_a_hash_type_bytes' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.requestCall_param_protocol_type_PhoneCallProtocol' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.acceptCall' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.acceptCall_param_peer_type_InputPhoneCall' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.acceptCall_param_g_b_type_bytes' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.acceptCall_param_protocol_type_PhoneCallProtocol' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.confirmCall' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.confirmCall_param_peer_type_InputPhoneCall' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.confirmCall_param_g_a_type_bytes' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.confirmCall_param_key_fingerprint_type_long' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.confirmCall_param_protocol_type_PhoneCallProtocol' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.receivedCall' => 'Optional: notify the server that the user is currently busy in a call: this will automatically refuse all incoming phone calls until the current phone call is ended.',
'method_phone.receivedCall_param_peer_type_InputPhoneCall' => 'The phone call we\'re currently in',
'method_phone.discardCall' => 'Refuse or end running call',
'method_phone.discardCall_param_peer_type_InputPhoneCall' => 'The phone call',
'method_phone.discardCall_param_duration_type_int' => 'Call duration',
'method_phone.discardCall_param_reason_type_PhoneCallDiscardReason' => 'Why was the call discarded',
'method_phone.discardCall_param_connection_id_type_long' => 'Preferred libtgvoip relay ID',
'method_phone.discardCall' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.discardCall_param_peer_type_InputPhoneCall' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.discardCall_param_duration_type_int' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.discardCall_param_reason_type_PhoneCallDiscardReason' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.discardCall_param_connection_id_type_long' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.setCallRating' => 'Rate a call',
'method_phone.setCallRating_param_peer_type_InputPhoneCall' => 'The call to rate',
'method_phone.setCallRating_param_rating_type_int' => 'Rating in `1-5` stars',
@ -7323,8 +7319,8 @@ Use this method to respond to such pre-checkout queries.
'object_auth.authorization_param_tmp_sessions_type_int' => 'Temporary [passport](https://core.telegram.org/passport) sessions',
'object_auth.authorization_param_user_type_User' => 'Info on authorized user',
'object_auth.exportedAuthorization' => 'Data for copying of authorization between data centres.',
'object_auth.exportedAuthorization_param_id_type_int' => 'current user identifier',
'object_auth.exportedAuthorization_param_bytes_type_bytes' => 'authorizes key',
'object_auth.exportedAuthorization_param_id_type_int' => 'Current user identifier',
'object_auth.exportedAuthorization_param_bytes_type_bytes' => 'Authorizes key',
'object_inputNotifyPeer' => 'Notifications generated by a certain user or group.',
'object_inputNotifyPeer_param_peer_type_InputPeer' => 'User or group',
'object_inputNotifyUsers' => 'Notifications generated by all users.',
@ -7937,7 +7933,7 @@ The app must show the message to the user upon receiving this update. In case th
'object_help.support_param_phone_number_type_string' => 'Phone number',
'object_help.support_param_user_type_User' => 'User',
'object_notifyPeer' => 'Notifications generated by a certain user or group.',
'object_notifyPeer_param_peer_type_Peer' => 'user or group',
'object_notifyPeer_param_peer_type_Peer' => 'User or group',
'object_notifyUsers' => 'Notifications generated by all users.',
'object_notifyChats' => 'Notifications generated by all groups.',
'object_notifyAll' => 'Notify all',
@ -8539,8 +8535,8 @@ The `n` position indicates where the mask should be placed:
'object_game_param_photo_type_Photo' => 'Game preview',
'object_game_param_document_type_Document' => 'Optional attached document',
'object_inputGameID' => 'Indicates an already sent game',
'object_inputGameID_param_id_type_long' => 'game ID from [Game](../types/Game.md) constructor',
'object_inputGameID_param_access_hash_type_long' => 'access hash from [Game](../types/Game.md) constructor',
'object_inputGameID_param_id_type_long' => 'Game ID from [Game](../types/Game.md) constructor',
'object_inputGameID_param_access_hash_type_long' => 'Access hash from [Game](../types/Game.md) constructor',
'object_inputGameShortName' => 'Game by short name',
'object_inputGameShortName_param_bot_id_type_InputUser' => 'The bot that provides the game',
'object_inputGameShortName_param_short_name_type_string' => 'The game\'s short name',
@ -8946,13 +8942,13 @@ The `n` position indicates where the mask should be placed:
'object_recentMeUrlUser_param_url_type_string' => 'URL',
'object_recentMeUrlUser_param_user_id_type_int' => 'User ID',
'object_recentMeUrlChat' => 'Recent t.me link to a chat',
'object_recentMeUrlChat_param_url_type_string' => 't.me URL',
'object_recentMeUrlChat_param_url_type_string' => 'T.me URL',
'object_recentMeUrlChat_param_chat_id_type_int' => 'Chat ID',
'object_recentMeUrlChatInvite' => 'Recent t.me invite link to a chat',
'object_recentMeUrlChatInvite_param_url_type_string' => 't.me URL',
'object_recentMeUrlChatInvite_param_url_type_string' => 'T.me URL',
'object_recentMeUrlChatInvite_param_chat_invite_type_ChatInvite' => 'Chat invitation',
'object_recentMeUrlStickerSet' => 'Recent t.me stickerset installation URL',
'object_recentMeUrlStickerSet_param_url_type_string' => 't.me URL',
'object_recentMeUrlStickerSet_param_url_type_string' => 'T.me URL',
'object_recentMeUrlStickerSet_param_set_type_StickerSetCovered' => 'Stickerset',
'object_help.recentMeUrls' => 'Recent t.me URLs',
'object_help.recentMeUrls_param_urls_type_Vector t' => 'URLs',
@ -9057,7 +9053,7 @@ Upon receiving such message the client shall start deleting of all messages of a
'object_decryptedMessageActionTyping_param_action_type_SendMessageAction' => 'Type of action',
'object_decryptedMessageActionRequestKey' => 'Request rekeying, see [rekeying process](https://core.telegram.org/api/end-to-end/pfs)',
'object_decryptedMessageActionRequestKey_param_exchange_id_type_long' => 'Exchange ID',
'object_decryptedMessageActionRequestKey_param_g_a_type_bytes' => 'g\\_a, see [rekeying process](https://core.telegram.org/api/end-to-end/pfs)',
'object_decryptedMessageActionRequestKey_param_g_a_type_bytes' => 'G\\_a, see [rekeying process](https://core.telegram.org/api/end-to-end/pfs)',
'object_decryptedMessageActionAcceptKey' => 'Accept new key',
'object_decryptedMessageActionAcceptKey_param_exchange_id_type_long' => 'Exchange ID',
'object_decryptedMessageActionAcceptKey_param_g_b_type_bytes' => 'B parameter, see [rekeying process](https://core.telegram.org/api/end-to-end/pfs)',
@ -9070,7 +9066,7 @@ Upon receiving such message the client shall start deleting of all messages of a
'object_decryptedMessageActionNoop' => 'NOOP action',
'object_decryptedMessageMediaExternalDocument' => 'Non-e2e documented forwarded from non-secret chat',
'object_decryptedMessageMediaExternalDocument_param_id_type_long' => 'Document ID',
'object_decryptedMessageMediaExternalDocument_param_access_hash_type_long' => 'access hash',
'object_decryptedMessageMediaExternalDocument_param_access_hash_type_long' => 'Access hash',
'object_decryptedMessageMediaExternalDocument_param_date_type_int' => 'Date',
'object_decryptedMessageMediaExternalDocument_param_mime_type_type_string' => 'Mime type',
'object_decryptedMessageMediaExternalDocument_param_size_type_int' => 'Size',
@ -9648,9 +9644,9 @@ Use this if the data submitted by the user doesn\'t satisfy the standards your s
'method_messages.searchStickerSets_param_exclude_featured_type_true' => 'Exclude featured stickersets from results',
'method_messages.searchStickerSets_param_q_type_string' => 'Query string',
'method_messages.searchStickerSets_param_hash_type_int' => '[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)',
'method_upload.getFileHashes' => 'Get SHA256 hashes for verifying downloaded files',
'method_upload.getFileHashes_param_location_type_InputFileLocation' => 'File',
'method_upload.getFileHashes_param_offset_type_int' => 'Offset from which to get file hashes',
'method_upload.getFileHashes' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.getFileHashes_param_location_type_InputFileLocation' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_upload.getFileHashes_param_offset_type_int' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_help.getProxyData' => 'Get promotion info of the currently-used MTProxy',
'method_help.getTermsOfServiceUpdate' => 'Look for updates of telegram\'s terms of service',
'method_help.acceptTermsOfService' => 'Accept the new terms of service',
@ -9943,9 +9939,9 @@ Use this if the data submitted by the user doesn\'t satisfy the standards your s
'method_messages.getRecentLocations_param_hash_type_Vector t' => 'IDs of locations you already fetched',
'method_messages.searchStickerSets_param_hash_type_Vector t' => 'The IDs of stickersets you already fetched',
'method_channels.getParticipants_param_hash_type_Vector t' => 'IDs of previously fetched participants',
'method_auth.checkPassword_param_password_type_InputCheckPasswordSRP' => 'The account\'s password (see [SRP](https://core.telegram.org/api/srp))',
'method_account.getPasswordSettings_param_password_type_InputCheckPasswordSRP' => 'The password (see [SRP](https://core.telegram.org/api/srp))',
'method_account.updatePasswordSettings_param_password_type_InputCheckPasswordSRP' => 'The old password (see [SRP](https://core.telegram.org/api/srp))',
'method_auth.checkPassword_param_password_type_InputCheckPasswordSRP' => 'You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)',
'method_account.getPasswordSettings_param_password_type_InputCheckPasswordSRP' => 'You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info)',
'method_account.updatePasswordSettings_param_password_type_InputCheckPasswordSRP' => 'You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info)',
'method_account.getTmpPassword_param_password_type_InputCheckPasswordSRP' => 'SRP password parameters',
'method_account.confirmPasswordEmail' => 'Verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp).',
'method_account.confirmPasswordEmail_param_code_type_string' => 'The phone code that was received after [setting a recovery email](https://core.telegram.org/api/srp#email-verification)',
@ -10157,7 +10153,7 @@ Use this if the data submitted by the user doesn\'t satisfy the standards your s
'object_jsonObjectValue' => 'JSON key: value pair',
'object_jsonObjectValue_param_key_type_string' => 'Key',
'object_jsonObjectValue_param_value_type_JSONValue' => 'Value',
'object_jsonNull' => 'null JSON value',
'object_jsonNull' => 'Null JSON value',
'object_jsonBool' => 'JSON boolean value',
'object_jsonBool_param_value_type_Bool' => 'Value',
'object_jsonNumber' => 'JSON numeric value',
@ -10236,7 +10232,7 @@ Use this if the data submitted by the user doesn\'t satisfy the standards your s
'object_chatOnlines_param_onlines_type_int' => 'Number of online users',
'object_statsURL' => 'URL with chat statistics',
'object_statsURL_param_url_type_string' => 'Chat statistics',
'method_auth.sendCode_param_settings_type_CodeSettings' => 'Settings for the code type to send',
'method_auth.sendCode_param_settings_type_CodeSettings' => 'You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info)',
'method_account.getWallPapers_param_hash_type_Vector t' => 'IDs of previously fetched wallpapers',
'method_account.sendChangePhoneCode_param_settings_type_CodeSettings' => 'Phone code settings',
'method_account.sendConfirmPhoneCode_param_settings_type_CodeSettings' => 'Phone code settings',
@ -10418,8 +10414,8 @@ Example implementations: [telegram for android](https://github.com/DrKLO/Telegra
'method_channels.setDiscussionGroup' => 'Associate a group to a channel as [discussion group](https://telegram.org/blog/privacy-discussions-web-bots) for that channel',
'method_channels.setDiscussionGroup_param_broadcast_type_InputChannel' => 'Channel',
'method_channels.setDiscussionGroup_param_group_type_InputChannel' => 'Discussion group to associate to the channel',
'method_phone.requestCall_param_video_type_true' => 'Whether to start a video call',
'method_phone.discardCall_param_video_type_true' => 'Whether this is a video call',
'method_phone.requestCall_param_video_type_true' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_phone.discardCall_param_video_type_true' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_folders.editPeerFolders' => 'Edit peers in folder',
'method_folders.editPeerFolders_param_folder_peers_type_Vector t' => 'New folder peers',
'method_folders.deleteFolder' => 'Delete a folder',
@ -10623,7 +10619,7 @@ Example implementations: [telegram for android](https://github.com/DrKLO/Telegra
'object_peerLocated_param_expires_type_int' => 'Validity period of current data',
'object_peerLocated_param_distance_type_int' => 'Distance from the peer in meters',
'method_account.registerDevice_param_no_muted_type_true' => 'Avoid receiving (silent and invisible background) notifications. Useful to save battery.',
'method_upload.getFile_param_precise_type_true' => 'Disable some checks on limit and offset values, useful for example to stream videos by keyframes',
'method_upload.getFile_param_precise_type_true' => 'You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info',
'method_channels.editAdmin_param_rank_type_string' => 'Indicates the role (rank) of the admin in the group: just an arbitrary string',
'method_channels.toggleSlowMode' => 'Toggle supergroup slow mode: if enabled, users will only be able to send one message every `seconds` seconds',
'method_channels.toggleSlowMode_param_channel_type_InputChannel' => 'The [supergroup](https://core.telegram.org/api/channel)',
@ -11021,7 +11017,7 @@ Contains the reason why access to a certain object must be restricted. Clients a
'method_account.getWallPapers_param_hash_type_int' => '[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)',
'method_messages.readMessageContents_param_id_type_Vector int' => 'Message ID list',
'method_messages.getScheduledHistory_param_hash_type_int' => '[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)',
'method_phone.requestCall_param_random_id_type_int' => 'Random ID to avoid resending the same object',
'method_phone.requestCall_param_random_id_type_int' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls',
'method_messages.setInlineBotResults_param_results_type_Vector InputBotInlineResult' => 'Vector of results for the inline query',
'method_messages.sendMedia_param_random_id_type_long' => 'Random ID to avoid resending the same message',
'method_messages.sendMedia_param_entities_type_Vector MessageEntity' => 'Message [entities](https://core.telegram.org/api/entities) for styled text',
@ -11042,7 +11038,7 @@ Contains the reason why access to a certain object must be restricted. Clients a
'method_messages.reorderStickerSets_param_order_type_Vector long' => 'New stickerset order by stickerset IDs',
'method_messages.sendInlineBotResult_param_random_id_type_long' => 'Random ID to avoid resending the same query',
'method_messages.getAllChats_param_except_ids_type_Vector int' => 'Except these chats/channels/supergroups',
'method_messages.requestEncryption_param_random_id_type_int' => 'Unique client request ID required to prevent resending. This also doubles as the chat ID.',
'method_messages.requestEncryption_param_random_id_type_int' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats',
'method_channels.reportSpam_param_id_type_Vector int' => 'IDs of spam messages',
'method_messages.createChat_param_users_type_Vector InputUser' => 'List of user IDs to be invited',
'method_account.acceptAuthorization_param_value_hashes_type_Vector SecureValueHash' => 'Types of values sent and their hashes',
@ -11059,7 +11055,7 @@ Contains the reason why access to a certain object must be restricted. Clients a
'method_messages.sendReaction_param_reaction_type_string' => 'Reaction (a UTF8 emoji)',
'method_channels.deleteMessages_param_id_type_Vector int' => 'IDs of messages to delete',
'method_messages.deleteMessages_param_id_type_Vector int' => 'Message ID list',
'method_messages.getFullChat_param_chat_id_type_int' => 'Chat ID',
'method_messages.getFullChat_param_chat_id_type_int' => 'You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info)',
'method_account.getSecureValue_param_types_type_Vector SecureValueType' => 'Requested value types',
'method_messages.getMessagesViews_param_id_type_Vector int' => 'ID of message',
'method_account.getThemes_param_hash_type_int' => '[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)',

View File

@ -123,7 +123,7 @@ class TL
*
* @return array
*/
public function getDescriptions(): array
public function &getDescriptions(): array
{
return $this->tdDescriptions;
}

View File

@ -54,6 +54,13 @@ foreach (\danog\MadelineProto\Lang::$current_lang as $key => $value) {
if (!isset(\danog\MadelineProto\Lang::$lang[$lang_code][$key])) {
\danog\MadelineProto\Lang::$lang[$lang_code][$key] = $value;
}
\preg_match('/^[^_]+_(.*?)(?:_param_(.*)_type_(.*))?$/', $key, $matches);
$method_name = isset($matches[1]) ? $matches[1] : '';
$param_name = isset($matches[2]) ? $matches[2] : '';
$param_type = isset($matches[3]) ? $matches[3] : '';
if (isset(\danog\MadelineProto\MTProto::DISALLOWED_METHODS[$method_name])) {
\danog\MadelineProto\Lang::$lang[$lang_code][$key] = \danog\MadelineProto\MTProto::DISALLOWED_METHODS[$method_name];
}
if (\danog\MadelineProto\Lang::$lang[$lang_code][$key] === $value && (
$lang_code !== 'en' || $value == '' ||
@ -67,21 +74,22 @@ foreach (\danog\MadelineProto\Lang::$current_lang as $key => $value) {
}
if ($value == '') {
$value = $key;
}/*
}
\preg_match('/^[^_]+_(.*?)(?:_param_(.*)_type_(.*))?$/', $key, $matches);
$method_name = isset($matches[1]) ? $matches[1] : '';
$param_name = isset($matches[2]) ? $matches[2] : '';
$param_type = isset($matches[3]) ? $matches[3] : '';
if (isset(\danog\MadelineProto\MTProto::DISALLOWED_METHODS[$method_name])) {
\danog\MadelineProto\Lang::$lang[$lang_code][$key] = \danog\MadelineProto\MTProto::DISALLOWED_METHODS[$method_name];
}
/*
if ($param_name === 'nonce' && $param_type === 'int128') {
\danog\MadelineProto\Lang::$lang[$lang_code][$key] = 'Random number for cryptographic security';
} elseif ($param_name === 'server_nonce' && $param_type === 'int128') {
\danog\MadelineProto\Lang::$lang[$lang_code][$key] = 'Random number for cryptographic security, given by server';
} elseif ($param_name === 'random_id' && $param_type === 'long') {
\danog\MadelineProto\Lang::$lang[$lang_code][$key] = 'Random number for cryptographic security';
} elseif (isset(\danog\MadelineProto\MTProto::DISALLOWED_METHODS[$method_name])) {
\danog\MadelineProto\Lang::$lang[$lang_code][$key] = \danog\MadelineProto\MTProto::DISALLOWED_METHODS[$method_name];
} elseif (\strpos($value, 'Update ') === 0) {
} else elseif (\strpos($value, 'Update ') === 0) {
if (!$param_name && \strpos($key, 'object_') === 0) {
$value = \str_replace('Update ', '', $value).' update';
}