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