diff --git a/docs/API_docs/methods/index.md b/docs/API_docs/methods/index.md index abf380cc..aabf94f7 100644 --- a/docs/API_docs/methods/index.md +++ b/docs/API_docs/methods/index.md @@ -48,13 +48,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Answers a custom query; for bots only: bots.answerWebhookJSONQuery -* Associate a group to a channel as [discussion group](https://telegram.org/blog/privacy-discussions-web-bots) for that channel: channels.setDiscussionGroup +* Associate a group to a channel as discussion group for that channel: channels.setDiscussionGroup * Associate a stickerset to the supergroup: channels.setStickers -* Ban/unban/kick a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editBanned +* Ban/unban/kick a user in a supergroup/channel: channels.editBanned -* Cancel the code that was sent to verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.cancelPasswordEmail +* Cancel the code that was sent to verify an email to use as 2FA recovery method: account.cancelPasswordEmail * Cancel the login verification code: auth.cancelCode @@ -66,7 +66,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -80,17 +80,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Check the validity of a chat invite link and get basic info about it: messages.checkChatInvite -* Clear all [drafts](https://core.telegram.org/api/drafts): messages.clearAllDrafts +* Clear all drafts: messages.clearAllDrafts * Clear recent stickers: messages.clearRecentStickers * Clear saved payment information: payments.clearSavedInfo -* Confirm a phone number to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.confirmPhone +* Confirm a phone number to cancel account deletion, for more info click here »: account.confirmPhone * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Create a stickerset, bots only: stickers.createStickerSet @@ -100,29 +100,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a folder: folders.deleteFolder -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete all temporary authorization keys **except for** the ones specified: auth.dropTempAuthKeys +* Delete all temporary authorization keys except for the ones specified: auth.dropTempAuthKeys * Delete contacts by phone number: contacts.deleteByPhones * Delete installed wallpapers: account.resetWallPapers -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages * Delete saved contacts: contacts.resetSaved * Delete scheduled messages: messages.deleteScheduledMessages -* 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 +* Delete stored Telegram Passport documents, for more info see the passport docs »: account.deleteSecureValue -* Delete the history of a [supergroup](https://core.telegram.org/api/channel): channels.deleteHistory +* Delete the history of a supergroup: channels.deleteHistory -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -146,15 +146,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit peers in folder: folders.editPeerFolders -* Edit the default banned rights of a [channel/supergroup/group](https://core.telegram.org/api/channel): messages.editChatDefaultBannedRights +* Edit the default banned rights of a channel/supergroup/group: messages.editChatDefaultBannedRights -* Edit the description of a [group/supergroup/channel](https://core.telegram.org/api/channel): messages.editChatAbout +* Edit the description of a group/supergroup/channel: messages.editChatAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings -* Enable/disable [top peers](https://core.telegram.org/api/top-rating): contacts.toggleTopPeers +* Enable/disable top peers: contacts.toggleTopPeers * Enable/disable message signatures in channels: channels.toggleSignatures @@ -166,17 +166,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages -* 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 +* 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 -* Get [instant view](https://instantview.telegram.org) page: messages.getWebPage +* Get instant view page: messages.getWebPage -* Get [passport](https://core.telegram.org/passport) configuration: help.getPassportConfig +* Get passport configuration: help.getPassportConfig * Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash -* Get a list of [channels/supergroups](https://core.telegram.org/api/channel) we left: channels.getLeftChannels +* Get a list of channels/supergroups we left: channels.getLeftChannels * Get a payment form: payments.getPaymentForm @@ -186,13 +186,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get all contacts: contacts.getSaved -* Get all groups that can be used as [discussion groups](https://telegram.org/blog/privacy-discussions-web-bots): channels.getGroupsForDiscussion +* Get all groups that can be used as discussion groups: channels.getGroupsForDiscussion * Get all installed stickers: messages.getAllStickers -* 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 +* Get all saved Telegram Passport documents, for more info see the passport docs »: account.getAllSecureValues -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get app-specific configuration: help.getAppConfig @@ -202,7 +202,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get chats in common with a user: messages.getCommonChats -* Get configuration for [CDN](https://core.telegram.org/cdn) file downloads: help.getCdnConfig +* Get configuration for CDN file downloads: help.getCdnConfig * Get contact by telegram IDs: contacts.getContactIDs @@ -224,11 +224,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get highscores of a game: messages.getGameHighScores -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant -* Get info about a `t.me` link: help.getDeepLinkInfo +* Get info about a t.me link: help.getDeepLinkInfo * Get info about a certain wallpaper: account.getWallPaper @@ -244,7 +244,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get installed themes: account.getThemes -* Get link and embed info of a message in a [channel/supergroup](https://core.telegram.org/api/channel): channels.exportMessageLink +* Get link and embed info of a message in a channel/supergroup: channels.exportMessageLink * Get live location history of a certain user: messages.getRecentLocations @@ -260,7 +260,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get message ranges for saving the user's chat history: messages.getSplitRanges -* Get more info about a Seamless Telegram Login authorization request, for more info [click here »](https://core.telegram.org/api/url-authorization): messages.requestUrlAuth +* Get more info about a Seamless Telegram Login authorization request, for more info click here »: messages.requestUrlAuth * Get most used peers: contacts.getTopPeers @@ -284,11 +284,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get recent stickers: messages.getRecentStickers -* Get recently used `t.me` links: help.getRecentMeUrls +* Get recently used t.me links: help.getRecentMeUrls * Get saved GIFs: messages.getSavedGifs -* 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 +* Get saved Telegram Passport document, for more info see the passport docs »: account.getSecureValue * Get saved payment information: payments.getSavedInfo @@ -304,9 +304,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get temporary payment password: account.getTmpPassword -* Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channel): channels.getAdminLog +* Get the admin log of a channel/supergroup: channels.getAdminLog -* Get the number of results that would be found by a [messages.search](../methods/messages.search.md) call with the same parameters: messages.getSearchCounters +* Get the number of results that would be found by a messages.search call with the same parameters: messages.getSearchCounters * Get the participants of a channel: channels.getParticipants @@ -314,7 +314,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get unread messages where we were mentioned: messages.getUnreadMentions -* Get web [login widget](https://core.telegram.org/widgets/login) authorizations: account.getWebAuthorizations +* Get web login widget authorizations: account.getWebAuthorizations * Gets back found messages: messages.search @@ -324,9 +324,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Hide/unhide message history for new channel/supergroup users: channels.togglePreHistoryHidden -* 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 +* If the peer settings of a new user allow us to add him as contact, add that user as contact: contacts.acceptContact -* 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 +* 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 * Import a chat invite and join a private chat/supergroup/channel: messages.importChatInvite @@ -356,9 +356,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invoke a method within a takeout session: invokeWithTakeout -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invoke with the given message range: invokeWithMessagesRange @@ -368,21 +368,21 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Join a channel/supergroup: channels.joinChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Log out an active web [telegram login](https://core.telegram.org/widgets/login) session: account.resetWebAuthorization +* Log out an active web telegram login session: account.resetWebAuthorization * Look for updates of telegram's terms of service: help.getTermsOfServiceUpdate -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin * Manually mark dialog as unread: messages.markDialogUnread -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory -* Mark [channel/supergroup](https://core.telegram.org/api/channel) message contents as read: channels.readMessageContents +* Mark channel/supergroup message contents as read: channels.readMessageContents * Mark a sticker as favorite: messages.faveSticker @@ -394,17 +394,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents * Notify the other user in a private chat that a screenshot of the chat was taken: messages.sendScreenshotNotification -* 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): 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 * Obtain configuration for two-factor authorization with password: account.getPassword -* Once the user has confirmed their payment and shipping details, the bot receives an [updateBotPrecheckoutQuery](../constructors/updateBotPrecheckoutQuery.md) update. : messages.setBotPrecheckoutResults +* Once the user has confirmed their payment and shipping details, the bot receives an updateBotPrecheckoutQuery update. : messages.setBotPrecheckoutResults * 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 @@ -418,7 +418,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Rate a call: phone.setCallRating -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice * Remove a sticker from the set where it belongs, bots only. The sticker set must have been created by the bot: stickers.removeStickerFromSet @@ -428,7 +428,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Report a message in a chat for violation of telegram's Terms of Service: messages.report -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer @@ -436,17 +436,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery -* Resend the code to verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.resendPasswordEmail +* Resend the code to verify an email to use as 2FA recovery method: account.resendPasswordEmail -* 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 +* 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 -* Reset [rating](https://core.telegram.org/api/top-rating) of top peer: contacts.resetTopPeerRating +* Reset rating of top peer: contacts.resetTopPeerRating -* Reset all active web [telegram login](https://core.telegram.org/widgets/login) sessions: account.resetWebAuthorizations +* Reset all active web telegram login sessions: account.resetWebAuthorizations -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -490,11 +490,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Returns users found by username substring: contacts.search -* Save a message [draft](https://core.telegram.org/api/drafts) associated to a chat: messages.saveDraft +* Save a message draft associated to a chat: messages.saveDraft * Save a theme: account.saveTheme -* Save get all message [drafts](https://core.telegram.org/api/drafts): messages.getAllDrafts +* Save get all message drafts: messages.getAllDrafts * Saves logs of application on the server: help.saveAppLog @@ -504,31 +504,31 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Search for stickersets: messages.searchStickerSets -* 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 +* Securely save Telegram Passport document, for more info see the passport docs »: account.saveSecureValue * Send a media: messages.sendMedia -* Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md): messages.sendInlineBotResult +* Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult * Send an album of media: messages.sendMultiMedia * Send compiled payment form: payments.sendPaymentForm -* Send confirmation code to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.sendConfirmPhoneCode +* Send confirmation code to cancel account deletion, for more info click here »: account.sendConfirmPhoneCode * Send phone call debug data to server: phone.saveCallDebug * Send scheduled messages right away: messages.sendScheduledMessages -* Send the verification email code for telegram [passport](https://core.telegram.org/passport): account.sendVerifyEmailCode +* Send the verification email code for telegram passport: account.sendVerifyEmailCode -* Send the verification phone code for telegram [passport](https://core.telegram.org/passport): account.sendVerifyPhoneCode +* Send the verification phone code for telegram passport: account.sendVerifyPhoneCode * Send typing event by the current user to a secret chat: messages.setEncryptedTyping * Sends a Telegram Passport authorization form, effectively sharing data with the service: account.acceptAuthorization -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a custom request; for bots only: bots.sendCustomRequest @@ -544,9 +544,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Set the callback answer to a user button press (bots only): messages.setBotCallbackAnswer -* 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 +* 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 -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Submit requested order information for validation: payments.validateRequestedInfo @@ -554,11 +554,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Toggle contact sign up notifications: account.setContactSignUpNotification -* Toggle supergroup slow mode: if enabled, users will only be able to send one message every `seconds` seconds: channels.toggleSlowMode +* Toggle supergroup slow mode: if enabled, users will only be able to send one message every seconds seconds: channels.toggleSlowMode * Transfer channel ownership: channels.editCreator -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -580,21 +580,21 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Use this method to set the score of the specified user in a game sent as an inline message (bots only): messages.setInlineGameScore -* Use this to accept a Seamless Telegram Login authorization request, for more info [click here »](https://core.telegram.org/api/url-authorization): messages.acceptUrlAuth +* Use this to accept a Seamless Telegram Login authorization request, for more info click here »: messages.acceptUrlAuth * Validates a username and checks availability: account.checkUsername * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* Verify a phone number for telegram [passport](https://core.telegram.org/passport): account.verifyPhone +* Verify a phone number for telegram passport: account.verifyPhone -* Verify an email address for telegram [passport](https://core.telegram.org/passport): account.verifyEmail +* Verify an email address for telegram passport: account.verifyEmail -* Verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.confirmPasswordEmail +* Verify an email to use as 2FA recovery method: account.confirmPasswordEmail -* Vote in a [poll](../constructors/poll.md): messages.sendVote +* Vote in a poll: messages.sendVote -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * Whether the user will receive notifications when contacts sign up: account.getContactSignUpNotification diff --git a/docs/index.md b/docs/index.md index ac012237..dee724ba 100644 --- a/docs/index.md +++ b/docs/index.md @@ -191,44 +191,44 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro * Adds the user to the blacklist: contacts.block * Answer an inline query, for bots only: messages.setInlineBotResults * Answers a custom query; for bots only: bots.answerWebhookJSONQuery - * Associate a group to a channel as [discussion group](https://telegram.org/blog/privacy-discussions-web-bots) for that channel: channels.setDiscussionGroup + * Associate a group to a channel as discussion group for that channel: channels.setDiscussionGroup * Associate a stickerset to the supergroup: channels.setStickers - * Ban/unban/kick a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editBanned - * Cancel the code that was sent to verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.cancelPasswordEmail + * Ban/unban/kick a user in a supergroup/channel: channels.editBanned + * Cancel the code that was sent to verify an email to use as 2FA recovery method: account.cancelPasswordEmail * Cancel the login verification code: auth.cancelCode * Chanages chat name and sends a service message on it: messages.editChatTitle * Change media autodownload settings: account.saveAutoDownloadSettings * Change privacy settings of current account: account.setPrivacy * Change the phone number of the current account: account.changePhone - * Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto + * Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername * Changes chat photo and sends a service message on it: messages.editChatPhoto * 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 * Changes username for the current user: account.updateUsername * Check if a username is free and can be assigned to a channel/supergroup: channels.checkUsername * Check the validity of a chat invite link and get basic info about it: messages.checkChatInvite - * Clear all [drafts](https://core.telegram.org/api/drafts): messages.clearAllDrafts + * Clear all drafts: messages.clearAllDrafts * Clear recent stickers: messages.clearRecentStickers * Clear saved payment information: payments.clearSavedInfo - * Confirm a phone number to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.confirmPhone + * Confirm a phone number to cancel account deletion, for more info click here »: account.confirmPhone * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages - * Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel + * Create a supergroup/channel: channels.createChannel * Create a stickerset, bots only: stickers.createStickerSet * Create a theme: account.createTheme * Create and upload a new wallpaper: account.uploadWallPaper * Creates a new chat: messages.createChat - * Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel + * Delete a channel/supergroup: channels.deleteChannel * Delete a folder: folders.deleteFolder - * Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory - * Delete all temporary authorization keys **except for** the ones specified: auth.dropTempAuthKeys + * Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory + * Delete all temporary authorization keys except for the ones specified: auth.dropTempAuthKeys * Delete contacts by phone number: contacts.deleteByPhones * Delete installed wallpapers: account.resetWallPapers - * Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages + * Delete messages in a channel/supergroup: channels.deleteMessages * Delete saved contacts: contacts.resetSaved * Delete scheduled messages: messages.deleteScheduledMessages - * 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 - * Delete the history of a [supergroup](https://core.telegram.org/api/channel): channels.deleteHistory - * 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 + * Delete stored Telegram Passport documents, for more info see the passport docs »: account.deleteSecureValue + * Delete the history of a supergroup: channels.deleteHistory + * 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice * Deletes a user from a chat and sends a service message on it: messages.deleteChatUser * Deletes communication history: messages.deleteHistory @@ -240,35 +240,35 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro * Edit location of geogroup: channels.editLocation * Edit message: messages.editMessage * Edit peers in folder: folders.editPeerFolders - * Edit the default banned rights of a [channel/supergroup/group](https://core.telegram.org/api/channel): messages.editChatDefaultBannedRights - * Edit the description of a [group/supergroup/channel](https://core.telegram.org/api/channel): messages.editChatAbout - * Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle + * Edit the default banned rights of a channel/supergroup/group: messages.editChatDefaultBannedRights + * Edit the description of a group/supergroup/channel: messages.editChatAbout + * Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings - * Enable/disable [top peers](https://core.telegram.org/api/top-rating): contacts.toggleTopPeers + * Enable/disable top peers: contacts.toggleTopPeers * Enable/disable message signatures in channels: channels.toggleSignatures * Export an invite link for a chat: messages.exportChatInvite * Find out if a media message's caption can be edited: messages.getMessageEditData * Finish account takeout session: account.finishTakeoutSession * Forwards messages by their IDs: messages.forwardMessages - * Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages - * 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 - * Get [instant view](https://instantview.telegram.org) page: messages.getWebPage - * Get [passport](https://core.telegram.org/passport) configuration: help.getPassportConfig + * Get channel/supergroup messages: channels.getMessages + * 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 + * Get instant view page: messages.getWebPage + * Get passport configuration: help.getPassportConfig * Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash - * Get a list of [channels/supergroups](https://core.telegram.org/api/channel) we left: channels.getLeftChannels + * Get a list of channels/supergroups we left: channels.getLeftChannels * Get a payment form: payments.getPaymentForm * Get all archived stickers: messages.getArchivedStickers * Get all chats, channels and supergroups: messages.getAllChats * Get all contacts: contacts.getSaved - * Get all groups that can be used as [discussion groups](https://telegram.org/blog/privacy-discussions-web-bots): channels.getGroupsForDiscussion + * Get all groups that can be used as discussion groups: channels.getGroupsForDiscussion * Get all installed stickers: messages.getAllStickers - * 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 - * Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews + * Get all saved Telegram Passport documents, for more info see the passport docs »: account.getAllSecureValues + * Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get app-specific configuration: help.getAppConfig * Get changed emoji keywords: messages.getEmojiKeywordsDifference * Get changelog of current app: help.getAppChangelog * Get chats in common with a user: messages.getCommonChats - * Get configuration for [CDN](https://core.telegram.org/cdn) file downloads: help.getCdnConfig + * Get configuration for CDN file downloads: help.getCdnConfig * Get contact by telegram IDs: contacts.getContactIDs * Get contacts near you: contacts.getLocated * Get count of online users in a chat: messages.getOnlines @@ -279,9 +279,9 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro * Get featured stickers: messages.getFeaturedStickers * Get highscores of a game sent using an inline bot: messages.getInlineGameHighScores * Get highscores of a game: messages.getGameHighScores - * Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels - * Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant - * Get info about a `t.me` link: help.getDeepLinkInfo + * Get info about channels/supergroups: channels.getChannels + * Get info about a channel/supergroup participant: channels.getParticipant + * Get info about a t.me link: help.getDeepLinkInfo * Get info about a certain wallpaper: account.getWallPaper * Get info about a stickerset: messages.getStickerSet * Get info about an emoji keyword localization: messages.getEmojiKeywordsLanguages @@ -289,7 +289,7 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro * Get information about all languages in a localization pack: langpack.getLanguages * Get installed mask stickers: messages.getMaskStickers * Get installed themes: account.getThemes - * Get link and embed info of a message in a [channel/supergroup](https://core.telegram.org/api/channel): channels.exportMessageLink + * Get link and embed info of a message in a channel/supergroup: channels.exportMessageLink * Get live location history of a certain user: messages.getRecentLocations * Get localization pack strings: langpack.getLangPack * Get localized emoji keywords: messages.getEmojiKeywords @@ -297,7 +297,7 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro * Get logged-in sessions: account.getAuthorizations * Get media autodownload settings: account.getAutoDownloadSettings * Get message ranges for saving the user's chat history: messages.getSplitRanges - * Get more info about a Seamless Telegram Login authorization request, for more info [click here »](https://core.telegram.org/api/url-authorization): messages.requestUrlAuth + * Get more info about a Seamless Telegram Login authorization request, for more info click here »: messages.requestUrlAuth * Get most used peers: contacts.getTopPeers * Get new strings in languagepack: langpack.getDifference * Get payment receipt: payments.getPaymentReceipt @@ -309,9 +309,9 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro * Get privacy settings of current account: account.getPrivacy * Get promotion info of the currently-used MTProxy: help.getProxyData * Get recent stickers: messages.getRecentStickers - * Get recently used `t.me` links: help.getRecentMeUrls + * Get recently used t.me links: help.getRecentMeUrls * Get saved GIFs: messages.getSavedGifs - * 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 + * Get saved Telegram Passport document, for more info see the passport docs »: account.getSecureValue * Get saved payment information: payments.getSavedInfo * Get scheduled messages: messages.getScheduledHistory * Get scheduled messages: messages.getScheduledMessages @@ -319,18 +319,18 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro * Get stickers by emoji: messages.getStickers * Get strings from a language pack: langpack.getStrings * Get temporary payment password: account.getTmpPassword - * Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channel): channels.getAdminLog - * Get the number of results that would be found by a [messages.search](../methods/messages.search.md) call with the same parameters: messages.getSearchCounters + * Get the admin log of a channel/supergroup: channels.getAdminLog + * Get the number of results that would be found by a messages.search call with the same parameters: messages.getSearchCounters * Get the participants of a channel: channels.getParticipants * Get theme information: account.getTheme * Get unread messages where we were mentioned: messages.getUnreadMentions - * Get web [login widget](https://core.telegram.org/widgets/login) authorizations: account.getWebAuthorizations + * Get web login widget authorizations: account.getWebAuthorizations * Gets back found messages: messages.search * Gets back the conversation history with one interlocutor / within a chat: messages.getHistory * Gets current notification settings for a given user/group, from all users/all groups: account.getNotifySettings * Hide/unhide message history for new channel/supergroup users: channels.togglePreHistoryHidden - * 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 - * 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 + * If the peer settings of a new user allow us to add him as contact, add that user as contact: contacts.acceptContact + * 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 * Import a chat invite and join a private chat/supergroup/channel: messages.importChatInvite * 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 * 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 @@ -345,52 +345,52 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro * Intialize account takeout session: account.initTakeoutSession * Invite users to a channel/supergroup: channels.inviteToChannel * Invoke a method within a takeout session: invokeWithTakeout - * 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 - * Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer + * Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates + * Invoke the specified query using the specified API layer: invokeWithLayer * Invoke with the given message range: invokeWithMessagesRange * Invokes a query after a successfull completion of previous queries: invokeAfterMsgs * Invokes a query after successfull completion of one of the previous queries: invokeAfterMsg * Join a channel/supergroup: channels.joinChannel - * Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel - * Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization - * Log out an active web [telegram login](https://core.telegram.org/widgets/login) session: account.resetWebAuthorization + * Leave a channel/supergroup: channels.leaveChannel + * Log out an active authorized session by its hash: account.resetAuthorization + * Log out an active web telegram login session: account.resetWebAuthorization * Look for updates of telegram's terms of service: help.getTermsOfServiceUpdate - * Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin + * Make a user admin in a legacy group: messages.editChatAdmin * Manually mark dialog as unread: messages.markDialogUnread - * Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory - * Mark [channel/supergroup](https://core.telegram.org/api/channel) message contents as read: channels.readMessageContents + * Mark channel/supergroup history as read: channels.readHistory + * Mark channel/supergroup message contents as read: channels.readMessageContents * Mark a sticker as favorite: messages.faveSticker * Mark mentions as read: messages.readMentions * Mark new featured stickers as read: messages.readFeaturedStickers * Marks message history as read: messages.readHistory * Marks message history within a secret chat as read: messages.readEncryptedHistory - * Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin + * Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents * Notify the other user in a private chat that a screenshot of the chat was taken: messages.sendScreenshotNotification - * 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): 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 * Obtain configuration for two-factor authorization with password: account.getPassword - * Once the user has confirmed their payment and shipping details, the bot receives an [updateBotPrecheckoutQuery](../constructors/updateBotPrecheckoutQuery.md) update. : messages.setBotPrecheckoutResults + * Once the user has confirmed their payment and shipping details, the bot receives an updateBotPrecheckoutQuery update. : messages.setBotPrecheckoutResults * 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 * Pin a message: messages.updatePinnedMessage * Pin/unpin a dialog: messages.toggleDialogPin * Press an inline callback button and get a callback answer from the bot: messages.getBotCallbackAnswer * Query an inline bot: messages.getInlineBotResults * Rate a call: phone.setCallRating - * Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice + * Register device to receive PUSH notifications: account.registerDevice * Remove a sticker from the set where it belongs, bots only. The sticker set must have been created by the bot: stickers.removeStickerFromSet * Reorder installed stickersets: messages.reorderStickerSets * Reorder pinned dialogs: messages.reorderPinnedDialogs * Report a message in a chat for violation of telegram's Terms of Service: messages.report - * Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam + * Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer * Report a secret chat for spam: messages.reportEncryptedSpam * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam - * 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 - * Resend the code to verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.resendPasswordEmail - * 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 - * Reset [rating](https://core.telegram.org/api/top-rating) of top peer: contacts.resetTopPeerRating - * Reset all active web [telegram login](https://core.telegram.org/widgets/login) sessions: account.resetWebAuthorizations - * Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword + * Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery + * Resend the code to verify an email to use as 2FA recovery method: account.resendPasswordEmail + * 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 + * Reset rating of top peer: contacts.resetTopPeerRating + * Reset all active web telegram login sessions: account.resetWebAuthorizations + * Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings * Returns URL with the chat statistics. Currently this method can be used only for channels: messages.getStatsURL * Returns a Telegram Passport authorization form for sharing data with a service: account.getAuthorizationForm @@ -412,26 +412,26 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro * Returns the list of user photos: photos.getUserPhotos * Returns the support user for the 'ask a question' feature: help.getSupport * Returns users found by username substring: contacts.search - * Save a message [draft](https://core.telegram.org/api/drafts) associated to a chat: messages.saveDraft + * Save a message draft associated to a chat: messages.saveDraft * Save a theme: account.saveTheme - * Save get all message [drafts](https://core.telegram.org/api/drafts): messages.getAllDrafts + * Save get all message drafts: messages.getAllDrafts * Saves logs of application on the server: help.saveAppLog * Search for GIFs: messages.searchGifs * Search for messages and peers globally: messages.searchGlobal * Search for stickersets: messages.searchStickerSets - * 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 + * Securely save Telegram Passport document, for more info see the passport docs »: account.saveSecureValue * Send a media: messages.sendMedia - * Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md): messages.sendInlineBotResult + * Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult * Send an album of media: messages.sendMultiMedia * Send compiled payment form: payments.sendPaymentForm - * Send confirmation code to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.sendConfirmPhoneCode + * Send confirmation code to cancel account deletion, for more info click here »: account.sendConfirmPhoneCode * Send phone call debug data to server: phone.saveCallDebug * Send scheduled messages right away: messages.sendScheduledMessages - * Send the verification email code for telegram [passport](https://core.telegram.org/passport): account.sendVerifyEmailCode - * Send the verification phone code for telegram [passport](https://core.telegram.org/passport): account.sendVerifyPhoneCode + * Send the verification email code for telegram passport: account.sendVerifyEmailCode + * Send the verification phone code for telegram passport: account.sendVerifyPhoneCode * Send typing event by the current user to a secret chat: messages.setEncryptedTyping * Sends a Telegram Passport authorization form, effectively sharing data with the service: account.acceptAuthorization - * Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping + * Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a custom request; for bots only: bots.sendCustomRequest * Sends a message to a chat: messages.sendMessage * Sends a message with a file attachment to a secret chat: messages.sendEncryptedFile @@ -439,14 +439,14 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro * Sends a text message to a secret chat: messages.sendEncrypted * Set account self-destruction period: account.setAccountTTL * Set the callback answer to a user button press (bots only): messages.setBotCallbackAnswer - * 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 - * Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot + * 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 + * Start a conversation with a bot using a deep linking parameter: messages.startBot * Submit requested order information for validation: payments.validateRequestedInfo * Terminates all user's authorized sessions except for the current one: auth.resetAuthorizations * Toggle contact sign up notifications: account.setContactSignUpNotification - * Toggle supergroup slow mode: if enabled, users will only be able to send one message every `seconds` seconds: channels.toggleSlowMode + * Toggle supergroup slow mode: if enabled, users will only be able to send one message every seconds seconds: channels.toggleSlowMode * Transfer channel ownership: channels.editCreator - * Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat + * Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet * Update theme: account.updateTheme * Updates current user profile photo: photos.uploadProfilePhoto @@ -457,14 +457,14 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro * Upload theme: account.uploadTheme * Use this method to set the score of the specified user in a game sent as a normal message (bots only): messages.setGameScore * Use this method to set the score of the specified user in a game sent as an inline message (bots only): messages.setInlineGameScore - * Use this to accept a Seamless Telegram Login authorization request, for more info [click here »](https://core.telegram.org/api/url-authorization): messages.acceptUrlAuth + * Use this to accept a Seamless Telegram Login authorization request, for more info click here »: messages.acceptUrlAuth * Validates a username and checks availability: account.checkUsername * Verify a new phone number to associate to the current account: account.sendChangePhoneCode - * Verify a phone number for telegram [passport](https://core.telegram.org/passport): account.verifyPhone - * Verify an email address for telegram [passport](https://core.telegram.org/passport): account.verifyEmail - * Verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.confirmPasswordEmail - * Vote in a [poll](../constructors/poll.md): messages.sendVote - * 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 + * Verify a phone number for telegram passport: account.verifyPhone + * Verify an email address for telegram passport: account.verifyEmail + * Verify an email to use as 2FA recovery method: account.confirmPasswordEmail + * Vote in a poll: messages.sendVote + * When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * Whether the user will receive notifications when contacts sign up: account.getContactSignUpNotification * 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 * You cannot use this method directly, instead use $MadelineProto->getDhConfig();: messages.getDhConfig diff --git a/old_docs/API_docs_v100/methods/README.md b/old_docs/API_docs_v100/methods/README.md index 899410c3..608f04a2 100644 --- a/old_docs/API_docs_v100/methods/README.md +++ b/old_docs/API_docs_v100/methods/README.md @@ -46,13 +46,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Answers a custom query; for bots only: bots.answerWebhookJSONQuery -* Associate a group to a channel as [discussion group](https://telegram.org/blog/privacy-discussions-web-bots) for that channel: channels.setDiscussionGroup +* Associate a group to a channel as discussion group for that channel: channels.setDiscussionGroup * Associate a stickerset to the supergroup: channels.setStickers -* Ban/unban/kick a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editBanned +* Ban/unban/kick a user in a supergroup/channel: channels.editBanned -* Cancel the code that was sent to verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.cancelPasswordEmail +* Cancel the code that was sent to verify an email to use as 2FA recovery method: account.cancelPasswordEmail * Cancel the login verification code: auth.cancelCode @@ -64,7 +64,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -78,17 +78,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Check the validity of a chat invite link and get basic info about it: messages.checkChatInvite -* Clear all [drafts](https://core.telegram.org/api/drafts): messages.clearAllDrafts +* Clear all drafts: messages.clearAllDrafts * Clear recent stickers: messages.clearRecentStickers * Clear saved payment information: payments.clearSavedInfo -* Confirm a phone number to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.confirmPhone +* Confirm a phone number to cancel account deletion, for more info click here »: account.confirmPhone * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Create a stickerset, bots only: stickers.createStickerSet @@ -96,29 +96,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a contact: contacts.deleteContact * Delete a folder: folders.deleteFolder -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete all temporary authorization keys **except for** the ones specified: auth.dropTempAuthKeys +* Delete all temporary authorization keys except for the ones specified: auth.dropTempAuthKeys * Delete contacts by phone number: contacts.deleteByPhones * Delete installed wallpapers: account.resetWallPapers -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages * Delete saved contacts: contacts.resetSaved -* 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 +* Delete stored Telegram Passport documents, for more info see the passport docs »: account.deleteSecureValue -* Delete the history of a [supergroup](https://core.telegram.org/api/channel): channels.deleteHistory +* Delete the history of a supergroup: channels.deleteHistory -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -140,15 +140,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit peers in folder: folders.editPeerFolders -* Edit the default banned rights of a [channel/supergroup/group](https://core.telegram.org/api/channel): messages.editChatDefaultBannedRights +* Edit the default banned rights of a channel/supergroup/group: messages.editChatDefaultBannedRights -* Edit the description of a [group/supergroup/channel](https://core.telegram.org/api/channel): messages.editChatAbout +* Edit the description of a group/supergroup/channel: messages.editChatAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings -* Enable/disable [top peers](https://core.telegram.org/api/top-rating): contacts.toggleTopPeers +* Enable/disable top peers: contacts.toggleTopPeers * Enable/disable message signatures in channels: channels.toggleSignatures @@ -160,17 +160,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages -* 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 +* 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 -* Get [instant view](https://instantview.telegram.org) page: messages.getWebPage +* Get instant view page: messages.getWebPage -* Get [passport](https://core.telegram.org/passport) configuration: help.getPassportConfig +* Get passport configuration: help.getPassportConfig * Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash -* Get a list of [channels/supergroups](https://core.telegram.org/api/channel) we left: channels.getLeftChannels +* Get a list of channels/supergroups we left: channels.getLeftChannels * Get a payment form: payments.getPaymentForm @@ -180,13 +180,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get all contacts: contacts.getSaved -* Get all groups that can be used as [discussion groups](https://telegram.org/blog/privacy-discussions-web-bots): channels.getGroupsForDiscussion +* Get all groups that can be used as discussion groups: channels.getGroupsForDiscussion * Get all installed stickers: messages.getAllStickers -* 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 +* Get all saved Telegram Passport documents, for more info see the passport docs »: account.getAllSecureValues -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get app-specific configuration: help.getAppConfig @@ -198,7 +198,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get chats in common with a user: messages.getCommonChats -* Get configuration for [CDN](https://core.telegram.org/cdn) file downloads: help.getCdnConfig +* Get configuration for CDN file downloads: help.getCdnConfig * Get contact by telegram IDs: contacts.getContactIDs @@ -218,11 +218,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get highscores of a game: messages.getGameHighScores -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant -* Get info about a `t.me` link: help.getDeepLinkInfo +* Get info about a t.me link: help.getDeepLinkInfo * Get info about a certain wallpaper: account.getWallPaper @@ -236,7 +236,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get installed mask stickers: messages.getMaskStickers -* Get link and embed info of a message in a [channel/supergroup](https://core.telegram.org/api/channel): channels.exportMessageLink +* Get link and embed info of a message in a channel/supergroup: channels.exportMessageLink * Get live location history of a certain user: messages.getRecentLocations @@ -252,7 +252,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get message ranges for saving the user's chat history: messages.getSplitRanges -* Get more info about a Seamless Telegram Login authorization request, for more info [click here »](https://core.telegram.org/api/url-authorization): messages.requestUrlAuth +* Get more info about a Seamless Telegram Login authorization request, for more info click here »: messages.requestUrlAuth * Get most used peers: contacts.getTopPeers @@ -276,11 +276,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get recent stickers: messages.getRecentStickers -* Get recently used `t.me` links: help.getRecentMeUrls +* Get recently used t.me links: help.getRecentMeUrls * Get saved GIFs: messages.getSavedGifs -* 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 +* Get saved Telegram Passport document, for more info see the passport docs »: account.getSecureValue * Get saved payment information: payments.getSavedInfo @@ -292,15 +292,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get temporary payment password: account.getTmpPassword -* Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channel): channels.getAdminLog +* Get the admin log of a channel/supergroup: channels.getAdminLog -* Get the number of results that would be found by a [messages.search](../methods/messages.search.md) call with the same parameters: messages.getSearchCounters +* Get the number of results that would be found by a messages.search call with the same parameters: messages.getSearchCounters * Get the participants of a channel: channels.getParticipants * Get unread messages where we were mentioned: messages.getUnreadMentions -* Get web [login widget](https://core.telegram.org/widgets/login) authorizations: account.getWebAuthorizations +* Get web login widget authorizations: account.getWebAuthorizations * Gets back found messages: messages.search @@ -312,7 +312,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Hide/unhide message history for new channel/supergroup users: channels.togglePreHistoryHidden -* 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 +* 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 * Import a chat invite and join a private chat/supergroup/channel: messages.importChatInvite @@ -340,9 +340,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invoke a method within a takeout session: invokeWithTakeout -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invoke with the given message range: invokeWithMessagesRange @@ -352,21 +352,21 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Join a channel/supergroup: channels.joinChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Log out an active web [telegram login](https://core.telegram.org/widgets/login) session: account.resetWebAuthorization +* Log out an active web telegram login session: account.resetWebAuthorization * Look for updates of telegram's terms of service: help.getTermsOfServiceUpdate -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin * Manually mark dialog as unread: messages.markDialogUnread -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory -* Mark [channel/supergroup](https://core.telegram.org/api/channel) message contents as read: channels.readMessageContents +* Mark channel/supergroup message contents as read: channels.readMessageContents * Mark a sticker as favorite: messages.faveSticker @@ -378,17 +378,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents * Notify the other user in a private chat that a screenshot of the chat was taken: messages.sendScreenshotNotification -* 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): 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 * Obtain configuration for two-factor authorization with password: account.getPassword -* Once the user has confirmed their payment and shipping details, the bot receives an [updateBotPrecheckoutQuery](../constructors/updateBotPrecheckoutQuery.md) update. : messages.setBotPrecheckoutResults +* Once the user has confirmed their payment and shipping details, the bot receives an updateBotPrecheckoutQuery update. : messages.setBotPrecheckoutResults * 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 @@ -402,7 +402,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Rate a call: phone.setCallRating -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice * Remove a sticker from the set where it belongs, bots only. The sticker set must have been created by the bot: stickers.removeStickerFromSet @@ -412,7 +412,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Report a message in a chat for violation of telegram's Terms of Service: messages.report -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer @@ -420,17 +420,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery -* Resend the code to verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.resendPasswordEmail +* Resend the code to verify an email to use as 2FA recovery method: account.resendPasswordEmail -* 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 +* 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 -* Reset [rating](https://core.telegram.org/api/top-rating) of top peer: contacts.resetTopPeerRating +* Reset rating of top peer: contacts.resetTopPeerRating -* Reset all active web [telegram login](https://core.telegram.org/widgets/login) sessions: account.resetWebAuthorizations +* Reset all active web telegram login sessions: account.resetWebAuthorizations -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -474,9 +474,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Returns users found by username substring: contacts.search -* Save a message [draft](https://core.telegram.org/api/drafts) associated to a chat: messages.saveDraft +* Save a message draft associated to a chat: messages.saveDraft -* Save get all message [drafts](https://core.telegram.org/api/drafts): messages.getAllDrafts +* Save get all message drafts: messages.getAllDrafts * Saves logs of application on the server: help.saveAppLog @@ -486,29 +486,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Search for stickersets: messages.searchStickerSets -* 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 +* Securely save Telegram Passport document, for more info see the passport docs »: account.saveSecureValue * Send a media: messages.sendMedia -* Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md): messages.sendInlineBotResult +* Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult * Send an album of media: messages.sendMultiMedia * Send compiled payment form: payments.sendPaymentForm -* Send confirmation code to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.sendConfirmPhoneCode +* Send confirmation code to cancel account deletion, for more info click here »: account.sendConfirmPhoneCode * Send phone call debug data to server: phone.saveCallDebug -* Send the verification email code for telegram [passport](https://core.telegram.org/passport): account.sendVerifyEmailCode +* Send the verification email code for telegram passport: account.sendVerifyEmailCode -* Send the verification phone code for telegram [passport](https://core.telegram.org/passport): account.sendVerifyPhoneCode +* Send the verification phone code for telegram passport: account.sendVerifyPhoneCode * Send typing event by the current user to a secret chat: messages.setEncryptedTyping * Sends a Telegram Passport authorization form, effectively sharing data with the service: account.acceptAuthorization -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a custom request; for bots only: bots.sendCustomRequest @@ -524,7 +524,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Set the callback answer to a user button press (bots only): messages.setBotCallbackAnswer -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Submit requested order information for validation: payments.validateRequestedInfo @@ -532,7 +532,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Toggle contact sign up notifications: account.setContactSignUpNotification -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -550,21 +550,21 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Use this method to set the score of the specified user in a game sent as an inline message (bots only): messages.setInlineGameScore -* Use this to accept a Seamless Telegram Login authorization request, for more info [click here »](https://core.telegram.org/api/url-authorization): messages.acceptUrlAuth +* Use this to accept a Seamless Telegram Login authorization request, for more info click here »: messages.acceptUrlAuth * Validates a username and checks availability: account.checkUsername * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* Verify a phone number for telegram [passport](https://core.telegram.org/passport): account.verifyPhone +* Verify a phone number for telegram passport: account.verifyPhone -* Verify an email address for telegram [passport](https://core.telegram.org/passport): account.verifyEmail +* Verify an email address for telegram passport: account.verifyEmail -* Verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.confirmPasswordEmail +* Verify an email to use as 2FA recovery method: account.confirmPasswordEmail -* Vote in a [poll](../constructors/poll.md): messages.sendVote +* Vote in a poll: messages.sendVote -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * Whether the user will receive notifications when contacts sign up: account.getContactSignUpNotification diff --git a/old_docs/API_docs_v102/methods/README.md b/old_docs/API_docs_v102/methods/README.md index 294f1102..48943dbb 100644 --- a/old_docs/API_docs_v102/methods/README.md +++ b/old_docs/API_docs_v102/methods/README.md @@ -48,13 +48,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Answers a custom query; for bots only: bots.answerWebhookJSONQuery -* Associate a group to a channel as [discussion group](https://telegram.org/blog/privacy-discussions-web-bots) for that channel: channels.setDiscussionGroup +* Associate a group to a channel as discussion group for that channel: channels.setDiscussionGroup * Associate a stickerset to the supergroup: channels.setStickers -* Ban/unban/kick a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editBanned +* Ban/unban/kick a user in a supergroup/channel: channels.editBanned -* Cancel the code that was sent to verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.cancelPasswordEmail +* Cancel the code that was sent to verify an email to use as 2FA recovery method: account.cancelPasswordEmail * Cancel the login verification code: auth.cancelCode @@ -66,7 +66,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -80,17 +80,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Check the validity of a chat invite link and get basic info about it: messages.checkChatInvite -* Clear all [drafts](https://core.telegram.org/api/drafts): messages.clearAllDrafts +* Clear all drafts: messages.clearAllDrafts * Clear recent stickers: messages.clearRecentStickers * Clear saved payment information: payments.clearSavedInfo -* Confirm a phone number to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.confirmPhone +* Confirm a phone number to cancel account deletion, for more info click here »: account.confirmPhone * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Create a stickerset, bots only: stickers.createStickerSet @@ -98,27 +98,27 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a folder: folders.deleteFolder -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete all temporary authorization keys **except for** the ones specified: auth.dropTempAuthKeys +* Delete all temporary authorization keys except for the ones specified: auth.dropTempAuthKeys * Delete contacts by phone number: contacts.deleteByPhones * Delete installed wallpapers: account.resetWallPapers -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages * Delete saved contacts: contacts.resetSaved -* 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 +* Delete stored Telegram Passport documents, for more info see the passport docs »: account.deleteSecureValue -* Delete the history of a [supergroup](https://core.telegram.org/api/channel): channels.deleteHistory +* Delete the history of a supergroup: channels.deleteHistory -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -142,15 +142,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit peers in folder: folders.editPeerFolders -* Edit the default banned rights of a [channel/supergroup/group](https://core.telegram.org/api/channel): messages.editChatDefaultBannedRights +* Edit the default banned rights of a channel/supergroup/group: messages.editChatDefaultBannedRights -* Edit the description of a [group/supergroup/channel](https://core.telegram.org/api/channel): messages.editChatAbout +* Edit the description of a group/supergroup/channel: messages.editChatAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings -* Enable/disable [top peers](https://core.telegram.org/api/top-rating): contacts.toggleTopPeers +* Enable/disable top peers: contacts.toggleTopPeers * Enable/disable message signatures in channels: channels.toggleSignatures @@ -162,17 +162,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages -* 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 +* 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 -* Get [instant view](https://instantview.telegram.org) page: messages.getWebPage +* Get instant view page: messages.getWebPage -* Get [passport](https://core.telegram.org/passport) configuration: help.getPassportConfig +* Get passport configuration: help.getPassportConfig * Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash -* Get a list of [channels/supergroups](https://core.telegram.org/api/channel) we left: channels.getLeftChannels +* Get a list of channels/supergroups we left: channels.getLeftChannels * Get a payment form: payments.getPaymentForm @@ -182,13 +182,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get all contacts: contacts.getSaved -* Get all groups that can be used as [discussion groups](https://telegram.org/blog/privacy-discussions-web-bots): channels.getGroupsForDiscussion +* Get all groups that can be used as discussion groups: channels.getGroupsForDiscussion * Get all installed stickers: messages.getAllStickers -* 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 +* Get all saved Telegram Passport documents, for more info see the passport docs »: account.getAllSecureValues -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get app-specific configuration: help.getAppConfig @@ -198,7 +198,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get chats in common with a user: messages.getCommonChats -* Get configuration for [CDN](https://core.telegram.org/cdn) file downloads: help.getCdnConfig +* Get configuration for CDN file downloads: help.getCdnConfig * Get contact by telegram IDs: contacts.getContactIDs @@ -220,11 +220,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get highscores of a game: messages.getGameHighScores -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant -* Get info about a `t.me` link: help.getDeepLinkInfo +* Get info about a t.me link: help.getDeepLinkInfo * Get info about a certain wallpaper: account.getWallPaper @@ -238,7 +238,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get installed mask stickers: messages.getMaskStickers -* Get link and embed info of a message in a [channel/supergroup](https://core.telegram.org/api/channel): channels.exportMessageLink +* Get link and embed info of a message in a channel/supergroup: channels.exportMessageLink * Get live location history of a certain user: messages.getRecentLocations @@ -254,7 +254,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get message ranges for saving the user's chat history: messages.getSplitRanges -* Get more info about a Seamless Telegram Login authorization request, for more info [click here »](https://core.telegram.org/api/url-authorization): messages.requestUrlAuth +* Get more info about a Seamless Telegram Login authorization request, for more info click here »: messages.requestUrlAuth * Get most used peers: contacts.getTopPeers @@ -278,11 +278,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get recent stickers: messages.getRecentStickers -* Get recently used `t.me` links: help.getRecentMeUrls +* Get recently used t.me links: help.getRecentMeUrls * Get saved GIFs: messages.getSavedGifs -* 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 +* Get saved Telegram Passport document, for more info see the passport docs »: account.getSecureValue * Get saved payment information: payments.getSavedInfo @@ -294,15 +294,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get temporary payment password: account.getTmpPassword -* Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channel): channels.getAdminLog +* Get the admin log of a channel/supergroup: channels.getAdminLog -* Get the number of results that would be found by a [messages.search](../methods/messages.search.md) call with the same parameters: messages.getSearchCounters +* Get the number of results that would be found by a messages.search call with the same parameters: messages.getSearchCounters * Get the participants of a channel: channels.getParticipants * Get unread messages where we were mentioned: messages.getUnreadMentions -* Get web [login widget](https://core.telegram.org/widgets/login) authorizations: account.getWebAuthorizations +* Get web login widget authorizations: account.getWebAuthorizations * Gets back found messages: messages.search @@ -312,9 +312,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Hide/unhide message history for new channel/supergroup users: channels.togglePreHistoryHidden -* 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 +* If the peer settings of a new user allow us to add him as contact, add that user as contact: contacts.acceptContact -* 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 +* 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 * Import a chat invite and join a private chat/supergroup/channel: messages.importChatInvite @@ -342,9 +342,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invoke a method within a takeout session: invokeWithTakeout -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invoke with the given message range: invokeWithMessagesRange @@ -354,21 +354,21 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Join a channel/supergroup: channels.joinChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Log out an active web [telegram login](https://core.telegram.org/widgets/login) session: account.resetWebAuthorization +* Log out an active web telegram login session: account.resetWebAuthorization * Look for updates of telegram's terms of service: help.getTermsOfServiceUpdate -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin * Manually mark dialog as unread: messages.markDialogUnread -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory -* Mark [channel/supergroup](https://core.telegram.org/api/channel) message contents as read: channels.readMessageContents +* Mark channel/supergroup message contents as read: channels.readMessageContents * Mark a sticker as favorite: messages.faveSticker @@ -380,17 +380,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents * Notify the other user in a private chat that a screenshot of the chat was taken: messages.sendScreenshotNotification -* 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): 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 * Obtain configuration for two-factor authorization with password: account.getPassword -* Once the user has confirmed their payment and shipping details, the bot receives an [updateBotPrecheckoutQuery](../constructors/updateBotPrecheckoutQuery.md) update. : messages.setBotPrecheckoutResults +* Once the user has confirmed their payment and shipping details, the bot receives an updateBotPrecheckoutQuery update. : messages.setBotPrecheckoutResults * 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 @@ -404,7 +404,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Rate a call: phone.setCallRating -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice * Remove a sticker from the set where it belongs, bots only. The sticker set must have been created by the bot: stickers.removeStickerFromSet @@ -414,7 +414,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Report a message in a chat for violation of telegram's Terms of Service: messages.report -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer @@ -422,17 +422,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery -* Resend the code to verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.resendPasswordEmail +* Resend the code to verify an email to use as 2FA recovery method: account.resendPasswordEmail -* 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 +* 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 -* Reset [rating](https://core.telegram.org/api/top-rating) of top peer: contacts.resetTopPeerRating +* Reset rating of top peer: contacts.resetTopPeerRating -* Reset all active web [telegram login](https://core.telegram.org/widgets/login) sessions: account.resetWebAuthorizations +* Reset all active web telegram login sessions: account.resetWebAuthorizations -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -476,9 +476,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Returns users found by username substring: contacts.search -* Save a message [draft](https://core.telegram.org/api/drafts) associated to a chat: messages.saveDraft +* Save a message draft associated to a chat: messages.saveDraft -* Save get all message [drafts](https://core.telegram.org/api/drafts): messages.getAllDrafts +* Save get all message drafts: messages.getAllDrafts * Saves logs of application on the server: help.saveAppLog @@ -488,29 +488,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Search for stickersets: messages.searchStickerSets -* 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 +* Securely save Telegram Passport document, for more info see the passport docs »: account.saveSecureValue * Send a media: messages.sendMedia -* Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md): messages.sendInlineBotResult +* Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult * Send an album of media: messages.sendMultiMedia * Send compiled payment form: payments.sendPaymentForm -* Send confirmation code to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.sendConfirmPhoneCode +* Send confirmation code to cancel account deletion, for more info click here »: account.sendConfirmPhoneCode * Send phone call debug data to server: phone.saveCallDebug -* Send the verification email code for telegram [passport](https://core.telegram.org/passport): account.sendVerifyEmailCode +* Send the verification email code for telegram passport: account.sendVerifyEmailCode -* Send the verification phone code for telegram [passport](https://core.telegram.org/passport): account.sendVerifyPhoneCode +* Send the verification phone code for telegram passport: account.sendVerifyPhoneCode * Send typing event by the current user to a secret chat: messages.setEncryptedTyping * Sends a Telegram Passport authorization form, effectively sharing data with the service: account.acceptAuthorization -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a custom request; for bots only: bots.sendCustomRequest @@ -526,9 +526,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Set the callback answer to a user button press (bots only): messages.setBotCallbackAnswer -* 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 +* 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 -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Submit requested order information for validation: payments.validateRequestedInfo @@ -538,7 +538,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Transfer channel ownership: channels.editCreator -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -556,21 +556,21 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Use this method to set the score of the specified user in a game sent as an inline message (bots only): messages.setInlineGameScore -* Use this to accept a Seamless Telegram Login authorization request, for more info [click here »](https://core.telegram.org/api/url-authorization): messages.acceptUrlAuth +* Use this to accept a Seamless Telegram Login authorization request, for more info click here »: messages.acceptUrlAuth * Validates a username and checks availability: account.checkUsername * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* Verify a phone number for telegram [passport](https://core.telegram.org/passport): account.verifyPhone +* Verify a phone number for telegram passport: account.verifyPhone -* Verify an email address for telegram [passport](https://core.telegram.org/passport): account.verifyEmail +* Verify an email address for telegram passport: account.verifyEmail -* Verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.confirmPasswordEmail +* Verify an email to use as 2FA recovery method: account.confirmPasswordEmail -* Vote in a [poll](../constructors/poll.md): messages.sendVote +* Vote in a poll: messages.sendVote -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * Whether the user will receive notifications when contacts sign up: account.getContactSignUpNotification diff --git a/old_docs/API_docs_v103/methods/README.md b/old_docs/API_docs_v103/methods/README.md index 294f1102..48943dbb 100644 --- a/old_docs/API_docs_v103/methods/README.md +++ b/old_docs/API_docs_v103/methods/README.md @@ -48,13 +48,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Answers a custom query; for bots only: bots.answerWebhookJSONQuery -* Associate a group to a channel as [discussion group](https://telegram.org/blog/privacy-discussions-web-bots) for that channel: channels.setDiscussionGroup +* Associate a group to a channel as discussion group for that channel: channels.setDiscussionGroup * Associate a stickerset to the supergroup: channels.setStickers -* Ban/unban/kick a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editBanned +* Ban/unban/kick a user in a supergroup/channel: channels.editBanned -* Cancel the code that was sent to verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.cancelPasswordEmail +* Cancel the code that was sent to verify an email to use as 2FA recovery method: account.cancelPasswordEmail * Cancel the login verification code: auth.cancelCode @@ -66,7 +66,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -80,17 +80,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Check the validity of a chat invite link and get basic info about it: messages.checkChatInvite -* Clear all [drafts](https://core.telegram.org/api/drafts): messages.clearAllDrafts +* Clear all drafts: messages.clearAllDrafts * Clear recent stickers: messages.clearRecentStickers * Clear saved payment information: payments.clearSavedInfo -* Confirm a phone number to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.confirmPhone +* Confirm a phone number to cancel account deletion, for more info click here »: account.confirmPhone * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Create a stickerset, bots only: stickers.createStickerSet @@ -98,27 +98,27 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a folder: folders.deleteFolder -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete all temporary authorization keys **except for** the ones specified: auth.dropTempAuthKeys +* Delete all temporary authorization keys except for the ones specified: auth.dropTempAuthKeys * Delete contacts by phone number: contacts.deleteByPhones * Delete installed wallpapers: account.resetWallPapers -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages * Delete saved contacts: contacts.resetSaved -* 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 +* Delete stored Telegram Passport documents, for more info see the passport docs »: account.deleteSecureValue -* Delete the history of a [supergroup](https://core.telegram.org/api/channel): channels.deleteHistory +* Delete the history of a supergroup: channels.deleteHistory -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -142,15 +142,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit peers in folder: folders.editPeerFolders -* Edit the default banned rights of a [channel/supergroup/group](https://core.telegram.org/api/channel): messages.editChatDefaultBannedRights +* Edit the default banned rights of a channel/supergroup/group: messages.editChatDefaultBannedRights -* Edit the description of a [group/supergroup/channel](https://core.telegram.org/api/channel): messages.editChatAbout +* Edit the description of a group/supergroup/channel: messages.editChatAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings -* Enable/disable [top peers](https://core.telegram.org/api/top-rating): contacts.toggleTopPeers +* Enable/disable top peers: contacts.toggleTopPeers * Enable/disable message signatures in channels: channels.toggleSignatures @@ -162,17 +162,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages -* 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 +* 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 -* Get [instant view](https://instantview.telegram.org) page: messages.getWebPage +* Get instant view page: messages.getWebPage -* Get [passport](https://core.telegram.org/passport) configuration: help.getPassportConfig +* Get passport configuration: help.getPassportConfig * Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash -* Get a list of [channels/supergroups](https://core.telegram.org/api/channel) we left: channels.getLeftChannels +* Get a list of channels/supergroups we left: channels.getLeftChannels * Get a payment form: payments.getPaymentForm @@ -182,13 +182,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get all contacts: contacts.getSaved -* Get all groups that can be used as [discussion groups](https://telegram.org/blog/privacy-discussions-web-bots): channels.getGroupsForDiscussion +* Get all groups that can be used as discussion groups: channels.getGroupsForDiscussion * Get all installed stickers: messages.getAllStickers -* 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 +* Get all saved Telegram Passport documents, for more info see the passport docs »: account.getAllSecureValues -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get app-specific configuration: help.getAppConfig @@ -198,7 +198,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get chats in common with a user: messages.getCommonChats -* Get configuration for [CDN](https://core.telegram.org/cdn) file downloads: help.getCdnConfig +* Get configuration for CDN file downloads: help.getCdnConfig * Get contact by telegram IDs: contacts.getContactIDs @@ -220,11 +220,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get highscores of a game: messages.getGameHighScores -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant -* Get info about a `t.me` link: help.getDeepLinkInfo +* Get info about a t.me link: help.getDeepLinkInfo * Get info about a certain wallpaper: account.getWallPaper @@ -238,7 +238,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get installed mask stickers: messages.getMaskStickers -* Get link and embed info of a message in a [channel/supergroup](https://core.telegram.org/api/channel): channels.exportMessageLink +* Get link and embed info of a message in a channel/supergroup: channels.exportMessageLink * Get live location history of a certain user: messages.getRecentLocations @@ -254,7 +254,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get message ranges for saving the user's chat history: messages.getSplitRanges -* Get more info about a Seamless Telegram Login authorization request, for more info [click here »](https://core.telegram.org/api/url-authorization): messages.requestUrlAuth +* Get more info about a Seamless Telegram Login authorization request, for more info click here »: messages.requestUrlAuth * Get most used peers: contacts.getTopPeers @@ -278,11 +278,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get recent stickers: messages.getRecentStickers -* Get recently used `t.me` links: help.getRecentMeUrls +* Get recently used t.me links: help.getRecentMeUrls * Get saved GIFs: messages.getSavedGifs -* 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 +* Get saved Telegram Passport document, for more info see the passport docs »: account.getSecureValue * Get saved payment information: payments.getSavedInfo @@ -294,15 +294,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get temporary payment password: account.getTmpPassword -* Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channel): channels.getAdminLog +* Get the admin log of a channel/supergroup: channels.getAdminLog -* Get the number of results that would be found by a [messages.search](../methods/messages.search.md) call with the same parameters: messages.getSearchCounters +* Get the number of results that would be found by a messages.search call with the same parameters: messages.getSearchCounters * Get the participants of a channel: channels.getParticipants * Get unread messages where we were mentioned: messages.getUnreadMentions -* Get web [login widget](https://core.telegram.org/widgets/login) authorizations: account.getWebAuthorizations +* Get web login widget authorizations: account.getWebAuthorizations * Gets back found messages: messages.search @@ -312,9 +312,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Hide/unhide message history for new channel/supergroup users: channels.togglePreHistoryHidden -* 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 +* If the peer settings of a new user allow us to add him as contact, add that user as contact: contacts.acceptContact -* 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 +* 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 * Import a chat invite and join a private chat/supergroup/channel: messages.importChatInvite @@ -342,9 +342,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invoke a method within a takeout session: invokeWithTakeout -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invoke with the given message range: invokeWithMessagesRange @@ -354,21 +354,21 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Join a channel/supergroup: channels.joinChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Log out an active web [telegram login](https://core.telegram.org/widgets/login) session: account.resetWebAuthorization +* Log out an active web telegram login session: account.resetWebAuthorization * Look for updates of telegram's terms of service: help.getTermsOfServiceUpdate -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin * Manually mark dialog as unread: messages.markDialogUnread -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory -* Mark [channel/supergroup](https://core.telegram.org/api/channel) message contents as read: channels.readMessageContents +* Mark channel/supergroup message contents as read: channels.readMessageContents * Mark a sticker as favorite: messages.faveSticker @@ -380,17 +380,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents * Notify the other user in a private chat that a screenshot of the chat was taken: messages.sendScreenshotNotification -* 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): 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 * Obtain configuration for two-factor authorization with password: account.getPassword -* Once the user has confirmed their payment and shipping details, the bot receives an [updateBotPrecheckoutQuery](../constructors/updateBotPrecheckoutQuery.md) update. : messages.setBotPrecheckoutResults +* Once the user has confirmed their payment and shipping details, the bot receives an updateBotPrecheckoutQuery update. : messages.setBotPrecheckoutResults * 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 @@ -404,7 +404,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Rate a call: phone.setCallRating -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice * Remove a sticker from the set where it belongs, bots only. The sticker set must have been created by the bot: stickers.removeStickerFromSet @@ -414,7 +414,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Report a message in a chat for violation of telegram's Terms of Service: messages.report -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer @@ -422,17 +422,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery -* Resend the code to verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.resendPasswordEmail +* Resend the code to verify an email to use as 2FA recovery method: account.resendPasswordEmail -* 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 +* 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 -* Reset [rating](https://core.telegram.org/api/top-rating) of top peer: contacts.resetTopPeerRating +* Reset rating of top peer: contacts.resetTopPeerRating -* Reset all active web [telegram login](https://core.telegram.org/widgets/login) sessions: account.resetWebAuthorizations +* Reset all active web telegram login sessions: account.resetWebAuthorizations -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -476,9 +476,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Returns users found by username substring: contacts.search -* Save a message [draft](https://core.telegram.org/api/drafts) associated to a chat: messages.saveDraft +* Save a message draft associated to a chat: messages.saveDraft -* Save get all message [drafts](https://core.telegram.org/api/drafts): messages.getAllDrafts +* Save get all message drafts: messages.getAllDrafts * Saves logs of application on the server: help.saveAppLog @@ -488,29 +488,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Search for stickersets: messages.searchStickerSets -* 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 +* Securely save Telegram Passport document, for more info see the passport docs »: account.saveSecureValue * Send a media: messages.sendMedia -* Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md): messages.sendInlineBotResult +* Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult * Send an album of media: messages.sendMultiMedia * Send compiled payment form: payments.sendPaymentForm -* Send confirmation code to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.sendConfirmPhoneCode +* Send confirmation code to cancel account deletion, for more info click here »: account.sendConfirmPhoneCode * Send phone call debug data to server: phone.saveCallDebug -* Send the verification email code for telegram [passport](https://core.telegram.org/passport): account.sendVerifyEmailCode +* Send the verification email code for telegram passport: account.sendVerifyEmailCode -* Send the verification phone code for telegram [passport](https://core.telegram.org/passport): account.sendVerifyPhoneCode +* Send the verification phone code for telegram passport: account.sendVerifyPhoneCode * Send typing event by the current user to a secret chat: messages.setEncryptedTyping * Sends a Telegram Passport authorization form, effectively sharing data with the service: account.acceptAuthorization -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a custom request; for bots only: bots.sendCustomRequest @@ -526,9 +526,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Set the callback answer to a user button press (bots only): messages.setBotCallbackAnswer -* 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 +* 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 -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Submit requested order information for validation: payments.validateRequestedInfo @@ -538,7 +538,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Transfer channel ownership: channels.editCreator -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -556,21 +556,21 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Use this method to set the score of the specified user in a game sent as an inline message (bots only): messages.setInlineGameScore -* Use this to accept a Seamless Telegram Login authorization request, for more info [click here »](https://core.telegram.org/api/url-authorization): messages.acceptUrlAuth +* Use this to accept a Seamless Telegram Login authorization request, for more info click here »: messages.acceptUrlAuth * Validates a username and checks availability: account.checkUsername * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* Verify a phone number for telegram [passport](https://core.telegram.org/passport): account.verifyPhone +* Verify a phone number for telegram passport: account.verifyPhone -* Verify an email address for telegram [passport](https://core.telegram.org/passport): account.verifyEmail +* Verify an email address for telegram passport: account.verifyEmail -* Verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.confirmPasswordEmail +* Verify an email to use as 2FA recovery method: account.confirmPasswordEmail -* Vote in a [poll](../constructors/poll.md): messages.sendVote +* Vote in a poll: messages.sendVote -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * Whether the user will receive notifications when contacts sign up: account.getContactSignUpNotification diff --git a/old_docs/API_docs_v104/methods/README.md b/old_docs/API_docs_v104/methods/README.md index 0690cd8a..2d89684f 100644 --- a/old_docs/API_docs_v104/methods/README.md +++ b/old_docs/API_docs_v104/methods/README.md @@ -48,13 +48,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Answers a custom query; for bots only: bots.answerWebhookJSONQuery -* Associate a group to a channel as [discussion group](https://telegram.org/blog/privacy-discussions-web-bots) for that channel: channels.setDiscussionGroup +* Associate a group to a channel as discussion group for that channel: channels.setDiscussionGroup * Associate a stickerset to the supergroup: channels.setStickers -* Ban/unban/kick a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editBanned +* Ban/unban/kick a user in a supergroup/channel: channels.editBanned -* Cancel the code that was sent to verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.cancelPasswordEmail +* Cancel the code that was sent to verify an email to use as 2FA recovery method: account.cancelPasswordEmail * Cancel the login verification code: auth.cancelCode @@ -66,7 +66,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -80,17 +80,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Check the validity of a chat invite link and get basic info about it: messages.checkChatInvite -* Clear all [drafts](https://core.telegram.org/api/drafts): messages.clearAllDrafts +* Clear all drafts: messages.clearAllDrafts * Clear recent stickers: messages.clearRecentStickers * Clear saved payment information: payments.clearSavedInfo -* Confirm a phone number to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.confirmPhone +* Confirm a phone number to cancel account deletion, for more info click here »: account.confirmPhone * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Create a stickerset, bots only: stickers.createStickerSet @@ -98,27 +98,27 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a folder: folders.deleteFolder -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete all temporary authorization keys **except for** the ones specified: auth.dropTempAuthKeys +* Delete all temporary authorization keys except for the ones specified: auth.dropTempAuthKeys * Delete contacts by phone number: contacts.deleteByPhones * Delete installed wallpapers: account.resetWallPapers -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages * Delete saved contacts: contacts.resetSaved -* 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 +* Delete stored Telegram Passport documents, for more info see the passport docs »: account.deleteSecureValue -* Delete the history of a [supergroup](https://core.telegram.org/api/channel): channels.deleteHistory +* Delete the history of a supergroup: channels.deleteHistory -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -142,15 +142,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit peers in folder: folders.editPeerFolders -* Edit the default banned rights of a [channel/supergroup/group](https://core.telegram.org/api/channel): messages.editChatDefaultBannedRights +* Edit the default banned rights of a channel/supergroup/group: messages.editChatDefaultBannedRights -* Edit the description of a [group/supergroup/channel](https://core.telegram.org/api/channel): messages.editChatAbout +* Edit the description of a group/supergroup/channel: messages.editChatAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings -* Enable/disable [top peers](https://core.telegram.org/api/top-rating): contacts.toggleTopPeers +* Enable/disable top peers: contacts.toggleTopPeers * Enable/disable message signatures in channels: channels.toggleSignatures @@ -162,17 +162,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages -* 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 +* 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 -* Get [instant view](https://instantview.telegram.org) page: messages.getWebPage +* Get instant view page: messages.getWebPage -* Get [passport](https://core.telegram.org/passport) configuration: help.getPassportConfig +* Get passport configuration: help.getPassportConfig * Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash -* Get a list of [channels/supergroups](https://core.telegram.org/api/channel) we left: channels.getLeftChannels +* Get a list of channels/supergroups we left: channels.getLeftChannels * Get a payment form: payments.getPaymentForm @@ -182,13 +182,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get all contacts: contacts.getSaved -* Get all groups that can be used as [discussion groups](https://telegram.org/blog/privacy-discussions-web-bots): channels.getGroupsForDiscussion +* Get all groups that can be used as discussion groups: channels.getGroupsForDiscussion * Get all installed stickers: messages.getAllStickers -* 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 +* Get all saved Telegram Passport documents, for more info see the passport docs »: account.getAllSecureValues -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get app-specific configuration: help.getAppConfig @@ -198,7 +198,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get chats in common with a user: messages.getCommonChats -* Get configuration for [CDN](https://core.telegram.org/cdn) file downloads: help.getCdnConfig +* Get configuration for CDN file downloads: help.getCdnConfig * Get contact by telegram IDs: contacts.getContactIDs @@ -220,11 +220,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get highscores of a game: messages.getGameHighScores -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant -* Get info about a `t.me` link: help.getDeepLinkInfo +* Get info about a t.me link: help.getDeepLinkInfo * Get info about a certain wallpaper: account.getWallPaper @@ -238,7 +238,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get installed mask stickers: messages.getMaskStickers -* Get link and embed info of a message in a [channel/supergroup](https://core.telegram.org/api/channel): channels.exportMessageLink +* Get link and embed info of a message in a channel/supergroup: channels.exportMessageLink * Get live location history of a certain user: messages.getRecentLocations @@ -254,7 +254,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get message ranges for saving the user's chat history: messages.getSplitRanges -* Get more info about a Seamless Telegram Login authorization request, for more info [click here »](https://core.telegram.org/api/url-authorization): messages.requestUrlAuth +* Get more info about a Seamless Telegram Login authorization request, for more info click here »: messages.requestUrlAuth * Get most used peers: contacts.getTopPeers @@ -278,11 +278,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get recent stickers: messages.getRecentStickers -* Get recently used `t.me` links: help.getRecentMeUrls +* Get recently used t.me links: help.getRecentMeUrls * Get saved GIFs: messages.getSavedGifs -* 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 +* Get saved Telegram Passport document, for more info see the passport docs »: account.getSecureValue * Get saved payment information: payments.getSavedInfo @@ -294,15 +294,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get temporary payment password: account.getTmpPassword -* Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channel): channels.getAdminLog +* Get the admin log of a channel/supergroup: channels.getAdminLog -* Get the number of results that would be found by a [messages.search](../methods/messages.search.md) call with the same parameters: messages.getSearchCounters +* Get the number of results that would be found by a messages.search call with the same parameters: messages.getSearchCounters * Get the participants of a channel: channels.getParticipants * Get unread messages where we were mentioned: messages.getUnreadMentions -* Get web [login widget](https://core.telegram.org/widgets/login) authorizations: account.getWebAuthorizations +* Get web login widget authorizations: account.getWebAuthorizations * Gets back found messages: messages.search @@ -312,9 +312,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Hide/unhide message history for new channel/supergroup users: channels.togglePreHistoryHidden -* 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 +* If the peer settings of a new user allow us to add him as contact, add that user as contact: contacts.acceptContact -* 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 +* 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 * Import a chat invite and join a private chat/supergroup/channel: messages.importChatInvite @@ -342,9 +342,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invoke a method within a takeout session: invokeWithTakeout -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invoke with the given message range: invokeWithMessagesRange @@ -354,21 +354,21 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Join a channel/supergroup: channels.joinChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Log out an active web [telegram login](https://core.telegram.org/widgets/login) session: account.resetWebAuthorization +* Log out an active web telegram login session: account.resetWebAuthorization * Look for updates of telegram's terms of service: help.getTermsOfServiceUpdate -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin * Manually mark dialog as unread: messages.markDialogUnread -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory -* Mark [channel/supergroup](https://core.telegram.org/api/channel) message contents as read: channels.readMessageContents +* Mark channel/supergroup message contents as read: channels.readMessageContents * Mark a sticker as favorite: messages.faveSticker @@ -380,17 +380,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents * Notify the other user in a private chat that a screenshot of the chat was taken: messages.sendScreenshotNotification -* 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): 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 * Obtain configuration for two-factor authorization with password: account.getPassword -* Once the user has confirmed their payment and shipping details, the bot receives an [updateBotPrecheckoutQuery](../constructors/updateBotPrecheckoutQuery.md) update. : messages.setBotPrecheckoutResults +* Once the user has confirmed their payment and shipping details, the bot receives an updateBotPrecheckoutQuery update. : messages.setBotPrecheckoutResults * 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 @@ -404,7 +404,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Rate a call: phone.setCallRating -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice * Remove a sticker from the set where it belongs, bots only. The sticker set must have been created by the bot: stickers.removeStickerFromSet @@ -414,7 +414,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Report a message in a chat for violation of telegram's Terms of Service: messages.report -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer @@ -422,17 +422,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery -* Resend the code to verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.resendPasswordEmail +* Resend the code to verify an email to use as 2FA recovery method: account.resendPasswordEmail -* 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 +* 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 -* Reset [rating](https://core.telegram.org/api/top-rating) of top peer: contacts.resetTopPeerRating +* Reset rating of top peer: contacts.resetTopPeerRating -* Reset all active web [telegram login](https://core.telegram.org/widgets/login) sessions: account.resetWebAuthorizations +* Reset all active web telegram login sessions: account.resetWebAuthorizations -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -476,9 +476,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Returns users found by username substring: contacts.search -* Save a message [draft](https://core.telegram.org/api/drafts) associated to a chat: messages.saveDraft +* Save a message draft associated to a chat: messages.saveDraft -* Save get all message [drafts](https://core.telegram.org/api/drafts): messages.getAllDrafts +* Save get all message drafts: messages.getAllDrafts * Saves logs of application on the server: help.saveAppLog @@ -488,29 +488,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Search for stickersets: messages.searchStickerSets -* 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 +* Securely save Telegram Passport document, for more info see the passport docs »: account.saveSecureValue * Send a media: messages.sendMedia -* Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md): messages.sendInlineBotResult +* Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult * Send an album of media: messages.sendMultiMedia * Send compiled payment form: payments.sendPaymentForm -* Send confirmation code to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.sendConfirmPhoneCode +* Send confirmation code to cancel account deletion, for more info click here »: account.sendConfirmPhoneCode * Send phone call debug data to server: phone.saveCallDebug -* Send the verification email code for telegram [passport](https://core.telegram.org/passport): account.sendVerifyEmailCode +* Send the verification email code for telegram passport: account.sendVerifyEmailCode -* Send the verification phone code for telegram [passport](https://core.telegram.org/passport): account.sendVerifyPhoneCode +* Send the verification phone code for telegram passport: account.sendVerifyPhoneCode * Send typing event by the current user to a secret chat: messages.setEncryptedTyping * Sends a Telegram Passport authorization form, effectively sharing data with the service: account.acceptAuthorization -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a custom request; for bots only: bots.sendCustomRequest @@ -526,9 +526,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Set the callback answer to a user button press (bots only): messages.setBotCallbackAnswer -* 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 +* 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 -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Submit requested order information for validation: payments.validateRequestedInfo @@ -536,11 +536,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Toggle contact sign up notifications: account.setContactSignUpNotification -* Toggle supergroup slow mode: if enabled, users will only be able to send one message every `seconds` seconds: channels.toggleSlowMode +* Toggle supergroup slow mode: if enabled, users will only be able to send one message every seconds seconds: channels.toggleSlowMode * Transfer channel ownership: channels.editCreator -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -558,21 +558,21 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Use this method to set the score of the specified user in a game sent as an inline message (bots only): messages.setInlineGameScore -* Use this to accept a Seamless Telegram Login authorization request, for more info [click here »](https://core.telegram.org/api/url-authorization): messages.acceptUrlAuth +* Use this to accept a Seamless Telegram Login authorization request, for more info click here »: messages.acceptUrlAuth * Validates a username and checks availability: account.checkUsername * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* Verify a phone number for telegram [passport](https://core.telegram.org/passport): account.verifyPhone +* Verify a phone number for telegram passport: account.verifyPhone -* Verify an email address for telegram [passport](https://core.telegram.org/passport): account.verifyEmail +* Verify an email address for telegram passport: account.verifyEmail -* Verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.confirmPasswordEmail +* Verify an email to use as 2FA recovery method: account.confirmPasswordEmail -* Vote in a [poll](../constructors/poll.md): messages.sendVote +* Vote in a poll: messages.sendVote -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * Whether the user will receive notifications when contacts sign up: account.getContactSignUpNotification diff --git a/old_docs/API_docs_v105/methods/README.md b/old_docs/API_docs_v105/methods/README.md index d5d2a5df..88b7668e 100644 --- a/old_docs/API_docs_v105/methods/README.md +++ b/old_docs/API_docs_v105/methods/README.md @@ -48,13 +48,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Answers a custom query; for bots only: bots.answerWebhookJSONQuery -* Associate a group to a channel as [discussion group](https://telegram.org/blog/privacy-discussions-web-bots) for that channel: channels.setDiscussionGroup +* Associate a group to a channel as discussion group for that channel: channels.setDiscussionGroup * Associate a stickerset to the supergroup: channels.setStickers -* Ban/unban/kick a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editBanned +* Ban/unban/kick a user in a supergroup/channel: channels.editBanned -* Cancel the code that was sent to verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.cancelPasswordEmail +* Cancel the code that was sent to verify an email to use as 2FA recovery method: account.cancelPasswordEmail * Cancel the login verification code: auth.cancelCode @@ -66,7 +66,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -80,17 +80,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Check the validity of a chat invite link and get basic info about it: messages.checkChatInvite -* Clear all [drafts](https://core.telegram.org/api/drafts): messages.clearAllDrafts +* Clear all drafts: messages.clearAllDrafts * Clear recent stickers: messages.clearRecentStickers * Clear saved payment information: payments.clearSavedInfo -* Confirm a phone number to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.confirmPhone +* Confirm a phone number to cancel account deletion, for more info click here »: account.confirmPhone * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Create a stickerset, bots only: stickers.createStickerSet @@ -100,29 +100,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a folder: folders.deleteFolder -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete all temporary authorization keys **except for** the ones specified: auth.dropTempAuthKeys +* Delete all temporary authorization keys except for the ones specified: auth.dropTempAuthKeys * Delete contacts by phone number: contacts.deleteByPhones * Delete installed wallpapers: account.resetWallPapers -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages * Delete saved contacts: contacts.resetSaved * Delete scheduled messages: messages.deleteScheduledMessages -* 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 +* Delete stored Telegram Passport documents, for more info see the passport docs »: account.deleteSecureValue -* Delete the history of a [supergroup](https://core.telegram.org/api/channel): channels.deleteHistory +* Delete the history of a supergroup: channels.deleteHistory -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -146,15 +146,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit peers in folder: folders.editPeerFolders -* Edit the default banned rights of a [channel/supergroup/group](https://core.telegram.org/api/channel): messages.editChatDefaultBannedRights +* Edit the default banned rights of a channel/supergroup/group: messages.editChatDefaultBannedRights -* Edit the description of a [group/supergroup/channel](https://core.telegram.org/api/channel): messages.editChatAbout +* Edit the description of a group/supergroup/channel: messages.editChatAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings -* Enable/disable [top peers](https://core.telegram.org/api/top-rating): contacts.toggleTopPeers +* Enable/disable top peers: contacts.toggleTopPeers * Enable/disable message signatures in channels: channels.toggleSignatures @@ -166,17 +166,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages -* 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 +* 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 -* Get [instant view](https://instantview.telegram.org) page: messages.getWebPage +* Get instant view page: messages.getWebPage -* Get [passport](https://core.telegram.org/passport) configuration: help.getPassportConfig +* Get passport configuration: help.getPassportConfig * Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash -* Get a list of [channels/supergroups](https://core.telegram.org/api/channel) we left: channels.getLeftChannels +* Get a list of channels/supergroups we left: channels.getLeftChannels * Get a payment form: payments.getPaymentForm @@ -186,13 +186,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get all contacts: contacts.getSaved -* Get all groups that can be used as [discussion groups](https://telegram.org/blog/privacy-discussions-web-bots): channels.getGroupsForDiscussion +* Get all groups that can be used as discussion groups: channels.getGroupsForDiscussion * Get all installed stickers: messages.getAllStickers -* 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 +* Get all saved Telegram Passport documents, for more info see the passport docs »: account.getAllSecureValues -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get app-specific configuration: help.getAppConfig @@ -202,7 +202,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get chats in common with a user: messages.getCommonChats -* Get configuration for [CDN](https://core.telegram.org/cdn) file downloads: help.getCdnConfig +* Get configuration for CDN file downloads: help.getCdnConfig * Get contact by telegram IDs: contacts.getContactIDs @@ -224,11 +224,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get highscores of a game: messages.getGameHighScores -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant -* Get info about a `t.me` link: help.getDeepLinkInfo +* Get info about a t.me link: help.getDeepLinkInfo * Get info about a certain wallpaper: account.getWallPaper @@ -244,7 +244,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get installed themes: account.getThemes -* Get link and embed info of a message in a [channel/supergroup](https://core.telegram.org/api/channel): channels.exportMessageLink +* Get link and embed info of a message in a channel/supergroup: channels.exportMessageLink * Get live location history of a certain user: messages.getRecentLocations @@ -260,7 +260,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get message ranges for saving the user's chat history: messages.getSplitRanges -* Get more info about a Seamless Telegram Login authorization request, for more info [click here »](https://core.telegram.org/api/url-authorization): messages.requestUrlAuth +* Get more info about a Seamless Telegram Login authorization request, for more info click here »: messages.requestUrlAuth * Get most used peers: contacts.getTopPeers @@ -284,11 +284,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get recent stickers: messages.getRecentStickers -* Get recently used `t.me` links: help.getRecentMeUrls +* Get recently used t.me links: help.getRecentMeUrls * Get saved GIFs: messages.getSavedGifs -* 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 +* Get saved Telegram Passport document, for more info see the passport docs »: account.getSecureValue * Get saved payment information: payments.getSavedInfo @@ -304,9 +304,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get temporary payment password: account.getTmpPassword -* Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channel): channels.getAdminLog +* Get the admin log of a channel/supergroup: channels.getAdminLog -* Get the number of results that would be found by a [messages.search](../methods/messages.search.md) call with the same parameters: messages.getSearchCounters +* Get the number of results that would be found by a messages.search call with the same parameters: messages.getSearchCounters * Get the participants of a channel: channels.getParticipants @@ -314,7 +314,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get unread messages where we were mentioned: messages.getUnreadMentions -* Get web [login widget](https://core.telegram.org/widgets/login) authorizations: account.getWebAuthorizations +* Get web login widget authorizations: account.getWebAuthorizations * Gets back found messages: messages.search @@ -324,9 +324,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Hide/unhide message history for new channel/supergroup users: channels.togglePreHistoryHidden -* 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 +* If the peer settings of a new user allow us to add him as contact, add that user as contact: contacts.acceptContact -* 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 +* 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 * Import a chat invite and join a private chat/supergroup/channel: messages.importChatInvite @@ -356,9 +356,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invoke a method within a takeout session: invokeWithTakeout -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invoke with the given message range: invokeWithMessagesRange @@ -368,21 +368,21 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Join a channel/supergroup: channels.joinChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Log out an active web [telegram login](https://core.telegram.org/widgets/login) session: account.resetWebAuthorization +* Log out an active web telegram login session: account.resetWebAuthorization * Look for updates of telegram's terms of service: help.getTermsOfServiceUpdate -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin * Manually mark dialog as unread: messages.markDialogUnread -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory -* Mark [channel/supergroup](https://core.telegram.org/api/channel) message contents as read: channels.readMessageContents +* Mark channel/supergroup message contents as read: channels.readMessageContents * Mark a sticker as favorite: messages.faveSticker @@ -394,17 +394,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents * Notify the other user in a private chat that a screenshot of the chat was taken: messages.sendScreenshotNotification -* 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): 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 * Obtain configuration for two-factor authorization with password: account.getPassword -* Once the user has confirmed their payment and shipping details, the bot receives an [updateBotPrecheckoutQuery](../constructors/updateBotPrecheckoutQuery.md) update. : messages.setBotPrecheckoutResults +* Once the user has confirmed their payment and shipping details, the bot receives an updateBotPrecheckoutQuery update. : messages.setBotPrecheckoutResults * 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 @@ -418,7 +418,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Rate a call: phone.setCallRating -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice * Remove a sticker from the set where it belongs, bots only. The sticker set must have been created by the bot: stickers.removeStickerFromSet @@ -428,7 +428,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Report a message in a chat for violation of telegram's Terms of Service: messages.report -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer @@ -436,17 +436,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery -* Resend the code to verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.resendPasswordEmail +* Resend the code to verify an email to use as 2FA recovery method: account.resendPasswordEmail -* 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 +* 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 -* Reset [rating](https://core.telegram.org/api/top-rating) of top peer: contacts.resetTopPeerRating +* Reset rating of top peer: contacts.resetTopPeerRating -* Reset all active web [telegram login](https://core.telegram.org/widgets/login) sessions: account.resetWebAuthorizations +* Reset all active web telegram login sessions: account.resetWebAuthorizations -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -490,11 +490,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Returns users found by username substring: contacts.search -* Save a message [draft](https://core.telegram.org/api/drafts) associated to a chat: messages.saveDraft +* Save a message draft associated to a chat: messages.saveDraft * Save a theme: account.saveTheme -* Save get all message [drafts](https://core.telegram.org/api/drafts): messages.getAllDrafts +* Save get all message drafts: messages.getAllDrafts * Saves logs of application on the server: help.saveAppLog @@ -504,31 +504,31 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Search for stickersets: messages.searchStickerSets -* 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 +* Securely save Telegram Passport document, for more info see the passport docs »: account.saveSecureValue * Send a media: messages.sendMedia -* Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md): messages.sendInlineBotResult +* Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult * Send an album of media: messages.sendMultiMedia * Send compiled payment form: payments.sendPaymentForm -* Send confirmation code to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.sendConfirmPhoneCode +* Send confirmation code to cancel account deletion, for more info click here »: account.sendConfirmPhoneCode * Send phone call debug data to server: phone.saveCallDebug * Send scheduled messages right away: messages.sendScheduledMessages -* Send the verification email code for telegram [passport](https://core.telegram.org/passport): account.sendVerifyEmailCode +* Send the verification email code for telegram passport: account.sendVerifyEmailCode -* Send the verification phone code for telegram [passport](https://core.telegram.org/passport): account.sendVerifyPhoneCode +* Send the verification phone code for telegram passport: account.sendVerifyPhoneCode * Send typing event by the current user to a secret chat: messages.setEncryptedTyping * Sends a Telegram Passport authorization form, effectively sharing data with the service: account.acceptAuthorization -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a custom request; for bots only: bots.sendCustomRequest @@ -544,9 +544,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Set the callback answer to a user button press (bots only): messages.setBotCallbackAnswer -* 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 +* 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 -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Submit requested order information for validation: payments.validateRequestedInfo @@ -554,11 +554,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Toggle contact sign up notifications: account.setContactSignUpNotification -* Toggle supergroup slow mode: if enabled, users will only be able to send one message every `seconds` seconds: channels.toggleSlowMode +* Toggle supergroup slow mode: if enabled, users will only be able to send one message every seconds seconds: channels.toggleSlowMode * Transfer channel ownership: channels.editCreator -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -580,21 +580,21 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Use this method to set the score of the specified user in a game sent as an inline message (bots only): messages.setInlineGameScore -* Use this to accept a Seamless Telegram Login authorization request, for more info [click here »](https://core.telegram.org/api/url-authorization): messages.acceptUrlAuth +* Use this to accept a Seamless Telegram Login authorization request, for more info click here »: messages.acceptUrlAuth * Validates a username and checks availability: account.checkUsername * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* Verify a phone number for telegram [passport](https://core.telegram.org/passport): account.verifyPhone +* Verify a phone number for telegram passport: account.verifyPhone -* Verify an email address for telegram [passport](https://core.telegram.org/passport): account.verifyEmail +* Verify an email address for telegram passport: account.verifyEmail -* Verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.confirmPasswordEmail +* Verify an email to use as 2FA recovery method: account.confirmPasswordEmail -* Vote in a [poll](../constructors/poll.md): messages.sendVote +* Vote in a poll: messages.sendVote -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * Whether the user will receive notifications when contacts sign up: account.getContactSignUpNotification diff --git a/old_docs/API_docs_v18/methods/README.md b/old_docs/API_docs_v18/methods/README.md index 899ac33a..3b5d68fd 100644 --- a/old_docs/API_docs_v18/methods/README.md +++ b/old_docs/API_docs_v18/methods/README.md @@ -100,9 +100,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Resets all notification settings from users and groups: account.resetNotifySettings @@ -148,7 +148,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Send verification phone call: auth.sendCall -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a message to a chat: messages.sendMessage diff --git a/old_docs/API_docs_v23/methods/README.md b/old_docs/API_docs_v23/methods/README.md index 0504cb1a..074de937 100644 --- a/old_docs/API_docs_v23/methods/README.md +++ b/old_docs/API_docs_v23/methods/README.md @@ -52,7 +52,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Delete a contact: contacts.deleteContact -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -102,7 +102,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invite friends to telegram!: auth.sendInvites -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invokes a query after a successfull completion of previous queries: invokeAfterMsgs @@ -114,9 +114,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer @@ -164,7 +164,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Send verification phone call: auth.sendCall -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a message to a chat: messages.sendMessage @@ -188,7 +188,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * 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 diff --git a/old_docs/API_docs_v25/methods/README.md b/old_docs/API_docs_v25/methods/README.md index 7739094a..81b1c2b0 100644 --- a/old_docs/API_docs_v25/methods/README.md +++ b/old_docs/API_docs_v25/methods/README.md @@ -54,7 +54,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Delete a contact: contacts.deleteContact -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -116,7 +116,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invite friends to telegram!: auth.sendInvites -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invokes a query after a successfull completion of previous queries: invokeAfterMsgs @@ -132,7 +132,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Obtain configuration for two-factor authorization with password: account.getPassword -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice * Resets all notification settings from users and groups: account.resetNotifySettings @@ -186,7 +186,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Send verification phone call: auth.sendCall -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a message to a chat: messages.sendMessage @@ -212,7 +212,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * 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 diff --git a/old_docs/API_docs_v27/methods/README.md b/old_docs/API_docs_v27/methods/README.md index d3b2ba34..f0bb58fb 100644 --- a/old_docs/API_docs_v27/methods/README.md +++ b/old_docs/API_docs_v27/methods/README.md @@ -54,7 +54,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Delete a contact: contacts.deleteContact -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -120,7 +120,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invite friends to telegram!: auth.sendInvites -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invokes a query after a successfull completion of previous queries: invokeAfterMsgs @@ -128,7 +128,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Join a geochat: geochats.checkin -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization * Marks message history as read: messages.readHistory @@ -138,11 +138,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Obtain configuration for two-factor authorization with password: account.getPassword -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -196,7 +196,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Send verification phone call: auth.sendCall -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a message to a chat: messages.sendMessage @@ -220,7 +220,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * 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 diff --git a/old_docs/API_docs_v33/methods/README.md b/old_docs/API_docs_v33/methods/README.md index d52b9904..1fe45328 100644 --- a/old_docs/API_docs_v33/methods/README.md +++ b/old_docs/API_docs_v33/methods/README.md @@ -56,7 +56,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Delete a contact: contacts.deleteContact -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -132,9 +132,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invite friends to telegram!: auth.sendInvites -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invokes a query after a successfull completion of previous queries: invokeAfterMsgs @@ -142,7 +142,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Join a geochat: geochats.checkin -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization * Marks message history as read: messages.readHistory @@ -152,11 +152,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Obtain configuration for two-factor authorization with password: account.getPassword -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -210,7 +210,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Send verification phone call: auth.sendCall -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a message to a chat: messages.sendMessage @@ -222,7 +222,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Set account self-destruction period: account.setAccountTTL -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Terminates all user's authorized sessions except for the current one: auth.resetAuthorizations @@ -238,7 +238,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * 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 diff --git a/old_docs/API_docs_v38/methods/README.md b/old_docs/API_docs_v38/methods/README.md index 223056b3..29405350 100644 --- a/old_docs/API_docs_v38/methods/README.md +++ b/old_docs/API_docs_v38/methods/README.md @@ -40,7 +40,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -56,19 +56,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a contact: contacts.deleteContact -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -86,7 +86,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit the about text of a channel/supergroup: channels.editAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings @@ -102,11 +102,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages * Get all installed stickers: messages.getAllStickers -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get changelog of current app: help.getAppChangelog @@ -116,9 +116,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get important channel/supergroup history: channels.getImportantHistory -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant * Get info about a stickerset: messages.getStickerSet @@ -156,9 +156,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invite users to a channel/supergroup: channels.inviteToChannel -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invokes a query after a successfull completion of previous queries: invokeAfterMsgs @@ -168,31 +168,31 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Kick user from channel: channels.kickFromChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory * Marks message history as read: messages.readHistory * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents * Obtain configuration for two-factor authorization with password: account.getPassword -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -238,7 +238,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Send verification phone call: auth.sendCall -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a message to a chat: messages.sendMessage @@ -250,7 +250,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Set account self-destruction period: account.setAccountTTL -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Terminates all user's authorized sessions except for the current one: auth.resetAuthorizations @@ -266,7 +266,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * 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 diff --git a/old_docs/API_docs_v40/methods/README.md b/old_docs/API_docs_v40/methods/README.md index aff1613e..ae3c6119 100644 --- a/old_docs/API_docs_v40/methods/README.md +++ b/old_docs/API_docs_v40/methods/README.md @@ -58,7 +58,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Delete channel messages: messages.deleteChannelMessages -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -126,15 +126,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invite friends to telegram!: auth.sendInvites -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invokes a query after a successfull completion of previous queries: invokeAfterMsgs * Invokes a query after successfull completion of one of the previous queries: invokeAfterMsg -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization * Mark channel/supergroup history as read: messages.readChannelHistory @@ -146,11 +146,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Obtain configuration for two-factor authorization with password: account.getPassword -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -196,7 +196,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Send verification phone call: auth.sendCall -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a message to a chat: messages.sendMessage @@ -208,7 +208,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Set account self-destruction period: account.setAccountTTL -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Terminates all user's authorized sessions except for the current one: auth.resetAuthorizations @@ -224,7 +224,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * 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 diff --git a/old_docs/API_docs_v41/methods/README.md b/old_docs/API_docs_v41/methods/README.md index 6578b162..3cd710f4 100644 --- a/old_docs/API_docs_v41/methods/README.md +++ b/old_docs/API_docs_v41/methods/README.md @@ -40,7 +40,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -56,21 +56,21 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Creates a new chat: messages.createChat * Deactivate chat: messages.deactivateChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a contact: contacts.deleteContact -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -88,7 +88,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit the about text of a channel/supergroup: channels.editAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings @@ -106,11 +106,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages * Get all installed stickers: messages.getAllStickers -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get changelog of current app: help.getAppChangelog @@ -120,9 +120,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get important channel/supergroup history: channels.getImportantHistory -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant * Get info about a stickerset: messages.getStickerSet @@ -160,9 +160,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invite users to a channel/supergroup: channels.inviteToChannel -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invokes a query after a successfull completion of previous queries: invokeAfterMsgs @@ -172,33 +172,33 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Kick user from channel: channels.kickFromChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory * Marks message history as read: messages.readHistory * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents * Obtain configuration for two-factor authorization with password: account.getPassword -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -246,7 +246,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Send verification phone call: auth.sendCall -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a message to a chat: messages.sendMessage @@ -258,11 +258,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Set account self-destruction period: account.setAccountTTL -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Terminates all user's authorized sessions except for the current one: auth.resetAuthorizations -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -276,7 +276,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * 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 diff --git a/old_docs/API_docs_v42/methods/README.md b/old_docs/API_docs_v42/methods/README.md index 8a563ea8..ed59172b 100644 --- a/old_docs/API_docs_v42/methods/README.md +++ b/old_docs/API_docs_v42/methods/README.md @@ -40,7 +40,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -56,19 +56,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a contact: contacts.deleteContact -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -86,7 +86,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit the about text of a channel/supergroup: channels.editAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings @@ -104,11 +104,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages * Get all installed stickers: messages.getAllStickers -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get changelog of current app: help.getAppChangelog @@ -118,9 +118,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get important channel/supergroup history: channels.getImportantHistory -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant * Get info about a stickerset: messages.getStickerSet @@ -158,9 +158,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invite users to a channel/supergroup: channels.inviteToChannel -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invokes a query after a successfull completion of previous queries: invokeAfterMsgs @@ -170,33 +170,33 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Kick user from channel: channels.kickFromChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory * Marks message history as read: messages.readHistory * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents * Obtain configuration for two-factor authorization with password: account.getPassword -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -244,7 +244,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Send verification phone call: auth.sendCall -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a message to a chat: messages.sendMessage @@ -256,11 +256,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Set account self-destruction period: account.setAccountTTL -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Terminates all user's authorized sessions except for the current one: auth.resetAuthorizations -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -274,7 +274,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * 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 diff --git a/old_docs/API_docs_v44/methods/README.md b/old_docs/API_docs_v44/methods/README.md index 8d001a08..b8e3f106 100644 --- a/old_docs/API_docs_v44/methods/README.md +++ b/old_docs/API_docs_v44/methods/README.md @@ -40,7 +40,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -56,19 +56,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a contact: contacts.deleteContact -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -86,7 +86,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit the about text of a channel/supergroup: channels.editAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings @@ -104,13 +104,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages * Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash * Get all installed stickers: messages.getAllStickers -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get changelog of current app: help.getAppChangelog @@ -120,9 +120,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get important channel/supergroup history: channels.getImportantHistory -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant * Get info about a stickerset: messages.getStickerSet @@ -162,9 +162,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invite users to a channel/supergroup: channels.inviteToChannel -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invokes a query after a successfull completion of previous queries: invokeAfterMsgs @@ -174,37 +174,37 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Kick user from channel: channels.kickFromChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory * Marks message history as read: messages.readHistory * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents * Obtain configuration for two-factor authorization with password: account.getPassword -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice * Reorder installed stickersets: messages.reorderStickerSets -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -254,7 +254,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Send verification phone call: auth.sendCall -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a message to a chat: messages.sendMessage @@ -266,11 +266,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Set account self-destruction period: account.setAccountTTL -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Terminates all user's authorized sessions except for the current one: auth.resetAuthorizations -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -284,7 +284,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * 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 diff --git a/old_docs/API_docs_v45/methods/README.md b/old_docs/API_docs_v45/methods/README.md index 55b2d956..b866db20 100644 --- a/old_docs/API_docs_v45/methods/README.md +++ b/old_docs/API_docs_v45/methods/README.md @@ -44,7 +44,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -60,19 +60,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a contact: contacts.deleteContact -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -90,7 +90,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit the about text of a channel/supergroup: channels.editAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings @@ -108,13 +108,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages * Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash * Get all installed stickers: messages.getAllStickers -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get changelog of current app: help.getAppChangelog @@ -124,9 +124,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get important channel/supergroup history: channels.getImportantHistory -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant * Get info about a stickerset: messages.getStickerSet @@ -168,9 +168,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invite users to a channel/supergroup: channels.inviteToChannel -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invokes a query after a successfull completion of previous queries: invokeAfterMsgs @@ -180,19 +180,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Kick user from channel: channels.kickFromChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory * Marks message history as read: messages.readHistory * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents @@ -200,19 +200,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Query an inline bot: messages.getInlineBotResults -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice * Reorder installed stickersets: messages.reorderStickerSets -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -258,13 +258,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Send a message to all users in the chat list: messages.sendBroadcast -* Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md): messages.sendInlineBotResult +* Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult * Send typing event by the current user to a secret chat: messages.setEncryptedTyping * Send verification phone call: auth.sendCall -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a message to a chat: messages.sendMessage @@ -276,11 +276,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Set account self-destruction period: account.setAccountTTL -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Terminates all user's authorized sessions except for the current one: auth.resetAuthorizations -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -294,7 +294,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * 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 diff --git a/old_docs/API_docs_v46/methods/README.md b/old_docs/API_docs_v46/methods/README.md index 55b2d956..b866db20 100644 --- a/old_docs/API_docs_v46/methods/README.md +++ b/old_docs/API_docs_v46/methods/README.md @@ -44,7 +44,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -60,19 +60,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a contact: contacts.deleteContact -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -90,7 +90,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit the about text of a channel/supergroup: channels.editAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings @@ -108,13 +108,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages * Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash * Get all installed stickers: messages.getAllStickers -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get changelog of current app: help.getAppChangelog @@ -124,9 +124,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get important channel/supergroup history: channels.getImportantHistory -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant * Get info about a stickerset: messages.getStickerSet @@ -168,9 +168,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invite users to a channel/supergroup: channels.inviteToChannel -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invokes a query after a successfull completion of previous queries: invokeAfterMsgs @@ -180,19 +180,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Kick user from channel: channels.kickFromChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory * Marks message history as read: messages.readHistory * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents @@ -200,19 +200,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Query an inline bot: messages.getInlineBotResults -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice * Reorder installed stickersets: messages.reorderStickerSets -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -258,13 +258,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Send a message to all users in the chat list: messages.sendBroadcast -* Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md): messages.sendInlineBotResult +* Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult * Send typing event by the current user to a secret chat: messages.setEncryptedTyping * Send verification phone call: auth.sendCall -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a message to a chat: messages.sendMessage @@ -276,11 +276,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Set account self-destruction period: account.setAccountTTL -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Terminates all user's authorized sessions except for the current one: auth.resetAuthorizations -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -294,7 +294,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * 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 diff --git a/old_docs/API_docs_v51/methods/README.md b/old_docs/API_docs_v51/methods/README.md index 78d86a0d..9ed8ac13 100644 --- a/old_docs/API_docs_v51/methods/README.md +++ b/old_docs/API_docs_v51/methods/README.md @@ -48,7 +48,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -64,19 +64,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a contact: contacts.deleteContact -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -98,7 +98,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit the about text of a channel/supergroup: channels.editAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings @@ -120,13 +120,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages * Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash * Get all installed stickers: messages.getAllStickers -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get changelog of current app: help.getAppChangelog @@ -136,13 +136,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get important channel/supergroup history: channels.getImportantHistory -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant * Get info about a stickerset: messages.getStickerSet -* Get link and embed info of a message in a [channel/supergroup](https://core.telegram.org/api/channel): channels.exportMessageLink +* Get link and embed info of a message in a channel/supergroup: channels.exportMessageLink * Get logged-in sessions: account.getAuthorizations @@ -184,9 +184,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invite users to a channel/supergroup: channels.inviteToChannel -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invokes a query after a successfull completion of previous queries: invokeAfterMsgs @@ -196,19 +196,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Kick user from channel: channels.kickFromChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory * Marks message history as read: messages.readHistory * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents @@ -218,21 +218,21 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Query an inline bot: messages.getInlineBotResults -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice * Reorder installed stickersets: messages.reorderStickerSets -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery -* 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 +* 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 -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -276,11 +276,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Send a message to all users in the chat list: messages.sendBroadcast -* Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md): messages.sendInlineBotResult +* Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult * Send typing event by the current user to a secret chat: messages.setEncryptedTyping -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a message to a chat: messages.sendMessage @@ -296,11 +296,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Set the pinned message of a channel/supergroup: channels.updatePinnedMessage -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Terminates all user's authorized sessions except for the current one: auth.resetAuthorizations -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -314,7 +314,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * 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 diff --git a/old_docs/API_docs_v53/methods/README.md b/old_docs/API_docs_v53/methods/README.md index b6375fd8..572e61e1 100644 --- a/old_docs/API_docs_v53/methods/README.md +++ b/old_docs/API_docs_v53/methods/README.md @@ -48,7 +48,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -64,19 +64,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a contact: contacts.deleteContact -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -98,7 +98,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit the about text of a channel/supergroup: channels.editAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings @@ -118,13 +118,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages * Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash * Get all installed stickers: messages.getAllStickers -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get changelog of current app: help.getAppChangelog @@ -132,13 +132,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get dialog info of specified peers: messages.getPeerDialogs -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant * Get info about a stickerset: messages.getStickerSet -* Get link and embed info of a message in a [channel/supergroup](https://core.telegram.org/api/channel): channels.exportMessageLink +* Get link and embed info of a message in a channel/supergroup: channels.exportMessageLink * Get logged-in sessions: account.getAuthorizations @@ -182,9 +182,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invite users to a channel/supergroup: channels.inviteToChannel -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invokes a query after a successfull completion of previous queries: invokeAfterMsgs @@ -194,19 +194,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Kick user from channel: channels.kickFromChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory * Marks message history as read: messages.readHistory * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents @@ -216,23 +216,23 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Query an inline bot: messages.getInlineBotResults -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice * Reorder installed stickersets: messages.reorderStickerSets -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery -* 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 +* 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 -* Reset [rating](https://core.telegram.org/api/top-rating) of top peer: contacts.resetTopPeerRating +* Reset rating of top peer: contacts.resetTopPeerRating -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -266,9 +266,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Returns users found by username substring: contacts.search -* Save a message [draft](https://core.telegram.org/api/drafts) associated to a chat: messages.saveDraft +* Save a message draft associated to a chat: messages.saveDraft -* Save get all message [drafts](https://core.telegram.org/api/drafts): messages.getAllDrafts +* Save get all message drafts: messages.getAllDrafts * Saves logs of application on the server: help.saveAppLog @@ -280,11 +280,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Send a message to all users in the chat list: messages.sendBroadcast -* Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md): messages.sendInlineBotResult +* Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult * Send typing event by the current user to a secret chat: messages.setEncryptedTyping -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a message to a chat: messages.sendMessage @@ -300,11 +300,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Set the pinned message of a channel/supergroup: channels.updatePinnedMessage -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Terminates all user's authorized sessions except for the current one: auth.resetAuthorizations -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -318,7 +318,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * 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 diff --git a/old_docs/API_docs_v55/methods/README.md b/old_docs/API_docs_v55/methods/README.md index 29c2e30a..233b106f 100644 --- a/old_docs/API_docs_v55/methods/README.md +++ b/old_docs/API_docs_v55/methods/README.md @@ -50,7 +50,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -66,23 +66,23 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Clear recent stickers: messages.clearRecentStickers -* Confirm a phone number to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.confirmPhone +* Confirm a phone number to cancel account deletion, for more info click here »: account.confirmPhone * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a contact: contacts.deleteContact -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -104,7 +104,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit the about text of a channel/supergroup: channels.editAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings @@ -124,7 +124,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages * Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash @@ -132,7 +132,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get all installed stickers: messages.getAllStickers -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get changelog of current app: help.getAppChangelog @@ -142,13 +142,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get featured stickers: messages.getFeaturedStickers -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant * Get info about a stickerset: messages.getStickerSet -* Get link and embed info of a message in a [channel/supergroup](https://core.telegram.org/api/channel): channels.exportMessageLink +* Get link and embed info of a message in a channel/supergroup: channels.exportMessageLink * Get logged-in sessions: account.getAuthorizations @@ -196,9 +196,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invite users to a channel/supergroup: channels.inviteToChannel -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invokes a query after a successfull completion of previous queries: invokeAfterMsgs @@ -208,13 +208,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Kick user from channel: channels.kickFromChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory * Mark new featured stickers as read: messages.readFeaturedStickers @@ -222,7 +222,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents @@ -232,23 +232,23 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Query an inline bot: messages.getInlineBotResults -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice * Reorder installed stickersets: messages.reorderStickerSets -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery -* 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 +* 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 -* Reset [rating](https://core.telegram.org/api/top-rating) of top peer: contacts.resetTopPeerRating +* Reset rating of top peer: contacts.resetTopPeerRating -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -282,9 +282,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Returns users found by username substring: contacts.search -* Save a message [draft](https://core.telegram.org/api/drafts) associated to a chat: messages.saveDraft +* Save a message draft associated to a chat: messages.saveDraft -* Save get all message [drafts](https://core.telegram.org/api/drafts): messages.getAllDrafts +* Save get all message drafts: messages.getAllDrafts * Saves logs of application on the server: help.saveAppLog @@ -296,13 +296,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Send a message to all users in the chat list: messages.sendBroadcast -* Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md): messages.sendInlineBotResult +* Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult -* Send confirmation code to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.sendConfirmPhoneCode +* Send confirmation code to cancel account deletion, for more info click here »: account.sendConfirmPhoneCode * Send typing event by the current user to a secret chat: messages.setEncryptedTyping -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a message to a chat: messages.sendMessage @@ -318,11 +318,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Set the pinned message of a channel/supergroup: channels.updatePinnedMessage -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Terminates all user's authorized sessions except for the current one: auth.resetAuthorizations -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -336,7 +336,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * 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 diff --git a/old_docs/API_docs_v57/methods/README.md b/old_docs/API_docs_v57/methods/README.md index c2c18ca5..0fb038fd 100644 --- a/old_docs/API_docs_v57/methods/README.md +++ b/old_docs/API_docs_v57/methods/README.md @@ -50,7 +50,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -66,25 +66,25 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Clear recent stickers: messages.clearRecentStickers -* Confirm a phone number to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.confirmPhone +* Confirm a phone number to cancel account deletion, for more info click here »: account.confirmPhone * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a contact: contacts.deleteContact -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete all temporary authorization keys **except for** the ones specified: auth.dropTempAuthKeys +* Delete all temporary authorization keys except for the ones specified: auth.dropTempAuthKeys -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -106,7 +106,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit the about text of a channel/supergroup: channels.editAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings @@ -126,9 +126,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages -* 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 +* 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 * Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash @@ -136,7 +136,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get all installed stickers: messages.getAllStickers -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get changelog of current app: help.getAppChangelog @@ -150,15 +150,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get highscores of a game: messages.getGameHighScores -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant * Get info about a stickerset: messages.getStickerSet * Get installed mask stickers: messages.getMaskStickers -* Get link and embed info of a message in a [channel/supergroup](https://core.telegram.org/api/channel): channels.exportMessageLink +* Get link and embed info of a message in a channel/supergroup: channels.exportMessageLink * Get logged-in sessions: account.getAuthorizations @@ -204,9 +204,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invite users to a channel/supergroup: channels.inviteToChannel -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invokes a query after a successfull completion of previous queries: invokeAfterMsgs @@ -216,13 +216,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Kick user from channel: channels.kickFromChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory * Mark new featured stickers as read: messages.readFeaturedStickers @@ -230,7 +230,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents @@ -240,23 +240,23 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Query an inline bot: messages.getInlineBotResults -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice * Reorder installed stickersets: messages.reorderStickerSets -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery -* 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 +* 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 -* Reset [rating](https://core.telegram.org/api/top-rating) of top peer: contacts.resetTopPeerRating +* Reset rating of top peer: contacts.resetTopPeerRating -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -290,9 +290,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Returns users found by username substring: contacts.search -* Save a message [draft](https://core.telegram.org/api/drafts) associated to a chat: messages.saveDraft +* Save a message draft associated to a chat: messages.saveDraft -* Save get all message [drafts](https://core.telegram.org/api/drafts): messages.getAllDrafts +* Save get all message drafts: messages.getAllDrafts * Saves logs of application on the server: help.saveAppLog @@ -302,13 +302,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Send a media: messages.sendMedia -* Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md): messages.sendInlineBotResult +* Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult -* Send confirmation code to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.sendConfirmPhoneCode +* Send confirmation code to cancel account deletion, for more info click here »: account.sendConfirmPhoneCode * Send typing event by the current user to a secret chat: messages.setEncryptedTyping -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a message to a chat: messages.sendMessage @@ -324,11 +324,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Set the pinned message of a channel/supergroup: channels.updatePinnedMessage -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Terminates all user's authorized sessions except for the current one: auth.resetAuthorizations -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -346,7 +346,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * 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 diff --git a/old_docs/API_docs_v62/methods/README.md b/old_docs/API_docs_v62/methods/README.md index 86b7097f..4e2715b4 100644 --- a/old_docs/API_docs_v62/methods/README.md +++ b/old_docs/API_docs_v62/methods/README.md @@ -50,7 +50,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -66,25 +66,25 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Clear recent stickers: messages.clearRecentStickers -* Confirm a phone number to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.confirmPhone +* Confirm a phone number to cancel account deletion, for more info click here »: account.confirmPhone * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a contact: contacts.deleteContact -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete all temporary authorization keys **except for** the ones specified: auth.dropTempAuthKeys +* Delete all temporary authorization keys except for the ones specified: auth.dropTempAuthKeys -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -108,7 +108,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit the about text of a channel/supergroup: channels.editAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings @@ -128,11 +128,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages -* 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 +* 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 -* Get [instant view](https://instantview.telegram.org) page: messages.getWebPage +* Get instant view page: messages.getWebPage * Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash @@ -142,7 +142,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get all installed stickers: messages.getAllStickers -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get changelog of current app: help.getAppChangelog @@ -158,15 +158,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get highscores of a game: messages.getGameHighScores -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant * Get info about a stickerset: messages.getStickerSet * Get installed mask stickers: messages.getMaskStickers -* Get link and embed info of a message in a [channel/supergroup](https://core.telegram.org/api/channel): channels.exportMessageLink +* Get link and embed info of a message in a channel/supergroup: channels.exportMessageLink * Get logged-in sessions: account.getAuthorizations @@ -216,9 +216,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invite users to a channel/supergroup: channels.inviteToChannel -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invokes a query after a successfull completion of previous queries: invokeAfterMsgs @@ -228,13 +228,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Kick user from channel: channels.kickFromChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory * Mark new featured stickers as read: messages.readFeaturedStickers @@ -242,7 +242,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents @@ -256,13 +256,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Query an inline bot: messages.getInlineBotResults -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice * Reorder installed stickersets: messages.reorderStickerSets * Reorder pinned dialogs: messages.reorderPinnedDialogs -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer @@ -270,13 +270,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery -* 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 +* 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 -* Reset [rating](https://core.telegram.org/api/top-rating) of top peer: contacts.resetTopPeerRating +* Reset rating of top peer: contacts.resetTopPeerRating -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -310,9 +310,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Returns users found by username substring: contacts.search -* Save a message [draft](https://core.telegram.org/api/drafts) associated to a chat: messages.saveDraft +* Save a message draft associated to a chat: messages.saveDraft -* Save get all message [drafts](https://core.telegram.org/api/drafts): messages.getAllDrafts +* Save get all message drafts: messages.getAllDrafts * Saves logs of application on the server: help.saveAppLog @@ -322,13 +322,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Send a media: messages.sendMedia -* Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md): messages.sendInlineBotResult +* Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult -* Send confirmation code to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.sendConfirmPhoneCode +* Send confirmation code to cancel account deletion, for more info click here »: account.sendConfirmPhoneCode * Send typing event by the current user to a secret chat: messages.setEncryptedTyping -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a message to a chat: messages.sendMessage @@ -344,11 +344,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Set the pinned message of a channel/supergroup: channels.updatePinnedMessage -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Terminates all user's authorized sessions except for the current one: auth.resetAuthorizations -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -366,7 +366,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * 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 diff --git a/old_docs/API_docs_v65/methods/README.md b/old_docs/API_docs_v65/methods/README.md index 7bd68c89..cae3426d 100644 --- a/old_docs/API_docs_v65/methods/README.md +++ b/old_docs/API_docs_v65/methods/README.md @@ -52,7 +52,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -70,25 +70,25 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Clear saved payment information: payments.clearSavedInfo -* Confirm a phone number to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.confirmPhone +* Confirm a phone number to cancel account deletion, for more info click here »: account.confirmPhone * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a contact: contacts.deleteContact -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete all temporary authorization keys **except for** the ones specified: auth.dropTempAuthKeys +* Delete all temporary authorization keys except for the ones specified: auth.dropTempAuthKeys -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -116,7 +116,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit the about text of a channel/supergroup: channels.editAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings @@ -136,11 +136,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages -* 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 +* 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 -* Get [instant view](https://instantview.telegram.org) page: messages.getWebPage +* Get instant view page: messages.getWebPage * Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash @@ -152,7 +152,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get all installed stickers: messages.getAllStickers -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get changelog of current app: help.getAppChangelog @@ -170,15 +170,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get highscores of a game: messages.getGameHighScores -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant * Get info about a stickerset: messages.getStickerSet * Get installed mask stickers: messages.getMaskStickers -* Get link and embed info of a message in a [channel/supergroup](https://core.telegram.org/api/channel): channels.exportMessageLink +* Get link and embed info of a message in a channel/supergroup: channels.exportMessageLink * Get logged-in sessions: account.getAuthorizations @@ -218,7 +218,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Hide report spam popup: messages.hideReportSpam -* 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 +* 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 * Import a chat invite and join a private chat/supergroup/channel: messages.importChatInvite @@ -238,9 +238,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invite users to a channel/supergroup: channels.inviteToChannel -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invokes a query after a successfull completion of previous queries: invokeAfterMsgs @@ -250,13 +250,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Kick user from channel: channels.kickFromChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory * Mark new featured stickers as read: messages.readFeaturedStickers @@ -264,13 +264,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents * Obtain configuration for two-factor authorization with password: account.getPassword -* Once the user has confirmed their payment and shipping details, the bot receives an [updateBotPrecheckoutQuery](../constructors/updateBotPrecheckoutQuery.md) update. : messages.setBotPrecheckoutResults +* Once the user has confirmed their payment and shipping details, the bot receives an updateBotPrecheckoutQuery update. : messages.setBotPrecheckoutResults * 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 @@ -286,13 +286,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Rate a call: phone.setCallRating -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice * Reorder installed stickersets: messages.reorderStickerSets * Reorder pinned dialogs: messages.reorderPinnedDialogs -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer @@ -300,17 +300,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery * Requests Diffie-hellman parameters for key exchange: req_DH_params * Requests PQ for factorization: req_pq -* 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 +* 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 -* Reset [rating](https://core.telegram.org/api/top-rating) of top peer: contacts.resetTopPeerRating +* Reset rating of top peer: contacts.resetTopPeerRating -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -346,11 +346,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Returns users found by username substring: contacts.search -* Save a message [draft](https://core.telegram.org/api/drafts) associated to a chat: messages.saveDraft +* Save a message draft associated to a chat: messages.saveDraft * Save developer info for telegram contest: contest.saveDeveloperInfo -* Save get all message [drafts](https://core.telegram.org/api/drafts): messages.getAllDrafts +* Save get all message drafts: messages.getAllDrafts * Saves logs of application on the server: help.saveAppLog @@ -360,17 +360,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Send a media: messages.sendMedia -* Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md): messages.sendInlineBotResult +* Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult * Send compiled payment form: payments.sendPaymentForm -* Send confirmation code to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.sendConfirmPhoneCode +* Send confirmation code to cancel account deletion, for more info click here »: account.sendConfirmPhoneCode * Send phone call debug data to server: phone.saveCallDebug * Send typing event by the current user to a secret chat: messages.setEncryptedTyping -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a custom request; for bots only: bots.sendCustomRequest @@ -390,13 +390,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Sets client diffie-hellman parameters: set_client_DH_params -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Submit requested order information for validation: payments.validateRequestedInfo * Terminates all user's authorized sessions except for the current one: auth.resetAuthorizations -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -414,7 +414,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * 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 diff --git a/old_docs/API_docs_v66/methods/README.md b/old_docs/API_docs_v66/methods/README.md index d6850226..372a7bc1 100644 --- a/old_docs/API_docs_v66/methods/README.md +++ b/old_docs/API_docs_v66/methods/README.md @@ -52,7 +52,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -70,25 +70,25 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Clear saved payment information: payments.clearSavedInfo -* Confirm a phone number to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.confirmPhone +* Confirm a phone number to cancel account deletion, for more info click here »: account.confirmPhone * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a contact: contacts.deleteContact -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete all temporary authorization keys **except for** the ones specified: auth.dropTempAuthKeys +* Delete all temporary authorization keys except for the ones specified: auth.dropTempAuthKeys -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -116,7 +116,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit the about text of a channel/supergroup: channels.editAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings @@ -136,11 +136,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages -* 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 +* 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 -* Get [instant view](https://instantview.telegram.org) page: messages.getWebPage +* Get instant view page: messages.getWebPage * Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash @@ -152,13 +152,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get all installed stickers: messages.getAllStickers -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get changelog of current app: help.getAppChangelog * Get chats in common with a user: messages.getCommonChats -* Get configuration for [CDN](https://core.telegram.org/cdn) file downloads: help.getCdnConfig +* Get configuration for CDN file downloads: help.getCdnConfig * Get days to live of account: account.getAccountTTL @@ -172,15 +172,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get highscores of a game: messages.getGameHighScores -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant * Get info about a stickerset: messages.getStickerSet * Get installed mask stickers: messages.getMaskStickers -* Get link and embed info of a message in a [channel/supergroup](https://core.telegram.org/api/channel): channels.exportMessageLink +* Get link and embed info of a message in a channel/supergroup: channels.exportMessageLink * Get logged-in sessions: account.getAuthorizations @@ -220,7 +220,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Hide report spam popup: messages.hideReportSpam -* 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 +* 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 * Import a chat invite and join a private chat/supergroup/channel: messages.importChatInvite @@ -240,9 +240,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invite users to a channel/supergroup: channels.inviteToChannel -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invokes a query after a successfull completion of previous queries: invokeAfterMsgs @@ -252,13 +252,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Kick user from channel: channels.kickFromChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory * Mark new featured stickers as read: messages.readFeaturedStickers @@ -266,13 +266,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents * Obtain configuration for two-factor authorization with password: account.getPassword -* Once the user has confirmed their payment and shipping details, the bot receives an [updateBotPrecheckoutQuery](../constructors/updateBotPrecheckoutQuery.md) update. : messages.setBotPrecheckoutResults +* Once the user has confirmed their payment and shipping details, the bot receives an updateBotPrecheckoutQuery update. : messages.setBotPrecheckoutResults * 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 @@ -288,13 +288,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Rate a call: phone.setCallRating -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice * Reorder installed stickersets: messages.reorderStickerSets * Reorder pinned dialogs: messages.reorderPinnedDialogs -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer @@ -302,17 +302,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery * Requests Diffie-hellman parameters for key exchange: req_DH_params * Requests PQ for factorization: req_pq -* 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 +* 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 -* Reset [rating](https://core.telegram.org/api/top-rating) of top peer: contacts.resetTopPeerRating +* Reset rating of top peer: contacts.resetTopPeerRating -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -348,11 +348,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Returns users found by username substring: contacts.search -* Save a message [draft](https://core.telegram.org/api/drafts) associated to a chat: messages.saveDraft +* Save a message draft associated to a chat: messages.saveDraft * Save developer info for telegram contest: contest.saveDeveloperInfo -* Save get all message [drafts](https://core.telegram.org/api/drafts): messages.getAllDrafts +* Save get all message drafts: messages.getAllDrafts * Saves logs of application on the server: help.saveAppLog @@ -362,17 +362,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Send a media: messages.sendMedia -* Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md): messages.sendInlineBotResult +* Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult * Send compiled payment form: payments.sendPaymentForm -* Send confirmation code to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.sendConfirmPhoneCode +* Send confirmation code to cancel account deletion, for more info click here »: account.sendConfirmPhoneCode * Send phone call debug data to server: phone.saveCallDebug * Send typing event by the current user to a secret chat: messages.setEncryptedTyping -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a custom request; for bots only: bots.sendCustomRequest @@ -392,13 +392,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Sets client diffie-hellman parameters: set_client_DH_params -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Submit requested order information for validation: payments.validateRequestedInfo * Terminates all user's authorized sessions except for the current one: auth.resetAuthorizations -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -416,7 +416,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * 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 diff --git a/old_docs/API_docs_v68/methods/README.md b/old_docs/API_docs_v68/methods/README.md index e7f078ea..3d7fca0a 100644 --- a/old_docs/API_docs_v68/methods/README.md +++ b/old_docs/API_docs_v68/methods/README.md @@ -46,7 +46,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Answers a custom query; for bots only: bots.answerWebhookJSONQuery -* Ban/unban/kick a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editBanned +* Ban/unban/kick a user in a supergroup/channel: channels.editBanned * Cancel the login verification code: auth.cancelCode @@ -56,7 +56,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -76,27 +76,27 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Clear saved payment information: payments.clearSavedInfo -* Confirm a phone number to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.confirmPhone +* Confirm a phone number to cancel account deletion, for more info click here »: account.confirmPhone * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Create a stickerset, bots only: stickers.createStickerSet * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a contact: contacts.deleteContact -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete all temporary authorization keys **except for** the ones specified: auth.dropTempAuthKeys +* Delete all temporary authorization keys except for the ones specified: auth.dropTempAuthKeys -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -124,7 +124,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit the about text of a channel/supergroup: channels.editAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings @@ -144,11 +144,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages -* 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 +* 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 -* Get [instant view](https://instantview.telegram.org) page: messages.getWebPage +* Get instant view page: messages.getWebPage * Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash @@ -160,13 +160,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get all installed stickers: messages.getAllStickers -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get changelog of current app: help.getAppChangelog * Get chats in common with a user: messages.getCommonChats -* Get configuration for [CDN](https://core.telegram.org/cdn) file downloads: help.getCdnConfig +* Get configuration for CDN file downloads: help.getCdnConfig * Get days to live of account: account.getAccountTTL @@ -180,9 +180,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get highscores of a game: messages.getGameHighScores -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant * Get info about a stickerset: messages.getStickerSet @@ -190,7 +190,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get installed mask stickers: messages.getMaskStickers -* Get link and embed info of a message in a [channel/supergroup](https://core.telegram.org/api/channel): channels.exportMessageLink +* Get link and embed info of a message in a channel/supergroup: channels.exportMessageLink * Get localization pack strings: langpack.getLangPack @@ -226,7 +226,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get terms of service: help.getTermsOfService -* Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channel): channels.getAdminLog +* Get the admin log of a channel/supergroup: channels.getAdminLog * Get the participants of a channel: channels.getParticipants @@ -238,7 +238,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Hide report spam popup: messages.hideReportSpam -* 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 +* 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 * Import a chat invite and join a private chat/supergroup/channel: messages.importChatInvite @@ -258,9 +258,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invite users to a channel/supergroup: channels.inviteToChannel -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invokes a query after a successfull completion of previous queries: invokeAfterMsgs @@ -268,13 +268,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Join a channel/supergroup: channels.joinChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory * Mark new featured stickers as read: messages.readFeaturedStickers @@ -282,13 +282,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents * Obtain configuration for two-factor authorization with password: account.getPassword -* Once the user has confirmed their payment and shipping details, the bot receives an [updateBotPrecheckoutQuery](../constructors/updateBotPrecheckoutQuery.md) update. : messages.setBotPrecheckoutResults +* Once the user has confirmed their payment and shipping details, the bot receives an updateBotPrecheckoutQuery update. : messages.setBotPrecheckoutResults * 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 @@ -304,7 +304,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Rate a call: phone.setCallRating -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice * Remove a sticker from the set where it belongs, bots only. The sticker set must have been created by the bot: stickers.removeStickerFromSet @@ -312,7 +312,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Reorder pinned dialogs: messages.reorderPinnedDialogs -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer @@ -320,17 +320,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery * Requests Diffie-hellman parameters for key exchange: req_DH_params * Requests PQ for factorization: req_pq -* 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 +* 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 -* Reset [rating](https://core.telegram.org/api/top-rating) of top peer: contacts.resetTopPeerRating +* Reset rating of top peer: contacts.resetTopPeerRating -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -366,11 +366,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Returns users found by username substring: contacts.search -* Save a message [draft](https://core.telegram.org/api/drafts) associated to a chat: messages.saveDraft +* Save a message draft associated to a chat: messages.saveDraft * Save developer info for telegram contest: contest.saveDeveloperInfo -* Save get all message [drafts](https://core.telegram.org/api/drafts): messages.getAllDrafts +* Save get all message drafts: messages.getAllDrafts * Saves logs of application on the server: help.saveAppLog @@ -380,17 +380,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Send a media: messages.sendMedia -* Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md): messages.sendInlineBotResult +* Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult * Send compiled payment form: payments.sendPaymentForm -* Send confirmation code to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.sendConfirmPhoneCode +* Send confirmation code to cancel account deletion, for more info click here »: account.sendConfirmPhoneCode * Send phone call debug data to server: phone.saveCallDebug * Send typing event by the current user to a secret chat: messages.setEncryptedTyping -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a custom request; for bots only: bots.sendCustomRequest @@ -410,13 +410,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Sets client diffie-hellman parameters: set_client_DH_params -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Submit requested order information for validation: payments.validateRequestedInfo * Terminates all user's authorized sessions except for the current one: auth.resetAuthorizations -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -436,7 +436,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * 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 diff --git a/old_docs/API_docs_v70/methods/README.md b/old_docs/API_docs_v70/methods/README.md index fc52edb1..0c367fc9 100644 --- a/old_docs/API_docs_v70/methods/README.md +++ b/old_docs/API_docs_v70/methods/README.md @@ -46,7 +46,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Answers a custom query; for bots only: bots.answerWebhookJSONQuery -* Ban/unban/kick a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editBanned +* Ban/unban/kick a user in a supergroup/channel: channels.editBanned * Cancel the login verification code: auth.cancelCode @@ -56,7 +56,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -76,27 +76,27 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Clear saved payment information: payments.clearSavedInfo -* Confirm a phone number to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.confirmPhone +* Confirm a phone number to cancel account deletion, for more info click here »: account.confirmPhone * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Create a stickerset, bots only: stickers.createStickerSet * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a contact: contacts.deleteContact -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete all temporary authorization keys **except for** the ones specified: auth.dropTempAuthKeys +* Delete all temporary authorization keys except for the ones specified: auth.dropTempAuthKeys -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -124,7 +124,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit the about text of a channel/supergroup: channels.editAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings @@ -144,11 +144,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages -* 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 +* 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 -* Get [instant view](https://instantview.telegram.org) page: messages.getWebPage +* Get instant view page: messages.getWebPage * Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash @@ -160,13 +160,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get all installed stickers: messages.getAllStickers -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get changelog of current app: help.getAppChangelog * Get chats in common with a user: messages.getCommonChats -* Get configuration for [CDN](https://core.telegram.org/cdn) file downloads: help.getCdnConfig +* Get configuration for CDN file downloads: help.getCdnConfig * Get days to live of account: account.getAccountTTL @@ -180,9 +180,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get highscores of a game: messages.getGameHighScores -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant * Get info about a stickerset: messages.getStickerSet @@ -190,7 +190,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get installed mask stickers: messages.getMaskStickers -* Get link and embed info of a message in a [channel/supergroup](https://core.telegram.org/api/channel): channels.exportMessageLink +* Get link and embed info of a message in a channel/supergroup: channels.exportMessageLink * Get localization pack strings: langpack.getLangPack @@ -226,7 +226,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get terms of service: help.getTermsOfService -* Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channel): channels.getAdminLog +* Get the admin log of a channel/supergroup: channels.getAdminLog * Get the participants of a channel: channels.getParticipants @@ -238,7 +238,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Hide report spam popup: messages.hideReportSpam -* 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 +* 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 * Import a chat invite and join a private chat/supergroup/channel: messages.importChatInvite @@ -258,9 +258,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invite users to a channel/supergroup: channels.inviteToChannel -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invokes a query after a successfull completion of previous queries: invokeAfterMsgs @@ -268,13 +268,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Join a channel/supergroup: channels.joinChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory * Mark new featured stickers as read: messages.readFeaturedStickers @@ -282,7 +282,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents @@ -290,7 +290,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Obtain configuration for two-factor authorization with password: account.getPassword -* Once the user has confirmed their payment and shipping details, the bot receives an [updateBotPrecheckoutQuery](../constructors/updateBotPrecheckoutQuery.md) update. : messages.setBotPrecheckoutResults +* Once the user has confirmed their payment and shipping details, the bot receives an updateBotPrecheckoutQuery update. : messages.setBotPrecheckoutResults * 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 @@ -306,7 +306,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Rate a call: phone.setCallRating -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice * Remove a sticker from the set where it belongs, bots only. The sticker set must have been created by the bot: stickers.removeStickerFromSet @@ -314,7 +314,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Reorder pinned dialogs: messages.reorderPinnedDialogs -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer @@ -322,17 +322,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery * Requests Diffie-hellman parameters for key exchange: req_DH_params * Requests PQ for factorization: req_pq -* 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 +* 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 -* Reset [rating](https://core.telegram.org/api/top-rating) of top peer: contacts.resetTopPeerRating +* Reset rating of top peer: contacts.resetTopPeerRating -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -368,11 +368,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Returns users found by username substring: contacts.search -* Save a message [draft](https://core.telegram.org/api/drafts) associated to a chat: messages.saveDraft +* Save a message draft associated to a chat: messages.saveDraft * Save developer info for telegram contest: contest.saveDeveloperInfo -* Save get all message [drafts](https://core.telegram.org/api/drafts): messages.getAllDrafts +* Save get all message drafts: messages.getAllDrafts * Saves logs of application on the server: help.saveAppLog @@ -382,17 +382,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Send a media: messages.sendMedia -* Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md): messages.sendInlineBotResult +* Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult * Send compiled payment form: payments.sendPaymentForm -* Send confirmation code to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.sendConfirmPhoneCode +* Send confirmation code to cancel account deletion, for more info click here »: account.sendConfirmPhoneCode * Send phone call debug data to server: phone.saveCallDebug * Send typing event by the current user to a secret chat: messages.setEncryptedTyping -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a custom request; for bots only: bots.sendCustomRequest @@ -412,13 +412,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Sets client diffie-hellman parameters: set_client_DH_params -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Submit requested order information for validation: payments.validateRequestedInfo * Terminates all user's authorized sessions except for the current one: auth.resetAuthorizations -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -438,7 +438,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * 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 diff --git a/old_docs/API_docs_v71/methods/README.md b/old_docs/API_docs_v71/methods/README.md index 787b5e1e..ff910f00 100644 --- a/old_docs/API_docs_v71/methods/README.md +++ b/old_docs/API_docs_v71/methods/README.md @@ -48,7 +48,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Associate a stickerset to the supergroup: channels.setStickers -* Ban/unban/kick a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editBanned +* Ban/unban/kick a user in a supergroup/channel: channels.editBanned * Cancel the login verification code: auth.cancelCode @@ -58,7 +58,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -78,29 +78,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Clear saved payment information: payments.clearSavedInfo -* Confirm a phone number to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.confirmPhone +* Confirm a phone number to cancel account deletion, for more info click here »: account.confirmPhone * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Create a stickerset, bots only: stickers.createStickerSet * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a contact: contacts.deleteContact -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete all temporary authorization keys **except for** the ones specified: auth.dropTempAuthKeys +* Delete all temporary authorization keys except for the ones specified: auth.dropTempAuthKeys -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages * Delete saved contacts: contacts.resetSaved -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -128,7 +128,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit the about text of a channel/supergroup: channels.editAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings @@ -148,11 +148,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages -* 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 +* 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 -* Get [instant view](https://instantview.telegram.org) page: messages.getWebPage +* Get instant view page: messages.getWebPage * Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash @@ -164,13 +164,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get all installed stickers: messages.getAllStickers -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get changelog of current app: help.getAppChangelog * Get chats in common with a user: messages.getCommonChats -* Get configuration for [CDN](https://core.telegram.org/cdn) file downloads: help.getCdnConfig +* Get configuration for CDN file downloads: help.getCdnConfig * Get days to live of account: account.getAccountTTL @@ -186,9 +186,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get highscores of a game: messages.getGameHighScores -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant * Get info about a stickerset: messages.getStickerSet @@ -196,7 +196,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get installed mask stickers: messages.getMaskStickers -* Get link and embed info of a message in a [channel/supergroup](https://core.telegram.org/api/channel): channels.exportMessageLink +* Get link and embed info of a message in a channel/supergroup: channels.exportMessageLink * Get localization pack strings: langpack.getLangPack @@ -232,7 +232,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get terms of service: help.getTermsOfService -* Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channel): channels.getAdminLog +* Get the admin log of a channel/supergroup: channels.getAdminLog * Get the participants of a channel: channels.getParticipants @@ -246,7 +246,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Hide report spam popup: messages.hideReportSpam -* 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 +* 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 * Import a chat invite and join a private chat/supergroup/channel: messages.importChatInvite @@ -266,9 +266,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invite users to a channel/supergroup: channels.inviteToChannel -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invokes a query after a successfull completion of previous queries: invokeAfterMsgs @@ -276,15 +276,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Join a channel/supergroup: channels.joinChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory -* Mark [channel/supergroup](https://core.telegram.org/api/channel) message contents as read: channels.readMessageContents +* Mark channel/supergroup message contents as read: channels.readMessageContents * Mark a sticker as favorite: messages.faveSticker @@ -294,7 +294,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents @@ -302,7 +302,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Obtain configuration for two-factor authorization with password: account.getPassword -* Once the user has confirmed their payment and shipping details, the bot receives an [updateBotPrecheckoutQuery](../constructors/updateBotPrecheckoutQuery.md) update. : messages.setBotPrecheckoutResults +* Once the user has confirmed their payment and shipping details, the bot receives an updateBotPrecheckoutQuery update. : messages.setBotPrecheckoutResults * 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 @@ -318,7 +318,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Rate a call: phone.setCallRating -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice * Remove a sticker from the set where it belongs, bots only. The sticker set must have been created by the bot: stickers.removeStickerFromSet @@ -326,7 +326,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Reorder pinned dialogs: messages.reorderPinnedDialogs -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer @@ -334,17 +334,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery * Requests Diffie-hellman parameters for key exchange: req_DH_params * Requests PQ for factorization: req_pq -* 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 +* 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 -* Reset [rating](https://core.telegram.org/api/top-rating) of top peer: contacts.resetTopPeerRating +* Reset rating of top peer: contacts.resetTopPeerRating -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -380,11 +380,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Returns users found by username substring: contacts.search -* Save a message [draft](https://core.telegram.org/api/drafts) associated to a chat: messages.saveDraft +* Save a message draft associated to a chat: messages.saveDraft * Save developer info for telegram contest: contest.saveDeveloperInfo -* Save get all message [drafts](https://core.telegram.org/api/drafts): messages.getAllDrafts +* Save get all message drafts: messages.getAllDrafts * Saves logs of application on the server: help.saveAppLog @@ -394,17 +394,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Send a media: messages.sendMedia -* Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md): messages.sendInlineBotResult +* Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult * Send compiled payment form: payments.sendPaymentForm -* Send confirmation code to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.sendConfirmPhoneCode +* Send confirmation code to cancel account deletion, for more info click here »: account.sendConfirmPhoneCode * Send phone call debug data to server: phone.saveCallDebug * Send typing event by the current user to a secret chat: messages.setEncryptedTyping -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a custom request; for bots only: bots.sendCustomRequest @@ -424,13 +424,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Sets client diffie-hellman parameters: set_client_DH_params -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Submit requested order information for validation: payments.validateRequestedInfo * Terminates all user's authorized sessions except for the current one: auth.resetAuthorizations -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -450,7 +450,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * 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 diff --git a/old_docs/API_docs_v72/methods/README.md b/old_docs/API_docs_v72/methods/README.md index b712563a..b5b54e2b 100644 --- a/old_docs/API_docs_v72/methods/README.md +++ b/old_docs/API_docs_v72/methods/README.md @@ -48,7 +48,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Associate a stickerset to the supergroup: channels.setStickers -* Ban/unban/kick a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editBanned +* Ban/unban/kick a user in a supergroup/channel: channels.editBanned * Cancel the login verification code: auth.cancelCode @@ -58,7 +58,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -78,31 +78,31 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Clear saved payment information: payments.clearSavedInfo -* Confirm a phone number to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.confirmPhone +* Confirm a phone number to cancel account deletion, for more info click here »: account.confirmPhone * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Create a stickerset, bots only: stickers.createStickerSet * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a contact: contacts.deleteContact -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete all temporary authorization keys **except for** the ones specified: auth.dropTempAuthKeys +* Delete all temporary authorization keys except for the ones specified: auth.dropTempAuthKeys -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages * Delete saved contacts: contacts.resetSaved -* Delete the history of a [supergroup](https://core.telegram.org/api/channel): channels.deleteHistory +* Delete the history of a supergroup: channels.deleteHistory -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -130,7 +130,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit the about text of a channel/supergroup: channels.editAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings @@ -150,11 +150,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages -* 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 +* 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 -* Get [instant view](https://instantview.telegram.org) page: messages.getWebPage +* Get instant view page: messages.getWebPage * Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash @@ -166,13 +166,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get all installed stickers: messages.getAllStickers -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get changelog of current app: help.getAppChangelog * Get chats in common with a user: messages.getCommonChats -* Get configuration for [CDN](https://core.telegram.org/cdn) file downloads: help.getCdnConfig +* Get configuration for CDN file downloads: help.getCdnConfig * Get days to live of account: account.getAccountTTL @@ -188,9 +188,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get highscores of a game: messages.getGameHighScores -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant * Get info about a stickerset: messages.getStickerSet @@ -198,7 +198,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get installed mask stickers: messages.getMaskStickers -* Get link and embed info of a message in a [channel/supergroup](https://core.telegram.org/api/channel): channels.exportMessageLink +* Get link and embed info of a message in a channel/supergroup: channels.exportMessageLink * Get live location history of a certain user: messages.getRecentLocations @@ -224,7 +224,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get recent stickers: messages.getRecentStickers -* Get recently used `t.me` links: help.getRecentMeUrls +* Get recently used t.me links: help.getRecentMeUrls * Get saved GIFs: messages.getSavedGifs @@ -238,7 +238,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get terms of service: help.getTermsOfService -* Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channel): channels.getAdminLog +* Get the admin log of a channel/supergroup: channels.getAdminLog * Get the participants of a channel: channels.getParticipants @@ -254,7 +254,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Hide/unhide message history for new channel/supergroup users: channels.togglePreHistoryHidden -* 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 +* 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 * Import a chat invite and join a private chat/supergroup/channel: messages.importChatInvite @@ -274,9 +274,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invite users to a channel/supergroup: channels.inviteToChannel -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invokes a query after a successfull completion of previous queries: invokeAfterMsgs @@ -284,15 +284,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Join a channel/supergroup: channels.joinChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory -* Mark [channel/supergroup](https://core.telegram.org/api/channel) message contents as read: channels.readMessageContents +* Mark channel/supergroup message contents as read: channels.readMessageContents * Mark a sticker as favorite: messages.faveSticker @@ -304,7 +304,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents @@ -312,7 +312,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Obtain configuration for two-factor authorization with password: account.getPassword -* Once the user has confirmed their payment and shipping details, the bot receives an [updateBotPrecheckoutQuery](../constructors/updateBotPrecheckoutQuery.md) update. : messages.setBotPrecheckoutResults +* Once the user has confirmed their payment and shipping details, the bot receives an updateBotPrecheckoutQuery update. : messages.setBotPrecheckoutResults * 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 @@ -328,7 +328,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Rate a call: phone.setCallRating -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice * Remove a sticker from the set where it belongs, bots only. The sticker set must have been created by the bot: stickers.removeStickerFromSet @@ -336,7 +336,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Reorder pinned dialogs: messages.reorderPinnedDialogs -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer @@ -344,17 +344,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery * Requests Diffie-hellman parameters for key exchange: req_DH_params * Requests PQ for factorization: req_pq -* 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 +* 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 -* Reset [rating](https://core.telegram.org/api/top-rating) of top peer: contacts.resetTopPeerRating +* Reset rating of top peer: contacts.resetTopPeerRating -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -390,11 +390,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Returns users found by username substring: contacts.search -* Save a message [draft](https://core.telegram.org/api/drafts) associated to a chat: messages.saveDraft +* Save a message draft associated to a chat: messages.saveDraft * Save developer info for telegram contest: contest.saveDeveloperInfo -* Save get all message [drafts](https://core.telegram.org/api/drafts): messages.getAllDrafts +* Save get all message drafts: messages.getAllDrafts * Saves logs of application on the server: help.saveAppLog @@ -404,17 +404,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Send a media: messages.sendMedia -* Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md): messages.sendInlineBotResult +* Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult * Send compiled payment form: payments.sendPaymentForm -* Send confirmation code to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.sendConfirmPhoneCode +* Send confirmation code to cancel account deletion, for more info click here »: account.sendConfirmPhoneCode * Send phone call debug data to server: phone.saveCallDebug * Send typing event by the current user to a secret chat: messages.setEncryptedTyping -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a custom request; for bots only: bots.sendCustomRequest @@ -434,13 +434,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Sets client diffie-hellman parameters: set_client_DH_params -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Submit requested order information for validation: payments.validateRequestedInfo * Terminates all user's authorized sessions except for the current one: auth.resetAuthorizations -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -460,7 +460,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * 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 diff --git a/old_docs/API_docs_v73/methods/README.md b/old_docs/API_docs_v73/methods/README.md index e6e179f3..e04ca6ac 100644 --- a/old_docs/API_docs_v73/methods/README.md +++ b/old_docs/API_docs_v73/methods/README.md @@ -48,7 +48,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Associate a stickerset to the supergroup: channels.setStickers -* Ban/unban/kick a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editBanned +* Ban/unban/kick a user in a supergroup/channel: channels.editBanned * Cancel the login verification code: auth.cancelCode @@ -58,7 +58,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -78,31 +78,31 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Clear saved payment information: payments.clearSavedInfo -* Confirm a phone number to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.confirmPhone +* Confirm a phone number to cancel account deletion, for more info click here »: account.confirmPhone * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Create a stickerset, bots only: stickers.createStickerSet * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a contact: contacts.deleteContact -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete all temporary authorization keys **except for** the ones specified: auth.dropTempAuthKeys +* Delete all temporary authorization keys except for the ones specified: auth.dropTempAuthKeys -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages * Delete saved contacts: contacts.resetSaved -* Delete the history of a [supergroup](https://core.telegram.org/api/channel): channels.deleteHistory +* Delete the history of a supergroup: channels.deleteHistory -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -124,7 +124,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit the about text of a channel/supergroup: channels.editAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings @@ -144,11 +144,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages -* 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 +* 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 -* Get [instant view](https://instantview.telegram.org) page: messages.getWebPage +* Get instant view page: messages.getWebPage * Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash @@ -160,13 +160,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get all installed stickers: messages.getAllStickers -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get changelog of current app: help.getAppChangelog * Get chats in common with a user: messages.getCommonChats -* Get configuration for [CDN](https://core.telegram.org/cdn) file downloads: help.getCdnConfig +* Get configuration for CDN file downloads: help.getCdnConfig * Get days to live of account: account.getAccountTTL @@ -180,9 +180,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get highscores of a game: messages.getGameHighScores -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant * Get info about a stickerset: messages.getStickerSet @@ -190,7 +190,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get installed mask stickers: messages.getMaskStickers -* Get link and embed info of a message in a [channel/supergroup](https://core.telegram.org/api/channel): channels.exportMessageLink +* Get link and embed info of a message in a channel/supergroup: channels.exportMessageLink * Get live location history of a certain user: messages.getRecentLocations @@ -216,7 +216,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get recent stickers: messages.getRecentStickers -* Get recently used `t.me` links: help.getRecentMeUrls +* Get recently used t.me links: help.getRecentMeUrls * Get saved GIFs: messages.getSavedGifs @@ -230,7 +230,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get terms of service: help.getTermsOfService -* Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channel): channels.getAdminLog +* Get the admin log of a channel/supergroup: channels.getAdminLog * Get the participants of a channel: channels.getParticipants @@ -246,7 +246,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Hide/unhide message history for new channel/supergroup users: channels.togglePreHistoryHidden -* 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 +* 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 * Import a chat invite and join a private chat/supergroup/channel: messages.importChatInvite @@ -266,9 +266,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invite users to a channel/supergroup: channels.inviteToChannel -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invokes a query after a successfull completion of previous queries: invokeAfterMsgs @@ -276,15 +276,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Join a channel/supergroup: channels.joinChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory -* Mark [channel/supergroup](https://core.telegram.org/api/channel) message contents as read: channels.readMessageContents +* Mark channel/supergroup message contents as read: channels.readMessageContents * Mark a sticker as favorite: messages.faveSticker @@ -296,7 +296,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents @@ -304,7 +304,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Obtain configuration for two-factor authorization with password: account.getPassword -* Once the user has confirmed their payment and shipping details, the bot receives an [updateBotPrecheckoutQuery](../constructors/updateBotPrecheckoutQuery.md) update. : messages.setBotPrecheckoutResults +* Once the user has confirmed their payment and shipping details, the bot receives an updateBotPrecheckoutQuery update. : messages.setBotPrecheckoutResults * 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 @@ -316,7 +316,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Rate a call: phone.setCallRating -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice * Remove a sticker from the set where it belongs, bots only. The sticker set must have been created by the bot: stickers.removeStickerFromSet @@ -324,7 +324,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Reorder pinned dialogs: messages.reorderPinnedDialogs -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer @@ -332,13 +332,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery -* 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 +* 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 -* Reset [rating](https://core.telegram.org/api/top-rating) of top peer: contacts.resetTopPeerRating +* Reset rating of top peer: contacts.resetTopPeerRating -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -374,9 +374,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Returns users found by username substring: contacts.search -* Save a message [draft](https://core.telegram.org/api/drafts) associated to a chat: messages.saveDraft +* Save a message draft associated to a chat: messages.saveDraft -* Save get all message [drafts](https://core.telegram.org/api/drafts): messages.getAllDrafts +* Save get all message drafts: messages.getAllDrafts * Saves logs of application on the server: help.saveAppLog @@ -386,19 +386,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Send a media: messages.sendMedia -* Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md): messages.sendInlineBotResult +* Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult * Send an album of media: messages.sendMultiMedia * Send compiled payment form: payments.sendPaymentForm -* Send confirmation code to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.sendConfirmPhoneCode +* Send confirmation code to cancel account deletion, for more info click here »: account.sendConfirmPhoneCode * Send phone call debug data to server: phone.saveCallDebug * Send typing event by the current user to a secret chat: messages.setEncryptedTyping -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a custom request; for bots only: bots.sendCustomRequest @@ -416,13 +416,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Set the pinned message of a channel/supergroup: channels.updatePinnedMessage -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Submit requested order information for validation: payments.validateRequestedInfo * Terminates all user's authorized sessions except for the current one: auth.resetAuthorizations -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -444,7 +444,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * 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 diff --git a/old_docs/API_docs_v75/methods/README.md b/old_docs/API_docs_v75/methods/README.md index efda293e..2cfc03a7 100644 --- a/old_docs/API_docs_v75/methods/README.md +++ b/old_docs/API_docs_v75/methods/README.md @@ -48,7 +48,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Associate a stickerset to the supergroup: channels.setStickers -* Ban/unban/kick a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editBanned +* Ban/unban/kick a user in a supergroup/channel: channels.editBanned * Cancel the login verification code: auth.cancelCode @@ -58,7 +58,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -78,31 +78,31 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Clear saved payment information: payments.clearSavedInfo -* Confirm a phone number to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.confirmPhone +* Confirm a phone number to cancel account deletion, for more info click here »: account.confirmPhone * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Create a stickerset, bots only: stickers.createStickerSet * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a contact: contacts.deleteContact -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete all temporary authorization keys **except for** the ones specified: auth.dropTempAuthKeys +* Delete all temporary authorization keys except for the ones specified: auth.dropTempAuthKeys -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages * Delete saved contacts: contacts.resetSaved -* Delete the history of a [supergroup](https://core.telegram.org/api/channel): channels.deleteHistory +* Delete the history of a supergroup: channels.deleteHistory -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -124,7 +124,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit the about text of a channel/supergroup: channels.editAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings @@ -142,11 +142,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages -* 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 +* 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 -* Get [instant view](https://instantview.telegram.org) page: messages.getWebPage +* Get instant view page: messages.getWebPage * Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash @@ -158,13 +158,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get all installed stickers: messages.getAllStickers -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get changelog of current app: help.getAppChangelog * Get chats in common with a user: messages.getCommonChats -* Get configuration for [CDN](https://core.telegram.org/cdn) file downloads: help.getCdnConfig +* Get configuration for CDN file downloads: help.getCdnConfig * Get days to live of account: account.getAccountTTL @@ -178,9 +178,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get highscores of a game: messages.getGameHighScores -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant * Get info about a stickerset: messages.getStickerSet @@ -188,7 +188,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get installed mask stickers: messages.getMaskStickers -* Get link and embed info of a message in a [channel/supergroup](https://core.telegram.org/api/channel): channels.exportMessageLink +* Get link and embed info of a message in a channel/supergroup: channels.exportMessageLink * Get live location history of a certain user: messages.getRecentLocations @@ -214,7 +214,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get recent stickers: messages.getRecentStickers -* Get recently used `t.me` links: help.getRecentMeUrls +* Get recently used t.me links: help.getRecentMeUrls * Get saved GIFs: messages.getSavedGifs @@ -230,13 +230,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get terms of service: help.getTermsOfService -* Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channel): channels.getAdminLog +* Get the admin log of a channel/supergroup: channels.getAdminLog * Get the participants of a channel: channels.getParticipants * Get unread messages where we were mentioned: messages.getUnreadMentions -* Get web [login widget](https://core.telegram.org/widgets/login) authorizations: account.getWebAuthorizations +* Get web login widget authorizations: account.getWebAuthorizations * Gets back found messages: messages.search @@ -248,7 +248,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Hide/unhide message history for new channel/supergroup users: channels.togglePreHistoryHidden -* 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 +* 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 * Import a chat invite and join a private chat/supergroup/channel: messages.importChatInvite @@ -268,9 +268,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invite users to a channel/supergroup: channels.inviteToChannel -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invokes a query after a successfull completion of previous queries: invokeAfterMsgs @@ -278,17 +278,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Join a channel/supergroup: channels.joinChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Log out an active web [telegram login](https://core.telegram.org/widgets/login) session: account.resetWebAuthorization +* Log out an active web telegram login session: account.resetWebAuthorization -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory -* Mark [channel/supergroup](https://core.telegram.org/api/channel) message contents as read: channels.readMessageContents +* Mark channel/supergroup message contents as read: channels.readMessageContents * Mark a sticker as favorite: messages.faveSticker @@ -300,7 +300,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents @@ -308,7 +308,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Obtain configuration for two-factor authorization with password: account.getPassword -* Once the user has confirmed their payment and shipping details, the bot receives an [updateBotPrecheckoutQuery](../constructors/updateBotPrecheckoutQuery.md) update. : messages.setBotPrecheckoutResults +* Once the user has confirmed their payment and shipping details, the bot receives an updateBotPrecheckoutQuery update. : messages.setBotPrecheckoutResults * 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 @@ -320,7 +320,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Rate a call: phone.setCallRating -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice * Remove a sticker from the set where it belongs, bots only. The sticker set must have been created by the bot: stickers.removeStickerFromSet @@ -328,7 +328,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Reorder pinned dialogs: messages.reorderPinnedDialogs -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer @@ -336,15 +336,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery -* 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 +* 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 -* Reset [rating](https://core.telegram.org/api/top-rating) of top peer: contacts.resetTopPeerRating +* Reset rating of top peer: contacts.resetTopPeerRating -* Reset all active web [telegram login](https://core.telegram.org/widgets/login) sessions: account.resetWebAuthorizations +* Reset all active web telegram login sessions: account.resetWebAuthorizations -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -380,9 +380,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Returns users found by username substring: contacts.search -* Save a message [draft](https://core.telegram.org/api/drafts) associated to a chat: messages.saveDraft +* Save a message draft associated to a chat: messages.saveDraft -* Save get all message [drafts](https://core.telegram.org/api/drafts): messages.getAllDrafts +* Save get all message drafts: messages.getAllDrafts * Saves logs of application on the server: help.saveAppLog @@ -392,19 +392,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Send a media: messages.sendMedia -* Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md): messages.sendInlineBotResult +* Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult * Send an album of media: messages.sendMultiMedia * Send compiled payment form: payments.sendPaymentForm -* Send confirmation code to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.sendConfirmPhoneCode +* Send confirmation code to cancel account deletion, for more info click here »: account.sendConfirmPhoneCode * Send phone call debug data to server: phone.saveCallDebug * Send typing event by the current user to a secret chat: messages.setEncryptedTyping -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a custom request; for bots only: bots.sendCustomRequest @@ -422,13 +422,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Set the pinned message of a channel/supergroup: channels.updatePinnedMessage -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Submit requested order information for validation: payments.validateRequestedInfo * Terminates all user's authorized sessions except for the current one: auth.resetAuthorizations -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -450,7 +450,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * 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 diff --git a/old_docs/API_docs_v81/methods/README.md b/old_docs/API_docs_v81/methods/README.md index a95b7dbb..d98b57db 100644 --- a/old_docs/API_docs_v81/methods/README.md +++ b/old_docs/API_docs_v81/methods/README.md @@ -50,7 +50,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Associate a stickerset to the supergroup: channels.setStickers -* Ban/unban/kick a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editBanned +* Ban/unban/kick a user in a supergroup/channel: channels.editBanned * Cancel the login verification code: auth.cancelCode @@ -60,7 +60,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -78,33 +78,33 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Clear saved payment information: payments.clearSavedInfo -* Confirm a phone number to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.confirmPhone +* Confirm a phone number to cancel account deletion, for more info click here »: account.confirmPhone * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Create a stickerset, bots only: stickers.createStickerSet * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a contact: contacts.deleteContact -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete all temporary authorization keys **except for** the ones specified: auth.dropTempAuthKeys +* Delete all temporary authorization keys except for the ones specified: auth.dropTempAuthKeys -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages * Delete saved contacts: contacts.resetSaved -* 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 +* Delete stored Telegram Passport documents, for more info see the passport docs »: account.deleteSecureValue -* Delete the history of a [supergroup](https://core.telegram.org/api/channel): channels.deleteHistory +* Delete the history of a supergroup: channels.deleteHistory -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -126,7 +126,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit the about text of a channel/supergroup: channels.editAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings @@ -146,15 +146,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages -* 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 +* 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 -* Get [instant view](https://instantview.telegram.org) page: messages.getWebPage +* Get instant view page: messages.getWebPage * Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash -* Get a list of [channels/supergroups](https://core.telegram.org/api/channel) we left: channels.getLeftChannels +* Get a list of channels/supergroups we left: channels.getLeftChannels * Get a payment form: payments.getPaymentForm @@ -166,15 +166,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get all installed stickers: messages.getAllStickers -* 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 +* Get all saved Telegram Passport documents, for more info see the passport docs »: account.getAllSecureValues -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get changelog of current app: help.getAppChangelog * Get chats in common with a user: messages.getCommonChats -* Get configuration for [CDN](https://core.telegram.org/cdn) file downloads: help.getCdnConfig +* Get configuration for CDN file downloads: help.getCdnConfig * Get days to live of account: account.getAccountTTL @@ -188,11 +188,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get highscores of a game: messages.getGameHighScores -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant -* Get info about a `t.me` link: help.getDeepLinkInfo +* Get info about a t.me link: help.getDeepLinkInfo * Get info about a stickerset: messages.getStickerSet @@ -200,7 +200,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get installed mask stickers: messages.getMaskStickers -* Get link and embed info of a message in a [channel/supergroup](https://core.telegram.org/api/channel): channels.exportMessageLink +* Get link and embed info of a message in a channel/supergroup: channels.exportMessageLink * Get live location history of a certain user: messages.getRecentLocations @@ -230,11 +230,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get recent stickers: messages.getRecentStickers -* Get recently used `t.me` links: help.getRecentMeUrls +* Get recently used t.me links: help.getRecentMeUrls * Get saved GIFs: messages.getSavedGifs -* 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 +* Get saved Telegram Passport document, for more info see the passport docs »: account.getSecureValue * Get saved payment information: payments.getSavedInfo @@ -246,13 +246,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get temporary payment password: account.getTmpPassword -* Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channel): channels.getAdminLog +* Get the admin log of a channel/supergroup: channels.getAdminLog * Get the participants of a channel: channels.getParticipants * Get unread messages where we were mentioned: messages.getUnreadMentions -* Get web [login widget](https://core.telegram.org/widgets/login) authorizations: account.getWebAuthorizations +* Get web login widget authorizations: account.getWebAuthorizations * Gets back found messages: messages.search @@ -264,7 +264,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Hide/unhide message history for new channel/supergroup users: channels.togglePreHistoryHidden -* 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 +* 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 * Import a chat invite and join a private chat/supergroup/channel: messages.importChatInvite @@ -286,9 +286,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invoke a method within a takeout session: invokeWithTakeout -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invoke with the given message range: invokeWithMessagesRange @@ -298,19 +298,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Join a channel/supergroup: channels.joinChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Log out an active web [telegram login](https://core.telegram.org/widgets/login) session: account.resetWebAuthorization +* Log out an active web telegram login session: account.resetWebAuthorization * Look for updates of telegram's terms of service: help.getTermsOfServiceUpdate -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory -* Mark [channel/supergroup](https://core.telegram.org/api/channel) message contents as read: channels.readMessageContents +* Mark channel/supergroup message contents as read: channels.readMessageContents * Mark a sticker as favorite: messages.faveSticker @@ -322,17 +322,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents * Notify the other user in a private chat that a screenshot of the chat was taken: messages.sendScreenshotNotification -* 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): 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 * Obtain configuration for two-factor authorization with password: account.getPassword -* Once the user has confirmed their payment and shipping details, the bot receives an [updateBotPrecheckoutQuery](../constructors/updateBotPrecheckoutQuery.md) update. : messages.setBotPrecheckoutResults +* Once the user has confirmed their payment and shipping details, the bot receives an updateBotPrecheckoutQuery update. : messages.setBotPrecheckoutResults * 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 @@ -344,7 +344,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Rate a call: phone.setCallRating -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice * Remove a sticker from the set where it belongs, bots only. The sticker set must have been created by the bot: stickers.removeStickerFromSet @@ -354,7 +354,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Report a message in a chat for violation of telegram's Terms of Service: messages.report -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer @@ -362,15 +362,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery -* 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 +* 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 -* Reset [rating](https://core.telegram.org/api/top-rating) of top peer: contacts.resetTopPeerRating +* Reset rating of top peer: contacts.resetTopPeerRating -* Reset all active web [telegram login](https://core.telegram.org/widgets/login) sessions: account.resetWebAuthorizations +* Reset all active web telegram login sessions: account.resetWebAuthorizations -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -408,9 +408,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Returns users found by username substring: contacts.search -* Save a message [draft](https://core.telegram.org/api/drafts) associated to a chat: messages.saveDraft +* Save a message draft associated to a chat: messages.saveDraft -* Save get all message [drafts](https://core.telegram.org/api/drafts): messages.getAllDrafts +* Save get all message drafts: messages.getAllDrafts * Saves logs of application on the server: help.saveAppLog @@ -420,29 +420,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Search for stickersets: messages.searchStickerSets -* 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 +* Securely save Telegram Passport document, for more info see the passport docs »: account.saveSecureValue * Send a media: messages.sendMedia -* Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md): messages.sendInlineBotResult +* Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult * Send an album of media: messages.sendMultiMedia * Send compiled payment form: payments.sendPaymentForm -* Send confirmation code to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.sendConfirmPhoneCode +* Send confirmation code to cancel account deletion, for more info click here »: account.sendConfirmPhoneCode * Send phone call debug data to server: phone.saveCallDebug -* Send the verification email code for telegram [passport](https://core.telegram.org/passport): account.sendVerifyEmailCode +* Send the verification email code for telegram passport: account.sendVerifyEmailCode -* Send the verification phone code for telegram [passport](https://core.telegram.org/passport): account.sendVerifyPhoneCode +* Send the verification phone code for telegram passport: account.sendVerifyPhoneCode * Send typing event by the current user to a secret chat: messages.setEncryptedTyping * Sends a Telegram Passport authorization form, effectively sharing data with the service: account.acceptAuthorization -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a custom request; for bots only: bots.sendCustomRequest @@ -460,13 +460,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Set the pinned message of a channel/supergroup: channels.updatePinnedMessage -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Submit requested order information for validation: payments.validateRequestedInfo * Terminates all user's authorized sessions except for the current one: auth.resetAuthorizations -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -488,11 +488,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* Verify a phone number for telegram [passport](https://core.telegram.org/passport): account.verifyPhone +* Verify a phone number for telegram passport: account.verifyPhone -* Verify an email address for telegram [passport](https://core.telegram.org/passport): account.verifyEmail +* Verify an email address for telegram passport: account.verifyEmail -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * 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 diff --git a/old_docs/API_docs_v82/methods/README.md b/old_docs/API_docs_v82/methods/README.md index de675abd..3c0c4050 100644 --- a/old_docs/API_docs_v82/methods/README.md +++ b/old_docs/API_docs_v82/methods/README.md @@ -50,7 +50,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Associate a stickerset to the supergroup: channels.setStickers -* Ban/unban/kick a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editBanned +* Ban/unban/kick a user in a supergroup/channel: channels.editBanned * Cancel the login verification code: auth.cancelCode @@ -60,7 +60,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -78,33 +78,33 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Clear saved payment information: payments.clearSavedInfo -* Confirm a phone number to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.confirmPhone +* Confirm a phone number to cancel account deletion, for more info click here »: account.confirmPhone * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Create a stickerset, bots only: stickers.createStickerSet * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a contact: contacts.deleteContact -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete all temporary authorization keys **except for** the ones specified: auth.dropTempAuthKeys +* Delete all temporary authorization keys except for the ones specified: auth.dropTempAuthKeys -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages * Delete saved contacts: contacts.resetSaved -* 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 +* Delete stored Telegram Passport documents, for more info see the passport docs »: account.deleteSecureValue -* Delete the history of a [supergroup](https://core.telegram.org/api/channel): channels.deleteHistory +* Delete the history of a supergroup: channels.deleteHistory -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -126,13 +126,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit the about text of a channel/supergroup: channels.editAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings * Enable all users are admins in normal groups (not supergroups): messages.toggleChatAdmins -* Enable/disable [top peers](https://core.telegram.org/api/top-rating): contacts.toggleTopPeers +* Enable/disable top peers: contacts.toggleTopPeers * Enable/disable message signatures in channels: channels.toggleSignatures @@ -148,15 +148,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages -* 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 +* 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 -* Get [instant view](https://instantview.telegram.org) page: messages.getWebPage +* Get instant view page: messages.getWebPage * Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash -* Get a list of [channels/supergroups](https://core.telegram.org/api/channel) we left: channels.getLeftChannels +* Get a list of channels/supergroups we left: channels.getLeftChannels * Get a payment form: payments.getPaymentForm @@ -168,15 +168,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get all installed stickers: messages.getAllStickers -* 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 +* Get all saved Telegram Passport documents, for more info see the passport docs »: account.getAllSecureValues -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get changelog of current app: help.getAppChangelog * Get chats in common with a user: messages.getCommonChats -* Get configuration for [CDN](https://core.telegram.org/cdn) file downloads: help.getCdnConfig +* Get configuration for CDN file downloads: help.getCdnConfig * Get days to live of account: account.getAccountTTL @@ -192,11 +192,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get highscores of a game: messages.getGameHighScores -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant -* Get info about a `t.me` link: help.getDeepLinkInfo +* Get info about a t.me link: help.getDeepLinkInfo * Get info about a stickerset: messages.getStickerSet @@ -204,7 +204,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get installed mask stickers: messages.getMaskStickers -* Get link and embed info of a message in a [channel/supergroup](https://core.telegram.org/api/channel): channels.exportMessageLink +* Get link and embed info of a message in a channel/supergroup: channels.exportMessageLink * Get live location history of a certain user: messages.getRecentLocations @@ -234,11 +234,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get recent stickers: messages.getRecentStickers -* Get recently used `t.me` links: help.getRecentMeUrls +* Get recently used t.me links: help.getRecentMeUrls * Get saved GIFs: messages.getSavedGifs -* 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 +* Get saved Telegram Passport document, for more info see the passport docs »: account.getSecureValue * Get saved payment information: payments.getSavedInfo @@ -250,13 +250,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get temporary payment password: account.getTmpPassword -* Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channel): channels.getAdminLog +* Get the admin log of a channel/supergroup: channels.getAdminLog * Get the participants of a channel: channels.getParticipants * Get unread messages where we were mentioned: messages.getUnreadMentions -* Get web [login widget](https://core.telegram.org/widgets/login) authorizations: account.getWebAuthorizations +* Get web login widget authorizations: account.getWebAuthorizations * Gets back found messages: messages.search @@ -268,7 +268,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Hide/unhide message history for new channel/supergroup users: channels.togglePreHistoryHidden -* 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 +* 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 * Import a chat invite and join a private chat/supergroup/channel: messages.importChatInvite @@ -290,9 +290,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invoke a method within a takeout session: invokeWithTakeout -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invoke with the given message range: invokeWithMessagesRange @@ -302,21 +302,21 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Join a channel/supergroup: channels.joinChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Log out an active web [telegram login](https://core.telegram.org/widgets/login) session: account.resetWebAuthorization +* Log out an active web telegram login session: account.resetWebAuthorization * Look for updates of telegram's terms of service: help.getTermsOfServiceUpdate -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin * Manually mark dialog as unread: messages.markDialogUnread -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory -* Mark [channel/supergroup](https://core.telegram.org/api/channel) message contents as read: channels.readMessageContents +* Mark channel/supergroup message contents as read: channels.readMessageContents * Mark a sticker as favorite: messages.faveSticker @@ -328,17 +328,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents * Notify the other user in a private chat that a screenshot of the chat was taken: messages.sendScreenshotNotification -* 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): 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 * Obtain configuration for two-factor authorization with password: account.getPassword -* Once the user has confirmed their payment and shipping details, the bot receives an [updateBotPrecheckoutQuery](../constructors/updateBotPrecheckoutQuery.md) update. : messages.setBotPrecheckoutResults +* Once the user has confirmed their payment and shipping details, the bot receives an updateBotPrecheckoutQuery update. : messages.setBotPrecheckoutResults * 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 @@ -350,7 +350,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Rate a call: phone.setCallRating -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice * Remove a sticker from the set where it belongs, bots only. The sticker set must have been created by the bot: stickers.removeStickerFromSet @@ -360,7 +360,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Report a message in a chat for violation of telegram's Terms of Service: messages.report -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer @@ -368,15 +368,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery -* 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 +* 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 -* Reset [rating](https://core.telegram.org/api/top-rating) of top peer: contacts.resetTopPeerRating +* Reset rating of top peer: contacts.resetTopPeerRating -* Reset all active web [telegram login](https://core.telegram.org/widgets/login) sessions: account.resetWebAuthorizations +* Reset all active web telegram login sessions: account.resetWebAuthorizations -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -414,9 +414,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Returns users found by username substring: contacts.search -* Save a message [draft](https://core.telegram.org/api/drafts) associated to a chat: messages.saveDraft +* Save a message draft associated to a chat: messages.saveDraft -* Save get all message [drafts](https://core.telegram.org/api/drafts): messages.getAllDrafts +* Save get all message drafts: messages.getAllDrafts * Saves logs of application on the server: help.saveAppLog @@ -426,29 +426,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Search for stickersets: messages.searchStickerSets -* 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 +* Securely save Telegram Passport document, for more info see the passport docs »: account.saveSecureValue * Send a media: messages.sendMedia -* Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md): messages.sendInlineBotResult +* Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult * Send an album of media: messages.sendMultiMedia * Send compiled payment form: payments.sendPaymentForm -* Send confirmation code to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.sendConfirmPhoneCode +* Send confirmation code to cancel account deletion, for more info click here »: account.sendConfirmPhoneCode * Send phone call debug data to server: phone.saveCallDebug -* Send the verification email code for telegram [passport](https://core.telegram.org/passport): account.sendVerifyEmailCode +* Send the verification email code for telegram passport: account.sendVerifyEmailCode -* Send the verification phone code for telegram [passport](https://core.telegram.org/passport): account.sendVerifyPhoneCode +* Send the verification phone code for telegram passport: account.sendVerifyPhoneCode * Send typing event by the current user to a secret chat: messages.setEncryptedTyping * Sends a Telegram Passport authorization form, effectively sharing data with the service: account.acceptAuthorization -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a custom request; for bots only: bots.sendCustomRequest @@ -466,13 +466,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Set the pinned message of a channel/supergroup: channels.updatePinnedMessage -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Submit requested order information for validation: payments.validateRequestedInfo * Terminates all user's authorized sessions except for the current one: auth.resetAuthorizations -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -494,11 +494,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* Verify a phone number for telegram [passport](https://core.telegram.org/passport): account.verifyPhone +* Verify a phone number for telegram passport: account.verifyPhone -* Verify an email address for telegram [passport](https://core.telegram.org/passport): account.verifyEmail +* Verify an email address for telegram passport: account.verifyEmail -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * 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 diff --git a/old_docs/API_docs_v86/methods/README.md b/old_docs/API_docs_v86/methods/README.md index 3b253bd1..870bf67e 100644 --- a/old_docs/API_docs_v86/methods/README.md +++ b/old_docs/API_docs_v86/methods/README.md @@ -50,7 +50,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Associate a stickerset to the supergroup: channels.setStickers -* Ban/unban/kick a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editBanned +* Ban/unban/kick a user in a supergroup/channel: channels.editBanned * Cancel the login verification code: auth.cancelCode @@ -60,7 +60,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -74,39 +74,39 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Check the validity of a chat invite link and get basic info about it: messages.checkChatInvite -* Clear all [drafts](https://core.telegram.org/api/drafts): messages.clearAllDrafts +* Clear all drafts: messages.clearAllDrafts * Clear recent stickers: messages.clearRecentStickers * Clear saved payment information: payments.clearSavedInfo -* Confirm a phone number to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.confirmPhone +* Confirm a phone number to cancel account deletion, for more info click here »: account.confirmPhone * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Create a stickerset, bots only: stickers.createStickerSet * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a contact: contacts.deleteContact -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete all temporary authorization keys **except for** the ones specified: auth.dropTempAuthKeys +* Delete all temporary authorization keys except for the ones specified: auth.dropTempAuthKeys -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages * Delete saved contacts: contacts.resetSaved -* 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 +* Delete stored Telegram Passport documents, for more info see the passport docs »: account.deleteSecureValue -* Delete the history of a [supergroup](https://core.telegram.org/api/channel): channels.deleteHistory +* Delete the history of a supergroup: channels.deleteHistory -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -128,13 +128,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit the about text of a channel/supergroup: channels.editAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings * Enable all users are admins in normal groups (not supergroups): messages.toggleChatAdmins -* Enable/disable [top peers](https://core.telegram.org/api/top-rating): contacts.toggleTopPeers +* Enable/disable top peers: contacts.toggleTopPeers * Enable/disable message signatures in channels: channels.toggleSignatures @@ -150,17 +150,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages -* 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 +* 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 -* Get [instant view](https://instantview.telegram.org) page: messages.getWebPage +* Get instant view page: messages.getWebPage -* Get [passport](https://core.telegram.org/passport) configuration: help.getPassportConfig +* Get passport configuration: help.getPassportConfig * Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash -* Get a list of [channels/supergroups](https://core.telegram.org/api/channel) we left: channels.getLeftChannels +* Get a list of channels/supergroups we left: channels.getLeftChannels * Get a payment form: payments.getPaymentForm @@ -172,15 +172,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get all installed stickers: messages.getAllStickers -* 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 +* Get all saved Telegram Passport documents, for more info see the passport docs »: account.getAllSecureValues -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get changelog of current app: help.getAppChangelog * Get chats in common with a user: messages.getCommonChats -* Get configuration for [CDN](https://core.telegram.org/cdn) file downloads: help.getCdnConfig +* Get configuration for CDN file downloads: help.getCdnConfig * Get days to live of account: account.getAccountTTL @@ -196,11 +196,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get highscores of a game: messages.getGameHighScores -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant -* Get info about a `t.me` link: help.getDeepLinkInfo +* Get info about a t.me link: help.getDeepLinkInfo * Get info about a stickerset: messages.getStickerSet @@ -208,7 +208,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get installed mask stickers: messages.getMaskStickers -* Get link and embed info of a message in a [channel/supergroup](https://core.telegram.org/api/channel): channels.exportMessageLink +* Get link and embed info of a message in a channel/supergroup: channels.exportMessageLink * Get live location history of a certain user: messages.getRecentLocations @@ -238,11 +238,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get recent stickers: messages.getRecentStickers -* Get recently used `t.me` links: help.getRecentMeUrls +* Get recently used t.me links: help.getRecentMeUrls * Get saved GIFs: messages.getSavedGifs -* 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 +* Get saved Telegram Passport document, for more info see the passport docs »: account.getSecureValue * Get saved payment information: payments.getSavedInfo @@ -254,13 +254,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get temporary payment password: account.getTmpPassword -* Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channel): channels.getAdminLog +* Get the admin log of a channel/supergroup: channels.getAdminLog * Get the participants of a channel: channels.getParticipants * Get unread messages where we were mentioned: messages.getUnreadMentions -* Get web [login widget](https://core.telegram.org/widgets/login) authorizations: account.getWebAuthorizations +* Get web login widget authorizations: account.getWebAuthorizations * Gets back found messages: messages.search @@ -272,7 +272,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Hide/unhide message history for new channel/supergroup users: channels.togglePreHistoryHidden -* 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 +* 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 * Import a chat invite and join a private chat/supergroup/channel: messages.importChatInvite @@ -294,9 +294,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invoke a method within a takeout session: invokeWithTakeout -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invoke with the given message range: invokeWithMessagesRange @@ -306,21 +306,21 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Join a channel/supergroup: channels.joinChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Log out an active web [telegram login](https://core.telegram.org/widgets/login) session: account.resetWebAuthorization +* Log out an active web telegram login session: account.resetWebAuthorization * Look for updates of telegram's terms of service: help.getTermsOfServiceUpdate -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin * Manually mark dialog as unread: messages.markDialogUnread -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory -* Mark [channel/supergroup](https://core.telegram.org/api/channel) message contents as read: channels.readMessageContents +* Mark channel/supergroup message contents as read: channels.readMessageContents * Mark a sticker as favorite: messages.faveSticker @@ -332,17 +332,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents * Notify the other user in a private chat that a screenshot of the chat was taken: messages.sendScreenshotNotification -* 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): 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 * Obtain configuration for two-factor authorization with password: account.getPassword -* Once the user has confirmed their payment and shipping details, the bot receives an [updateBotPrecheckoutQuery](../constructors/updateBotPrecheckoutQuery.md) update. : messages.setBotPrecheckoutResults +* Once the user has confirmed their payment and shipping details, the bot receives an updateBotPrecheckoutQuery update. : messages.setBotPrecheckoutResults * 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 @@ -354,7 +354,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Rate a call: phone.setCallRating -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice * Remove a sticker from the set where it belongs, bots only. The sticker set must have been created by the bot: stickers.removeStickerFromSet @@ -364,7 +364,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Report a message in a chat for violation of telegram's Terms of Service: messages.report -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer @@ -372,15 +372,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery -* 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 +* 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 -* Reset [rating](https://core.telegram.org/api/top-rating) of top peer: contacts.resetTopPeerRating +* Reset rating of top peer: contacts.resetTopPeerRating -* Reset all active web [telegram login](https://core.telegram.org/widgets/login) sessions: account.resetWebAuthorizations +* Reset all active web telegram login sessions: account.resetWebAuthorizations -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -418,9 +418,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Returns users found by username substring: contacts.search -* Save a message [draft](https://core.telegram.org/api/drafts) associated to a chat: messages.saveDraft +* Save a message draft associated to a chat: messages.saveDraft -* Save get all message [drafts](https://core.telegram.org/api/drafts): messages.getAllDrafts +* Save get all message drafts: messages.getAllDrafts * Saves logs of application on the server: help.saveAppLog @@ -430,29 +430,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Search for stickersets: messages.searchStickerSets -* 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 +* Securely save Telegram Passport document, for more info see the passport docs »: account.saveSecureValue * Send a media: messages.sendMedia -* Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md): messages.sendInlineBotResult +* Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult * Send an album of media: messages.sendMultiMedia * Send compiled payment form: payments.sendPaymentForm -* Send confirmation code to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.sendConfirmPhoneCode +* Send confirmation code to cancel account deletion, for more info click here »: account.sendConfirmPhoneCode * Send phone call debug data to server: phone.saveCallDebug -* Send the verification email code for telegram [passport](https://core.telegram.org/passport): account.sendVerifyEmailCode +* Send the verification email code for telegram passport: account.sendVerifyEmailCode -* Send the verification phone code for telegram [passport](https://core.telegram.org/passport): account.sendVerifyPhoneCode +* Send the verification phone code for telegram passport: account.sendVerifyPhoneCode * Send typing event by the current user to a secret chat: messages.setEncryptedTyping * Sends a Telegram Passport authorization form, effectively sharing data with the service: account.acceptAuthorization -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a custom request; for bots only: bots.sendCustomRequest @@ -470,13 +470,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Set the pinned message of a channel/supergroup: channels.updatePinnedMessage -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Submit requested order information for validation: payments.validateRequestedInfo * Terminates all user's authorized sessions except for the current one: auth.resetAuthorizations -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -498,11 +498,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* Verify a phone number for telegram [passport](https://core.telegram.org/passport): account.verifyPhone +* Verify a phone number for telegram passport: account.verifyPhone -* Verify an email address for telegram [passport](https://core.telegram.org/passport): account.verifyEmail +* Verify an email address for telegram passport: account.verifyEmail -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * 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 diff --git a/old_docs/API_docs_v89/methods/README.md b/old_docs/API_docs_v89/methods/README.md index 6973c86d..cfe30427 100644 --- a/old_docs/API_docs_v89/methods/README.md +++ b/old_docs/API_docs_v89/methods/README.md @@ -50,9 +50,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Associate a stickerset to the supergroup: channels.setStickers -* Ban/unban/kick a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editBanned +* Ban/unban/kick a user in a supergroup/channel: channels.editBanned -* Cancel the code that was sent to verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.cancelPasswordEmail +* Cancel the code that was sent to verify an email to use as 2FA recovery method: account.cancelPasswordEmail * Cancel the login verification code: auth.cancelCode @@ -62,7 +62,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -76,39 +76,39 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Check the validity of a chat invite link and get basic info about it: messages.checkChatInvite -* Clear all [drafts](https://core.telegram.org/api/drafts): messages.clearAllDrafts +* Clear all drafts: messages.clearAllDrafts * Clear recent stickers: messages.clearRecentStickers * Clear saved payment information: payments.clearSavedInfo -* Confirm a phone number to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.confirmPhone +* Confirm a phone number to cancel account deletion, for more info click here »: account.confirmPhone * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Create a stickerset, bots only: stickers.createStickerSet * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a contact: contacts.deleteContact -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete all temporary authorization keys **except for** the ones specified: auth.dropTempAuthKeys +* Delete all temporary authorization keys except for the ones specified: auth.dropTempAuthKeys -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages * Delete saved contacts: contacts.resetSaved -* 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 +* Delete stored Telegram Passport documents, for more info see the passport docs »: account.deleteSecureValue -* Delete the history of a [supergroup](https://core.telegram.org/api/channel): channels.deleteHistory +* Delete the history of a supergroup: channels.deleteHistory -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -130,13 +130,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit the about text of a channel/supergroup: channels.editAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings * Enable all users are admins in normal groups (not supergroups): messages.toggleChatAdmins -* Enable/disable [top peers](https://core.telegram.org/api/top-rating): contacts.toggleTopPeers +* Enable/disable top peers: contacts.toggleTopPeers * Enable/disable message signatures in channels: channels.toggleSignatures @@ -152,17 +152,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages -* 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 +* 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 -* Get [instant view](https://instantview.telegram.org) page: messages.getWebPage +* Get instant view page: messages.getWebPage -* Get [passport](https://core.telegram.org/passport) configuration: help.getPassportConfig +* Get passport configuration: help.getPassportConfig * Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash -* Get a list of [channels/supergroups](https://core.telegram.org/api/channel) we left: channels.getLeftChannels +* Get a list of channels/supergroups we left: channels.getLeftChannels * Get a payment form: payments.getPaymentForm @@ -174,15 +174,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get all installed stickers: messages.getAllStickers -* 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 +* Get all saved Telegram Passport documents, for more info see the passport docs »: account.getAllSecureValues -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get changelog of current app: help.getAppChangelog * Get chats in common with a user: messages.getCommonChats -* Get configuration for [CDN](https://core.telegram.org/cdn) file downloads: help.getCdnConfig +* Get configuration for CDN file downloads: help.getCdnConfig * Get contact by telegram IDs: contacts.getContactIDs @@ -200,11 +200,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get highscores of a game: messages.getGameHighScores -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant -* Get info about a `t.me` link: help.getDeepLinkInfo +* Get info about a t.me link: help.getDeepLinkInfo * Get info about a stickerset: messages.getStickerSet @@ -214,7 +214,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get installed mask stickers: messages.getMaskStickers -* Get link and embed info of a message in a [channel/supergroup](https://core.telegram.org/api/channel): channels.exportMessageLink +* Get link and embed info of a message in a channel/supergroup: channels.exportMessageLink * Get live location history of a certain user: messages.getRecentLocations @@ -246,11 +246,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get recent stickers: messages.getRecentStickers -* Get recently used `t.me` links: help.getRecentMeUrls +* Get recently used t.me links: help.getRecentMeUrls * Get saved GIFs: messages.getSavedGifs -* 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 +* Get saved Telegram Passport document, for more info see the passport docs »: account.getSecureValue * Get saved payment information: payments.getSavedInfo @@ -262,13 +262,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get temporary payment password: account.getTmpPassword -* Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channel): channels.getAdminLog +* Get the admin log of a channel/supergroup: channels.getAdminLog * Get the participants of a channel: channels.getParticipants * Get unread messages where we were mentioned: messages.getUnreadMentions -* Get web [login widget](https://core.telegram.org/widgets/login) authorizations: account.getWebAuthorizations +* Get web login widget authorizations: account.getWebAuthorizations * Gets back found messages: messages.search @@ -280,7 +280,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Hide/unhide message history for new channel/supergroup users: channels.togglePreHistoryHidden -* 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 +* 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 * Import a chat invite and join a private chat/supergroup/channel: messages.importChatInvite @@ -306,9 +306,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invoke a method within a takeout session: invokeWithTakeout -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invoke with the given message range: invokeWithMessagesRange @@ -318,21 +318,21 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Join a channel/supergroup: channels.joinChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Log out an active web [telegram login](https://core.telegram.org/widgets/login) session: account.resetWebAuthorization +* Log out an active web telegram login session: account.resetWebAuthorization * Look for updates of telegram's terms of service: help.getTermsOfServiceUpdate -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin * Manually mark dialog as unread: messages.markDialogUnread -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory -* Mark [channel/supergroup](https://core.telegram.org/api/channel) message contents as read: channels.readMessageContents +* Mark channel/supergroup message contents as read: channels.readMessageContents * Mark a sticker as favorite: messages.faveSticker @@ -344,17 +344,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents * Notify the other user in a private chat that a screenshot of the chat was taken: messages.sendScreenshotNotification -* 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): 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 * Obtain configuration for two-factor authorization with password: account.getPassword -* Once the user has confirmed their payment and shipping details, the bot receives an [updateBotPrecheckoutQuery](../constructors/updateBotPrecheckoutQuery.md) update. : messages.setBotPrecheckoutResults +* Once the user has confirmed their payment and shipping details, the bot receives an updateBotPrecheckoutQuery update. : messages.setBotPrecheckoutResults * 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 @@ -368,7 +368,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Rate a call: phone.setCallRating -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice * Remove a sticker from the set where it belongs, bots only. The sticker set must have been created by the bot: stickers.removeStickerFromSet @@ -378,7 +378,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Report a message in a chat for violation of telegram's Terms of Service: messages.report -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer @@ -386,17 +386,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery -* Resend the code to verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.resendPasswordEmail +* Resend the code to verify an email to use as 2FA recovery method: account.resendPasswordEmail -* 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 +* 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 -* Reset [rating](https://core.telegram.org/api/top-rating) of top peer: contacts.resetTopPeerRating +* Reset rating of top peer: contacts.resetTopPeerRating -* Reset all active web [telegram login](https://core.telegram.org/widgets/login) sessions: account.resetWebAuthorizations +* Reset all active web telegram login sessions: account.resetWebAuthorizations -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -434,9 +434,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Returns users found by username substring: contacts.search -* Save a message [draft](https://core.telegram.org/api/drafts) associated to a chat: messages.saveDraft +* Save a message draft associated to a chat: messages.saveDraft -* Save get all message [drafts](https://core.telegram.org/api/drafts): messages.getAllDrafts +* Save get all message drafts: messages.getAllDrafts * Saves logs of application on the server: help.saveAppLog @@ -446,29 +446,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Search for stickersets: messages.searchStickerSets -* 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 +* Securely save Telegram Passport document, for more info see the passport docs »: account.saveSecureValue * Send a media: messages.sendMedia -* Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md): messages.sendInlineBotResult +* Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult * Send an album of media: messages.sendMultiMedia * Send compiled payment form: payments.sendPaymentForm -* Send confirmation code to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.sendConfirmPhoneCode +* Send confirmation code to cancel account deletion, for more info click here »: account.sendConfirmPhoneCode * Send phone call debug data to server: phone.saveCallDebug -* Send the verification email code for telegram [passport](https://core.telegram.org/passport): account.sendVerifyEmailCode +* Send the verification email code for telegram passport: account.sendVerifyEmailCode -* Send the verification phone code for telegram [passport](https://core.telegram.org/passport): account.sendVerifyPhoneCode +* Send the verification phone code for telegram passport: account.sendVerifyPhoneCode * Send typing event by the current user to a secret chat: messages.setEncryptedTyping * Sends a Telegram Passport authorization form, effectively sharing data with the service: account.acceptAuthorization -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a custom request; for bots only: bots.sendCustomRequest @@ -486,13 +486,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Set the pinned message of a channel/supergroup: channels.updatePinnedMessage -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Submit requested order information for validation: payments.validateRequestedInfo * Terminates all user's authorized sessions except for the current one: auth.resetAuthorizations -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -514,13 +514,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* Verify a phone number for telegram [passport](https://core.telegram.org/passport): account.verifyPhone +* Verify a phone number for telegram passport: account.verifyPhone -* Verify an email address for telegram [passport](https://core.telegram.org/passport): account.verifyEmail +* Verify an email address for telegram passport: account.verifyEmail -* Verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.confirmPasswordEmail +* Verify an email to use as 2FA recovery method: account.confirmPasswordEmail -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * 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 diff --git a/old_docs/API_docs_v91/methods/README.md b/old_docs/API_docs_v91/methods/README.md index 45072e01..8c90b0a2 100644 --- a/old_docs/API_docs_v91/methods/README.md +++ b/old_docs/API_docs_v91/methods/README.md @@ -50,9 +50,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Associate a stickerset to the supergroup: channels.setStickers -* Ban/unban/kick a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editBanned +* Ban/unban/kick a user in a supergroup/channel: channels.editBanned -* Cancel the code that was sent to verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.cancelPasswordEmail +* Cancel the code that was sent to verify an email to use as 2FA recovery method: account.cancelPasswordEmail * Cancel the login verification code: auth.cancelCode @@ -62,7 +62,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -76,41 +76,41 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Check the validity of a chat invite link and get basic info about it: messages.checkChatInvite -* Clear all [drafts](https://core.telegram.org/api/drafts): messages.clearAllDrafts +* Clear all drafts: messages.clearAllDrafts * Clear recent stickers: messages.clearRecentStickers * Clear saved payment information: payments.clearSavedInfo -* Confirm a phone number to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.confirmPhone +* Confirm a phone number to cancel account deletion, for more info click here »: account.confirmPhone * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Create a stickerset, bots only: stickers.createStickerSet * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a contact: contacts.deleteContact -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete all temporary authorization keys **except for** the ones specified: auth.dropTempAuthKeys +* Delete all temporary authorization keys except for the ones specified: auth.dropTempAuthKeys * Delete contacts by phone number: contacts.deleteByPhones -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages * Delete saved contacts: contacts.resetSaved -* 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 +* Delete stored Telegram Passport documents, for more info see the passport docs »: account.deleteSecureValue -* Delete the history of a [supergroup](https://core.telegram.org/api/channel): channels.deleteHistory +* Delete the history of a supergroup: channels.deleteHistory -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -132,13 +132,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit the about text of a channel/supergroup: channels.editAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings * Enable all users are admins in normal groups (not supergroups): messages.toggleChatAdmins -* Enable/disable [top peers](https://core.telegram.org/api/top-rating): contacts.toggleTopPeers +* Enable/disable top peers: contacts.toggleTopPeers * Enable/disable message signatures in channels: channels.toggleSignatures @@ -152,17 +152,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages -* 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 +* 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 -* Get [instant view](https://instantview.telegram.org) page: messages.getWebPage +* Get instant view page: messages.getWebPage -* Get [passport](https://core.telegram.org/passport) configuration: help.getPassportConfig +* Get passport configuration: help.getPassportConfig * Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash -* Get a list of [channels/supergroups](https://core.telegram.org/api/channel) we left: channels.getLeftChannels +* Get a list of channels/supergroups we left: channels.getLeftChannels * Get a payment form: payments.getPaymentForm @@ -174,9 +174,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get all installed stickers: messages.getAllStickers -* 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 +* Get all saved Telegram Passport documents, for more info see the passport docs »: account.getAllSecureValues -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get app-specific configuration: help.getAppConfig @@ -184,7 +184,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get chats in common with a user: messages.getCommonChats -* Get configuration for [CDN](https://core.telegram.org/cdn) file downloads: help.getCdnConfig +* Get configuration for CDN file downloads: help.getCdnConfig * Get contact by telegram IDs: contacts.getContactIDs @@ -204,11 +204,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get highscores of a game: messages.getGameHighScores -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant -* Get info about a `t.me` link: help.getDeepLinkInfo +* Get info about a t.me link: help.getDeepLinkInfo * Get info about a stickerset: messages.getStickerSet @@ -218,7 +218,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get installed mask stickers: messages.getMaskStickers -* Get link and embed info of a message in a [channel/supergroup](https://core.telegram.org/api/channel): channels.exportMessageLink +* Get link and embed info of a message in a channel/supergroup: channels.exportMessageLink * Get live location history of a certain user: messages.getRecentLocations @@ -252,11 +252,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get recent stickers: messages.getRecentStickers -* Get recently used `t.me` links: help.getRecentMeUrls +* Get recently used t.me links: help.getRecentMeUrls * Get saved GIFs: messages.getSavedGifs -* 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 +* Get saved Telegram Passport document, for more info see the passport docs »: account.getSecureValue * Get saved payment information: payments.getSavedInfo @@ -268,13 +268,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get temporary payment password: account.getTmpPassword -* Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channel): channels.getAdminLog +* Get the admin log of a channel/supergroup: channels.getAdminLog * Get the participants of a channel: channels.getParticipants * Get unread messages where we were mentioned: messages.getUnreadMentions -* Get web [login widget](https://core.telegram.org/widgets/login) authorizations: account.getWebAuthorizations +* Get web login widget authorizations: account.getWebAuthorizations * Gets back found messages: messages.search @@ -286,7 +286,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Hide/unhide message history for new channel/supergroup users: channels.togglePreHistoryHidden -* 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 +* 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 * Import a chat invite and join a private chat/supergroup/channel: messages.importChatInvite @@ -310,9 +310,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invoke a method within a takeout session: invokeWithTakeout -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invoke with the given message range: invokeWithMessagesRange @@ -322,21 +322,21 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Join a channel/supergroup: channels.joinChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Log out an active web [telegram login](https://core.telegram.org/widgets/login) session: account.resetWebAuthorization +* Log out an active web telegram login session: account.resetWebAuthorization * Look for updates of telegram's terms of service: help.getTermsOfServiceUpdate -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin * Manually mark dialog as unread: messages.markDialogUnread -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory -* Mark [channel/supergroup](https://core.telegram.org/api/channel) message contents as read: channels.readMessageContents +* Mark channel/supergroup message contents as read: channels.readMessageContents * Mark a sticker as favorite: messages.faveSticker @@ -348,17 +348,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents * Notify the other user in a private chat that a screenshot of the chat was taken: messages.sendScreenshotNotification -* 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): 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 * Obtain configuration for two-factor authorization with password: account.getPassword -* Once the user has confirmed their payment and shipping details, the bot receives an [updateBotPrecheckoutQuery](../constructors/updateBotPrecheckoutQuery.md) update. : messages.setBotPrecheckoutResults +* Once the user has confirmed their payment and shipping details, the bot receives an updateBotPrecheckoutQuery update. : messages.setBotPrecheckoutResults * 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 @@ -372,7 +372,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Rate a call: phone.setCallRating -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice * Remove a sticker from the set where it belongs, bots only. The sticker set must have been created by the bot: stickers.removeStickerFromSet @@ -382,7 +382,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Report a message in a chat for violation of telegram's Terms of Service: messages.report -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer @@ -390,17 +390,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery -* Resend the code to verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.resendPasswordEmail +* Resend the code to verify an email to use as 2FA recovery method: account.resendPasswordEmail -* 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 +* 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 -* Reset [rating](https://core.telegram.org/api/top-rating) of top peer: contacts.resetTopPeerRating +* Reset rating of top peer: contacts.resetTopPeerRating -* Reset all active web [telegram login](https://core.telegram.org/widgets/login) sessions: account.resetWebAuthorizations +* Reset all active web telegram login sessions: account.resetWebAuthorizations -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -442,9 +442,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Returns users found by username substring: contacts.search -* Save a message [draft](https://core.telegram.org/api/drafts) associated to a chat: messages.saveDraft +* Save a message draft associated to a chat: messages.saveDraft -* Save get all message [drafts](https://core.telegram.org/api/drafts): messages.getAllDrafts +* Save get all message drafts: messages.getAllDrafts * Saves logs of application on the server: help.saveAppLog @@ -454,29 +454,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Search for stickersets: messages.searchStickerSets -* 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 +* Securely save Telegram Passport document, for more info see the passport docs »: account.saveSecureValue * Send a media: messages.sendMedia -* Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md): messages.sendInlineBotResult +* Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult * Send an album of media: messages.sendMultiMedia * Send compiled payment form: payments.sendPaymentForm -* Send confirmation code to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.sendConfirmPhoneCode +* Send confirmation code to cancel account deletion, for more info click here »: account.sendConfirmPhoneCode * Send phone call debug data to server: phone.saveCallDebug -* Send the verification email code for telegram [passport](https://core.telegram.org/passport): account.sendVerifyEmailCode +* Send the verification email code for telegram passport: account.sendVerifyEmailCode -* Send the verification phone code for telegram [passport](https://core.telegram.org/passport): account.sendVerifyPhoneCode +* Send the verification phone code for telegram passport: account.sendVerifyPhoneCode * Send typing event by the current user to a secret chat: messages.setEncryptedTyping * Sends a Telegram Passport authorization form, effectively sharing data with the service: account.acceptAuthorization -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a custom request; for bots only: bots.sendCustomRequest @@ -492,7 +492,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Set the callback answer to a user button press (bots only): messages.setBotCallbackAnswer -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Submit requested order information for validation: payments.validateRequestedInfo @@ -500,7 +500,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Toggle contact sign up notifications: account.setContactSignUpNotification -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -522,15 +522,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* Verify a phone number for telegram [passport](https://core.telegram.org/passport): account.verifyPhone +* Verify a phone number for telegram passport: account.verifyPhone -* Verify an email address for telegram [passport](https://core.telegram.org/passport): account.verifyEmail +* Verify an email address for telegram passport: account.verifyEmail -* Verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.confirmPasswordEmail +* Verify an email to use as 2FA recovery method: account.confirmPasswordEmail -* Vote in a [poll](../constructors/poll.md): messages.sendVote +* Vote in a poll: messages.sendVote -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * Whether the user will receive notifications when contacts sign up: account.getContactSignUpNotification diff --git a/old_docs/API_docs_v95/methods/README.md b/old_docs/API_docs_v95/methods/README.md index 00f6dab0..3a6aabcb 100644 --- a/old_docs/API_docs_v95/methods/README.md +++ b/old_docs/API_docs_v95/methods/README.md @@ -48,9 +48,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Associate a stickerset to the supergroup: channels.setStickers -* Ban/unban/kick a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editBanned +* Ban/unban/kick a user in a supergroup/channel: channels.editBanned -* Cancel the code that was sent to verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.cancelPasswordEmail +* Cancel the code that was sent to verify an email to use as 2FA recovery method: account.cancelPasswordEmail * Cancel the login verification code: auth.cancelCode @@ -60,7 +60,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -74,17 +74,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Check the validity of a chat invite link and get basic info about it: messages.checkChatInvite -* Clear all [drafts](https://core.telegram.org/api/drafts): messages.clearAllDrafts +* Clear all drafts: messages.clearAllDrafts * Clear recent stickers: messages.clearRecentStickers * Clear saved payment information: payments.clearSavedInfo -* Confirm a phone number to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.confirmPhone +* Confirm a phone number to cancel account deletion, for more info click here »: account.confirmPhone * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Create a stickerset, bots only: stickers.createStickerSet @@ -92,27 +92,27 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a contact: contacts.deleteContact -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete all temporary authorization keys **except for** the ones specified: auth.dropTempAuthKeys +* Delete all temporary authorization keys except for the ones specified: auth.dropTempAuthKeys * Delete contacts by phone number: contacts.deleteByPhones * Delete installed wallpapers: account.resetWallPapers -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages * Delete saved contacts: contacts.resetSaved -* 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 +* Delete stored Telegram Passport documents, for more info see the passport docs »: account.deleteSecureValue -* Delete the history of a [supergroup](https://core.telegram.org/api/channel): channels.deleteHistory +* Delete the history of a supergroup: channels.deleteHistory -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -132,15 +132,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit message: messages.editMessage -* Edit the default banned rights of a [channel/supergroup/group](https://core.telegram.org/api/channel): messages.editChatDefaultBannedRights +* Edit the default banned rights of a channel/supergroup/group: messages.editChatDefaultBannedRights -* Edit the description of a [group/supergroup/channel](https://core.telegram.org/api/channel): messages.editChatAbout +* Edit the description of a group/supergroup/channel: messages.editChatAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings -* Enable/disable [top peers](https://core.telegram.org/api/top-rating): contacts.toggleTopPeers +* Enable/disable top peers: contacts.toggleTopPeers * Enable/disable message signatures in channels: channels.toggleSignatures @@ -152,17 +152,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages -* 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 +* 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 -* Get [instant view](https://instantview.telegram.org) page: messages.getWebPage +* Get instant view page: messages.getWebPage -* Get [passport](https://core.telegram.org/passport) configuration: help.getPassportConfig +* Get passport configuration: help.getPassportConfig * Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash -* Get a list of [channels/supergroups](https://core.telegram.org/api/channel) we left: channels.getLeftChannels +* Get a list of channels/supergroups we left: channels.getLeftChannels * Get a payment form: payments.getPaymentForm @@ -174,9 +174,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get all installed stickers: messages.getAllStickers -* 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 +* Get all saved Telegram Passport documents, for more info see the passport docs »: account.getAllSecureValues -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get app-specific configuration: help.getAppConfig @@ -184,7 +184,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get chats in common with a user: messages.getCommonChats -* Get configuration for [CDN](https://core.telegram.org/cdn) file downloads: help.getCdnConfig +* Get configuration for CDN file downloads: help.getCdnConfig * Get contact by telegram IDs: contacts.getContactIDs @@ -204,11 +204,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get highscores of a game: messages.getGameHighScores -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant -* Get info about a `t.me` link: help.getDeepLinkInfo +* Get info about a t.me link: help.getDeepLinkInfo * Get info about a certain wallpaper: account.getWallPaper @@ -220,7 +220,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get installed mask stickers: messages.getMaskStickers -* Get link and embed info of a message in a [channel/supergroup](https://core.telegram.org/api/channel): channels.exportMessageLink +* Get link and embed info of a message in a channel/supergroup: channels.exportMessageLink * Get live location history of a certain user: messages.getRecentLocations @@ -254,11 +254,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get recent stickers: messages.getRecentStickers -* Get recently used `t.me` links: help.getRecentMeUrls +* Get recently used t.me links: help.getRecentMeUrls * Get saved GIFs: messages.getSavedGifs -* 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 +* Get saved Telegram Passport document, for more info see the passport docs »: account.getSecureValue * Get saved payment information: payments.getSavedInfo @@ -270,13 +270,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get temporary payment password: account.getTmpPassword -* Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channel): channels.getAdminLog +* Get the admin log of a channel/supergroup: channels.getAdminLog * Get the participants of a channel: channels.getParticipants * Get unread messages where we were mentioned: messages.getUnreadMentions -* Get web [login widget](https://core.telegram.org/widgets/login) authorizations: account.getWebAuthorizations +* Get web login widget authorizations: account.getWebAuthorizations * Gets back found messages: messages.search @@ -288,7 +288,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Hide/unhide message history for new channel/supergroup users: channels.togglePreHistoryHidden -* 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 +* 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 * Import a chat invite and join a private chat/supergroup/channel: messages.importChatInvite @@ -316,9 +316,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invoke a method within a takeout session: invokeWithTakeout -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invoke with the given message range: invokeWithMessagesRange @@ -328,21 +328,21 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Join a channel/supergroup: channels.joinChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Log out an active web [telegram login](https://core.telegram.org/widgets/login) session: account.resetWebAuthorization +* Log out an active web telegram login session: account.resetWebAuthorization * Look for updates of telegram's terms of service: help.getTermsOfServiceUpdate -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin * Manually mark dialog as unread: messages.markDialogUnread -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory -* Mark [channel/supergroup](https://core.telegram.org/api/channel) message contents as read: channels.readMessageContents +* Mark channel/supergroup message contents as read: channels.readMessageContents * Mark a sticker as favorite: messages.faveSticker @@ -354,17 +354,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents * Notify the other user in a private chat that a screenshot of the chat was taken: messages.sendScreenshotNotification -* 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): 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 * Obtain configuration for two-factor authorization with password: account.getPassword -* Once the user has confirmed their payment and shipping details, the bot receives an [updateBotPrecheckoutQuery](../constructors/updateBotPrecheckoutQuery.md) update. : messages.setBotPrecheckoutResults +* Once the user has confirmed their payment and shipping details, the bot receives an updateBotPrecheckoutQuery update. : messages.setBotPrecheckoutResults * 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 @@ -378,7 +378,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Rate a call: phone.setCallRating -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice * Remove a sticker from the set where it belongs, bots only. The sticker set must have been created by the bot: stickers.removeStickerFromSet @@ -388,7 +388,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Report a message in a chat for violation of telegram's Terms of Service: messages.report -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer @@ -396,17 +396,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery -* Resend the code to verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.resendPasswordEmail +* Resend the code to verify an email to use as 2FA recovery method: account.resendPasswordEmail -* 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 +* 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 -* Reset [rating](https://core.telegram.org/api/top-rating) of top peer: contacts.resetTopPeerRating +* Reset rating of top peer: contacts.resetTopPeerRating -* Reset all active web [telegram login](https://core.telegram.org/widgets/login) sessions: account.resetWebAuthorizations +* Reset all active web telegram login sessions: account.resetWebAuthorizations -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -448,9 +448,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Returns users found by username substring: contacts.search -* Save a message [draft](https://core.telegram.org/api/drafts) associated to a chat: messages.saveDraft +* Save a message draft associated to a chat: messages.saveDraft -* Save get all message [drafts](https://core.telegram.org/api/drafts): messages.getAllDrafts +* Save get all message drafts: messages.getAllDrafts * Saves logs of application on the server: help.saveAppLog @@ -460,29 +460,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Search for stickersets: messages.searchStickerSets -* 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 +* Securely save Telegram Passport document, for more info see the passport docs »: account.saveSecureValue * Send a media: messages.sendMedia -* Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md): messages.sendInlineBotResult +* Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult * Send an album of media: messages.sendMultiMedia * Send compiled payment form: payments.sendPaymentForm -* Send confirmation code to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.sendConfirmPhoneCode +* Send confirmation code to cancel account deletion, for more info click here »: account.sendConfirmPhoneCode * Send phone call debug data to server: phone.saveCallDebug -* Send the verification email code for telegram [passport](https://core.telegram.org/passport): account.sendVerifyEmailCode +* Send the verification email code for telegram passport: account.sendVerifyEmailCode -* Send the verification phone code for telegram [passport](https://core.telegram.org/passport): account.sendVerifyPhoneCode +* Send the verification phone code for telegram passport: account.sendVerifyPhoneCode * Send typing event by the current user to a secret chat: messages.setEncryptedTyping * Sends a Telegram Passport authorization form, effectively sharing data with the service: account.acceptAuthorization -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a custom request; for bots only: bots.sendCustomRequest @@ -498,7 +498,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Set the callback answer to a user button press (bots only): messages.setBotCallbackAnswer -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Submit requested order information for validation: payments.validateRequestedInfo @@ -506,7 +506,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Toggle contact sign up notifications: account.setContactSignUpNotification -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -528,15 +528,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* Verify a phone number for telegram [passport](https://core.telegram.org/passport): account.verifyPhone +* Verify a phone number for telegram passport: account.verifyPhone -* Verify an email address for telegram [passport](https://core.telegram.org/passport): account.verifyEmail +* Verify an email address for telegram passport: account.verifyEmail -* Verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.confirmPasswordEmail +* Verify an email to use as 2FA recovery method: account.confirmPasswordEmail -* Vote in a [poll](../constructors/poll.md): messages.sendVote +* Vote in a poll: messages.sendVote -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * Whether the user will receive notifications when contacts sign up: account.getContactSignUpNotification diff --git a/old_docs/API_docs_v97/methods/README.md b/old_docs/API_docs_v97/methods/README.md index 57b3417b..9fde3c35 100644 --- a/old_docs/API_docs_v97/methods/README.md +++ b/old_docs/API_docs_v97/methods/README.md @@ -48,9 +48,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Associate a stickerset to the supergroup: channels.setStickers -* Ban/unban/kick a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editBanned +* Ban/unban/kick a user in a supergroup/channel: channels.editBanned -* Cancel the code that was sent to verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.cancelPasswordEmail +* Cancel the code that was sent to verify an email to use as 2FA recovery method: account.cancelPasswordEmail * Cancel the login verification code: auth.cancelCode @@ -62,7 +62,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Change the phone number of the current account: account.changePhone -* Change the photo of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editPhoto +* Change the photo of a channel/supergroup: channels.editPhoto * Change the username of a supergroup/channel: channels.updateUsername @@ -76,17 +76,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Check the validity of a chat invite link and get basic info about it: messages.checkChatInvite -* Clear all [drafts](https://core.telegram.org/api/drafts): messages.clearAllDrafts +* Clear all drafts: messages.clearAllDrafts * Clear recent stickers: messages.clearRecentStickers * Clear saved payment information: payments.clearSavedInfo -* Confirm a phone number to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.confirmPhone +* Confirm a phone number to cancel account deletion, for more info click here »: account.confirmPhone * Confirms receipt of messages by a client, cancels PUSH-notification sending: messages.receivedMessages -* Create a [supergroup/channel](https://core.telegram.org/api/channel): channels.createChannel +* Create a supergroup/channel: channels.createChannel * Create a stickerset, bots only: stickers.createStickerSet @@ -94,27 +94,27 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Creates a new chat: messages.createChat -* Delete a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteChannel +* Delete a channel/supergroup: channels.deleteChannel * Delete a contact: contacts.deleteContact -* Delete all messages sent by a certain user in a [supergroup](https://core.telegram.org/api/channel): channels.deleteUserHistory +* Delete all messages sent by a certain user in a supergroup: channels.deleteUserHistory -* Delete all temporary authorization keys **except for** the ones specified: auth.dropTempAuthKeys +* Delete all temporary authorization keys except for the ones specified: auth.dropTempAuthKeys * Delete contacts by phone number: contacts.deleteByPhones * Delete installed wallpapers: account.resetWallPapers -* Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel): channels.deleteMessages +* Delete messages in a channel/supergroup: channels.deleteMessages * Delete saved contacts: contacts.resetSaved -* 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 +* Delete stored Telegram Passport documents, for more info see the passport docs »: account.deleteSecureValue -* Delete the history of a [supergroup](https://core.telegram.org/api/channel): channels.deleteHistory +* Delete the history of a supergroup: channels.deleteHistory -* 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 +* 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 * Deletes a device by its token, stops sending PUSH-notifications to it: account.unregisterDevice @@ -134,15 +134,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Edit message: messages.editMessage -* Edit the default banned rights of a [channel/supergroup/group](https://core.telegram.org/api/channel): messages.editChatDefaultBannedRights +* Edit the default banned rights of a channel/supergroup/group: messages.editChatDefaultBannedRights -* Edit the description of a [group/supergroup/channel](https://core.telegram.org/api/channel): messages.editChatAbout +* Edit the description of a group/supergroup/channel: messages.editChatAbout -* Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel): channels.editTitle +* Edit the name of a channel/supergroup: channels.editTitle * Edits notification settings from a given user/group, from all users/all groups: account.updateNotifySettings -* Enable/disable [top peers](https://core.telegram.org/api/top-rating): contacts.toggleTopPeers +* Enable/disable top peers: contacts.toggleTopPeers * Enable/disable message signatures in channels: channels.toggleSignatures @@ -154,17 +154,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Forwards messages by their IDs: messages.forwardMessages -* Get [channel/supergroup](https://core.telegram.org/api/channel) messages: channels.getMessages +* Get channel/supergroup messages: channels.getMessages -* 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 +* 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 -* Get [instant view](https://instantview.telegram.org) page: messages.getWebPage +* Get instant view page: messages.getWebPage -* Get [passport](https://core.telegram.org/passport) configuration: help.getPassportConfig +* Get passport configuration: help.getPassportConfig * Get a document by its SHA256 hash, mainly used for gifs: messages.getDocumentByHash -* Get a list of [channels/supergroups](https://core.telegram.org/api/channel) we left: channels.getLeftChannels +* Get a list of channels/supergroups we left: channels.getLeftChannels * Get a payment form: payments.getPaymentForm @@ -176,9 +176,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get all installed stickers: messages.getAllStickers -* 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 +* Get all saved Telegram Passport documents, for more info see the passport docs »: account.getAllSecureValues -* Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel): messages.getMessagesViews +* Get and increase the view counter of a message sent or forwarded from a channel: messages.getMessagesViews * Get app-specific configuration: help.getAppConfig @@ -188,7 +188,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get chats in common with a user: messages.getCommonChats -* Get configuration for [CDN](https://core.telegram.org/cdn) file downloads: help.getCdnConfig +* Get configuration for CDN file downloads: help.getCdnConfig * Get contact by telegram IDs: contacts.getContactIDs @@ -208,11 +208,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get highscores of a game: messages.getGameHighScores -* Get info about [channels/supergroups](https://core.telegram.org/api/channel): channels.getChannels +* Get info about channels/supergroups: channels.getChannels -* Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant: channels.getParticipant +* Get info about a channel/supergroup participant: channels.getParticipant -* Get info about a `t.me` link: help.getDeepLinkInfo +* Get info about a t.me link: help.getDeepLinkInfo * Get info about a certain wallpaper: account.getWallPaper @@ -224,7 +224,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get installed mask stickers: messages.getMaskStickers -* Get link and embed info of a message in a [channel/supergroup](https://core.telegram.org/api/channel): channels.exportMessageLink +* Get link and embed info of a message in a channel/supergroup: channels.exportMessageLink * Get live location history of a certain user: messages.getRecentLocations @@ -262,11 +262,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get recent stickers: messages.getRecentStickers -* Get recently used `t.me` links: help.getRecentMeUrls +* Get recently used t.me links: help.getRecentMeUrls * Get saved GIFs: messages.getSavedGifs -* 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 +* Get saved Telegram Passport document, for more info see the passport docs »: account.getSecureValue * Get saved payment information: payments.getSavedInfo @@ -278,13 +278,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Get temporary payment password: account.getTmpPassword -* Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channel): channels.getAdminLog +* Get the admin log of a channel/supergroup: channels.getAdminLog * Get the participants of a channel: channels.getParticipants * Get unread messages where we were mentioned: messages.getUnreadMentions -* Get web [login widget](https://core.telegram.org/widgets/login) authorizations: account.getWebAuthorizations +* Get web login widget authorizations: account.getWebAuthorizations * Gets back found messages: messages.search @@ -296,7 +296,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Hide/unhide message history for new channel/supergroup users: channels.togglePreHistoryHidden -* 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 +* 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 * Import a chat invite and join a private chat/supergroup/channel: messages.importChatInvite @@ -324,9 +324,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Invoke a method within a takeout session: invokeWithTakeout -* 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 +* Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries): invokeWithoutUpdates -* Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking#layers): invokeWithLayer +* Invoke the specified query using the specified API layer: invokeWithLayer * Invoke with the given message range: invokeWithMessagesRange @@ -336,21 +336,21 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Join a channel/supergroup: channels.joinChannel -* Leave a [channel/supergroup](https://core.telegram.org/api/channel): channels.leaveChannel +* Leave a channel/supergroup: channels.leaveChannel -* Log out an active [authorized session](https://core.telegram.org/api/auth) by its hash: account.resetAuthorization +* Log out an active authorized session by its hash: account.resetAuthorization -* Log out an active web [telegram login](https://core.telegram.org/widgets/login) session: account.resetWebAuthorization +* Log out an active web telegram login session: account.resetWebAuthorization * Look for updates of telegram's terms of service: help.getTermsOfServiceUpdate -* Make a user admin in a [legacy group](https://core.telegram.org/api/channel): messages.editChatAdmin +* Make a user admin in a legacy group: messages.editChatAdmin * Manually mark dialog as unread: messages.markDialogUnread -* Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read: channels.readHistory +* Mark channel/supergroup history as read: channels.readHistory -* Mark [channel/supergroup](https://core.telegram.org/api/channel) message contents as read: channels.readMessageContents +* Mark channel/supergroup message contents as read: channels.readMessageContents * Mark a sticker as favorite: messages.faveSticker @@ -362,17 +362,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Marks message history within a secret chat as read: messages.readEncryptedHistory -* Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel): channels.editAdmin +* Modify the admin rights of a user in a supergroup/channel: channels.editAdmin * Notifies the sender about the recipient having listened a voice message or watched a video: messages.readMessageContents * Notify the other user in a private chat that a screenshot of the chat was taken: messages.sendScreenshotNotification -* 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): 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 * Obtain configuration for two-factor authorization with password: account.getPassword -* Once the user has confirmed their payment and shipping details, the bot receives an [updateBotPrecheckoutQuery](../constructors/updateBotPrecheckoutQuery.md) update. : messages.setBotPrecheckoutResults +* Once the user has confirmed their payment and shipping details, the bot receives an updateBotPrecheckoutQuery update. : messages.setBotPrecheckoutResults * 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 @@ -386,7 +386,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Rate a call: phone.setCallRating -* Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates): account.registerDevice +* Register device to receive PUSH notifications: account.registerDevice * Remove a sticker from the set where it belongs, bots only. The sticker set must have been created by the bot: stickers.removeStickerFromSet @@ -396,7 +396,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Report a message in a chat for violation of telegram's Terms of Service: messages.report -* Report a new incoming chat for spam, if the [peer settings](../constructors/peerSettings.md) of the chat allow us to do that: messages.reportSpam +* Report a new incoming chat for spam, if the peer settings of the chat allow us to do that: messages.reportSpam * Report a peer for violation of telegram's Terms of Service: account.reportPeer @@ -404,17 +404,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup: channels.reportSpam -* 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 +* Request recovery code of a 2FA password, only for accounts with a recovery email configured: auth.requestPasswordRecovery -* Resend the code to verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.resendPasswordEmail +* Resend the code to verify an email to use as 2FA recovery method: account.resendPasswordEmail -* 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 +* 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 -* Reset [rating](https://core.telegram.org/api/top-rating) of top peer: contacts.resetTopPeerRating +* Reset rating of top peer: contacts.resetTopPeerRating -* Reset all active web [telegram login](https://core.telegram.org/widgets/login) sessions: account.resetWebAuthorizations +* Reset all active web telegram login sessions: account.resetWebAuthorizations -* Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery code sent using [auth.requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md): auth.recoverPassword +* Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery: auth.recoverPassword * Resets all notification settings from users and groups: account.resetNotifySettings @@ -458,9 +458,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Returns users found by username substring: contacts.search -* Save a message [draft](https://core.telegram.org/api/drafts) associated to a chat: messages.saveDraft +* Save a message draft associated to a chat: messages.saveDraft -* Save get all message [drafts](https://core.telegram.org/api/drafts): messages.getAllDrafts +* Save get all message drafts: messages.getAllDrafts * Saves logs of application on the server: help.saveAppLog @@ -470,29 +470,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Search for stickersets: messages.searchStickerSets -* 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 +* Securely save Telegram Passport document, for more info see the passport docs »: account.saveSecureValue * Send a media: messages.sendMedia -* Send a result obtained using [messages.getInlineBotResults](../methods/messages.getInlineBotResults.md): messages.sendInlineBotResult +* Send a result obtained using messages.getInlineBotResults: messages.sendInlineBotResult * Send an album of media: messages.sendMultiMedia * Send compiled payment form: payments.sendPaymentForm -* Send confirmation code to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion): account.sendConfirmPhoneCode +* Send confirmation code to cancel account deletion, for more info click here »: account.sendConfirmPhoneCode * Send phone call debug data to server: phone.saveCallDebug -* Send the verification email code for telegram [passport](https://core.telegram.org/passport): account.sendVerifyEmailCode +* Send the verification email code for telegram passport: account.sendVerifyEmailCode -* Send the verification phone code for telegram [passport](https://core.telegram.org/passport): account.sendVerifyPhoneCode +* Send the verification phone code for telegram passport: account.sendVerifyPhoneCode * Send typing event by the current user to a secret chat: messages.setEncryptedTyping * Sends a Telegram Passport authorization form, effectively sharing data with the service: account.acceptAuthorization -* Sends a current user typing event (see [SendMessageAction](../types/SendMessageAction.md) for all event types) to a conversation partner or group: messages.setTyping +* Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group: messages.setTyping * Sends a custom request; for bots only: bots.sendCustomRequest @@ -508,7 +508,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Set the callback answer to a user button press (bots only): messages.setBotCallbackAnswer -* Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/bots#deep-linking): messages.startBot +* Start a conversation with a bot using a deep linking parameter: messages.startBot * Submit requested order information for validation: payments.validateRequestedInfo @@ -516,7 +516,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Toggle contact sign up notifications: account.setContactSignUpNotification -* Turn a [legacy group into a supergroup](https://core.telegram.org/api/channel): messages.migrateChat +* Turn a legacy group into a supergroup: messages.migrateChat * Uninstall a stickerset: messages.uninstallStickerSet @@ -538,15 +538,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * Verify a new phone number to associate to the current account: account.sendChangePhoneCode -* Verify a phone number for telegram [passport](https://core.telegram.org/passport): account.verifyPhone +* Verify a phone number for telegram passport: account.verifyPhone -* Verify an email address for telegram [passport](https://core.telegram.org/passport): account.verifyEmail +* Verify an email address for telegram passport: account.verifyEmail -* Verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp): account.confirmPasswordEmail +* Verify an email to use as 2FA recovery method: account.confirmPasswordEmail -* Vote in a [poll](../constructors/poll.md): messages.sendVote +* Vote in a poll: messages.sendVote -* 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 +* When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications: account.updateDeviceLocked * Whether the user will receive notifications when contacts sign up: account.getContactSignUpNotification