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

    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