diff --git a/data/web/corefork.telegram.org/api/web-events.html b/data/web/corefork.telegram.org/api/web-events.html index 573241558c..cd257bbd08 100644 --- a/data/web/corefork.telegram.org/api/web-events.html +++ b/data/web/corefork.telegram.org/api/web-events.html @@ -166,7 +166,7 @@ The web app must also be expanded when the user swipes up on the webview.

  • is_progress_visible - Indicates whether the button should display a loading indicator (boolean, false by default)
  • Configures the main button, located immediately below the webview: when the user presses it a main_button_pressed event should be emitted by the client.

    -

    Note that if is_visible is true, only when opening web apps from the attachment menu and only on clients with tab bars, the main button should be displayed only after the first user tap inside of the webview (to prevent bots from immediately blocking the tab bar).
    +

    Note that if is_visible is true, only when opening web apps from the attachment menu and only on clients with tab bars, the main button should be displayed only after the first user tap inside of the webview (to prevent bots from immediately blocking the media type tab bar).
    Otherwise, the main button can be displayed right away if is_visible is true.

    web_app_setup_back_button

    Event data: a JSON object with an is_visible boolean field.