diff --git a/data/web/corefork.telegram.org/api/bots/webapps.html b/data/web/corefork.telegram.org/api/bots/webapps.html
index 16c51d7c8e..87dd25f6ae 100644
--- a/data/web/corefork.telegram.org/api/bots/webapps.html
+++ b/data/web/corefork.telegram.org/api/bots/webapps.html
@@ -153,7 +153,7 @@ The webview must be closed after invoking the messages.requestWebView, and then open a webview using the url
contained in the returned webViewResultUrl.
After loading the webview, until it is closed by a web_app_close event, the user client must invoke messages.prolongWebView every 60 seconds: if the method call returns QUERY_ID_INVALID
, the webview must be closed.
The opened URL's fragment parameters already contain basic information about the user and a query_id
parameter, that is exposed by the bot web apps JS library: this query_id
can then be used by the bot to invoke messages.sendWebViewResultMessage, passing an InputBotInlineResult constructor that will automatically send a message with optionally attached media, and even inline buttons on behalf of the user.
Schema:
inputBotAppID#a920bd7a id:long access_hash:long = InputBotApp;
inputBotAppShortName#908c0407 bot_id:InputUser short_name:string = InputBotApp;
@@ -172,7 +172,7 @@ The webview must be closed after invoking the bot web app links ».
+Another way to open web apps is by using named bot web app links ».
These links are different from bot attachment menu deep links », because they don't require the user to install an attachment menu, and a single bot can offer multiple web apps, distinguished by their short_name
.
These links should be handled as follows:
diff --git a/data/web/corefork.telegram.org/api/layers.html b/data/web/corefork.telegram.org/api/layers.html
index 3d1dedc32a..4adac4f168 100644
--- a/data/web/corefork.telegram.org/api/layers.html
+++ b/data/web/corefork.telegram.org/api/layers.html
@@ -55,12 +55,12 @@
Schema
messagePeerReaction#8c79b63c flags:# big:flags.0?true unread:flags.1?true peer_id:Peer date:int reaction:Reaction = MessagePeerReaction;
Layer 154
-Multiple bot web apps, allow bots to edit their own about text and description,
+Added support for named bot web apps, which can be opened bot web apps by clicking on an inline result (similar to switch_pm
logic), allow bots to edit their own about text and description. Also, the future auth token is directly returned in the config constructor, which was also cleaned up to remove information already contained in the client configuration constructor.
Schema changes
New Methods
-- Added messages.getBotApp - Obtain information about a bot web app
-- Added messages.requestAppWebView - Open a bot web app from a bot web app deep link, sending over user information after user confirmation.
+- Added messages.getBotApp - Obtain information about a named bot web app
+- Added messages.requestAppWebView - Open a bot web app from a named bot web app deep link, sending over user information after user confirmation.
- Added bots.setBotInfo - Set our about text and description (bots only)
- Added bots.getBotInfo - Get our about text and description (bots only)
@@ -72,12 +72,12 @@
New Constructors
-- Added inputBotAppID - Used to fetch information about a bot web app by its ID
-- Added inputBotAppShortName - Used to fetch information about a bot web app by its short name
+- Added inputBotAppID - Used to fetch information about a named bot web app by its ID
+- Added inputBotAppShortName - Used to fetch information about a named bot web app by its short name
- Added botAppNotModified - Bot app info hasn't changed.
-- Added botApp - Contains information about a bot web app.
-- Added messages.botApp - Contains information about a bot web app
-- Added appWebViewResultUrl - Contains the link that must be used to open a bot web app.
+- Added botApp - Contains information about a named bot web app.
+- Added messages.botApp - Contains information about a named bot web app
+- Added appWebViewResultUrl - Contains the link that must be used to open a named bot web app.
- Added inlineBotWebView - Specifies a bot web app button, shown on top of the inline query results list.
- Added readParticipantDate - Contains info about when a certain participant has read a message
- Added updateGroupInvitePrivacyForbidden - 0-N updates of this type may be returned only when invoking messages.addChatUser, channels.inviteToChannel or messages.createChat: it indicates we couldn't add a user to a chat because of their privacy settings; if required, an invite link can be shared with the user, instead.
diff --git a/data/web/corefork.telegram.org/api/links.html b/data/web/corefork.telegram.org/api/links.html
index f57576f356..7d6999b8be 100644
--- a/data/web/corefork.telegram.org/api/links.html
+++ b/data/web/corefork.telegram.org/api/links.html
@@ -828,10 +828,10 @@ tg://resolve?domain=<bot_username>&startgroup&admin=<permission
-Bot web app links
-Used to share bot web apps.
-These links are different from bot attachment menu deep links, because they don't require the user to install an attachment menu, and a single bot can offer multiple web apps, distinguished by their short_name
.
-These links should be handled as specified in the bot web app documentation ».
+Named bot web app links
+Used to share named bot web apps.
+These links are different from bot attachment menu deep links, because they don't require the user to install an attachment menu, and a single bot can offer multiple named web apps, distinguished by their short_name
.
+These links should be handled as specified in the named bot web app documentation ».
t.me
syntax:
t.me/<bot_username>/<short_name>?startapp=<start_parameter>
tg:
syntax:
diff --git a/data/web/corefork.telegram.org/constructor/appWebViewResultUrl.html b/data/web/corefork.telegram.org/constructor/appWebViewResultUrl.html
index 668202abb5..f4f2698ae5 100644
--- a/data/web/corefork.telegram.org/constructor/appWebViewResultUrl.html
+++ b/data/web/corefork.telegram.org/constructor/appWebViewResultUrl.html
@@ -4,10 +4,10 @@
appWebViewResultUrl
-
+
-
+
@@ -42,7 +42,7 @@
appWebViewResultUrl
- Contains the link that must be used to open a bot web app.
+ Contains the link that must be used to open a named bot web app.
-
diff --git a/data/web/corefork.telegram.org/constructor/botApp.html b/data/web/corefork.telegram.org/constructor/botApp.html
index 9fe80cfd68..0971c99cf3 100644
--- a/data/web/corefork.telegram.org/constructor/botApp.html
+++ b/data/web/corefork.telegram.org/constructor/botApp.html
@@ -4,10 +4,10 @@
botApp
-
+
-
+
@@ -42,7 +42,7 @@
botApp
- Contains information about a bot web app.
+ Contains information about a named bot web app.
-
@@ -84,7 +84,7 @@
short_name
string
-Bot web app short name, used to generate bot web app deep links.
+Bot web app short name, used to generate named bot web app deep links.
title
@@ -119,7 +119,7 @@
Deep links
Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.
messages.getBotApp
-Obtain information about a bot web app
+Obtain information about a named bot web app
Bot web apps
Bots can offer users interactive HTML5 web apps to completely replace any website.
diff --git a/data/web/corefork.telegram.org/constructor/inputBotAppID.html b/data/web/corefork.telegram.org/constructor/inputBotAppID.html
index 8293c8d4f0..5fb69e5b4a 100644
--- a/data/web/corefork.telegram.org/constructor/inputBotAppID.html
+++ b/data/web/corefork.telegram.org/constructor/inputBotAppID.html
@@ -4,10 +4,10 @@
inputBotAppID
-
+
-
+
@@ -42,7 +42,7 @@
inputBotAppID
- Used to fetch information about a bot web app by its ID
+ Used to fetch information about a named bot web app by its ID
-
@@ -69,7 +69,7 @@
id
long
-Bot web app ID.
+named bot web app ID.
access_hash
@@ -84,7 +84,7 @@
Bot web apps
Bots can offer users interactive HTML5 web apps to completely replace any website.
botApp
-Contains information about a bot web app.
+Contains information about a named bot web app.
diff --git a/data/web/corefork.telegram.org/constructor/inputBotAppShortName.html b/data/web/corefork.telegram.org/constructor/inputBotAppShortName.html
index 57fc31fc3b..7b2db2d91c 100644
--- a/data/web/corefork.telegram.org/constructor/inputBotAppShortName.html
+++ b/data/web/corefork.telegram.org/constructor/inputBotAppShortName.html
@@ -4,10 +4,10 @@
inputBotAppShortName
-
+
-
+
@@ -42,7 +42,7 @@
inputBotAppShortName
- Used to fetch information about a bot web app by its short name
+ Used to fetch information about a named bot web app by its short name
-
@@ -74,7 +74,7 @@
short_name
string
-Short name, obtained from a bot web app deep link
+Short name, obtained from a named bot web app deep link
diff --git a/data/web/corefork.telegram.org/constructor/messages.botApp b/data/web/corefork.telegram.org/constructor/messages.botApp
index d57f8205e2..c423bf475c 100644
--- a/data/web/corefork.telegram.org/constructor/messages.botApp
+++ b/data/web/corefork.telegram.org/constructor/messages.botApp
@@ -4,10 +4,10 @@
messages.botApp
-
+
-
+
@@ -42,7 +42,7 @@
messages.botApp
- Contains information about a bot web app
+ Contains information about a named bot web app
-
@@ -92,7 +92,7 @@
Related pages
messages.requestAppWebView
-Open a bot web app from a bot web app deep link, sending over user information after user confirmation.
+Open a bot web app from a named bot web app deep link, sending over user information after user confirmation.
After calling this method, until the user closes the webview, messages.prolongWebView must be called every 60 seconds.
Bot web apps
Bots can offer users interactive HTML5 web apps to completely replace any website.
diff --git a/data/web/corefork.telegram.org/method/messages.getBotApp b/data/web/corefork.telegram.org/method/messages.getBotApp
index c21bf923e2..911a21fcae 100644
--- a/data/web/corefork.telegram.org/method/messages.getBotApp
+++ b/data/web/corefork.telegram.org/method/messages.getBotApp
@@ -4,10 +4,10 @@
messages.getBotApp
-
+
-
+
@@ -42,7 +42,7 @@
messages.getBotApp
- Obtain information about a bot web app
+ Obtain information about a named bot web app
-
@@ -71,7 +71,7 @@
app
InputBotApp
-Bot app information obtained from a bot web app deep link ».
+Bot app information obtained from a named bot web app deep link ».
hash
diff --git a/data/web/corefork.telegram.org/method/messages.requestAppWebView b/data/web/corefork.telegram.org/method/messages.requestAppWebView
index 9639ff2745..a731ab1bff 100644
--- a/data/web/corefork.telegram.org/method/messages.requestAppWebView
+++ b/data/web/corefork.telegram.org/method/messages.requestAppWebView
@@ -4,10 +4,10 @@
messages.requestAppWebView
-
+
-
+
@@ -42,7 +42,7 @@
messages.requestAppWebView
- Open a bot web app from a bot web app deep link, sending over user information after user confirmation.
+ Open a bot web app from a named bot web app deep link, sending over user information after user confirmation.
After calling this method, until the user closes the webview, messages.prolongWebView must be called every 60 seconds.
@@ -77,7 +77,7 @@
write_allowed
flags.0?true
-Set this flag if the bot is asking permission to send messages to the user as specified in the bot web app deep link docs, and the user agreed.
+Set this flag if the bot is asking permission to send messages to the user as specified in the named bot web app deep link docs, and the user agreed.
peer
@@ -87,12 +87,12 @@
app
InputBotApp
-The app obtained by invoking messages.getBotApp as specified in the bot web app deep link docs.
+The app obtained by invoking messages.getBotApp as specified in the named bot web app deep link docs.
start_param
flags.1?string
-If the startapp
query string parameter is present in the bot web app deep link, pass it to start_param
.
+If the startapp
query string parameter is present in the named bot web app deep link, pass it to start_param
.
theme_params
@@ -113,7 +113,7 @@
Deep links
Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.
messages.getBotApp
-Obtain information about a bot web app
+Obtain information about a named bot web app
Bot web apps
Bots can offer users interactive HTML5 web apps to completely replace any website.
Web Apps for Bots
diff --git a/data/web/corefork.telegram.org/methods.html b/data/web/corefork.telegram.org/methods.html
index 893ab13ec2..d41dae3994 100644
--- a/data/web/corefork.telegram.org/methods.html
+++ b/data/web/corefork.telegram.org/methods.html
@@ -1516,11 +1516,11 @@
messages.requestAppWebView
-Open a bot web app from a bot web app deep link, sending over user information after user confirmation.
After calling this method, until the user closes the webview, messages.prolongWebView must be called every 60 seconds.
+Open a bot web app from a named bot web app deep link, sending over user information after user confirmation.
After calling this method, until the user closes the webview, messages.prolongWebView must be called every 60 seconds.
messages.getBotApp
-Obtain information about a bot web app
+Obtain information about a named bot web app
diff --git a/data/web/corefork.telegram.org/type/AppWebViewResult.html b/data/web/corefork.telegram.org/type/AppWebViewResult.html
index 77bda215df..da0dc00ed1 100644
--- a/data/web/corefork.telegram.org/type/AppWebViewResult.html
+++ b/data/web/corefork.telegram.org/type/AppWebViewResult.html
@@ -4,10 +4,10 @@
AppWebViewResult
-
+
-
+
@@ -42,7 +42,7 @@
AppWebViewResult
- Contains the link that must be used to open a bot web app.
+ Contains the link that must be used to open a named bot web app.
-
@@ -71,7 +71,7 @@
appWebViewResultUrl
-Contains the link that must be used to open a bot web app.
+Contains the link that must be used to open a named bot web app.
@@ -86,7 +86,7 @@
messages.requestAppWebView
-Open a bot web app from a bot web app deep link, sending over user information after user confirmation.
After calling this method, until the user closes the webview, messages.prolongWebView must be called every 60 seconds.
+Open a bot web app from a named bot web app deep link, sending over user information after user confirmation.
After calling this method, until the user closes the webview, messages.prolongWebView must be called every 60 seconds.
diff --git a/data/web/corefork.telegram.org/type/BotApp.html b/data/web/corefork.telegram.org/type/BotApp.html
index 582df670ea..b962fbf30a 100644
--- a/data/web/corefork.telegram.org/type/BotApp.html
+++ b/data/web/corefork.telegram.org/type/BotApp.html
@@ -4,10 +4,10 @@
BotApp
-
+
-
+
@@ -42,7 +42,7 @@
BotApp
- Contains information about a bot web app.
+ Contains information about a named bot web app.
-
@@ -72,7 +72,7 @@
botApp
-Contains information about a bot web app.
+Contains information about a named bot web app.
diff --git a/data/web/corefork.telegram.org/type/InputBotApp.html b/data/web/corefork.telegram.org/type/InputBotApp.html
index 366eca0ff1..6e9cd87e8c 100644
--- a/data/web/corefork.telegram.org/type/InputBotApp.html
+++ b/data/web/corefork.telegram.org/type/InputBotApp.html
@@ -4,10 +4,10 @@
InputBotApp
-
+
-
+
@@ -42,7 +42,7 @@
InputBotApp
- Used to fetch information about a bot web app
+ Used to fetch information about a named bot web app
-
@@ -68,11 +68,11 @@
inputBotAppID
-Used to fetch information about a bot web app by its ID
+Used to fetch information about a named bot web app by its ID
inputBotAppShortName
-Used to fetch information about a bot web app by its short name
+Used to fetch information about a named bot web app by its short name
diff --git a/data/web/corefork.telegram.org/type/messages.BotApp b/data/web/corefork.telegram.org/type/messages.BotApp
index cfef5d2aad..eb0dfa4749 100644
--- a/data/web/corefork.telegram.org/type/messages.BotApp
+++ b/data/web/corefork.telegram.org/type/messages.BotApp
@@ -4,10 +4,10 @@
messages.BotApp
-
+
-
+
@@ -42,7 +42,7 @@
messages.BotApp
- Contains information about a bot web app
+ Contains information about a named bot web app
-
@@ -71,7 +71,7 @@
messages.botApp
-Contains information about a bot web app
+Contains information about a named bot web app
@@ -86,7 +86,7 @@
messages.getBotApp
-Obtain information about a bot web app
+Obtain information about a named bot web app