From 0ba46f08144a2e8b7d1f762b07a868f1af3f4a39 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Thu, 25 Aug 2022 20:09:33 +0000 Subject: [PATCH] Update content of files --- data/web/corefork.telegram.org/api/web-events.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/data/web/corefork.telegram.org/api/web-events.html b/data/web/corefork.telegram.org/api/web-events.html index 1fb1e53694..a7611e2975 100644 --- a/data/web/corefork.telegram.org/api/web-events.html +++ b/data/web/corefork.telegram.org/api/web-events.html @@ -140,9 +140,15 @@ The GamingCommunication and bot web app libraries by default will use '*'<

Event data: a JSON object with a string path_full field, containing the path+query component of a t.me deep link.

Used to open a t.me deep link. The Web App will be closed.

web_app_setup_back_button

+

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

+

Determines whether to show or hide the back button.

web_app_open_invoice

web_app_expand

+

No event payload.

+

Expands the web app to the maximum available height.

web_app_request_viewport

+

No event payload.

+

Used by web apps to request information about the viewport, clients should call window.Telegram.WebView.receiveEvent("viewport_changed", {})

web_app_request_theme

web_app_ready

web_app_setup_main_button