From d5a8cc5c401f957a13a7faf84d37482affd9998c Mon Sep 17 00:00:00 2001
From: GitHub Action
compact
flag to messages.requestWebView, messages.requestSimpleWebView, messages.requestAppWebView.
+This compact
flag should always be set if the new mode
parameter of mini app links, mini app links and direct mini app links is equal to compact
.
+If the returned webViewResultUrl does not have the fullsize
flag set, the app should be opened in compact mode (even if compact mode wasn't explictly requested, since the default fullsize/compact mode can also be changed through @botfather). Schema changes
diff --git a/data/web/corefork.telegram.org/api/links.html b/data/web/corefork.telegram.org/api/links.html
index f0c33480f6..68d1e179b1 100644
--- a/data/web/corefork.telegram.org/api/links.html
+++ b/data/web/corefork.telegram.org/api/links.html
@@ -1254,7 +1254,7 @@ tg://resolve?domain=<bot_username>&startapp=<start_parameter>&am
@@ -1295,7 +1295,7 @@ tg://resolve?domain=<bot_username>&startapp=<start_parameter>&am
mode
Optional
-If equal to
+compact
, the app should be opened in compact mode.If equal to
compact
, the messages.requestSimpleWebView.compact
flag must be set.
diff --git a/data/web/corefork.telegram.org/api/payments.html b/data/web/corefork.telegram.org/api/payments.html
index 3981dc78f8..9729a658c2 100644
--- a/data/web/corefork.telegram.org/api/payments.html
+++ b/data/web/corefork.telegram.org/api/payments.html
@@ -367,10 +367,13 @@ Further recurring payments will automatically send Telegram Stars » may be refunded by the user/bot that received them by invoking payments.refundStarsCharge, passing to mode
Optional
-If equal to
+compact
, the app should be opened in compact mode.If equal to
compact
, the messages.requestSimpleWebView.compact
flag must be set.user_id
the ID of the user that did the payment, and to charge_id
the provider_charge_id
from the messageActionPaymentSentMe service message action of the incoming payment.
Payments made using Telegram Stars » may be refunded by the user/bot that received them by invoking payments.refundStarsCharge, passing to user_id
the ID of the user that did the payment, and to charge_id
the provider_charge_id
from the messageActionPaymentSentMe service message action of the incoming payment.
This will emit a messageActionPaymentRefunded service message.
diff --git a/data/web/corefork.telegram.org/method/messages.requestAppWebView.html b/data/web/corefork.telegram.org/method/messages.requestAppWebView.html index ac078777a9..7cc79cbc28 100644 --- a/data/web/corefork.telegram.org/method/messages.requestAppWebView.html +++ b/data/web/corefork.telegram.org/method/messages.requestAppWebView.html @@ -82,7 +82,7 @@mode
parameter of the direct Mini App deep link is equal to compact
.