From 4db0841b4e67b876d37a8f785e926a5dbb26bcaa Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 9 Feb 2024 18:56:54 +0000 Subject: [PATCH] Update content of files --- data/web/corefork.telegram.org/api/bots/attach.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/data/web/corefork.telegram.org/api/bots/attach.html b/data/web/corefork.telegram.org/api/bots/attach.html index 3fbd449b00..46fa431902 100644 --- a/data/web/corefork.telegram.org/api/bots/attach.html +++ b/data/web/corefork.telegram.org/api/bots/attach.html @@ -92,11 +92,12 @@ The attachment/side menu list should also be refreshed if the user changes the a Thus, before launching the mini app when clicking on a attachment/side menu deep link, the client should show a prompt to the user, asking to add the mini app to the attachment/side menu.
Note that if the attachMenuBot.side_menu_disclaimer_needed flag is set, an additional mandatory checkbox to accept the mini apps TOS and a disclaimer indicating that this Mini App is not affiliated to Telegram should be shown in the installation prompt.
If the user accepts, invoke messages.toggleBotInAttachMenu with the write_allowed flag set and proceed to the next step, otherwise abort the process. -
  • ...is not set, proceed to the next step unconditionally.
  • +
  • ...is not set, and the attachMenuBot.side_menu_disclaimer_needed flag is still set, an additional mandatory checkbox to accept the mini apps TOS and a disclaimer indicating that this Mini App is not affiliated to Telegram should be shown.
    +If the user accepts, proceed to the next step, otherwise abort the process.
  • Open the Mini App: