mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-11-24 08:16:34 +01:00
Update content of files
This commit is contained in:
parent
0aa80aff3e
commit
ffa43bff2b
2 changed files with 19 additions and 39 deletions
|
@ -4,38 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>messages.requestMainWebView</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
flags
|
||||
#
|
||||
Flags, see TL conditional fields
|
||||
compact
|
||||
flags.7?true
|
||||
|
||||
peer
|
||||
InputPeer
|
||||
|
||||
bot
|
||||
InputUser…">
|
||||
<meta property="description" content="Open a Main Mini App.">
|
||||
<meta property="og:title" content="messages.requestMainWebView">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
flags
|
||||
#
|
||||
Flags, see TL conditional fields
|
||||
compact
|
||||
flags.7?true
|
||||
|
||||
peer
|
||||
InputPeer
|
||||
|
||||
bot
|
||||
InputUser…">
|
||||
<meta property="og:description" content="Open a Main Mini App.">
|
||||
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
|
||||
|
@ -70,7 +42,8 @@ InputUser…">
|
|||
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/methods" >All Methods</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/method/messages.requestMainWebView" >messages.requestMainWebView</a></li></ul></div>
|
||||
<h1 id="dev_page_title">messages.requestMainWebView</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Open a <a href="/api/bots/webapps#main-mini-apps">Main Mini App</a>.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 185 <b class="caret"></b></a>
|
||||
|
@ -103,32 +76,32 @@ InputUser…">
|
|||
<tr>
|
||||
<td><strong>compact</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.7?<a href="/constructor/true">true</a></td>
|
||||
<td> </td>
|
||||
<td>If set, requests to open the mini app in compact mode (as opposed to fullview mode). Must be set if the <code>mode</code> parameter of the <a href="/api/links#main-mini-app-links">Main Mini App link</a> is equal to <code>compact</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>peer</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/InputPeer">InputPeer</a></td>
|
||||
<td> </td>
|
||||
<td>Currently open chat, may be <a href="/constructor/inputPeerEmpty">inputPeerEmpty</a> if no chat is currently open.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>bot</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/InputUser">InputUser</a></td>
|
||||
<td> </td>
|
||||
<td>Bot that owns the main mini app.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>start_param</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.1?<a href="/type/string">string</a></td>
|
||||
<td> </td>
|
||||
<td>Start parameter, if opening from a <a href="/api/links#main-mini-app-links">Main Mini App link »</a>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>theme_params</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/type/DataJSON">DataJSON</a></td>
|
||||
<td> </td>
|
||||
<td><a href="/api/bots/webapps#theme-parameters">Theme parameters »</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>platform</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/string">string</a></td>
|
||||
<td> </td>
|
||||
<td>Short name of the application; 0-64 English letters, digits, and underscores</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -150,7 +123,14 @@ InputUser…">
|
|||
<td>This is not a valid bot.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||
<h4><a class="anchor" href="#deep-links" id="deep-links" name="deep-links"><i class="anchor-icon"></i></a><a href="/api/links">Deep links</a></h4>
|
||||
<p>Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.</p>
|
||||
<h4><a class="anchor" href="#inputpeerempty" id="inputpeerempty" name="inputpeerempty"><i class="anchor-icon"></i></a><a href="/constructor/inputPeerEmpty">inputPeerEmpty</a></h4>
|
||||
<p>An empty constructor, no user or chat is defined.</p>
|
||||
<h4><a class="anchor" href="#mini-apps-on-telegram" id="mini-apps-on-telegram" name="mini-apps-on-telegram"><i class="anchor-icon"></i></a><a href="/api/bots/webapps">Mini Apps on Telegram</a></h4>
|
||||
<p>Bots can offer users interactive HTML5 web apps to completely replace any website.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -101,7 +101,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/messages.requestMainWebView">messages.requestMainWebView</a></td>
|
||||
<td> </td>
|
||||
<td>Open a <a href="/api/bots/webapps#main-mini-apps">Main Mini App</a>.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
|
Loading…
Reference in a new issue