From 064aafc4717ab61d0c1b59380c65fa473f64c627 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 6 May 2022 11:37:37 +0000 Subject: [PATCH] Update content of files --- data/core.telegram.org/bots/webapps.html | 4 ++++ data/corefork.telegram.org/bots/webapps.html | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/data/core.telegram.org/bots/webapps.html b/data/core.telegram.org/bots/webapps.html index fb37f1da3f..9dfebcff8b 100644 --- a/data/core.telegram.org/bots/webapps.html +++ b/data/core.telegram.org/bots/webapps.html @@ -501,6 +501,7 @@ if (hex(HMAC_SHA256(data_check_string, secret_key)) == hash) {

The following link formats are also supported:

https://t.me/username?attach=botusername
https://t.me/username?attach=botusername&startattach=command
https://t.me/+1234567890?attach=botusername
https://t.me/+1234567890?attach=botusername&startattach=command

These links open the Web App in the attachment menu in the chat with a specific user. If the bot wasn't already added to the attachment menu, the user will be prompted to do so. If a non-empty startattach parameter was included in the link, it will be passed to the Web App in the start_param field and in the GET parameter tgWebAppStartParam.

+

Testing Web Apps

Using bots in the test environment

To log in to the test environment, use either of the following: