Update content of files

This commit is contained in:
GitHub Action 2021-07-12 12:39:38 +00:00
parent e43eb22053
commit 38f4d8897a
3 changed files with 4 additions and 4 deletions

View file

@ -197,7 +197,7 @@
/get_timezone London, UK</code></pre>
<p>Messages that start with a slash are always passed to the bot (along with replies to its messages and messages that @mention the bot by username). Telegram apps will:</p>
<ul>
<li>Suggest a list of <a href="#edit-settings">supported commands</a> with descriptions when the user enters a &#39;/&#39; (for this to work, you need to have provided a list of commands to the <a href="#botfather">BotFather</a>). Tapping on a command in the list immediately sends the command.</li>
<li>Suggest a list of supported commands with descriptions when the user enters a &#39;/&#39; (for this to work, you need to have provided a list of commands to the <a href="#6-botfather">BotFather</a>). Tapping on a command in the list immediately sends the command.</li>
<li>Show an additional <strong>(/)</strong> button in the input field in all chats with bots. Tapping it types a &#39;/&#39; and shows the list of commands.</li>
<li>Highlight <strong>/commands</strong> in messages. When the user taps a highlighted command, the command is sent at once.</li>
</ul>
@ -259,7 +259,7 @@
<h5><a class="anchor" name="deep-linking-example" href="#deep-linking-example"><i class="anchor-icon"></i></a>Deep linking Example</h5>
<p>Suppose the website example.com would like to send notifications to its users via a Telegram bot. Here&#39;s what they could do to enable notifications for a user with the ID <code>123</code>.</p>
<ol>
<li><a href="#botfather">Create a bot</a> with a suitable username, e.g. @ExampleComBot</li>
<li><a href="#6-botfather">Create a bot</a> with a suitable username, e.g. @ExampleComBot</li>
<li>Set up a <a href="/bots/api#setwebhook">webhook</a> for incoming messages</li>
<li>Generate a random string of a sufficient length, e.g. <code>$memcache_key = &quot;vCH1vGWJxfSeofSAs0K5PA&quot;</code></li>
<li>Put the value <code>123</code> with the key <code>$memcache_key</code> into Memcache for 3600 seconds (one hour) </li>

View file

@ -45,7 +45,7 @@ Please note, that…">
<p>This FAQ about <a href="http://core.telegram.org/mtproto">MTProto</a> is intended for advanced users. You may also want to check out our <a href="http://telegram.org/faq"><strong>Basic FAQ</strong></a>.<br>Please note, that client developers are required to comply with the <a href="/mtproto/security_guidelines">Security Guidelines</a>.</p>
</blockquote>
<p><div class="dev_page_nav_wrap"></p>
<p><a href="#general"><strong>General</strong></a></p>
<p><a href="#general-questions"><strong>General</strong></a></p>
<ul>
<li><a href="#q-why-did-you-go-for-a-custom-protocol">Why did you use a custom protocol?</a></li>
<li><a href="#q-where-can-i-read-more-about-the-protocol">How does it work?</a></li>

View file

@ -189,7 +189,7 @@ We've asked bot developers to ensure that their bots can respond to the /privacy
<li>In <a href="https://telegram.org/blog/supergroups">supergroups</a> and channels, deleting a message removes it for all participants. Note that deleted messages and original versions of edited messages from supergroups are stored for 48 hours after deletion in order to be shown in the <a href="https://telegram.org/blog/admin-revolution#recent-admin-actions">admins log</a>.</li>
</ul>
<h4><a class="anchor" name="10-3-self-destructing-messages" href="#10-3-self-destructing-messages"><i class="anchor-icon"></i></a>10.3. Self-Destructing Messages</h4>
<p>Messages in Secret Chats can be ordered to <a href="/faq#q-how-do-self-destructing-messages-work">self-destruct</a>. As soon as such a message is <a href="/faq#q-what-do-the-green-checks-mean">read</a> (2 checks appear), the countdown starts. When the timer expires, both devices participating in a secret chat are instructed to delete the message (photo, video, etc.). Media with short timers (less than a minute) are shown with blurred previews. The timer is triggered when they are viewed.</p>
<p>Messages in Secret Chats can be ordered to <a href="/faq#q-how-do-self-destructing-messages-work">self-destruct</a>. As soon as such a message is <a href="/faq#q-what-do-the-check-marks-mean">read</a> (2 checks appear), the countdown starts. When the timer expires, both devices participating in a secret chat are instructed to delete the message (photo, video, etc.). Media with short timers (less than a minute) are shown with blurred previews. The timer is triggered when they are viewed.</p>
<h4><a class="anchor" name="10-4-account-self-destruction" href="#10-4-account-self-destruction"><i class="anchor-icon"></i></a>10.4. Account Self-Destruction</h4>
<p>By default, if you stop using Telegram and do not come online for at least 6 months, your account will be deleted along with all messages, media, contacts and every other piece of data you store in the Telegram cloud. You can go to Settings to change the exact period after which your inactive account will self-destruct.</p>
<h3><a class="anchor" name="11-changes-to-this-privacy-policy" href="#11-changes-to-this-privacy-policy"><i class="anchor-icon"></i></a>11. Changes to this Privacy Policy</h3>