From 6545b04e7815b8f0e6749db7ba384c5b5a758b80 Mon Sep 17 00:00:00 2001
From: GitHub Action
text
, if presentt.me
syntax:
t.me/share?url=<url>
-t.me/share?url=<url>&text=<text>
+t.me/share?url=<url>&text=<text>
tg:
syntax:
tg://msg_url?url=<url>&text=<text>
Parameters:
@@ -1206,12 +1205,12 @@ These links are used to confirm ownership of the phone number, to prevent accoun Clients should first install the associated bot attachment or side menu entry as specified here », and if the user accepts the installation prompt, open the Mini App using the following logic.After installing the attachment/side menu entry globally, opens the associated mini app using messages.requestSimpleWebView with the from_side_menu
flag set, regardless of the currently open Telegram chat (in fact, the Mini App should opened with that flag even if the client itself is minimized).
t.me
syntax:
t.me/<bot_username>?startapp
-t.me/<bot_username>?startapp=<start_parameter>
+t.me/<bot_username>?startapp&mode=<mode>
+t.me/<bot_username>?startapp=<start_parameter>&mode=<mode>
Note that Direct Mini App links have a similar syntax, with an additional short_name
parameter to identify a specific Mini App owned by the bot.
tg:
syntax:
tg://resolve?domain=<bot_username>&startapp
-tg://resolve?domain=<bot_username>&startapp=<start_parameter>
+tg://resolve?domain=<bot_username>&startapp&mode=<mode>
+tg://resolve?domain=<bot_username>&startapp=<start_parameter>&mode=<mode>
Parameters:
If provided, should be passed to messages.requestSimpleWebView.start_param |
+||
mode |
+Optional | +If equal to compact , the app should be opened in compact mode. |
+
short_name
.
These links should be handled as specified in the direct link Mini Apps documentation ».
t.me
syntax:
t.me/<bot_username>/<short_name>?startapp=<start_parameter>
+t.me/<bot_username>/<short_name>?startapp=<start_parameter>&mode=<mode>
tg:
syntax:
tg://resolve?domain=<bot_username>&appname=<short_name>&startapp=<start_parameter>
+tg://resolve?domain=<bot_username>&appname=<short_name>&startapp=<start_parameter>&mode=<mode>
Note that Mini App links have a similar syntax, without a short_name
parameter.
Parameters:
start_param to pass to messages.requestAppWebView |
+||
mode |
+Optional | +If equal to compact , the app should be opened in compact mode. |
+