Update content of files

This commit is contained in:
GitHub Action 2022-09-08 15:48:04 +00:00
parent 84833a638b
commit 92083efa15
6 changed files with 11 additions and 15 deletions

View file

@ -74,7 +74,7 @@ Also introducing new <a href="https://telegram.org/blog/custom-emoji#privacy-set
<li>Added <a href="/constructor/messageActionGiftPremium">messageActionGiftPremium</a> - Info about a gifted Telegram Premium subscription</li>
<li>Added <a href="/constructor/premiumGiftOption">premiumGiftOption</a> - Telegram Premium gift option</li>
<li>Added <a href="/constructor/inputStickerSetPremiumGifts">inputStickerSetPremiumGifts</a> - Stickers to show when receiving a gifted Telegram Premium subscription</li>
<li>Added <a href="/constructor/updateReadFeaturedEmojiStickers">updateReadFeaturedEmojiStickers</a> - Some featured emoji stickers were marked as read</li>
<li>Added <a href="/constructor/updateReadFeaturedEmojiStickers">updateReadFeaturedEmojiStickers</a> - Some featured <a href="/api/custom-emoji">custom emoji stickers</a> were marked as read</li>
<li>Added <a href="/constructor/inputPrivacyKeyVoiceMessages">inputPrivacyKeyVoiceMessages</a> - Whether people can send you voice messages</li>
<li>Added <a href="/constructor/privacyKeyVoiceMessages">privacyKeyVoiceMessages</a> - Whether the user accepts voice messages</li>
<li>Added <a href="/constructor/paymentFormMethod">paymentFormMethod</a> - Represents an additional payment method</li>

View file

@ -112,15 +112,8 @@ 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>
<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>

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

@ -4,10 +4,10 @@
<meta charset="utf-8">
<title>updateReadFeaturedEmojiStickers</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Some featured emoji stickers were marked as read">
<meta property="description" content="Some featured custom emoji stickers were marked as read">
<meta property="og:title" content="updateReadFeaturedEmojiStickers">
<meta property="og:image" content="">
<meta property="og:description" content="Some featured emoji stickers were marked as read">
<meta property="og:description" content="Some featured custom emoji stickers were marked as read">
<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="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/updateReadFeaturedEmojiStickers" >updateReadFeaturedEmojiStickers</a></li></ul></div>
<h1 id="dev_page_title">updateReadFeaturedEmojiStickers</h1>
<div id="dev_page_content"><p>Some featured emoji stickers were marked as read</p>
<div id="dev_page_content"><p>Some featured <a href="/api/custom-emoji">custom emoji stickers</a> were marked as read</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">
@ -59,7 +59,10 @@
<h3><a class="anchor" href="#parameters" id="parameters" name="parameters"><i class="anchor-icon"></i></a>Parameters</h3>
<p>This constructor does not require any parameters.</p>
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
<p><a href="/type/Update">Update</a></p></div>
<p><a href="/type/Update">Update</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

@ -572,7 +572,7 @@
</tr>
<tr>
<td><a href="/constructor/updateReadFeaturedEmojiStickers">updateReadFeaturedEmojiStickers</a></td>
<td>Some featured emoji stickers were marked as read</td>
<td>Some featured <a href="/api/custom-emoji">custom emoji stickers</a> were marked as read</td>
</tr>
</tbody>
</table></div>