Update content of files

This commit is contained in:
GitHub Action 2022-09-10 16:03:07 +00:00
parent 4f9a8911e7
commit c7dab0f648
8 changed files with 12 additions and 12 deletions

View file

@ -52,8 +52,8 @@
If the account has a <a href="/api/srp">2FA password</a> and it is provided to <code>account.deleteAccount:password</code>, calling this method will <strong>immediately delete the Telegram account</strong>. </p>
<p>If the account has a <a href="/api/srp">2FA password</a> but the user doesn't remember it, <a href="/api/srp#password-reset">password reset may be requested first »</a>, or otherwise, the <code>password</code> field may simply be left empty. </p>
<p>In this case, if the account's <a href="/api/srp">2FA password</a> was modified more than 7 days ago and was active in the last 7 days, <strong>account deletion will be delayed for 7 days</strong>.
Otherwise, the account will be <strong>immediately deleted</strong>. </p>
<p>A <a href="/constructor/updateServiceNotification">service message will be sent to the user</a>, containing a <a href="/api/links#phone-confirmation-links">phone number confirmation link »</a>.</p>
Otherwise, the account will be <strong>immediately deleted</strong>.<br>
In the first case, a <a href="/constructor/updateServiceNotification">service message will be sent to the user</a>, containing a <a href="/api/links#phone-confirmation-links">phone number confirmation link »</a>.</p>
<p>When such a link is clicked, <a href="/method/account.sendConfirmPhoneCode">account.sendConfirmPhoneCode</a> must be called with the specified <code>hash</code>, using the account with the specified <code>phone</code> number.
This will send a phone number verification code to the phone number associated with the account.
The phone code settings are the same as for the <a href="/api/auth">login code</a>, and <a href="/method/auth.cancelCode">auth.cancelCode</a> with <a href="/method/auth.resendCode">auth.resendCode</a> can be used as well, to resend or cancel the phone code as for the <a href="/api/auth">login code</a>.</p>

View file

@ -266,7 +266,7 @@ While <a href="/method/help.getConfig">help.getConfig</a> returns MTProto-specif
<h4><a class="anchor" href="#gif-search-branding" id="gif-search-branding" name="gif-search-branding"><i class="anchor-icon"></i></a><code>gif_search_branding</code></h4>
<p>Specifies the name of the service providing GIF search through <a href="#mtproto-configuration">gif_search_username</a> (string)</p>
<h4><a class="anchor" href="#gif-search-emojies" id="gif-search-emojies" name="gif-search-emojies"><i class="anchor-icon"></i></a><code>gif_search_emojies</code></h4>
<p>Specifies a list of emojies that should be suggested as search term in a bar above the GIF search box (array of string emojis)</p>
<p>Specifies a list of emojis that should be suggested as search term in a bar above the GIF search box (array of string emojis)</p>
<h4><a class="anchor" href="#stickers-emoji-suggest-only-api" id="stickers-emoji-suggest-only-api" name="stickers-emoji-suggest-only-api"><i class="anchor-icon"></i></a><code>stickers_emoji_suggest_only_api</code></h4>
<p>Specifies that the app should not display <a href="/api/stickers#sticker-suggestions">local sticker suggestions »</a> for emojis at all and just use the result of <a href="/method/messages.getStickers">messages.getStickers</a> (bool)</p>
<h4><a class="anchor" href="#stickers-emoji-cache-time" id="stickers-emoji-cache-time" name="stickers-emoji-cache-time"><i class="anchor-icon"></i></a><code>stickers_emoji_cache_time</code></h4>
@ -360,7 +360,7 @@ While <a href="/method/help.getConfig">help.getConfig</a> returns MTProto-specif
<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 <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 <a href="/api/premium">Telegram Premium</a> features in the Telegram Premimum promotion popup, <a href="/api/premium#telegram-premium-features">see here for the possible values »</a></p>
<p>Array of string identifiers, indicating the order of <a href="/api/premium">Telegram Premium</a> features in the Telegram Premium promotion popup, <a href="/api/premium#telegram-premium-features">see here for the possible values »</a></p>
<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 <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>

View file

@ -139,7 +139,7 @@ Also, discussion group admins can now <a href="/api/discussion#requiring-users-t
<li>Added <a href="/method/payments.assignAppStoreTransaction">payments.assignAppStoreTransaction</a> - Informs server about a purchase made through the App Store: for official applications only.</li>
<li>Added <a href="/method/payments.assignPlayMarketTransaction">payments.assignPlayMarketTransaction</a> - Informs server about a purchase made through the Play Store: for official applications only.</li>
<li>Added <a href="/method/payments.canPurchasePremium">payments.canPurchasePremium</a> - Checks whether Telegram Premium purchase is possible. Must be called before in-store Premium purchase, official apps only.</li>
<li>Added <a href="/method/help.getPremiumPromo">help.getPremiumPromo</a> - Get Telegram Premim promotion information</li>
<li>Added <a href="/method/help.getPremiumPromo">help.getPremiumPromo</a> - Get Telegram Premium promotion information</li>
</ul>
<h5><a class="anchor" href="#changed-methods" id="changed-methods" name="changed-methods"><i class="anchor-icon"></i></a>Changed Methods</h5>
<ul>

View file

@ -83,7 +83,7 @@ Clicking on this button in the settings, clicking on the <a href="#badge">badge<
<li><code>voice_to_text</code> - Premium users can <a href="/api/transcribe">transcribe voice messages</a>.</li>
<li><code>no_ads</code> - Premium users see no <a href="/api/sponsored-messages">sponsored messages</a>.</li>
<li><code>unique_reactions</code> - Premium users have access to more <a href="/api/reactions">message reactions</a>.</li>
<li><code>premimum_stickers</code> - Premium users have access to premium <a href="/api/stickers">stickersets</a>.</li>
<li><code>premium_stickers</code> - Premium users have access to premium <a href="/api/stickers">stickersets</a>.</li>
<li><code>animated_emoji</code> - Premium users can send custom <a href="/api/custom-emoji">animated emojis</a>.</li>
<li><code>advanced_chat_management</code> - Premium users can <a href="/api/folders">reorder the default folder</a>, auto-archive and hide new chats from non-contacts.</li>
<li><code>profile_badge</code> - Premium users have a <a href="#badge">badge</a> next to their name, showing that they are helping support Telegram.</li>

View file

@ -133,7 +133,7 @@ If set, <code>rotation</code> indicates clockwise rotation angle of the gradient
<a href='/method/account.getWallPapers'>account.getWallPapers</a>#7967d36 hash:<a href='/type/long'>long</a> = <a href='/type/account.WallPapers'>account.WallPapers</a>;
<a href='/method/account.resetWallPapers'>account.resetWallPapers</a>#bb3b9804 = <a href='/type/Bool'>Bool</a>;</code></pre>
<p>Once you've <a href="#uploading-wallpapers">uploaded your wallpaper</a> or received a <a href="/api/links#wallpaper-links">wallpaper deep link</a>, it can be installed as follows. </p>
<p><em>Note that <a href="#fill-wallpapers">fill wallpapers</a> cannot be installed using the API, clients should install and keep track of them only locally, without synchronizing the wallpaper list or signalling installations.</em></p>
<p><em>Note that <a href="#fill-wallpapers">fill wallpapers</a> cannot be installed using the API, clients should install and keep track of them only locally, without synchronizing the wallpaper list or signaling installations.</em></p>
<p>The API keeps a list of wallpapers that the user can set as chat background, including some preinstalled ones.<br>
To fetch the list use <a href="/method/account.getWallPapers">account.getWallPapers</a>.<br>
To save a wallpaper to the list use <a href="/method/account.saveWallPaper">account.saveWallPaper</a> with <code>unsave=false</code>.<br>

View file

@ -4,10 +4,10 @@
<meta charset="utf-8">
<title>help.getPremiumPromo</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Get Telegram Premim promotion information">
<meta property="description" content="Get Telegram Premium promotion information">
<meta property="og:title" content="help.getPremiumPromo">
<meta property="og:image" content="">
<meta property="og:description" content="Get Telegram Premim promotion information">
<meta property="og:description" content="Get Telegram Premium promotion information">
<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/help.getPremiumPromo" >help.getPremiumPromo</a></li></ul></div>
<h1 id="dev_page_title">help.getPremiumPromo</h1>
<div id="dev_page_content"><p>Get Telegram Premim promotion information</p>
<div id="dev_page_content"><p>Get Telegram Premium promotion information</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">

View file

@ -399,7 +399,7 @@
</tr>
<tr>
<td><a href="/method/help.getPremiumPromo">help.getPremiumPromo</a></td>
<td>Get Telegram Premim promotion information</td>
<td>Get Telegram Premium promotion information</td>
</tr>
<tr>
<td><a href="/method/payments.assignAppStoreTransaction">payments.assignAppStoreTransaction</a></td>

View file

@ -86,7 +86,7 @@
<tbody>
<tr>
<td><a href="/method/help.getPremiumPromo">help.getPremiumPromo</a></td>
<td>Get Telegram Premim promotion information</td>
<td>Get Telegram Premium promotion information</td>
</tr>
</tbody>
</table></div>