From 7a699ac799f5fa5050f37de5f1877598a1097242 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Wed, 24 Aug 2022 19:58:34 +0000 Subject: [PATCH] Update content of files --- .../corefork.telegram.org/api/web-events.html | 42 +++++++++++++++++++ .../method/upload.getWebFile | 3 +- 2 files changed, 44 insertions(+), 1 deletion(-) diff --git a/data/web/corefork.telegram.org/api/web-events.html b/data/web/corefork.telegram.org/api/web-events.html index 9c983cb6fc..2754c28b03 100644 --- a/data/web/corefork.telegram.org/api/web-events.html +++ b/data/web/corefork.telegram.org/api/web-events.html @@ -85,6 +85,48 @@ The GamingCommunication and bot web app libraries by default will use '*'< JSON object with title (optional string), message (string), +web_app_setup_closing_behavior + + +web_app_set_background_color + + +web_app_set_header_color + + +web_app_data_send + + +web_app_trigger_haptic_feedback + + +web_app_open_link + + +web_app_open_tg_link + + +web_app_setup_back_button + + +web_app_open_invoice + + +web_app_expand + + +web_app_request_viewport + + +web_app_request_theme + + +web_app_ready + + +web_app_setup_main_button + + payment_form_submit JSON object with credentials and title fields title is the censored credit card title.
credentials is a service-specific JSON object with information about the payment credentials provided by the user to the payment system.
Neither Telegram, nor bots will have access to your credit card information.
Credit card details will be handled only by the payment system. diff --git a/data/web/corefork.telegram.org/method/upload.getWebFile b/data/web/corefork.telegram.org/method/upload.getWebFile index 9b49449097..cbfb3c3e8c 100644 --- a/data/web/corefork.telegram.org/method/upload.getWebFile +++ b/data/web/corefork.telegram.org/method/upload.getWebFile @@ -42,7 +42,8 @@

upload.getWebfile

-

Returns content of an HTTP file or a part, by proxying the request through telegram.

+

Returns content of a web file, by proxying the request through telegram, see the webfile docs for more info.

+

Note: the query must be sent to the DC specified in the webfile_dc_id MTProto configuration field.