Update content of files

This commit is contained in:
GitHub Action 2022-09-08 15:36:14 +00:00
parent c2f61a779d
commit cb0f2eb314
14 changed files with 63 additions and 25 deletions

View file

@ -52,8 +52,8 @@ Also introducing new <a href="https://telegram.org/blog/custom-emoji#privacy-set
<h4><a class="anchor" href="#schema-changes" id="schema-changes" name="schema-changes"><i class="anchor-icon"></i></a>Schema changes</h4>
<h5><a class="anchor" href="#new-methods" id="new-methods" name="new-methods"><i class="anchor-icon"></i></a>New Methods</h5>
<ul>
<li>Added <a href="/method/messages.getCustomEmojiDocuments">messages.getCustomEmojiDocuments</a> - Fetch info about custom emojis.</li>
<li>Added <a href="/method/messages.getEmojiStickers">messages.getEmojiStickers</a> - Gets the list of currently installed custom emoji stickersets.</li>
<li>Added <a href="/method/messages.getCustomEmojiDocuments">messages.getCustomEmojiDocuments</a> - Fetch <a href="/api/custom-emoji">custom emoji stickers &amp;rauquo;</a>.</li>
<li>Added <a href="/method/messages.getEmojiStickers">messages.getEmojiStickers</a> - Gets the list of currently installed <a href="/api/custom-emoji">custom emoji stickersets</a>.</li>
<li>Added <a href="/method/messages.getFeaturedEmojiStickers">messages.getFeaturedEmojiStickers</a> - Gets featured custom emoji stickersets.</li>
</ul>
<h5><a class="anchor" href="#changed-methods" id="changed-methods" name="changed-methods"><i class="anchor-icon"></i></a>Changed Methods</h5>

View file

@ -61,9 +61,24 @@
Use <a href="/method/users.getUsers">users.getUsers</a> with <a href="/constructor/inputUserSelf">inputUserSelf</a> to fetch info about the current subscription status from the <code>premium</code> flag of the returned <a href="/constructor/user">user</a> constructor. </p>
<p>The following fields are related to Telegram Premium, and clients should be aware of the current subscription status to eventually modify their behavior accordingly. </p>
<h4><a class="anchor" href="#promo-page" id="promo-page" name="promo-page"><i class="anchor-icon"></i></a>Promo page</h4>
<pre><code><a href='/constructor/help.premiumPromo'>help.premiumPromo</a>#8a4f3c29 status_text:<a href='/type/string'>string</a> status_entities:<a href='/type/Vector%20t'>Vector</a>&lt;<a href='/type/MessageEntity'>MessageEntity</a>&gt; video_sections:<a href='/type/Vector%20t'>Vector</a>&lt;<a href='/type/string'>string</a>&gt; videos:<a href='/type/Vector%20t'>Vector</a>&lt;<a href='/type/Document'>Document</a>&gt; currency:<a href='/type/string'>string</a> monthly_amount:<a href='/type/long'>long</a> users:<a href='/type/Vector%20t'>Vector</a>&lt;<a href='/type/User'>User</a>&gt; = <a href='/type/help.PremiumPromo'>help.PremiumPromo</a>;
---functions---
<a href='/method/help.getPremiumPromo'>help.getPremiumPromo</a>#b81b93d4 = <a href='/type/help.PremiumPromo'>help.PremiumPromo</a>;
<a href='/method/help.getAppConfig'>help.getAppConfig</a>#98914110 = <a href='/type/JSONValue'>JSONValue</a>;</code></pre>
<p>Clients should show a Telegram Premium button in the settings.<br>
Clicking on this button in the settings, clicking on the <a href="#badge">badge</a> of a Premium user or hitting one of the Premium limits listed below should open a Telegram Premium modal.<br>
This modal should list the following Premium <a href="#telegram-premium-features">features</a> contained in the <a href="/api/config#premium-promo-order"><code>premium_promo_order</code> appConfig field</a>, and presented in the order dynamically specified by the appConfig. </p>
Clicking on this button in the settings, clicking on the <a href="#badge">badge</a> of a Premium user or hitting one of the Premium limits listed below should open a Telegram Premium modal. </p>
<p>This modal should list the Premium <a href="#feature-identifiers">features</a> contained in the <a href="/api/config#premium-promo-order"><code>premium_promo_order</code> appConfig field</a>, and presented in the order dynamically specified by the appConfig.<br>
<a href="/method/help.getPremiumPromo">help.getPremiumPromo</a> must also be called, to fetch a list of promotional videos to show when clicking on a Premium feature row, and the current subscription status, to be shown in the header of the modal:</p>
<ul>
<li><code>status_text</code>+<code>status_entities</code>+<code>users</code> - Contain the current subscription status (with associated <a href="/api/entities">styled text entities and mentions</a>)</li>
<li><code>video</code>+<code>video_sections</code> - Contain a list of videos, and the corresponding <a href="#feature-identifiers">premium feature identifiers</a>.</li>
<li><code>currency</code> - Three-letter ISO 4217 <a href="/bots/payments#supported-currencies">currency</a> code</li>
<li><code>monthly_amount</code> - Monthly price of the product in the smallest units of the currency (integer, not float/double). For example, for a price of <code>US$ 1.45</code> pass <code>amount = 145</code>. See the exp parameter in <a href="/bots/payments/currencies.json">currencies.json</a>, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).</li>
</ul>
<h5><a class="anchor" href="#feature-identifiers" id="feature-identifiers" name="feature-identifiers"><i class="anchor-icon"></i></a>Feature identifiers</h5>
<p>This list contains the feature identifiers returned in the <a href="/api/config#premium-promo-order"><code>premium_promo_order</code> appConfig array field</a>.</p>
<p>Note that whenever config keys end with a <code>*</code> in the following list, the <code>*</code> should be replaced with <code>default</code> or <code>premium</code>, to fetch the appropriate limit value for normal and Premium users.</p>
<ul>
<li><code>double_limits</code> - Clicking on this entry should open a secondary popup with a list of the following improved Premium limits.<br>
@ -97,8 +112,15 @@ What follows is a list of <a href="/api/config#client-configuration">appConfig i
<h4><a class="anchor" href="#sticker-suggestions" id="sticker-suggestions" name="sticker-suggestions"><i class="anchor-icon"></i></a>Sticker suggestions</h4>
<p>The suggested sticker selection logic is slightly different for Premium users, see <a href="/api/stickers#sticker-suggestions">here for more info »</a>.</p>
<h3><a class="anchor" href="#subscribing-to-telegram-premium" id="subscribing-to-telegram-premium" name="subscribing-to-telegram-premium"><i class="anchor-icon"></i></a>Subscribing to Telegram Premium</h3>
<p>Here's how to pay for a Telegram Premium subscription, when the user clicks on the subscribe button:</p>
<pre><code><a href='/constructor/inputStorePaymentPremiumSubscription'>inputStorePaymentPremiumSubscription</a>#a6751e66 flags:<a href='/type/%23'>#</a> restore:flags.0?<a href='/constructor/true'>true</a> = <a href='/type/InputStorePaymentPurpose'>InputStorePaymentPurpose</a>;
---functions---
<a href='/method/payments.canPurchasePremium'>payments.canPurchasePremium</a>#9fc19eb6 purpose:<a href='/type/InputStorePaymentPurpose'>InputStorePaymentPurpose</a> = <a href='/type/Bool'>Bool</a>;
<a href='/method/messages.startBot'>messages.startBot</a>#e6df7378 bot:<a href='/type/InputUser'>InputUser</a> peer:<a href='/type/InputPeer'>InputPeer</a> random_id:<a href='/type/long'>long</a> start_param:<a href='/type/string'>string</a> = <a href='/type/Updates'>Updates</a>;</code></pre>
<p>Here's how to activate a Telegram Premium subscription, when the user clicks on the subscribe button:</p>
<ul>
<li>Before doing anything, call <a href="/method/payments.canPurchasePremium">payments.canPurchasePremium</a>, specifying <a href="/constructor/inputStorePaymentPremiumSubscription">inputStorePaymentPremiumSubscription</a></li>
<li>If the <code>premium_bot_username</code> field is set, call <a href="/method/messages.startBot">messages.startBot</a>, specifying the following parameters:<ul>
<li><code>peer</code> and <code>bot</code>: The bot mentioned in <code>premium_bot_username</code></li>
<li><code>start_param</code>: One of the following values:<ul>
@ -113,6 +135,7 @@ Then, when the user clicks on the subscribe button in the sent invoice, follow t
</li>
<li>Otherwise, if the <code>premium_invoice_slug</code> field is set, handle the payment as you would handle a <code>t.me/$premium_invoice_slug</code> <a href="/api/links#invoice-links">invoice deep link</a>.</li>
</ul>
<h3><a class="anchor" href="#gifting-telegram-premium" id="gifting-telegram-premium" name="gifting-telegram-premium"><i class="anchor-icon"></i></a>Gifting Telegram Premium.</h3>
<h3><a class="anchor" href="#blocked-telegram-premium" id="blocked-telegram-premium" name="blocked-telegram-premium"><i class="anchor-icon"></i></a>Blocked Telegram Premium</h3>
<p>If the <code>premium_purchase_blocked</code> <a href="/api/config#client-configuration">app configuration parameter</a> is set, the user can't purchase a Premium account, and all Telegram Premium features must be hidden (like the stars of Premium users, Telegram Premium purchase buttons, and so on). </p></div>

View file

@ -227,7 +227,7 @@ Use <a href="/method/messages.getEmojiStickers">messages.getEmojiStickers</a> to
<p>Bots and users can create stickersets by using the following methods.<br>
Users can also create stickersets by interacting with the official <a href="https://t.me/stickers">@stickers</a> bot. </p>
<p>Note that unofficial bots <strong>must</strong> append a <code>"_by_&lt;bot_username&gt;"</code> prefix to the stickerset short name when creating stickersets.
Also note that users can't directly modify stickersets created using <a href="/method/stickers.createStickerSet">stickers.createStickerSet</a>, and must use the <a href="https://t.me/stickers">@stickers</a> bot, instead: only the sticker creation+shortname methods are available directly to users to allow <a href="/import-stickers">importing stickers using the stickers SDK</a>. </p>
Also note that users can't directly modify stickersets created using <a href="/method/stickers.createStickerSet">stickers.createStickerSet</a>, and must use the <a href="https://t.me/stickers">@stickers</a> bot, instead: only the sticker creation+shortname methods are available directly to users to allow <a href="/import_stickers">importing stickers using the stickers SDK</a>. </p>
<p>Use <a href="/method/messages.uploadMedia">messages.uploadMedia</a> to upload stickers and thumbnails, if you don't already have access to a previously uploaded <a href="/constructor/document">document</a>. </p>
<p>Use <a href="/method/stickers.checkShortName">stickers.checkShortName</a> to check if a given short name is available, and <a href="/method/stickers.suggestShortName">stickers.suggestShortName</a> to let the server suggest a short name, given the stickerset title.</p>
<p>Use <a href="/method/stickers.createStickerSet">stickers.createStickerSet</a> to create normal, <a href="#animated-stickers">animated</a>, <a href="#video-stickers">video</a> or <a href="#mask-stickers">mask</a> stickersets.<br>

View file

@ -79,7 +79,7 @@
<tr>
<td><strong>document_id</strong></td>
<td style="text-align: center;"><a href="/type/long">long</a></td>
<td>Document ID of the custom emoji, use <a href="/method/messages.getCustomEmojiDocuments">messages.getCustomEmojiDocuments</a> to fetch the emoji animation and the actual emoji it represents.</td>
<td>Document ID of the <a href="/api/custom-emoji">custom emoji</a>, use <a href="/method/messages.getCustomEmojiDocuments">messages.getCustomEmojiDocuments</a> to fetch the emoji animation and the actual emoji it represents.</td>
</tr>
</tbody>
</table>
@ -88,8 +88,10 @@
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
<h4><a class="anchor" href="#styled-text-with-message-entities" id="styled-text-with-message-entities" name="styled-text-with-message-entities"><i class="anchor-icon"></i></a><a href="/api/entities">Styled text with message entities</a></h4>
<p>How to create styled text with message entities</p>
<h4><a class="anchor" href="#custom-emojis" id="custom-emojis" name="custom-emojis"><i class="anchor-icon"></i></a><a href="/api/custom-emoji">Custom emojis</a></h4>
<p>Telegram allows including animated and static custom emojis inside of messages.</p>
<h4><a class="anchor" href="#messagesgetcustomemojidocuments" id="messagesgetcustomemojidocuments" name="messagesgetcustomemojidocuments"><i class="anchor-icon"></i></a><a href="/method/messages.getCustomEmojiDocuments">messages.getCustomEmojiDocuments</a></h4>
<p>Fetch info about custom emojis.</p>
<p>Fetch <a href="/api/custom-emoji">custom emoji stickers »</a>.</p>
<p>Returns a list of <a href="/constructor/document">documents</a> with the animated custom emoji in TGS format, and a <a href="/constructor/documentAttributeCustomEmoji">documentAttributeCustomEmoji</a> attribute with the original emoji and info about the emoji stickerset this custom emoji belongs to.</p></div>
</div>

View file

@ -164,7 +164,7 @@
<h4><a class="anchor" href="#deep-links" id="deep-links" name="deep-links"><i class="anchor-icon"></i></a><a href="/api/links">Deep links</a></h4>
<p>Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.</p>
<h4><a class="anchor" href="#messagesgetcustomemojidocuments" id="messagesgetcustomemojidocuments" name="messagesgetcustomemojidocuments"><i class="anchor-icon"></i></a><a href="/method/messages.getCustomEmojiDocuments">messages.getCustomEmojiDocuments</a></h4>
<p>Fetch info about custom emojis.</p>
<p>Fetch <a href="/api/custom-emoji">custom emoji stickers »</a>.</p>
<p>Returns a list of <a href="/constructor/document">documents</a> with the animated custom emoji in TGS format, and a <a href="/constructor/documentAttributeCustomEmoji">documentAttributeCustomEmoji</a> attribute with the original emoji and info about the emoji stickerset this custom emoji belongs to.</p></div>
</div>

View file

@ -43,7 +43,7 @@
<h1 id="dev_page_title">stickerSetFullCovered</h1>
<div id="dev_page_content"><p>Stickerset preview with all stickers of the stickerset included.<br>
Currently used only for custom emoji stickersets, to avoid a further call to <a href="/method/messages.getStickerSet">messages.getStickerSet</a>.</p>
Currently used only for <a href="/api/custom-emoji">custom emoji stickersets</a>, to avoid a further call to <a href="/method/messages.getStickerSet">messages.getStickerSet</a>.</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">
@ -87,6 +87,8 @@ Currently used only for custom emoji stickersets, to avoid a further call to <a
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
<p><a href="/type/StickerSetCovered">StickerSetCovered</a></p>
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
<h4><a class="anchor" href="#custom-emojis" id="custom-emojis" name="custom-emojis"><i class="anchor-icon"></i></a><a href="/api/custom-emoji">Custom emojis</a></h4>
<p>Telegram allows including animated and static custom emojis inside of messages.</p>
<h4><a class="anchor" href="#messagesgetstickerset" id="messagesgetstickerset" name="messagesgetstickerset"><i class="anchor-icon"></i></a><a href="/method/messages.getStickerSet">messages.getStickerSet</a></h4>
<p>Get info about a stickerset</p></div>

View file

@ -76,12 +76,12 @@
<tr>
<td><strong>masks</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/constructor/true">true</a></td>
<td>Get mask stickers</td>
<td>Get <a href="/api/stickers#mask-stickers">mask stickers</a></td>
</tr>
<tr>
<td><strong>emojis</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.1?<a href="/constructor/true">true</a></td>
<td>Get custom emoji stickers</td>
<td>Get <a href="/api/custom-emoji">custom emoji stickers</a></td>
</tr>
<tr>
<td><strong>offset_id</strong></td>
@ -98,6 +98,10 @@
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/messages.ArchivedStickers">messages.ArchivedStickers</a></p>
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
<h4><a class="anchor" href="#stickers" id="stickers" name="stickers"><i class="anchor-icon"></i></a><a href="/api/stickers">Stickers</a></h4>
<p>Telegram clients support displaying static and animated stickers.</p>
<h4><a class="anchor" href="#custom-emojis" id="custom-emojis" name="custom-emojis"><i class="anchor-icon"></i></a><a href="/api/custom-emoji">Custom emojis</a></h4>
<p>Telegram allows including animated and static custom emojis inside of messages.</p>
<h4><a class="anchor" href="#pagination-in-the-api" id="pagination-in-the-api" name="pagination-in-the-api"><i class="anchor-icon"></i></a><a href="/api/offsets">Pagination in the API</a></h4>
<p>How to fetch results from large lists of objects.</p></div>

View file

@ -4,10 +4,10 @@
<meta charset="utf-8">
<title>messages.getCustomEmojiDocuments</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Fetch info about custom emojis.">
<meta property="description" content="Fetch custom emoji stickers ».">
<meta property="og:title" content="messages.getCustomEmojiDocuments">
<meta property="og:image" content="">
<meta property="og:description" content="Fetch info about custom emojis.">
<meta property="og:description" content="Fetch custom emoji stickers ».">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -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.getCustomEmojiDocuments" >messages.getCustomEmojiDocuments</a></li></ul></div>
<h1 id="dev_page_title">messages.getCustomEmojiDocuments</h1>
<div id="dev_page_content"><p>Fetch info about custom emojis.</p>
<div id="dev_page_content"><p>Fetch <a href="/api/custom-emoji">custom emoji stickers »</a>.</p>
<p>Returns a list of <a href="/constructor/document">documents</a> with the animated custom emoji in TGS format, and a <a href="/constructor/documentAttributeCustomEmoji">documentAttributeCustomEmoji</a> attribute with the original emoji and info about the emoji stickerset this custom emoji belongs to.</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
@ -71,7 +71,7 @@
<tr>
<td><strong>document_id</strong></td>
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/long">long</a>&gt;</td>
<td>Custom emoji IDs from a <a href="/constructor/messageEntityCustomEmoji">messageEntityCustomEmoji</a>.</td>
<td><a href="/api/custom-emoji">Custom emoji</a> IDs from a <a href="/constructor/messageEntityCustomEmoji">messageEntityCustomEmoji</a>.</td>
</tr>
</tbody>
</table>
@ -79,6 +79,8 @@
<p><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/Document">Document</a>&gt;</p>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3>
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
<h4><a class="anchor" href="#custom-emojis" id="custom-emojis" name="custom-emojis"><i class="anchor-icon"></i></a><a href="/api/custom-emoji">Custom emojis</a></h4>
<p>Telegram allows including animated and static custom emojis inside of messages.</p>
<h4><a class="anchor" href="#messageentitycustomemoji" id="messageentitycustomemoji" name="messageentitycustomemoji"><i class="anchor-icon"></i></a><a href="/constructor/messageEntityCustomEmoji">messageEntityCustomEmoji</a></h4>
<p>Represents a custom emoji</p>
<h4><a class="anchor" href="#document" id="document" name="document"><i class="anchor-icon"></i></a><a href="/constructor/document">document</a></h4>

View file

@ -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.getEmojiStickers" >messages.getEmojiStickers</a></li></ul></div>
<h1 id="dev_page_title">messages.getEmojiStickers</h1>
<div id="dev_page_content"><p>Gets the list of currently installed custom emoji stickersets.</p>
<div id="dev_page_content"><p>Gets the list of currently installed <a href="/api/custom-emoji">custom emoji stickersets</a>.</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">
@ -80,7 +80,9 @@
<p><a href="/type/messages.AllStickers">messages.AllStickers</a></p>
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
<h4><a class="anchor" href="#pagination-in-the-api" id="pagination-in-the-api" name="pagination-in-the-api"><i class="anchor-icon"></i></a><a href="/api/offsets">Pagination in the API</a></h4>
<p>How to fetch results from large lists of objects.</p></div>
<p>How to fetch results from large lists of objects.</p>
<h4><a class="anchor" href="#custom-emojis" id="custom-emojis" name="custom-emojis"><i class="anchor-icon"></i></a><a href="/api/custom-emoji">Custom emojis</a></h4>
<p>Telegram allows including animated and static custom emojis inside of messages.</p></div>
</div>

View file

@ -82,7 +82,7 @@
<tr>
<td><strong>emojis</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.1?<a href="/constructor/true">true</a></td>
<td>Reorder custom emoji stickersets</td>
<td>Reorder <a href="/api/custom-emoji">custom emoji stickersets</a></td>
</tr>
<tr>
<td><strong>order</strong></td>
@ -92,7 +92,10 @@
</tbody>
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/Bool">Bool</a></p></div>
<p><a href="/type/Bool">Bool</a></p>
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
<h4><a class="anchor" href="#custom-emojis" id="custom-emojis" name="custom-emojis"><i class="anchor-icon"></i></a><a href="/api/custom-emoji">Custom emojis</a></h4>
<p>Telegram allows including animated and static custom emojis inside of messages.</p></div>
</div>

View file

@ -117,7 +117,7 @@
<tr>
<td><strong>software</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.3?<a href="/type/string">string</a></td>
<td>Used when <a href="/import-stickers">importing stickers using the sticker import SDKs</a>, specifies the name of the software that created the stickers</td>
<td>Used when <a href="/import_stickers">importing stickers using the sticker import SDKs</a>, specifies the name of the software that created the stickers</td>
</tr>
</tbody>
</table>

View file

@ -1562,11 +1562,11 @@
<tbody>
<tr>
<td><a href="/method/messages.getCustomEmojiDocuments">messages.getCustomEmojiDocuments</a></td>
<td>Fetch info about custom emojis.<br><br>Returns a list of <a href="/constructor/document">documents</a> with the animated custom emoji in TGS format, and a <a href="/constructor/documentAttributeCustomEmoji">documentAttributeCustomEmoji</a> attribute with the original emoji and info about the emoji stickerset this custom emoji belongs to.</td>
<td>Fetch <a href="/api/custom-emoji">custom emoji stickers »</a>.<br><br>Returns a list of <a href="/constructor/document">documents</a> with the animated custom emoji in TGS format, and a <a href="/constructor/documentAttributeCustomEmoji">documentAttributeCustomEmoji</a> attribute with the original emoji and info about the emoji stickerset this custom emoji belongs to.</td>
</tr>
<tr>
<td><a href="/method/messages.getEmojiStickers">messages.getEmojiStickers</a></td>
<td>Gets the list of currently installed custom emoji stickersets.</td>
<td>Gets the list of currently installed <a href="/api/custom-emoji">custom emoji stickersets</a>.</td>
</tr>
<tr>
<td><a href="/method/messages.getFeaturedEmojiStickers">messages.getFeaturedEmojiStickers</a></td>

View file

@ -77,7 +77,7 @@
</tr>
<tr>
<td><a href="/constructor/stickerSetFullCovered">stickerSetFullCovered</a></td>
<td>Stickerset preview with all stickers of the stickerset included. <br>Currently used only for custom emoji stickersets, to avoid a further call to <a href="/method/messages.getStickerSet">messages.getStickerSet</a>.</td>
<td>Stickerset preview with all stickers of the stickerset included. <br>Currently used only for <a href="/api/custom-emoji">custom emoji stickersets</a>, to avoid a further call to <a href="/method/messages.getStickerSet">messages.getStickerSet</a>.</td>
</tr>
</tbody>
</table></div>

View file

@ -101,7 +101,7 @@
</tr>
<tr>
<td><a href="/method/messages.getEmojiStickers">messages.getEmojiStickers</a></td>
<td>Gets the list of currently installed custom emoji stickersets.</td>
<td>Gets the list of currently installed <a href="/api/custom-emoji">custom emoji stickersets</a>.</td>
</tr>
</tbody>
</table></div>