Update content of files

This commit is contained in:
GitHub Action 2024-08-04 17:40:59 +00:00
parent 41282ba8c5
commit 498460b186
3 changed files with 2 additions and 12 deletions

View file

@ -193,8 +193,6 @@ If empty, the current chat is used. </li>
<a href='/method/messages.requestSimpleWebView'>messages.requestSimpleWebView</a>#413a3e73 flags:<a href='/type/%23'>#</a> from_switch_webview:flags.1?<a href='/constructor/true'>true</a> from_side_menu:flags.2?<a href='/constructor/true'>true</a> compact:flags.7?<a href='/constructor/true'>true</a> bot:<a href='/type/InputUser'>InputUser</a> url:flags.3?<a href='/type/string'>string</a> start_param:flags.4?<a href='/type/string'>string</a> theme_params:flags.0?<a href='/type/DataJSON'>DataJSON</a> platform:<a href='/type/string'>string</a> = <a href='/type/WebViewResult'>WebViewResult</a>;</code></pre>
<p>Side menu Mini Apps can be opened by clicking on the installed <a href="/api/bots/attach">side menu entry »</a>. </p>
<p>This action must trigger a <a href="/method/messages.requestSimpleWebView">messages.requestSimpleWebView</a> query with the <code>from_side_menu</code> flag set: clients should open a webview using the <code>url</code> contained in the returned <a href="/constructor/webViewResultUrl">webViewResultUrl</a>. </p>
<p>Side menu Mini Apps can also be opened by clicking on a <a href="/api/links#mini-app-links">Mini App link »</a>: in which case the <code>start_parameter</code> should be provided to <a href="/method/messages.requestSimpleWebView">messages.requestSimpleWebView</a>.<code>start_param</code>, if present; note that in this case, the app should be opened (with an <a href="/api/bots/attach">installation prompt »</a> before, if not already installed) even if the client is minimized.<br>
Also, the <code>compact</code> flag must be set if the <code>mode</code> parameter in the link is set and equal to <code>compact</code>. </p>
<p>After invoking <a href="/method/messages.requestSimpleWebView">messages.requestSimpleWebView</a> and obtaining a <a href="/constructor/webViewResultUrl">webViewResultUrl</a> result, clients should open a webview using the <code>url</code> contained in the returned <a href="/constructor/webViewResultUrl">webViewResultUrl</a>. </p>
<h3><a class="anchor" href="#direct-link-mini-apps" id="direct-link-mini-apps" name="direct-link-mini-apps"><i class="anchor-icon"></i></a>Direct Link Mini Apps</h3>
<p>Schema:</p>

View file

@ -81,7 +81,7 @@
<tr>
<td><strong>from_side_menu</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.2?<a href="/constructor/true">true</a></td>
<td>Set this flag if opening the Mini App from the installed <a href="/api/bots/attach">side menu entry »</a> or from a <a href="/api/links#mini-app-links">Mini App link »</a>.</td>
<td>Set this flag if opening the Mini App from the installed <a href="/api/bots/attach">side menu entry »</a>.</td>
</tr>
<tr>
<td><strong>compact</strong></td>

View file

@ -587,8 +587,6 @@ i.icon {
right: 0;
top: 0;
z-index: 100;
padding-left: env(safe-area-inset-left);
padding-right: env(safe-area-inset-right);
background-color: var(--header-bg-color);
-webkit-backdrop-filter: blur(25px);
backdrop-filter: blur(25px);
@ -939,7 +937,6 @@ a.tm-pagination-item.active:focus {
right: 0;
top: 0;
bottom: 0;
padding-bottom: env(safe-area-inset-bottom);
background: var(--bg-color);
transition: transform var(--def-transition);
}
@ -1138,8 +1135,6 @@ a.tm-menu-link:focus {
}
.tm-footer {
padding-left: env(safe-area-inset-left);
padding-right: env(safe-area-inset-right);
background-color: var(--footer-bg-color);
}
.tm-footer-links {
@ -1310,7 +1305,7 @@ a.tm-menu-link:focus {
.tm-main {
margin: 0 auto;
width: auto;
width: 100%;
max-width: 480px;
padding-bottom: 70px;
flex-grow: 1;
@ -3821,9 +3816,6 @@ a.tm-table-action-link:hover {
.tm-main {
max-width: 720px;
box-sizing: content-box;
padding-left: env(safe-area-inset-left);
padding-right: env(safe-area-inset-right);
}
.tm-main-premium {
max-width: 480px;