From 38f4d8897a558344905644a8f4d1230ba2116bdf Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Mon, 12 Jul 2021 12:39:38 +0000 Subject: [PATCH] Update content of files --- data/core.telegram.org/bots.html | 4 ++-- data/core.telegram.org/techfaq.html | 2 +- data/telegram.org/privacy.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/core.telegram.org/bots.html b/data/core.telegram.org/bots.html index 11a108e211..b0da60094a 100644 --- a/data/core.telegram.org/bots.html +++ b/data/core.telegram.org/bots.html @@ -197,7 +197,7 @@ /get_timezone London, UK

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:

@@ -259,7 +259,7 @@
Deep linking Example

Suppose the website example.com would like to send notifications to its users via a Telegram bot. Here's what they could do to enable notifications for a user with the ID 123.

    -
  1. Create a bot with a suitable username, e.g. @ExampleComBot
  2. +
  3. Create a bot with a suitable username, e.g. @ExampleComBot
  4. Set up a webhook for incoming messages
  5. Generate a random string of a sufficient length, e.g. $memcache_key = "vCH1vGWJxfSeofSAs0K5PA"
  6. Put the value 123 with the key $memcache_key into Memcache for 3600 seconds (one hour)
  7. diff --git a/data/core.telegram.org/techfaq.html b/data/core.telegram.org/techfaq.html index c29fe2631b..ceae08c9cf 100644 --- a/data/core.telegram.org/techfaq.html +++ b/data/core.telegram.org/techfaq.html @@ -45,7 +45,7 @@ Please note, that…">

    This FAQ about MTProto is intended for advanced users. You may also want to check out our Basic FAQ.
    Please note, that client developers are required to comply with the Security Guidelines.

    -

    General

    +

    General

    • Why did you use a custom protocol?
    • How does it work?
    • diff --git a/data/telegram.org/privacy.html b/data/telegram.org/privacy.html index 21f78d9e15..0749673f90 100644 --- a/data/telegram.org/privacy.html +++ b/data/telegram.org/privacy.html @@ -189,7 +189,7 @@ We've asked bot developers to ensure that their bots can respond to the /privacy
    • In supergroups 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 admins log.

    10.3. Self-Destructing Messages

    -

    Messages in Secret Chats can be ordered to self-destruct. As soon as such a message is read (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.

    +

    Messages in Secret Chats can be ordered to self-destruct. As soon as such a message is read (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.

    10.4. Account Self-Destruction

    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.

    11. Changes to this Privacy Policy