From 847ec56027bff141a73c7a8f802ddb3938ba96f3 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Sun, 17 Nov 2024 14:41:48 +0000 Subject: [PATCH] Update content of files --- data/web/blogfork.telegram.org/bots/webapps.html | 4 ++-- data/web/core.telegram.org/bots/webapps.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/web/blogfork.telegram.org/bots/webapps.html b/data/web/blogfork.telegram.org/bots/webapps.html index 5b4b086d45..613f956f63 100644 --- a/data/web/blogfork.telegram.org/bots/webapps.html +++ b/data/web/blogfork.telegram.org/bots/webapps.html @@ -344,8 +344,8 @@

Initializing Mini Apps

-

To connect your Mini App to the Telegram client, place the script telegram-web-app.js in the <head> tag before any other scripts, using this code:

-
<script src="https://telegram.org/js/telegram-web-app.js"></script>
+

To connect your Mini App to the Telegram client, place the script telegram-web-app.js in the <head> tag before any other scripts, using this code:

+
<script src="https://telegram.org/js/telegram-web-app.js?56"></script>

Once the script is connected, a window.Telegram.WebApp object will become available with the following fields:

diff --git a/data/web/core.telegram.org/bots/webapps.html b/data/web/core.telegram.org/bots/webapps.html index 5a483385f5..30bf6eba62 100644 --- a/data/web/core.telegram.org/bots/webapps.html +++ b/data/web/core.telegram.org/bots/webapps.html @@ -344,8 +344,8 @@

Initializing Mini Apps

-

To connect your Mini App to the Telegram client, place the script telegram-web-app.js in the <head> tag before any other scripts, using this code:

-
<script src="https://telegram.org/js/telegram-web-app.js"></script>
+

To connect your Mini App to the Telegram client, place the script telegram-web-app.js in the <head> tag before any other scripts, using this code:

+
<script src="https://telegram.org/js/telegram-web-app.js?56"></script>

Once the script is connected, a window.Telegram.WebApp object will become available with the following fields: