mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-12-29 15:59:13 +01:00
Update content of files
This commit is contained in:
parent
e13c010278
commit
24d80689cf
14 changed files with 47 additions and 47 deletions
|
@ -310,57 +310,57 @@ While <a href="/method/help.getConfig">help.getConfig</a> returns MTProto-specif
|
|||
<h4><a class="anchor" href="#message-animated-emoji-max" id="message-animated-emoji-max" name="message-animated-emoji-max"><i class="anchor-icon"></i></a><code>message_animated_emoji_max</code></h4>
|
||||
<p>Maximum number of custom animated emojis that may be present in a message. (integer)</p>
|
||||
<h4><a class="anchor" href="#stickers-premium-by-emoji-num" id="stickers-premium-by-emoji-num" name="stickers-premium-by-emoji-num"><i class="anchor-icon"></i></a><code>stickers_premium_by_emoji_num</code></h4>
|
||||
<p>Defines how many premium stickers to show in the sticker suggestion popup when entering an emoji into the text field, see the <a href="/api/stickers#sticker-suggestions">sticker docs for more info</a> (integer, defaults to 0)</p>
|
||||
<p>Defines how many <a href="/api/premium">Premium stickers</a> to show in the sticker suggestion popup when entering an emoji into the text field, see the <a href="/api/stickers#sticker-suggestions">sticker docs for more info</a> (integer, defaults to 0)</p>
|
||||
<h4><a class="anchor" href="#stickers-normal-by-emoji-per-premium-num" id="stickers-normal-by-emoji-per-premium-num" name="stickers-normal-by-emoji-per-premium-num"><i class="anchor-icon"></i></a><code>stickers_normal_by_emoji_per_premium_num</code></h4>
|
||||
<p>For Premium users, used to define the suggested sticker list, see the <a href="/api/stickers#sticker-suggestions">sticker docs for more info</a> (integer, defaults to 2)</p>
|
||||
<p>For <a href="/api/premium">Premium users</a>, used to define the suggested sticker list, see the <a href="/api/stickers#sticker-suggestions">sticker docs for more info</a> (integer, defaults to 2)</p>
|
||||
<h4><a class="anchor" href="#premium-purchase-blocked" id="premium-purchase-blocked" name="premium-purchase-blocked"><i class="anchor-icon"></i></a><code>premium_purchase_blocked</code></h4>
|
||||
<p>The user can't purchase premium. The app must also hide all Premium features, including stars for other users, et cetera. (boolean)</p>
|
||||
<p>The user can't purchase <a href="/api/premium">Telegram Premium</a>. The app must also hide all Premium features, including stars for other users, et cetera. (boolean)</p>
|
||||
<h4><a class="anchor" href="#channels-limit-default" id="channels-limit-default" name="channels-limit-default"><i class="anchor-icon"></i></a><code>channels_limit_default</code></h4>
|
||||
<p>The maximum number of <a href="/api/channel">channels and supergroups</a> a non-Premium user may join (integer)</p>
|
||||
<p>The maximum number of <a href="/api/channel">channels and supergroups</a> a non-<a href="/api/premium">Premium</a> user may join (integer)</p>
|
||||
<h4><a class="anchor" href="#channels-limit-premium" id="channels-limit-premium" name="channels-limit-premium"><i class="anchor-icon"></i></a><code>channels_limit_premium</code></h4>
|
||||
<p>The maximum number of <a href="/api/channel">channels and supergroups</a> a Premium user may join (integer)</p>
|
||||
<p>The maximum number of <a href="/api/channel">channels and supergroups</a> a <a href="/api/premium">Premium</a> user may join (integer)</p>
|
||||
<h4><a class="anchor" href="#saved-gifs-limit-default" id="saved-gifs-limit-default" name="saved-gifs-limit-default"><i class="anchor-icon"></i></a><code>saved_gifs_limit_default</code></h4>
|
||||
<p>The maximum number of GIFs a non-Premium user may save (integer)</p>
|
||||
<p>The maximum number of GIFs a non-<a href="/api/premium">Premium</a> user may save (integer)</p>
|
||||
<h4><a class="anchor" href="#saved-gifs-limit-premium" id="saved-gifs-limit-premium" name="saved-gifs-limit-premium"><i class="anchor-icon"></i></a><code>saved_gifs_limit_premium</code></h4>
|
||||
<p>The maximum number of GIFs a Premium user may save (integer)</p>
|
||||
<p>The maximum number of GIFs a <a href="/api/premium">Premium</a> user may save (integer)</p>
|
||||
<h4><a class="anchor" href="#stickers-faved-limit-default" id="stickers-faved-limit-default" name="stickers-faved-limit-default"><i class="anchor-icon"></i></a><code>stickers_faved_limit_default</code></h4>
|
||||
<p>The maximum number of stickers a non-Premium user may <a href="/api/stickers#favorite-stickers">add to Favorites »</a> (integer)</p>
|
||||
<p>The maximum number of stickers a non-<a href="/api/premium">Premium</a> user may <a href="/api/stickers#favorite-stickers">add to Favorites »</a> (integer)</p>
|
||||
<h4><a class="anchor" href="#stickers-faved-limit-premium" id="stickers-faved-limit-premium" name="stickers-faved-limit-premium"><i class="anchor-icon"></i></a><code>stickers_faved_limit_premium</code></h4>
|
||||
<p>The maximum number of stickers a Premium user may <a href="/api/stickers#favorite-stickers">add to Favorites »</a> (integer)</p>
|
||||
<p>The maximum number of stickers a <a href="/api/premium">Premium</a> user may <a href="/api/stickers#favorite-stickers">add to Favorites »</a> (integer)</p>
|
||||
<h4><a class="anchor" href="#dialog-filters-limit-default" id="dialog-filters-limit-default" name="dialog-filters-limit-default"><i class="anchor-icon"></i></a><code>dialog_filters_limit_default</code></h4>
|
||||
<p>The maximum number of <a href="/api/folders">folders</a> a non-Premium user may create (integer)</p>
|
||||
<p>The maximum number of <a href="/api/folders">folders</a> a non-<a href="/api/premium">Premium</a> user may create (integer)</p>
|
||||
<h4><a class="anchor" href="#dialog-filters-limit-premium" id="dialog-filters-limit-premium" name="dialog-filters-limit-premium"><i class="anchor-icon"></i></a><code>dialog_filters_limit_premium</code></h4>
|
||||
<p>The maximum number of <a href="/api/folders">folders</a> a Premium user may create (integer)</p>
|
||||
<p>The maximum number of <a href="/api/folders">folders</a> a <a href="/api/premium">Premium</a> user may create (integer)</p>
|
||||
<h4><a class="anchor" href="#dialog-filters-chats-limit-default" id="dialog-filters-chats-limit-default" name="dialog-filters-chats-limit-default"><i class="anchor-icon"></i></a><code>dialog_filters_chats_limit_default</code></h4>
|
||||
<p>The maximum number of chats a non-Premium user may add to a <a href="/api/folders">folder</a> (integer)</p>
|
||||
<p>The maximum number of chats a non-<a href="/api/premium">Premium</a> user may add to a <a href="/api/folders">folder</a> (integer)</p>
|
||||
<h4><a class="anchor" href="#dialog-filters-chats-limit-premium" id="dialog-filters-chats-limit-premium" name="dialog-filters-chats-limit-premium"><i class="anchor-icon"></i></a><code>dialog_filters_chats_limit_premium</code></h4>
|
||||
<p>The maximum number of chats a Premium user may add to a <a href="/api/folders">folder</a> (integer)</p>
|
||||
<p>The maximum number of chats a <a href="/api/premium">Premium</a> user may add to a <a href="/api/folders">folder</a> (integer)</p>
|
||||
<h4><a class="anchor" href="#dialogs-pinned-limit-default" id="dialogs-pinned-limit-default" name="dialogs-pinned-limit-default"><i class="anchor-icon"></i></a><code>dialogs_pinned_limit_default</code></h4>
|
||||
<p>The maximum number of chats a non-Premium user may pin (integer)</p>
|
||||
<p>The maximum number of chats a non-<a href="/api/premium">Premium</a> user may pin (integer)</p>
|
||||
<h4><a class="anchor" href="#dialogs-pinned-limit-premium" id="dialogs-pinned-limit-premium" name="dialogs-pinned-limit-premium"><i class="anchor-icon"></i></a><code>dialogs_pinned_limit_premium</code></h4>
|
||||
<p>The maximum number of chats a Premium user may pin (integer)</p>
|
||||
<p>The maximum number of chats a <a href="/api/premium">Premium</a> user may pin (integer)</p>
|
||||
<h4><a class="anchor" href="#dialogs-folder-pinned-limit-default" id="dialogs-folder-pinned-limit-default" name="dialogs-folder-pinned-limit-default"><i class="anchor-icon"></i></a><code>dialogs_folder_pinned_limit_default</code></h4>
|
||||
<p>The maximum number of chats a non-Premium user may pin in a folder (integer)</p>
|
||||
<p>The maximum number of chats a non-<a href="/api/premium">Premium</a> user may pin in a folder (integer)</p>
|
||||
<h4><a class="anchor" href="#dialogs-folder-pinned-limit-premium" id="dialogs-folder-pinned-limit-premium" name="dialogs-folder-pinned-limit-premium"><i class="anchor-icon"></i></a><code>dialogs_folder_pinned_limit_premium</code></h4>
|
||||
<p>The maximum number of chats a Premium user may pin in a folder (integer)</p>
|
||||
<p>The maximum number of chats a <a href="/api/premium">Premium</a> user may pin in a folder (integer)</p>
|
||||
<h4><a class="anchor" href="#channels-public-limit-default" id="channels-public-limit-default" name="channels-public-limit-default"><i class="anchor-icon"></i></a><code>channels_public_limit_default</code></h4>
|
||||
<p>The maximum number of public <a href="/api/channel">channels or supergroups</a> a non-Premium user may create (integer)</p>
|
||||
<p>The maximum number of public <a href="/api/channel">channels or supergroups</a> a non-<a href="/api/premium">Premium</a> user may create (integer)</p>
|
||||
<h4><a class="anchor" href="#channels-public-limit-premium" id="channels-public-limit-premium" name="channels-public-limit-premium"><i class="anchor-icon"></i></a><code>channels_public_limit_premium</code></h4>
|
||||
<p>The maximum number of public <a href="/api/channel">channels or supergroups</a> a Premium user may create (integer)</p>
|
||||
<p>The maximum number of public <a href="/api/channel">channels or supergroups</a> a <a href="/api/premium">Premium</a> user may create (integer)</p>
|
||||
<h4><a class="anchor" href="#caption-length-limit-default" id="caption-length-limit-default" name="caption-length-limit-default"><i class="anchor-icon"></i></a><code>caption_length_limit_default</code></h4>
|
||||
<p>The maximum UTF-8 length of media captions sendable by non-Premium users (integer)</p>
|
||||
<p>The maximum UTF-8 length of media captions sendable by non-<a href="/api/premium">Premium</a> users (integer)</p>
|
||||
<h4><a class="anchor" href="#caption-length-limit-premium" id="caption-length-limit-premium" name="caption-length-limit-premium"><i class="anchor-icon"></i></a><code>caption_length_limit_premium</code></h4>
|
||||
<p>The maximum UTF-8 length of media captions sendable by non-Premium users (integer)</p>
|
||||
<p>The maximum UTF-8 length of media captions sendable by non-<a href="/api/premium">Premium</a> users (integer)</p>
|
||||
<h4><a class="anchor" href="#upload-max-fileparts-default" id="upload-max-fileparts-default" name="upload-max-fileparts-default"><i class="anchor-icon"></i></a><code>upload_max_fileparts_default</code></h4>
|
||||
<p>The maximum size of files uploadable by non-Premium users (integer, indicates the number of 512kb file parts, so the size in bytes is determined by multiplying by <code>524288</code>)</p>
|
||||
<p>The maximum size of files uploadable by non-<a href="/api/premium">Premium</a> users (integer, indicates the number of 512kb file parts, so the size in bytes is determined by multiplying by <code>524288</code>)</p>
|
||||
<h4><a class="anchor" href="#upload-max-fileparts-premium" id="upload-max-fileparts-premium" name="upload-max-fileparts-premium"><i class="anchor-icon"></i></a><code>upload_max_fileparts_premium</code></h4>
|
||||
<p>The maximum size of files uploadable by Premium users (integer, indicates the number of 512kb file parts, so the size in bytes is determined by multiplying by <code>524288</code>)</p>
|
||||
<p>The maximum size of files uploadable by <a href="/api/premium">Premium</a> users (integer, indicates the number of 512kb file parts, so the size in bytes is determined by multiplying by <code>524288</code>)</p>
|
||||
<h4><a class="anchor" href="#about-length-limit-default" id="about-length-limit-default" name="about-length-limit-default"><i class="anchor-icon"></i></a><code>about_length_limit_default</code></h4>
|
||||
<p>The maximum UTF-8 length of bios of non-Premium users (integer)</p>
|
||||
<p>The maximum UTF-8 length of bios of non-<a href="/api/premium">Premium</a> users (integer)</p>
|
||||
<h4><a class="anchor" href="#about-length-limit-premium" id="about-length-limit-premium" name="about-length-limit-premium"><i class="anchor-icon"></i></a><code>about_length_limit_premium</code></h4>
|
||||
<p>The maximum UTF-8 length of bios of Premium users (integer)</p>
|
||||
<p>The maximum UTF-8 length of bios of <a href="/api/premium">Premium</a> users (integer)</p>
|
||||
<h4><a class="anchor" href="#premium-promo-order" id="premium-promo-order" name="premium-promo-order"><i class="anchor-icon"></i></a><code>premium_promo_order</code></h4>
|
||||
<p>Array of string identifiers, indicating the order of Telegram Premium features in the Telegram Premimum promotion popup, possible values:</p>
|
||||
<p>Array of string identifiers, indicating the order of <a href="/api/premium">Telegram Premium</a> features in the Telegram Premimum promotion popup, possible values: </p>
|
||||
<ul>
|
||||
<li><code>double_limits</code> - Should open a secondary popup with a list of the default/premium limits mentioned above</li>
|
||||
<li><code>more_upload</code> - Premium users can upload bigger files, as specified by the <code>upload_max_fileparts_*</code> config keys</li>
|
||||
|
@ -376,9 +376,9 @@ While <a href="/method/help.getConfig">help.getConfig</a> returns MTProto-specif
|
|||
<li><code>app_icons</code> - Premium users can change the default icon of the Telegram app</li>
|
||||
</ul>
|
||||
<h4><a class="anchor" href="#premium-bot-username" id="premium-bot-username" name="premium-bot-username"><i class="anchor-icon"></i></a><code>premium_bot_username</code></h4>
|
||||
<p>Contains the username of the official Telegram Premium bot that may be used to buy a Telegram Premium subscription (string)</p>
|
||||
<p>Contains the username of the official <a href="/api/premium">Telegram Premium</a> bot that may be used to buy a <a href="/api/premium">Telegram Premium</a> subscription, see <a href="/api/premium">here for detailed instructions »</a> (string)</p>
|
||||
<h4><a class="anchor" href="#premium-invoice-slug" id="premium-invoice-slug" name="premium-invoice-slug"><i class="anchor-icon"></i></a><code>premium_invoice_slug</code></h4>
|
||||
<p>Contains an <a href="/api/payments">invoice slug</a> that may be used to buy a Telegram Premium subscription (string)</p>
|
||||
<p>Contains an <a href="/api/payments">invoice slug</a> that may be used to buy a <a href="/api/premium">Telegram Premium</a> subscription, see <a href="/api/premium">here for detailed instructions »</a> (string)</p>
|
||||
<h3><a class="anchor" href="#suggestions" id="suggestions" name="suggestions"><i class="anchor-icon"></i></a>Suggestions</h3>
|
||||
<p>The API can return a set of useful suggestions for users of graphical clients. </p>
|
||||
<h4><a class="anchor" href="#basic-suggestions" id="basic-suggestions" name="basic-suggestions"><i class="anchor-icon"></i></a>Basic suggestions</h4>
|
||||
|
|
|
@ -59,7 +59,7 @@ This is implemented by using the dice constructors: </p>
|
|||
|
||||
<a href='/method/help.getAppConfig'>help.getAppConfig</a>#98914110 = <a href='/type/JSONValue'>JSONValue</a>;</code></pre>
|
||||
<p>On startup, clients should fetch <a href="/api/config#client-configuration">app configuration using help.getAppConfig</a>.<br>
|
||||
Then, for each dice emoji contained in the <code>emojies_send_dice</code> field, clients should fetch the dice emoji stickerset by calling the <a href="/method/messages.getStickerSet">messages.getStickerSet</a> method, providing the properly populated <a href="/constructor/inputStickerSetDice">inputStickerSetDice</a> to the <code>stickerset</code> field.<br>
|
||||
Then, for each dice emoji contained in the <a href="/api/config#emojies-send-dice"><code>emojies_send_dice</code> field</a>, clients should fetch the dice emoji stickerset by calling the <a href="/method/messages.getStickerSet">messages.getStickerSet</a> method, providing the properly populated <a href="/constructor/inputStickerSetDice">inputStickerSetDice</a> to the <code>stickerset</code> field.<br>
|
||||
The returned stickerset will contain a set of animated stickers, one for each of the dice outcomes, plus a first looping sticker that should be shown as preview to the user before actually sending the dice. </p>
|
||||
<p>If a user attempts to send a single emoji from the ones specified in <code>emojies_send_dice</code>, the dice should be sent using <a href="/method/messages.sendMedia">messages.sendMedia</a>, providing the dice emoji to the <code>emoticon</code> field. </p>
|
||||
<p>Incoming dice stickers will be received as a <a href="/constructor/messageMediaDice">messageMediaDice</a> constructor, along with a randomly generated server-side value, ranging from 1 to the maximum allowed value for this type of dice.<br>
|
||||
|
|
|
@ -170,7 +170,7 @@ Also, discussion group admins can now <a href="/api/discussion#requiring-users-t
|
|||
<li>Added <a href="/constructor/attachMenuPeerTypeBroadcast">attachMenuPeerTypeBroadcast</a> - The bot attachment menu entry is available in channels</li>
|
||||
<li>Added <a href="/constructor/chatInvitePublicJoinRequests">chatInvitePublicJoinRequests</a> - Used in updates and in the channel log to indicate when a user is requesting to join or has joined a <a href="/api/discussion#requiring-users-to-join-the-group">discussion group</a></li>
|
||||
<li>Added <a href="/constructor/inputInvoiceMessage">inputInvoiceMessage</a> - An invoice contained in a <a href="/constructor/messageMediaInvoice">messageMediaInvoice</a> message.</li>
|
||||
<li>Added <a href="/constructor/inputInvoiceSlug">inputInvoiceSlug</a> - An invoice slug taken from an <a href="/api/links#invoice-links">invoice deep link</a> or from the <a href="/api/config#client-configuration"><code>premium_invoice_slug</code> app config parameter »</a></li>
|
||||
<li>Added <a href="/constructor/inputInvoiceSlug">inputInvoiceSlug</a> - An invoice slug taken from an <a href="/api/links#invoice-links">invoice deep link</a> or from the <a href="/api/config#premium-invoice-slug"><code>premium_invoice_slug</code> app config parameter »</a></li>
|
||||
<li>Added <a href="/constructor/payments.exportedInvoice">payments.exportedInvoice</a> - Exported <a href="/api/links#invoice-links">invoice deep link</a></li>
|
||||
<li>Added <a href="/constructor/updateTranscribedAudio">updateTranscribedAudio</a> - A pending <a href="/api/transcribe">voice message transcription »</a> initiated with <a href="/method/messages.transcribeAudio">messages.transcribeAudio</a> was updated.</li>
|
||||
<li>Added <a href="/constructor/messages.transcribedAudio">messages.transcribedAudio</a> - <a href="/api/transcribe">Transcribed text from a voice message »</a></li>
|
||||
|
@ -504,7 +504,7 @@ Also, discussion group admins can now <a href="/api/discussion#requiring-users-t
|
|||
<li>Added <a href="/method/messages.getMessageReactionsList">messages.getMessageReactionsList</a> - Get <a href="/api/reactions">message reaction</a> list, along with the sender of each reaction.</li>
|
||||
<li>Added <a href="/method/messages.setChatAvailableReactions">messages.setChatAvailableReactions</a> - Change the set of <a href="/api/reactions">message reactions »</a> that can be used in a certain group, supergroup or channel</li>
|
||||
<li>Added <a href="/method/messages.getAvailableReactions">messages.getAvailableReactions</a> - Obtain available <a href="/api/reactions">message reactions »</a></li>
|
||||
<li>Added <a href="/method/messages.setDefaultReaction">messages.setDefaultReaction</a> - Change default emoji reaction to use in the quick reaction menu: the value is synced across devices and can be fetched using <a href="/api/config#client-configuration">help.getAppConfig, <code>reactions_default</code> field</a>.</li>
|
||||
<li>Added <a href="/method/messages.setDefaultReaction">messages.setDefaultReaction</a> - Change default emoji reaction to use in the quick reaction menu: the value is synced across devices and can be fetched using <a href="/api/config#reactions-default">help.getAppConfig, <code>reactions_default</code> field</a>.</li>
|
||||
</ul>
|
||||
<h5><a class="anchor" href="#new-constructors" id="new-constructors" name="new-constructors"><i class="anchor-icon"></i></a>New Constructors</h5>
|
||||
<ul>
|
||||
|
|
|
@ -127,7 +127,7 @@ The the first button of the keyboard will always be a <a href="/constructor/keyb
|
|||
</li>
|
||||
<li><a href="/constructor/inputInvoiceSlug">inputInvoiceSlug</a><ul>
|
||||
<li>If the user opens an <a href="/api/links#invoice-links">invoice deep link</a>, contains the <code>slug</code> parameter</li>
|
||||
<li>If the client has to process a <a href="/api/premium">Telegram Premium</a> payment, contains the <a href="/api/config#client-configuration"><code>premium_invoice_slug</code> app config parameter »</a></li>
|
||||
<li>If the client has to process a <a href="/api/premium">Telegram Premium</a> payment, contains the <a href="/api/config#premium-invoice-slug"><code>premium_invoice_slug</code> app config parameter »</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
@ -95,7 +95,7 @@ The returned vector of <a href="/constructor/availableReaction">availableReactio
|
|||
|
||||
<a href='/method/help.getAppConfig'>help.getAppConfig</a>#98914110 = <a href='/type/JSONValue'>JSONValue</a>;</code></pre>
|
||||
<p><a href="/method/messages.setDefaultReaction">messages.setDefaultReaction</a> can be used to change the default emoji reaction to use in the quick reaction menu.<br>
|
||||
This value is synced across devices and can be fetched using <a href="/api/config#client-configuration">help.getAppConfig, <code>reactions_default</code> field</a>.</p>
|
||||
This value is synced across devices and can be fetched using <a href="/api/config#reactions-default">help.getAppConfig, <code>reactions_default</code> field</a>.</p>
|
||||
<h3><a class="anchor" href="#change-available-reactions-in-group-or-channel" id="change-available-reactions-in-group-or-channel" name="change-available-reactions-in-group-or-channel"><i class="anchor-icon"></i></a>Change available reactions in group or channel</h3>
|
||||
<pre><code><a href='/constructor/channelAdminLogEventActionChangeAvailableReactions'>channelAdminLogEventActionChangeAvailableReactions</a>#9cf7f76a prev_value:<a href='/type/Vector%20t'>Vector</a><<a href='/type/string'>string</a>> new_value:<a href='/type/Vector%20t'>Vector</a><<a href='/type/string'>string</a>> = <a href='/type/ChannelAdminLogEventAction'>ChannelAdminLogEventAction</a>;
|
||||
|
||||
|
|
|
@ -277,8 +277,8 @@ This method will also emit an <a href="/constructor/updateReadFeaturedStickers">
|
|||
<p>Favorited stickers can be fetched using <a href="/method/messages.getFavedStickers">messages.getFavedStickers</a>: note that this method returns a set of <a href="#stickerset-previews">stickerset previews »</a>.</p>
|
||||
<p>Users can fave only a certain number of stickersets, as specified by the following <a href="/api/config#client-configuration">configuration</a> parameters:</p>
|
||||
<ul>
|
||||
<li>Premium users can fave a total of <code>stickers_faved_limit_premium</code> stickersets. </li>
|
||||
<li>Non-Premium users can fave a total of <code>stickers_faved_limit_default</code> stickersets. </li>
|
||||
<li>Premium users can fave a total of <a href="/api/config#stickers-faved-limit-premium"><code>stickers_faved_limit_premium</code> stickersets</a>. </li>
|
||||
<li>Non-Premium users can fave a total of <a href="/api/config#stickers-faved-limit-default"><code>stickers_faved_limit_default</code> stickersets</a>. </li>
|
||||
</ul>
|
||||
<p>An <a href="/constructor/updateFavedStickers">updateFavedStickers</a> update will be emitted to the other logged-in sessions when faving or unfaving stickersets.<br>
|
||||
This update should trigger a call to <a href="/method/messages.getFavedStickers">messages.getFavedStickers</a>. </p>
|
||||
|
|
|
@ -64,13 +64,13 @@ The same must be done if the user opens the link while refusing the authorizatio
|
|||
<h3><a class="anchor" href="#link-url-authorization" id="link-url-authorization" name="link-url-authorization"><i class="anchor-icon"></i></a>Link URL authorization</h3>
|
||||
<p>Telegram supports automatic authorization on certain websites upon opening an HTTP URL in-app, upon clicking a link in a message or clicking on a <a href="/constructor/keyboardButtonUrl">keyboardButtonUrl</a>.</p>
|
||||
<h4><a class="anchor" href="#automatic-authorization" id="automatic-authorization" name="automatic-authorization"><i class="anchor-icon"></i></a>Automatic authorization</h4>
|
||||
<p>Clients should automatically authenticate users when opening official Telegram websites, listed in the <code>autologin_domains</code> key of the <a href="/api/config#client-configuration">client configuration object »</a>. </p>
|
||||
<p>Upon clicking a link, the URL must be modified by appending the <code>autologin_token</code> from the <a href="/api/config#client-configuration">client configuration object »</a> to the <a href="https://datatracker.ietf.org/doc/html/rfc3986#section-3.4">query string</a>, like so: </p>
|
||||
<p>Clients should automatically authenticate users when opening official Telegram websites, listed in the <a href="/api/config#autologin-domains"><code>autologin_domains</code> key</a> of the <a href="/api/config#client-configuration">client configuration object »</a>. </p>
|
||||
<p>Upon clicking a link, the URL must be modified by appending the <a href="/api/config#autologin-token"><code>autologin_token</code> »</a> from the <a href="/api/config#client-configuration">client configuration object »</a> to the <a href="https://datatracker.ietf.org/doc/html/rfc3986#section-3.4">query string</a>, like so: </p>
|
||||
<p>Original URL: <code>https://somedomain.telegram.org/path?query=string#fragment=value</code><br>
|
||||
Modified URL: <code>https://somedomain.telegram.org/path?query=string&autologin_token=$autologin_token#fragment=value</code> </p>
|
||||
<p>Make sure that the used <code>autologin_token</code> is no more than <code>10000</code> seconds old, if it is older it must be refetched before use as described in the <a href="/api/config#client-configuration">client configuration section »</a>. </p>
|
||||
<p>Make sure that the used <code>autologin_token</code> is no more than <code>10000</code> seconds old, if it is older it must be refetched before use as described in the <a href="/api/config#autologin-token">client configuration section »</a>. </p>
|
||||
<h4><a class="anchor" href="#manual-authorization" id="manual-authorization" name="manual-authorization"><i class="anchor-icon"></i></a>Manual authorization</h4>
|
||||
<p>Clients should show a confirmation prompt similar to the one used <a href="#bot-url-authorization">for bots</a>, to authenticate users when opening certain Telegram websites, listed in the <code>url_auth_domains</code> key of the <a href="/api/config#client-configuration">client configuration object »</a>. </p>
|
||||
<p>Clients should show a confirmation prompt similar to the one used <a href="#bot-url-authorization">for bots</a>, to authenticate users when opening certain Telegram websites, listed in the <code>url_auth_domains</code> key of the <a href="/api/config#url-auth-domains">client configuration object »</a>. </p>
|
||||
<p><a href="/method/messages.requestUrlAuth">messages.requestUrlAuth</a> should be called, providing only the original <code>url</code>.
|
||||
The returned <a href="/constructor/urlAuthResultRequest">urlAuthResultRequest</a> object will contain more details about the authorization request:</p>
|
||||
<ul>
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/inputInvoiceSlug" >inputInvoiceSlug</a></li></ul></div>
|
||||
<h1 id="dev_page_title">inputInvoiceSlug</h1>
|
||||
|
||||
<div id="dev_page_content"><p>An invoice slug taken from an <a href="/api/links#invoice-links">invoice deep link</a> or from the <a href="/api/config#client-configuration"><code>premium_invoice_slug</code> app config parameter »</a></p>
|
||||
<div id="dev_page_content"><p>An invoice slug taken from an <a href="/api/links#invoice-links">invoice deep link</a> or from the <a href="/api/config#premium-invoice-slug"><code>premium_invoice_slug</code> app config parameter »</a></p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
|
|
@ -94,7 +94,7 @@
|
|||
<tr>
|
||||
<td><strong>invoice_slug</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/type/string">string</a></td>
|
||||
<td>An invoice slug taken from an <a href="/api/links#invoice-links">invoice deep link</a> or from the <a href="/api/config#client-configuration"><code>premium_invoice_slug</code> app config parameter »</a></td>
|
||||
<td>An invoice slug taken from an <a href="/api/links#invoice-links">invoice deep link</a> or from the <a href="/api/config#premium-invoice-slug"><code>premium_invoice_slug</code> app config parameter »</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/methods" >All Methods</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/method/messages.getMessageReadParticipants" >messages.getMessageReadParticipants</a></li></ul></div>
|
||||
<h1 id="dev_page_title">messages.getMessageReadParticipants</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Get which users read a specific message: only available for groups and supergroups with less than <code>chat_read_mark_size_threshold</code> members, read receipts will be stored for <code>chat_read_mark_expire_period</code> seconds after the message was sent, see <a href="/api/config#client-configuration">client configuration for more info »</a>.</p>
|
||||
<div id="dev_page_content"><p>Get which users read a specific message: only available for groups and supergroups with less than <a href="/api/config#chat-read-mark-size-threshold"><code>chat_read_mark_size_threshold</code> members</a>, read receipts will be stored for <a href="/api/config#chat-read-mark-expire-period"><code>chat_read_mark_expire_period</code> seconds after the message was sent</a>, see <a href="/api/config#client-configuration">client configuration for more info »</a>.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/methods" >All Methods</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/method/messages.setDefaultReaction" >messages.setDefaultReaction</a></li></ul></div>
|
||||
<h1 id="dev_page_title">messages.setDefaultReaction</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Change default emoji reaction to use in the quick reaction menu: the value is synced across devices and can be fetched using <a href="/api/config#client-configuration">help.getAppConfig, <code>reactions_default</code> field</a>.</p>
|
||||
<div id="dev_page_content"><p>Change default emoji reaction to use in the quick reaction menu: the value is synced across devices and can be fetched using <a href="/api/config#reactions-default">help.getAppConfig, <code>reactions_default</code> field</a>.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
|
|
@ -749,7 +749,7 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/method/messages.getMessageReadParticipants">messages.getMessageReadParticipants</a></td>
|
||||
<td>Get which users read a specific message: only available for groups and supergroups with less than <code>chat_read_mark_size_threshold</code> members, read receipts will be stored for <code>chat_read_mark_expire_period</code> seconds after the message was sent, see <a href="/api/config#client-configuration">client configuration for more info »</a>.</td>
|
||||
<td>Get which users read a specific message: only available for groups and supergroups with less than <a href="/api/config#chat-read-mark-size-threshold"><code>chat_read_mark_size_threshold</code> members</a>, read receipts will be stored for <a href="/api/config#chat-read-mark-expire-period"><code>chat_read_mark_expire_period</code> seconds after the message was sent</a>, see <a href="/api/config#client-configuration">client configuration for more info »</a>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/messages.addChatUser">messages.addChatUser</a></td>
|
||||
|
@ -972,7 +972,7 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/method/messages.setDefaultReaction">messages.setDefaultReaction</a></td>
|
||||
<td>Change default emoji reaction to use in the quick reaction menu: the value is synced across devices and can be fetched using <a href="/api/config#client-configuration">help.getAppConfig, <code>reactions_default</code> field</a>.</td>
|
||||
<td>Change default emoji reaction to use in the quick reaction menu: the value is synced across devices and can be fetched using <a href="/api/config#reactions-default">help.getAppConfig, <code>reactions_default</code> field</a>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/messages.getMessagesReactions">messages.getMessagesReactions</a></td>
|
||||
|
|
|
@ -660,7 +660,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/messages.setDefaultReaction">messages.setDefaultReaction</a></td>
|
||||
<td>Change default emoji reaction to use in the quick reaction menu: the value is synced across devices and can be fetched using <a href="/api/config#client-configuration">help.getAppConfig, <code>reactions_default</code> field</a>.</td>
|
||||
<td>Change default emoji reaction to use in the quick reaction menu: the value is synced across devices and can be fetched using <a href="/api/config#reactions-default">help.getAppConfig, <code>reactions_default</code> field</a>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/messages.toggleBotInAttachMenu">messages.toggleBotInAttachMenu</a></td>
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/constructor/inputInvoiceSlug">inputInvoiceSlug</a></td>
|
||||
<td>An invoice slug taken from an <a href="/api/links#invoice-links">invoice deep link</a> or from the <a href="/api/config#client-configuration"><code>premium_invoice_slug</code> app config parameter »</a></td>
|
||||
<td>An invoice slug taken from an <a href="/api/links#invoice-links">invoice deep link</a> or from the <a href="/api/config#premium-invoice-slug"><code>premium_invoice_slug</code> app config parameter »</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
|
Loading…
Reference in a new issue