Update content of files

This commit is contained in:
GitHub Action 2022-08-28 18:25:38 +00:00
parent 560099989b
commit 4bfbe4ee3e
41 changed files with 159 additions and 109 deletions

View file

@ -2,12 +2,16 @@
<html class="">
<head>
<meta charset="utf-8">
<title>Page not found</title>
<title>Attach</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="">
<meta property="og:title" content="Page not found">
<meta property="description" content="Bots can install attachment menu entries, offering conveniently accessible, versatile web apps.
Schema:
user#3ff6ecb0 flags:#…">
<meta property="og:title" content="Attach">
<meta property="og:image" content="">
<meta property="og:description" content="">
<meta property="og:description" content="Bots can install attachment menu entries, offering conveniently accessible, versatile web apps.
Schema:
user#3ff6ecb0 flags:#…">
<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">
@ -39,10 +43,43 @@
<div class="container clearfix">
<div class="dev_page">
<div id="dev_page_content_wrap" class=" ">
<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></li></ul></div>
<h1 id="dev_page_title">Page not found</h1>
<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="/api/bots%2Fattach" >Attach</a></li></ul></div>
<h1 id="dev_page_title">Attach</h1>
<div id="dev_page_content">The page has not been saved</div>
<div id="dev_page_content"><!-- scroll_nav -->
<p>Bots can install attachment menu entries, offering conveniently accessible, versatile <a href="/api/bots/webapps">web apps</a>.</p>
<p>Schema:</p>
<pre><code><a href='/constructor/user'>user</a>#3ff6ecb0 flags:<a href='/type/%23'>#</a> self:flags.10?<a href='/constructor/true'>true</a> contact:flags.11?<a href='/constructor/true'>true</a> mutual_contact:flags.12?<a href='/constructor/true'>true</a> deleted:flags.13?<a href='/constructor/true'>true</a> bot:flags.14?<a href='/constructor/true'>true</a> bot_chat_history:flags.15?<a href='/constructor/true'>true</a> bot_nochats:flags.16?<a href='/constructor/true'>true</a> verified:flags.17?<a href='/constructor/true'>true</a> restricted:flags.18?<a href='/constructor/true'>true</a> min:flags.20?<a href='/constructor/true'>true</a> bot_inline_geo:flags.21?<a href='/constructor/true'>true</a> support:flags.23?<a href='/constructor/true'>true</a> scam:flags.24?<a href='/constructor/true'>true</a> apply_min_photo:flags.25?<a href='/constructor/true'>true</a> fake:flags.26?<a href='/constructor/true'>true</a> bot_attach_menu:flags.27?<a href='/constructor/true'>true</a> premium:flags.28?<a href='/constructor/true'>true</a> attach_menu_enabled:flags.29?<a href='/constructor/true'>true</a> id:<a href='/type/long'>long</a> access_hash:flags.0?<a href='/type/long'>long</a> first_name:flags.1?<a href='/type/string'>string</a> last_name:flags.2?<a href='/type/string'>string</a> username:flags.3?<a href='/type/string'>string</a> phone:flags.4?<a href='/type/string'>string</a> photo:flags.5?<a href='/type/UserProfilePhoto'>UserProfilePhoto</a> status:flags.6?<a href='/type/UserStatus'>UserStatus</a> bot_info_version:flags.14?<a href='/type/int'>int</a> restriction_reason:flags.18?<a href='/type/Vector%20t'>Vector</a>&lt;<a href='/type/RestrictionReason'>RestrictionReason</a>&gt; bot_inline_placeholder:flags.19?<a href='/type/string'>string</a> lang_code:flags.22?<a href='/type/string'>string</a> = <a href='/type/User'>User</a>;
<a href='/constructor/updateAttachMenuBots'>updateAttachMenuBots</a>#17b7a20b = <a href='/type/Update'>Update</a>;
<a href='/constructor/attachMenuBotIconColor'>attachMenuBotIconColor</a>#4576f3f0 name:<a href='/type/string'>string</a> color:<a href='/type/int'>int</a> = <a href='/type/AttachMenuBotIconColor'>AttachMenuBotIconColor</a>;
<a href='/constructor/attachMenuBotIcon'>attachMenuBotIcon</a>#b2a7386b flags:<a href='/type/%23'>#</a> name:<a href='/type/string'>string</a> icon:<a href='/type/Document'>Document</a> colors:flags.0?<a href='/type/Vector%20t'>Vector</a>&lt;<a href='/type/AttachMenuBotIconColor'>AttachMenuBotIconColor</a>&gt; = <a href='/type/AttachMenuBotIcon'>AttachMenuBotIcon</a>;
<a href='/constructor/attachMenuBot'>attachMenuBot</a>#c8aa2cd2 flags:<a href='/type/%23'>#</a> inactive:flags.0?<a href='/constructor/true'>true</a> has_settings:flags.1?<a href='/constructor/true'>true</a> bot_id:<a href='/type/long'>long</a> short_name:<a href='/type/string'>string</a> peer_types:<a href='/type/Vector%20t'>Vector</a>&lt;<a href='/type/AttachMenuPeerType'>AttachMenuPeerType</a>&gt; icons:<a href='/type/Vector%20t'>Vector</a>&lt;<a href='/type/AttachMenuBotIcon'>AttachMenuBotIcon</a>&gt; = <a href='/type/AttachMenuBot'>AttachMenuBot</a>;
<a href='/constructor/attachMenuBotsNotModified'>attachMenuBotsNotModified</a>#f1d88a5c = <a href='/type/AttachMenuBots'>AttachMenuBots</a>;
<a href='/constructor/attachMenuBots'>attachMenuBots</a>#3c4301c0 hash:<a href='/type/long'>long</a> bots:<a href='/type/Vector%20t'>Vector</a>&lt;<a href='/type/AttachMenuBot'>AttachMenuBot</a>&gt; users:<a href='/type/Vector%20t'>Vector</a>&lt;<a href='/type/User'>User</a>&gt; = <a href='/type/AttachMenuBots'>AttachMenuBots</a>;
<a href='/constructor/attachMenuBotsBot'>attachMenuBotsBot</a>#93bf667f bot:<a href='/type/AttachMenuBot'>AttachMenuBot</a> users:<a href='/type/Vector%20t'>Vector</a>&lt;<a href='/type/User'>User</a>&gt; = <a href='/type/AttachMenuBotsBot'>AttachMenuBotsBot</a>;
<a href='/constructor/attachMenuPeerTypeSameBotPM'>attachMenuPeerTypeSameBotPM</a>#7d6be90e = <a href='/type/AttachMenuPeerType'>AttachMenuPeerType</a>;
<a href='/constructor/attachMenuPeerTypeBotPM'>attachMenuPeerTypeBotPM</a>#c32bfa1a = <a href='/type/AttachMenuPeerType'>AttachMenuPeerType</a>;
<a href='/constructor/attachMenuPeerTypePM'>attachMenuPeerTypePM</a>#f146d31f = <a href='/type/AttachMenuPeerType'>AttachMenuPeerType</a>;
<a href='/constructor/attachMenuPeerTypeChat'>attachMenuPeerTypeChat</a>#509113f = <a href='/type/AttachMenuPeerType'>AttachMenuPeerType</a>;
<a href='/constructor/attachMenuPeerTypeBroadcast'>attachMenuPeerTypeBroadcast</a>#7bfbdefc = <a href='/type/AttachMenuPeerType'>AttachMenuPeerType</a>;
---functions---
<a href='/method/messages.getAttachMenuBots'>messages.getAttachMenuBots</a>#16fcc2cb hash:<a href='/type/long'>long</a> = <a href='/type/AttachMenuBots'>AttachMenuBots</a>;
<a href='/method/messages.getAttachMenuBot'>messages.getAttachMenuBot</a>#77216192 bot:<a href='/type/InputUser'>InputUser</a> = <a href='/type/AttachMenuBotsBot'>AttachMenuBotsBot</a>;
<a href='/method/messages.toggleBotInAttachMenu'>messages.toggleBotInAttachMenu</a>#1aee33af bot:<a href='/type/InputUser'>InputUser</a> enabled:<a href='/type/Bool'>Bool</a> = <a href='/type/Bool'>Bool</a>;</code></pre></div>
</div>
@ -109,8 +146,11 @@
</div>
</div>
<script src="/js/main.js?46"></script>
<script>backToTopInit("Go up");
<script src="/js/jquery.min.js?1"></script>
<script src="/js/bootstrap.min.js?1"></script>
<script>window.initDevPageNav&&initDevPageNav();
backToTopInit("Go up");
removePreloadInit();
</script>
</body>

View file

@ -46,7 +46,7 @@
<p>Bots can offer users interactive <a href="/bots/webapps">HTML5 web apps</a> to completely replace <strong>any website</strong>. </p>
<p>They support <a href="https://telegram.org/blog/privacy-discussions-web-bots#meet-seamless-web-bots">seamless authorization</a>, <a href="https://core.telegram.org/bots/payments">integrated payments</a> via multiple payment providers (with <em>Google Pay</em> and <em>Apple Pay</em> out of the box), delivering tailored push notifications to users, and <a href="https://core.telegram.org/bots">much more</a>.</p>
<p>This article offers a technical overview of the implementation of bot web apps using the MTProto API: see <a href="/bots/webapps">here an overview using the simplified bot API »</a>. </p>
<p>This article offers a client-side overview of the implementation of bot web apps using the MTProto API: see <a href="/bots/webapps">here an overview of the web-app side JS API »</a>. </p>
<h3><a class="anchor" href="#outgoing-events-web-app-to-client" id="outgoing-events-web-app-to-client" name="outgoing-events-web-app-to-client"><i class="anchor-icon"></i></a>Outgoing events: Web app to client</h3>
<p>Both <a href="#simple-web-apps">simple</a> and <a href="#normal-web-apps">normal</a> web apps can <em>send</em> web events starting with <code>web_app_</code>; see the <a href="/api/web-events">web event documentation for the full list of events that can be <em>sent</em> by the web app to the client »</a>. </p>
<h3><a class="anchor" href="#incoming-events-client-to-web-app" id="incoming-events-client-to-web-app" name="incoming-events-client-to-web-app"><i class="anchor-icon"></i></a>Incoming events: Client to web app</h3>

View file

@ -132,7 +132,7 @@
<ul>
<li>Added <a href="/method/channels.toggleJoinToSend">channels.toggleJoinToSend</a> - Set whether all users <a href="/api/discussion#requiring-users-to-join-the-group">should join a discussion group in order to comment on a post »</a></li>
<li>Added <a href="/method/channels.toggleJoinRequest">channels.toggleJoinRequest</a> - Set whether all users should <a href="/api/invites#join-requests">request admin approval to join the group »</a>.</li>
<li>Added <a href="/method/payments.exportInvoice">payments.exportInvoice</a> - Generate <a href="/api/links#invoice-links">invoice deep link</a></li>
<li>Added <a href="/method/payments.exportInvoice">payments.exportInvoice</a> - Generate an <a href="/api/links#invoice-links">invoice deep link</a></li>
<li>Added <a href="/method/messages.transcribeAudio">messages.transcribeAudio</a> - <a href="/api/transcribe">Transcribe voice message</a></li>
<li>Added <a href="/method/messages.rateTranscribedAudio">messages.rateTranscribedAudio</a> - Rate <a href="/api/transcribe">transcribed voice message</a></li>
<li>Added <a href="/method/payments.assignAppStoreTransaction">payments.assignAppStoreTransaction</a> - Informs server about a purchase made through the App Store: for official applications only.</li>
@ -261,14 +261,14 @@
<h4><a class="anchor" href="#schema-changes" id="schema-changes" name="schema-changes"><i class="anchor-icon"></i></a>Schema changes</h4>
<h5><a class="anchor" href="#new-methods" id="new-methods" name="new-methods"><i class="anchor-icon"></i></a>New Methods</h5>
<ul>
<li>Added <a href="/method/messages.getAttachMenuBots">messages.getAttachMenuBots</a> - Returns installed attachment menu <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">bot web apps »</a></li>
<li>Added <a href="/method/messages.getAttachMenuBot">messages.getAttachMenuBot</a> - Returns attachment menu entry for a <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">bot web app that can be launched from the attachment menu »</a></li>
<li>Added <a href="/method/messages.toggleBotInAttachMenu">messages.toggleBotInAttachMenu</a> - Enable or disable <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">web bot attachment menu »</a></li>
<li>Added <a href="/method/messages.getAttachMenuBots">messages.getAttachMenuBots</a> - Returns installed attachment menu <a href="/api/bots/attach">bot web apps »</a></li>
<li>Added <a href="/method/messages.getAttachMenuBot">messages.getAttachMenuBot</a> - Returns attachment menu entry for a <a href="/api/bots/attach">bot web app that can be launched from the attachment menu »</a></li>
<li>Added <a href="/method/messages.toggleBotInAttachMenu">messages.toggleBotInAttachMenu</a> - Enable or disable <a href="/api/bots/attach">web bot attachment menu »</a></li>
<li>Added <a href="/method/messages.requestWebView">messages.requestWebView</a> - Open a <a href="/bots/webapps">bot web app</a>, sending over user information after user confirmation.</li>
<li>Added <a href="/method/messages.prolongWebView">messages.prolongWebView</a> - Indicate to the server (from the user side) that the user is still using a web app.</li>
<li>Added <a href="/method/messages.requestSimpleWebView">messages.requestSimpleWebView</a> - Open a <a href="/bots/webapps">bot web app</a>.</li>
<li>Added <a href="/method/messages.requestSimpleWebView">messages.requestSimpleWebView</a> - Open a <a href="/api/bots/webapps">bot web app</a>.</li>
<li>Added <a href="/method/messages.sendWebViewResultMessage">messages.sendWebViewResultMessage</a> - Terminate webview interaction started with <a href="/method/messages.requestWebView">messages.requestWebView</a>, sending the specified message to the chat on behalf of the user.</li>
<li>Added <a href="/method/messages.sendWebViewData">messages.sendWebViewData</a> - Used by the user to relay data from an opened <a href="/bots/webapps">reply keyboard bot web app</a> to the bot that owns it.</li>
<li>Added <a href="/method/messages.sendWebViewData">messages.sendWebViewData</a> - Used by the user to relay data from an opened <a href="/api/bots/webapps">reply keyboard bot web app</a> to the bot that owns it.</li>
<li>Added <a href="/method/bots.setBotMenuButton">bots.setBotMenuButton</a> - Sets the <a href="/api/bots/menu">menu button action »</a> for a given user or for all users</li>
<li>Added <a href="/method/bots.getBotMenuButton">bots.getBotMenuButton</a> - Gets the menu button action for a given user or for all users, previously set using <a href="/method/bots.setBotMenuButton">bots.setBotMenuButton</a>; users can see this information in the <a href="/constructor/botInfo">botInfo</a> constructor.</li>
<li>Added <a href="/method/account.getSavedRingtones">account.getSavedRingtones</a> - Fetch saved notification sounds</li>
@ -285,25 +285,25 @@
</ul>
<h5><a class="anchor" href="#new-constructors" id="new-constructors" name="new-constructors"><i class="anchor-icon"></i></a>New Constructors</h5>
<ul>
<li>Added <a href="/constructor/attachMenuBotIconColor">attachMenuBotIconColor</a> - Represents an attachment menu icon color for <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">bot web apps »</a></li>
<li>Added <a href="/constructor/attachMenuBotIcon">attachMenuBotIcon</a> - Represents an attachment menu icon for <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">bot web apps »</a></li>
<li>Added <a href="/constructor/attachMenuBot">attachMenuBot</a> - Represents a <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">bot web app that can be launched from the attachment menu »</a></li>
<li>Added <a href="/constructor/attachMenuBotIconColor">attachMenuBotIconColor</a> - Represents an attachment menu icon color for <a href="/api/bots/attach">bot web apps »</a></li>
<li>Added <a href="/constructor/attachMenuBotIcon">attachMenuBotIcon</a> - Represents an attachment menu icon for <a href="/api/bots/attach">bot web apps »</a></li>
<li>Added <a href="/constructor/attachMenuBot">attachMenuBot</a> - Represents a <a href="/api/bots/attach">bot web app that can be launched from the attachment menu »</a></li>
<li>Added <a href="/constructor/attachMenuBotsNotModified">attachMenuBotsNotModified</a> - The list of bot web apps hasn't changed</li>
<li>Added <a href="/constructor/attachMenuBots">attachMenuBots</a> - Represents a list of <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">bot web apps that can be launched from the attachment menu »</a></li>
<li>Added <a href="/constructor/attachMenuBotsBot">attachMenuBotsBot</a> - Represents a <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">bot web app that can be launched from the attachment menu »</a></li>
<li>Added <a href="/constructor/updateAttachMenuBots">updateAttachMenuBots</a> - The list of added <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">bot web apps »</a> has changed, use <a href="/method/messages.getAttachMenuBots">messages.getAttachMenuBots</a> to fetch the updated list.</li>
<li>Added <a href="/constructor/attachMenuBots">attachMenuBots</a> - Represents a list of <a href="/api/bots/attach">bot web apps that can be launched from the attachment menu »</a></li>
<li>Added <a href="/constructor/attachMenuBotsBot">attachMenuBotsBot</a> - Represents a <a href="/api/bots/attach">bot web app that can be launched from the attachment menu »</a></li>
<li>Added <a href="/constructor/updateAttachMenuBots">updateAttachMenuBots</a> - The list of added <a href="/api/bots/attach">bot web apps »</a> has changed, use <a href="/method/messages.getAttachMenuBots">messages.getAttachMenuBots</a> to fetch the updated list.</li>
<li>Added <a href="/constructor/webViewResultUrl">webViewResultUrl</a> - Contains the webview URL with appropriate theme and user info parameters added</li>
<li>Added <a href="/constructor/simpleWebViewResultUrl">simpleWebViewResultUrl</a> - Contains the webview URL with appropriate theme parameters added</li>
<li>Added <a href="/constructor/webViewMessageSent">webViewMessageSent</a> - Info about a sent inline webview message</li>
<li>Added <a href="/constructor/updateWebViewResultSent">updateWebViewResultSent</a> - Indicates to a bot that a webview was closed and an inline message was sent on behalf of the user using <a href="/method/messages.sendWebViewResultMessage">messages.sendWebViewResultMessage</a></li>
<li>Added <a href="/constructor/keyboardButtonWebView">keyboardButtonWebView</a> - Button to open a <a href="/bots/webapps">bot web app</a> using <a href="/method/messages.requestWebView">messages.requestWebView</a>, sending over user information after user confirmation.</li>
<li>Added <a href="/constructor/keyboardButtonSimpleWebView">keyboardButtonSimpleWebView</a> - Button to open a <a href="/bots/webapps">bot web app</a> using <a href="/method/messages.requestSimpleWebView">messages.requestSimpleWebView</a>, without sending user information to the web app.</li>
<li>Added <a href="/constructor/messageActionWebViewDataSentMe">messageActionWebViewDataSentMe</a> - Data from an opened <a href="/bots/webapps">reply keyboard bot web app</a> was relayed to the bot that owns it (bot side service message).</li>
<li>Added <a href="/constructor/messageActionWebViewDataSent">messageActionWebViewDataSent</a> - Data from an opened <a href="/bots/webapps">reply keyboard bot web app</a> was relayed to the bot that owns it (user side service message).</li>
<li>Added <a href="/constructor/keyboardButtonWebView">keyboardButtonWebView</a> - Button to open a <a href="/api/bots/webapps">bot web app</a> using <a href="/method/messages.requestWebView">messages.requestWebView</a>, sending over user information after user confirmation.</li>
<li>Added <a href="/constructor/keyboardButtonSimpleWebView">keyboardButtonSimpleWebView</a> - Button to open a <a href="/api/bots/webapps">bot web app</a> using <a href="/method/messages.requestSimpleWebView">messages.requestSimpleWebView</a>, without sending user information to the web app.</li>
<li>Added <a href="/constructor/messageActionWebViewDataSentMe">messageActionWebViewDataSentMe</a> - Data from an opened <a href="/api/bots/webapps">reply keyboard bot web app</a> was relayed to the bot that owns it (bot side service message).</li>
<li>Added <a href="/constructor/messageActionWebViewDataSent">messageActionWebViewDataSent</a> - Data from an opened <a href="/api/bots/webapps">reply keyboard bot web app</a> was relayed to the bot that owns it (user side service message).</li>
<li>Added <a href="/constructor/updateBotMenuButton">updateBotMenuButton</a> - The menu button behavior for the specified bot has changed</li>
<li>Added <a href="/constructor/botMenuButtonDefault">botMenuButtonDefault</a> - Placeholder <a href="/api/bots/menu">bot menu button</a> never returned to users: see <a href="/api/bots/menu">the docs for more info</a>.</li>
<li>Added <a href="/constructor/botMenuButtonCommands">botMenuButtonCommands</a> - <a href="/api/bots/menu">Bot menu button</a> that opens the bot command list when clicked.</li>
<li>Added <a href="/constructor/botMenuButton">botMenuButton</a> - <a href="/api/bots/menu">Bot menu button</a> that opens a <a href="/bots/webapps#launching-web-apps-from-the-menu-button">web app</a> when clicked.</li>
<li>Added <a href="/constructor/botMenuButton">botMenuButton</a> - <a href="/api/bots/menu">Bot menu button</a> that opens a <a href="/api/bots/webapps">web app</a> when clicked.</li>
<li>Added <a href="/constructor/account.savedRingtonesNotModified">account.savedRingtonesNotModified</a> - The notification sound list hasn't changed.</li>
<li>Added <a href="/constructor/account.savedRingtones">account.savedRingtones</a> - A list of saved notification sounds</li>
<li>Added <a href="/constructor/updateSavedRingtones">updateSavedRingtones</a> - The list of saved notification sounds has changed, use <a href="/method/account.getSavedRingtones">account.getSavedRingtones</a> to fetch the new list.</li>

View file

@ -898,7 +898,7 @@ t.me/share/url?url=&lt;url&gt;&amp;text=&lt;text&gt;</code></pre>
</tbody>
</table>
<h3><a class="anchor" href="#telegram-passport-links" id="telegram-passport-links" name="telegram-passport-links"><i class="anchor-icon"></i></a>Telegram Passport links</h3>
<p>See <a href="/docs/api/passport#uri-format">the Telegram Passport documentation for parameters and usage »</a>. </p>
<p>See <a href="/api/passport#uri-format">the Telegram Passport documentation for parameters and usage »</a>. </p>
<p><code>tg:</code> syntax:</p>
<pre><code>tg://passport?params
tg://resolve?domain=telegrampassport&amp;params</code></pre>

View file

@ -148,10 +148,10 @@ The GamingCommunication and bot web app libraries by default will use <code>'*'<
<p>Expands the web app to the maximum available height.</p>
<h4><a class="anchor" href="#web-app-request-viewport" id="web-app-request-viewport" name="web-app-request-viewport"><i class="anchor-icon"></i></a><code>web_app_request_viewport</code></h4>
<p>No event payload.</p>
<p>Used by web apps to request information about the viewport, clients should emit a <a href="/bots/api/webapps#viewport_changed">viewport_changed event</a></p>
<p>Used by web apps to request information about the viewport, clients should emit a <a href="/api/bots/webapps#viewport_changed">viewport_changed event</a></p>
<h4><a class="anchor" href="#web-app-request-theme" id="web-app-request-theme" name="web-app-request-theme"><i class="anchor-icon"></i></a><code>web_app_request_theme</code></h4>
<p>No event payload.</p>
<p>Used by web apps to request information about the current theme, clients should emit a <a href="/bots/api/webapps#theme_changed">theme_changed event</a>.</p>
<p>Used by web apps to request information about the current theme, clients should emit a <a href="/api/bots/webapps#theme_changed">theme_changed event</a>.</p>
<h4><a class="anchor" href="#web-app-ready" id="web-app-ready" name="web-app-ready"><i class="anchor-icon"></i></a><code>web_app_ready</code></h4>
<p>No event payload.</p>
<p>Emitted by web apps when they are fully loaded.</p>

View file

@ -42,7 +42,7 @@
<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="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/attachMenuBot" >attachMenuBot</a></li></ul></div>
<h1 id="dev_page_title">attachMenuBot</h1>
<div id="dev_page_content"><p>Represents a <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">bot web app that can be launched from the attachment menu »</a></p>
<div id="dev_page_content"><p>Represents a <a href="/api/bots/attach">bot web app that can be launched from the attachment menu »</a></p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">
@ -107,8 +107,8 @@
<p><a href="/type/AttachMenuBot">AttachMenuBot</a></p>
<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="#messagestogglebotinattachmenu" id="messagestogglebotinattachmenu" name="messagestogglebotinattachmenu"><i class="anchor-icon"></i></a><a href="/method/messages.toggleBotInAttachMenu">messages.toggleBotInAttachMenu</a></h4>
<p>Enable or disable <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">web bot attachment menu »</a></p>
<h4><a class="anchor" href="#web-apps-for-bots" id="web-apps-for-bots" name="web-apps-for-bots"><i class="anchor-icon"></i></a><a href="/bots/webapps">Web Apps for Bots</a></h4></div>
<p>Enable or disable <a href="/api/bots/attach">web bot attachment menu »</a></p>
<h4><a class="anchor" href="#attach" id="attach" name="attach"><i class="anchor-icon"></i></a><a href="/api/bots/attach">Attach</a></h4></div>
</div>

View file

@ -42,7 +42,7 @@
<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="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/attachMenuBotIcon" >attachMenuBotIcon</a></li></ul></div>
<h1 id="dev_page_title">attachMenuBotIcon</h1>
<div id="dev_page_content"><p>Represents an attachment menu icon for <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">bot web apps »</a></p>
<div id="dev_page_content"><p>Represents an attachment menu icon for <a href="/api/bots/attach">bot web apps »</a></p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">
@ -91,7 +91,7 @@
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
<p><a href="/type/AttachMenuBotIcon">AttachMenuBotIcon</a></p>
<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="#web-apps-for-bots" id="web-apps-for-bots" name="web-apps-for-bots"><i class="anchor-icon"></i></a><a href="/bots/webapps">Web Apps for Bots</a></h4></div>
<h4><a class="anchor" href="#attach" id="attach" name="attach"><i class="anchor-icon"></i></a><a href="/api/bots/attach">Attach</a></h4></div>
</div>

View file

@ -42,7 +42,7 @@
<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="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/attachMenuBotIconColor" >attachMenuBotIconColor</a></li></ul></div>
<h1 id="dev_page_title">attachMenuBotIconColor</h1>
<div id="dev_page_content"><p>Represents an attachment menu icon color for <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">bot web apps »</a></p>
<div id="dev_page_content"><p>Represents an attachment menu icon color for <a href="/api/bots/attach">bot web apps »</a></p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">
@ -81,7 +81,7 @@
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
<p><a href="/type/AttachMenuBotIconColor">AttachMenuBotIconColor</a></p>
<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="#web-apps-for-bots" id="web-apps-for-bots" name="web-apps-for-bots"><i class="anchor-icon"></i></a><a href="/bots/webapps">Web Apps for Bots</a></h4></div>
<h4><a class="anchor" href="#attach" id="attach" name="attach"><i class="anchor-icon"></i></a><a href="/api/bots/attach">Attach</a></h4></div>
</div>

View file

@ -42,7 +42,7 @@
<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="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/attachMenuBots" >attachMenuBots</a></li></ul></div>
<h1 id="dev_page_title">attachMenuBots</h1>
<div id="dev_page_content"><p>Represents a list of <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">bot web apps that can be launched from the attachment menu »</a></p>
<div id="dev_page_content"><p>Represents a list of <a href="/api/bots/attach">bot web apps that can be launched from the attachment menu »</a></p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">
@ -74,7 +74,7 @@
<tr>
<td><strong>bots</strong></td>
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/AttachMenuBot">AttachMenuBot</a>&gt;</td>
<td>List of <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">bot web apps that can be launched from the attachment menu »</a></td>
<td>List of <a href="/api/bots/attach">bot web apps that can be launched from the attachment menu »</a></td>
</tr>
<tr>
<td><strong>users</strong></td>
@ -88,7 +88,7 @@
<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="#pagination-in-the-api" id="pagination-in-the-api" name="pagination-in-the-api"><i class="anchor-icon"></i></a><a href="/api/offsets">Pagination in the API</a></h4>
<p>How to fetch results from large lists of objects.</p>
<h4><a class="anchor" href="#web-apps-for-bots" id="web-apps-for-bots" name="web-apps-for-bots"><i class="anchor-icon"></i></a><a href="/bots/webapps">Web Apps for Bots</a></h4></div>
<h4><a class="anchor" href="#attach" id="attach" name="attach"><i class="anchor-icon"></i></a><a href="/api/bots/attach">Attach</a></h4></div>
</div>

View file

@ -42,7 +42,7 @@
<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="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/attachMenuBotsBot" >attachMenuBotsBot</a></li></ul></div>
<h1 id="dev_page_title">attachMenuBotsBot</h1>
<div id="dev_page_content"><p>Represents a <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">bot web app that can be launched from the attachment menu »</a></p>
<div id="dev_page_content"><p>Represents a <a href="/api/bots/attach">bot web app that can be launched from the attachment menu »</a></p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">
@ -69,7 +69,7 @@
<tr>
<td><strong>bot</strong></td>
<td style="text-align: center;"><a href="/type/AttachMenuBot">AttachMenuBot</a></td>
<td>Represents a <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">bot web app that can be launched from the attachment menu »</a><br></td>
<td>Represents a <a href="/api/bots/attach">bot web app that can be launched from the attachment menu »</a><br></td>
</tr>
<tr>
<td><strong>users</strong></td>
@ -81,7 +81,7 @@
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
<p><a href="/type/AttachMenuBotsBot">AttachMenuBotsBot</a></p>
<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="#web-apps-for-bots" id="web-apps-for-bots" name="web-apps-for-bots"><i class="anchor-icon"></i></a><a href="/bots/webapps">Web Apps for Bots</a></h4></div>
<h4><a class="anchor" href="#attach" id="attach" name="attach"><i class="anchor-icon"></i></a><a href="/api/bots/attach">Attach</a></h4></div>
</div>

View file

@ -42,7 +42,7 @@
<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="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/botMenuButton" >botMenuButton</a></li></ul></div>
<h1 id="dev_page_title">botMenuButton</h1>
<div id="dev_page_content"><p><a href="/api/bots/menu">Bot menu button</a> that opens a <a href="/bots/webapps#launching-web-apps-from-the-menu-button">web app</a> when clicked.</p>
<div id="dev_page_content"><p><a href="/api/bots/menu">Bot menu button</a> that opens a <a href="/api/bots/webapps">web app</a> when clicked.</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">
@ -74,14 +74,15 @@
<tr>
<td><strong>url</strong></td>
<td style="text-align: center;"><a href="/type/string">string</a></td>
<td>URL of a <a href="/bots/webapps#launching-web-apps-from-the-menu-button">web app</a> to open when the user clicks on the button</td>
<td>URL of a <a href="/api/bots/webapps">web app</a> to open when the user clicks on the button</td>
</tr>
</tbody>
</table>
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
<p><a href="/type/BotMenuButton">BotMenuButton</a></p>
<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="#web-apps-for-bots" id="web-apps-for-bots" name="web-apps-for-bots"><i class="anchor-icon"></i></a><a href="/bots/webapps">Web Apps for Bots</a></h4>
<h4><a class="anchor" href="#bot-web-apps" id="bot-web-apps" name="bot-web-apps"><i class="anchor-icon"></i></a><a href="/api/bots/webapps">Bot web apps</a></h4>
<p>Bots can offer users interactive HTML5 web apps to completely replace any website.</p>
<h4><a class="anchor" href="#bot-menu-button" id="bot-menu-button" name="bot-menu-button"><i class="anchor-icon"></i></a><a href="/api/bots/menu">Bot menu button</a></h4>
<p>Bots can choose the behavior of the menu button shown next to the text input field.</p></div>

View file

@ -109,13 +109,15 @@
<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>Start parameter</td>
<td>Unique <a href="/api/links#not-invoice">bot deep links start parameter</a>. If present, forwarded copies of the sent message will have a URL button with a <a href="/api/links#bot-links">deep link</a> to the bot (instead of a Pay button), with the value used as the start parameter. If absent, forwarded copies of the sent message will have a Pay button, allowing multiple users to pay directly from the forwarded message, using the same invoice.</td>
</tr>
</tbody>
</table>
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
<p><a href="/type/InputMedia">InputMedia</a></p>
<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="#bot-payments-api" id="bot-payments-api" name="bot-payments-api"><i class="anchor-icon"></i></a><a href="/bots/payments">Bot Payments API</a></h4></div>
</div>

View file

@ -42,7 +42,7 @@
<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="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/keyboardButtonSimpleWebView" >keyboardButtonSimpleWebView</a></li></ul></div>
<h1 id="dev_page_title">keyboardButtonSimpleWebView</h1>
<div id="dev_page_content"><p>Button to open a <a href="/bots/webapps">bot web app</a> using <a href="/method/messages.requestSimpleWebView">messages.requestSimpleWebView</a>, without sending user information to the web app.</p>
<div id="dev_page_content"><p>Button to open a <a href="/api/bots/webapps">bot web app</a> using <a href="/method/messages.requestSimpleWebView">messages.requestSimpleWebView</a>, without sending user information to the web app.</p>
<p>Can only be sent or received as part of a reply keyboard, use <a href="/constructor/keyboardButtonWebView">keyboardButtonWebView</a> for inline keyboards.</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
@ -75,18 +75,19 @@
<tr>
<td><strong>url</strong></td>
<td style="text-align: center;"><a href="/type/string">string</a></td>
<td><a href="/bots/webapps">Web app URL</a></td>
<td><a href="/api/bots/webapps">Web app URL</a></td>
</tr>
</tbody>
</table>
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
<p><a href="/type/KeyboardButton">KeyboardButton</a></p>
<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="#web-apps-for-bots" id="web-apps-for-bots" name="web-apps-for-bots"><i class="anchor-icon"></i></a><a href="/bots/webapps">Web Apps for Bots</a></h4>
<h4><a class="anchor" href="#bot-web-apps" id="bot-web-apps" name="bot-web-apps"><i class="anchor-icon"></i></a><a href="/api/bots/webapps">Bot web apps</a></h4>
<p>Bots can offer users interactive HTML5 web apps to completely replace any website.</p>
<h4><a class="anchor" href="#messagesrequestsimplewebview" id="messagesrequestsimplewebview" name="messagesrequestsimplewebview"><i class="anchor-icon"></i></a><a href="/method/messages.requestSimpleWebView">messages.requestSimpleWebView</a></h4>
<p>Open a <a href="/bots/webapps">bot web app</a>.</p>
<p>Open a <a href="/api/bots/webapps">bot web app</a>.</p>
<h4><a class="anchor" href="#keyboardbuttonwebview" id="keyboardbuttonwebview" name="keyboardbuttonwebview"><i class="anchor-icon"></i></a><a href="/constructor/keyboardButtonWebView">keyboardButtonWebView</a></h4>
<p>Button to open a <a href="/bots/webapps">bot web app</a> using <a href="/method/messages.requestWebView">messages.requestWebView</a>, sending over user information after user confirmation.</p>
<p>Button to open a <a href="/api/bots/webapps">bot web app</a> using <a href="/method/messages.requestWebView">messages.requestWebView</a>, sending over user information after user confirmation.</p>
<p>Can only be sent or received as part of an inline keyboard, use <a href="/constructor/keyboardButtonSimpleWebView">keyboardButtonSimpleWebView</a> for reply keyboards.</p></div>
</div>

View file

@ -42,7 +42,7 @@
<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="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/keyboardButtonWebView" >keyboardButtonWebView</a></li></ul></div>
<h1 id="dev_page_title">keyboardButtonWebView</h1>
<div id="dev_page_content"><p>Button to open a <a href="/bots/webapps">bot web app</a> using <a href="/method/messages.requestWebView">messages.requestWebView</a>, sending over user information after user confirmation.</p>
<div id="dev_page_content"><p>Button to open a <a href="/api/bots/webapps">bot web app</a> using <a href="/method/messages.requestWebView">messages.requestWebView</a>, sending over user information after user confirmation.</p>
<p>Can only be sent or received as part of an inline keyboard, use <a href="/constructor/keyboardButtonSimpleWebView">keyboardButtonSimpleWebView</a> for reply keyboards.</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
@ -75,19 +75,20 @@
<tr>
<td><strong>url</strong></td>
<td style="text-align: center;"><a href="/type/string">string</a></td>
<td><a href="/bots/webapps">Web app url</a></td>
<td><a href="/api/bots/webapps">Web app url</a></td>
</tr>
</tbody>
</table>
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
<p><a href="/type/KeyboardButton">KeyboardButton</a></p>
<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="#web-apps-for-bots" id="web-apps-for-bots" name="web-apps-for-bots"><i class="anchor-icon"></i></a><a href="/bots/webapps">Web Apps for Bots</a></h4>
<h4><a class="anchor" href="#bot-web-apps" id="bot-web-apps" name="bot-web-apps"><i class="anchor-icon"></i></a><a href="/api/bots/webapps">Bot web apps</a></h4>
<p>Bots can offer users interactive HTML5 web apps to completely replace any website.</p>
<h4><a class="anchor" href="#messagesrequestwebview" id="messagesrequestwebview" name="messagesrequestwebview"><i class="anchor-icon"></i></a><a href="/method/messages.requestWebView">messages.requestWebView</a></h4>
<p>Open a <a href="/bots/webapps">bot web app</a>, sending over user information after user confirmation.</p>
<p>After calling this method, until the user closes the webview, <a href="/method/messages.prolongWebView">messages.prolongWebView</a> must be called every 60 seconds.</p>
<h4><a class="anchor" href="#keyboardbuttonsimplewebview" id="keyboardbuttonsimplewebview" name="keyboardbuttonsimplewebview"><i class="anchor-icon"></i></a><a href="/constructor/keyboardButtonSimpleWebView">keyboardButtonSimpleWebView</a></h4>
<p>Button to open a <a href="/bots/webapps">bot web app</a> using <a href="/method/messages.requestSimpleWebView">messages.requestSimpleWebView</a>, without sending user information to the web app.</p>
<p>Button to open a <a href="/api/bots/webapps">bot web app</a> using <a href="/method/messages.requestSimpleWebView">messages.requestSimpleWebView</a>, without sending user information to the web app.</p>
<p>Can only be sent or received as part of a reply keyboard, use <a href="/constructor/keyboardButtonWebView">keyboardButtonWebView</a> for inline keyboards.</p></div>
</div>

View file

@ -42,7 +42,7 @@
<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="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/messageActionWebViewDataSent" >messageActionWebViewDataSent</a></li></ul></div>
<h1 id="dev_page_title">messageActionWebViewDataSent</h1>
<div id="dev_page_content"><p>Data from an opened <a href="/bots/webapps">reply keyboard bot web app</a> was relayed to the bot that owns it (user side service message).</p>
<div id="dev_page_content"><p>Data from an opened <a href="/api/bots/webapps">reply keyboard bot web app</a> was relayed to the bot that owns it (user side service message).</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">
@ -77,9 +77,10 @@
<p><a href="/type/MessageAction">MessageAction</a></p>
<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="#keyboardbuttonsimplewebview" id="keyboardbuttonsimplewebview" name="keyboardbuttonsimplewebview"><i class="anchor-icon"></i></a><a href="/constructor/keyboardButtonSimpleWebView">keyboardButtonSimpleWebView</a></h4>
<p>Button to open a <a href="/bots/webapps">bot web app</a> using <a href="/method/messages.requestSimpleWebView">messages.requestSimpleWebView</a>, without sending user information to the web app.</p>
<p>Button to open a <a href="/api/bots/webapps">bot web app</a> using <a href="/method/messages.requestSimpleWebView">messages.requestSimpleWebView</a>, without sending user information to the web app.</p>
<p>Can only be sent or received as part of a reply keyboard, use <a href="/constructor/keyboardButtonWebView">keyboardButtonWebView</a> for inline keyboards.</p>
<h4><a class="anchor" href="#web-apps-for-bots" id="web-apps-for-bots" name="web-apps-for-bots"><i class="anchor-icon"></i></a><a href="/bots/webapps">Web Apps for Bots</a></h4></div>
<h4><a class="anchor" href="#bot-web-apps" id="bot-web-apps" name="bot-web-apps"><i class="anchor-icon"></i></a><a href="/api/bots/webapps">Bot web apps</a></h4>
<p>Bots can offer users interactive HTML5 web apps to completely replace any website.</p></div>
</div>

View file

@ -42,7 +42,7 @@
<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="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/messageActionWebViewDataSentMe" >messageActionWebViewDataSentMe</a></li></ul></div>
<h1 id="dev_page_title">messageActionWebViewDataSentMe</h1>
<div id="dev_page_content"><p>Data from an opened <a href="/bots/webapps">reply keyboard bot web app</a> was relayed to the bot that owns it (bot side service message).</p>
<div id="dev_page_content"><p>Data from an opened <a href="/api/bots/webapps">reply keyboard bot web app</a> was relayed to the bot that owns it (bot side service message).</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">
@ -82,9 +82,10 @@
<p><a href="/type/MessageAction">MessageAction</a></p>
<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="#keyboardbuttonsimplewebview" id="keyboardbuttonsimplewebview" name="keyboardbuttonsimplewebview"><i class="anchor-icon"></i></a><a href="/constructor/keyboardButtonSimpleWebView">keyboardButtonSimpleWebView</a></h4>
<p>Button to open a <a href="/bots/webapps">bot web app</a> using <a href="/method/messages.requestSimpleWebView">messages.requestSimpleWebView</a>, without sending user information to the web app.</p>
<p>Button to open a <a href="/api/bots/webapps">bot web app</a> using <a href="/method/messages.requestSimpleWebView">messages.requestSimpleWebView</a>, without sending user information to the web app.</p>
<p>Can only be sent or received as part of a reply keyboard, use <a href="/constructor/keyboardButtonWebView">keyboardButtonWebView</a> for inline keyboards.</p>
<h4><a class="anchor" href="#web-apps-for-bots" id="web-apps-for-bots" name="web-apps-for-bots"><i class="anchor-icon"></i></a><a href="/bots/webapps">Web Apps for Bots</a></h4></div>
<h4><a class="anchor" href="#bot-web-apps" id="bot-web-apps" name="bot-web-apps"><i class="anchor-icon"></i></a><a href="/api/bots/webapps">Bot web apps</a></h4>
<p>Bots can offer users interactive HTML5 web apps to completely replace any website.</p></div>
</div>

View file

@ -42,7 +42,7 @@
<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="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/updateAttachMenuBots" >updateAttachMenuBots</a></li></ul></div>
<h1 id="dev_page_title">updateAttachMenuBots</h1>
<div id="dev_page_content"><p>The list of added <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">bot web apps »</a> has changed, use <a href="/method/messages.getAttachMenuBots">messages.getAttachMenuBots</a> to fetch the updated list.</p>
<div id="dev_page_content"><p>The list of added <a href="/api/bots/attach">bot web apps »</a> has changed, use <a href="/method/messages.getAttachMenuBots">messages.getAttachMenuBots</a> to fetch the updated list.</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">
@ -61,9 +61,9 @@
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
<p><a href="/type/Update">Update</a></p>
<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="#web-apps-for-bots" id="web-apps-for-bots" name="web-apps-for-bots"><i class="anchor-icon"></i></a><a href="/bots/webapps">Web Apps for Bots</a></h4>
<h4><a class="anchor" href="#attach" id="attach" name="attach"><i class="anchor-icon"></i></a><a href="/api/bots/attach">Attach</a></h4>
<h4><a class="anchor" href="#messagesgetattachmenubots" id="messagesgetattachmenubots" name="messagesgetattachmenubots"><i class="anchor-icon"></i></a><a href="/method/messages.getAttachMenuBots">messages.getAttachMenuBots</a></h4>
<p>Returns installed attachment menu <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">bot web apps »</a></p></div>
<p>Returns installed attachment menu <a href="/api/bots/attach">bot web apps »</a></p></div>
</div>

View file

@ -149,7 +149,7 @@
<tr>
<td><strong>bot_attach_menu</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.27?<a href="/constructor/true">true</a></td>
<td>Whether this bot offers an <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">attachment menu web app</a></td>
<td>Whether this bot offers an <a href="/api/bots/attach">attachment menu web app</a></td>
</tr>
<tr>
<td><strong>premium</strong></td>
@ -159,7 +159,7 @@
<tr>
<td><strong>attach_menu_enabled</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.29?<a href="/constructor/true">true</a></td>
<td>Whether we installed the <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">attachment menu web app</a> offered by this bot</td>
<td>Whether we installed the <a href="/api/bots/attach">attachment menu web app</a> offered by this bot</td>
</tr>
<tr>
<td><strong>id</strong></td>
@ -228,7 +228,7 @@
<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="#min-constructors" id="min-constructors" name="min-constructors"><i class="anchor-icon"></i></a><a href="/api/min">Min constructors</a></h4>
<p>In some situations user and channel constructors have reduced set of fields present (although id is always there) and min flag set.</p>
<h4><a class="anchor" href="#web-apps-for-bots" id="web-apps-for-bots" name="web-apps-for-bots"><i class="anchor-icon"></i></a><a href="/bots/webapps">Web Apps for Bots</a></h4>
<h4><a class="anchor" href="#attach" id="attach" name="attach"><i class="anchor-icon"></i></a><a href="/api/bots/attach">Attach</a></h4>
<h4><a class="anchor" href="#userfull" id="userfull" name="userfull"><i class="anchor-icon"></i></a><a href="/constructor/userFull">userFull</a></h4>
<p>Extended user info</p></div>

View file

@ -84,7 +84,7 @@
<tr>
<td><strong>background_color</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/type/int">int</a></td>
<td>Used for <a href="/api/wallpapers#solid-fill">solid »</a>, [gradient »]/api/wallpapers#gradient-fill) and <a href="/api/wallpapers#freeform-gradient-fill">freeform gradient »</a> fills.</td>
<td>Used for <a href="/api/wallpapers#solid-fill">solid »</a>, <a href="/api/wallpapers#gradient-fill">gradient »</a> and <a href="/api/wallpapers#freeform-gradient-fill">freeform gradient »</a> fills.</td>
</tr>
<tr>
<td><strong>second_background_color</strong></td>

View file

@ -42,7 +42,7 @@
<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.getAttachMenuBot" >messages.getAttachMenuBot</a></li></ul></div>
<h1 id="dev_page_title">messages.getAttachMenuBot</h1>
<div id="dev_page_content"><p>Returns attachment menu entry for a <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">bot web app that can be launched from the attachment menu »</a></p>
<div id="dev_page_content"><p>Returns attachment menu entry for a <a href="/api/bots/attach">bot web app that can be launched from the attachment menu »</a></p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">
@ -95,7 +95,7 @@
</tbody>
</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="#web-apps-for-bots" id="web-apps-for-bots" name="web-apps-for-bots"><i class="anchor-icon"></i></a><a href="/bots/webapps">Web Apps for Bots</a></h4></div>
<h4><a class="anchor" href="#attach" id="attach" name="attach"><i class="anchor-icon"></i></a><a href="/api/bots/attach">Attach</a></h4></div>
</div>

View file

@ -42,7 +42,7 @@
<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.getAttachMenuBots" >messages.getAttachMenuBots</a></li></ul></div>
<h1 id="dev_page_title">messages.getAttachMenuBots</h1>
<div id="dev_page_content"><p>Returns installed attachment menu <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">bot web apps »</a></p>
<div id="dev_page_content"><p>Returns installed attachment menu <a href="/api/bots/attach">bot web apps »</a></p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">
@ -81,7 +81,7 @@
<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="#pagination-in-the-api" id="pagination-in-the-api" name="pagination-in-the-api"><i class="anchor-icon"></i></a><a href="/api/offsets">Pagination in the API</a></h4>
<p>How to fetch results from large lists of objects.</p>
<h4><a class="anchor" href="#web-apps-for-bots" id="web-apps-for-bots" name="web-apps-for-bots"><i class="anchor-icon"></i></a><a href="/bots/webapps">Web Apps for Bots</a></h4></div>
<h4><a class="anchor" href="#attach" id="attach" name="attach"><i class="anchor-icon"></i></a><a href="/api/bots/attach">Attach</a></h4></div>
</div>

View file

@ -87,7 +87,7 @@
<tr>
<td><strong>bot</strong></td>
<td style="text-align: center;"><a href="/type/InputUser">InputUser</a></td>
<td>Bot that owns the <a href="/bots/webapps">web app</a></td>
<td>Bot that owns the <a href="/api/bots/webapps">web app</a></td>
</tr>
<tr>
<td><strong>query_id</strong></td>
@ -111,7 +111,8 @@
<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="#messagessendwebviewresultmessage" id="messagessendwebviewresultmessage" name="messagessendwebviewresultmessage"><i class="anchor-icon"></i></a><a href="/method/messages.sendWebViewResultMessage">messages.sendWebViewResultMessage</a></h4>
<p>Terminate webview interaction started with <a href="/method/messages.requestWebView">messages.requestWebView</a>, sending the specified message to the chat on behalf of the user.</p>
<h4><a class="anchor" href="#web-apps-for-bots" id="web-apps-for-bots" name="web-apps-for-bots"><i class="anchor-icon"></i></a><a href="/bots/webapps">Web Apps for Bots</a></h4>
<h4><a class="anchor" href="#bot-web-apps" id="bot-web-apps" name="bot-web-apps"><i class="anchor-icon"></i></a><a href="/api/bots/webapps">Bot web apps</a></h4>
<p>Bots can offer users interactive HTML5 web apps to completely replace any website.</p>
<h4><a class="anchor" href="#messagesrequestwebview" id="messagesrequestwebview" name="messagesrequestwebview"><i class="anchor-icon"></i></a><a href="/method/messages.requestWebView">messages.requestWebView</a></h4>
<p>Open a <a href="/bots/webapps">bot web app</a>, sending over user information after user confirmation.</p>
<p>After calling this method, until the user closes the webview, <a href="/method/messages.prolongWebView">messages.prolongWebView</a> must be called every 60 seconds.</p></div>

View file

@ -42,7 +42,7 @@
<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.requestSimpleWebView" >messages.requestSimpleWebView</a></li></ul></div>
<h1 id="dev_page_title">messages.requestSimpleWebView</h1>
<div id="dev_page_content"><p>Open a <a href="/bots/webapps">bot web app</a>.</p>
<div id="dev_page_content"><p>Open a <a href="/api/bots/webapps">bot web app</a>.</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">
@ -93,7 +93,8 @@
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/SimpleWebViewResult">SimpleWebViewResult</a></p>
<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="#web-apps-for-bots" id="web-apps-for-bots" name="web-apps-for-bots"><i class="anchor-icon"></i></a><a href="/bots/webapps">Web Apps for Bots</a></h4></div>
<h4><a class="anchor" href="#bot-web-apps" id="bot-web-apps" name="bot-web-apps"><i class="anchor-icon"></i></a><a href="/api/bots/webapps">Bot web apps</a></h4>
<p>Bots can offer users interactive HTML5 web apps to completely replace any website.</p></div>
</div>

View file

@ -92,12 +92,12 @@
<tr>
<td><strong>bot</strong></td>
<td style="text-align: center;"><a href="/type/InputUser">InputUser</a></td>
<td>Bot that owns the <a href="/bots/webapps">web app</a></td>
<td>Bot that owns the <a href="/api/bots/webapps">web app</a></td>
</tr>
<tr>
<td><strong>url</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><a href="/bots/webapps">Web app URL</a></td>
<td><a href="/api/bots/webapps">Web app URL</a></td>
</tr>
<tr>
<td><strong>start_param</strong></td>
@ -130,9 +130,9 @@
<p>Terminate webview interaction started with <a href="/method/messages.requestWebView">messages.requestWebView</a>, sending the specified message to the chat on behalf of the user.</p>
<h4><a class="anchor" href="#bot-web-apps" id="bot-web-apps" name="bot-web-apps"><i class="anchor-icon"></i></a><a href="/api/bots/webapps">Bot web apps</a></h4>
<p>Bots can offer users interactive HTML5 web apps to completely replace any website.</p>
<h4><a class="anchor" href="#web-apps-for-bots" id="web-apps-for-bots" name="web-apps-for-bots"><i class="anchor-icon"></i></a><a href="/bots/webapps">Web Apps for Bots</a></h4>
<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="#web-apps-for-bots" id="web-apps-for-bots" name="web-apps-for-bots"><i class="anchor-icon"></i></a><a href="/bots/webapps">Web Apps for Bots</a></h4>
<h4><a class="anchor" href="#messagesprolongwebview" id="messagesprolongwebview" name="messagesprolongwebview"><i class="anchor-icon"></i></a><a href="/method/messages.prolongWebView">messages.prolongWebView</a></h4>
<p>Indicate to the server (from the user side) that the user is still using a web app.</p></div>

View file

@ -42,7 +42,7 @@
<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.sendWebViewData" >messages.sendWebViewData</a></li></ul></div>
<h1 id="dev_page_title">messages.sendWebViewData</h1>
<div id="dev_page_content"><p>Used by the user to relay data from an opened <a href="/bots/webapps">reply keyboard bot web app</a> to the bot that owns it.</p>
<div id="dev_page_content"><p>Used by the user to relay data from an opened <a href="/api/bots/webapps">reply keyboard bot web app</a> to the bot that owns it.</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">
@ -100,11 +100,12 @@
<p><a href="/type/Updates">Updates</a></p>
<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="#keyboardbuttonsimplewebview" id="keyboardbuttonsimplewebview" name="keyboardbuttonsimplewebview"><i class="anchor-icon"></i></a><a href="/constructor/keyboardButtonSimpleWebView">keyboardButtonSimpleWebView</a></h4>
<p>Button to open a <a href="/bots/webapps">bot web app</a> using <a href="/method/messages.requestSimpleWebView">messages.requestSimpleWebView</a>, without sending user information to the web app.</p>
<p>Button to open a <a href="/api/bots/webapps">bot web app</a> using <a href="/method/messages.requestSimpleWebView">messages.requestSimpleWebView</a>, without sending user information to the web app.</p>
<p>Can only be sent or received as part of a reply keyboard, use <a href="/constructor/keyboardButtonWebView">keyboardButtonWebView</a> for inline keyboards.</p>
<h4><a class="anchor" href="#web-events" id="web-events" name="web-events"><i class="anchor-icon"></i></a><a href="/api/web-events">Web events</a></h4>
<p>How telegram apps interact with webpages</p>
<h4><a class="anchor" href="#web-apps-for-bots" id="web-apps-for-bots" name="web-apps-for-bots"><i class="anchor-icon"></i></a><a href="/bots/webapps">Web Apps for Bots</a></h4></div>
<h4><a class="anchor" href="#bot-web-apps" id="bot-web-apps" name="bot-web-apps"><i class="anchor-icon"></i></a><a href="/api/bots/webapps">Bot web apps</a></h4>
<p>Bots can offer users interactive HTML5 web apps to completely replace any website.</p></div>
</div>

View file

@ -42,7 +42,7 @@
<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.toggleBotInAttachMenu" >messages.toggleBotInAttachMenu</a></li></ul></div>
<h1 id="dev_page_title">messages.toggleBotInAttachMenu</h1>
<div id="dev_page_content"><p>Enable or disable <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">web bot attachment menu »</a></p>
<div id="dev_page_content"><p>Enable or disable <a href="/api/bots/attach">web bot attachment menu »</a></p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">
@ -84,7 +84,7 @@
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/Bool">Bool</a></p>
<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="#web-apps-for-bots" id="web-apps-for-bots" name="web-apps-for-bots"><i class="anchor-icon"></i></a><a href="/bots/webapps">Web Apps for Bots</a></h4></div>
<h4><a class="anchor" href="#attach" id="attach" name="attach"><i class="anchor-icon"></i></a><a href="/api/bots/attach">Attach</a></h4></div>
</div>

View file

@ -42,7 +42,7 @@
<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/payments.exportInvoice" >payments.exportInvoice</a></li></ul></div>
<h1 id="dev_page_title">payments.exportInvoice</h1>
<div id="dev_page_content"><p>Generate <a href="/api/links#invoice-links">invoice deep link</a></p>
<div id="dev_page_content"><p>Generate an <a href="/api/links#invoice-links">invoice deep link</a></p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">

View file

@ -1171,7 +1171,7 @@
</tr>
<tr>
<td><a href="/method/messages.requestSimpleWebView">messages.requestSimpleWebView</a></td>
<td>Open a <a href="/bots/webapps">bot web app</a>.</td>
<td>Open a <a href="/api/bots/webapps">bot web app</a>.</td>
</tr>
<tr>
<td><a href="/method/messages.sendWebViewResultMessage">messages.sendWebViewResultMessage</a></td>
@ -1179,7 +1179,7 @@
</tr>
<tr>
<td><a href="/method/messages.sendWebViewData">messages.sendWebViewData</a></td>
<td>Used by the user to relay data from an opened <a href="/bots/webapps">reply keyboard bot web app</a> to the bot that owns it.</td>
<td>Used by the user to relay data from an opened <a href="/api/bots/webapps">reply keyboard bot web app</a> to the bot that owns it.</td>
</tr>
</tbody>
</table>
@ -2096,7 +2096,7 @@
</tr>
<tr>
<td><a href="/method/payments.exportInvoice">payments.exportInvoice</a></td>
<td>Generate <a href="/api/links#invoice-links">invoice deep link</a></td>
<td>Generate an <a href="/api/links#invoice-links">invoice deep link</a></td>
</tr>
</tbody>
</table>
@ -2345,15 +2345,15 @@
<tbody>
<tr>
<td><a href="/method/messages.getAttachMenuBots">messages.getAttachMenuBots</a></td>
<td>Returns installed attachment menu <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">bot web apps »</a></td>
<td>Returns installed attachment menu <a href="/api/bots/attach">bot web apps »</a></td>
</tr>
<tr>
<td><a href="/method/messages.getAttachMenuBot">messages.getAttachMenuBot</a></td>
<td>Returns attachment menu entry for a <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">bot web app that can be launched from the attachment menu »</a></td>
<td>Returns attachment menu entry for a <a href="/api/bots/attach">bot web app that can be launched from the attachment menu »</a></td>
</tr>
<tr>
<td><a href="/method/messages.toggleBotInAttachMenu">messages.toggleBotInAttachMenu</a></td>
<td>Enable or disable <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">web bot attachment menu »</a></td>
<td>Enable or disable <a href="/api/bots/attach">web bot attachment menu »</a></td>
</tr>
</tbody>
</table>

View file

@ -67,7 +67,7 @@
<tbody>
<tr>
<td><a href="/constructor/attachMenuBot">attachMenuBot</a></td>
<td>Represents a <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">bot web app that can be launched from the attachment menu »</a></td>
<td>Represents a <a href="/api/bots/attach">bot web app that can be launched from the attachment menu »</a></td>
</tr>
</tbody>
</table>

View file

@ -67,7 +67,7 @@
<tbody>
<tr>
<td><a href="/constructor/attachMenuBotIcon">attachMenuBotIcon</a></td>
<td>Represents an attachment menu icon for <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">bot web apps »</a></td>
<td>Represents an attachment menu icon for <a href="/api/bots/attach">bot web apps »</a></td>
</tr>
</tbody>
</table>

View file

@ -67,7 +67,7 @@
<tbody>
<tr>
<td><a href="/constructor/attachMenuBotIconColor">attachMenuBotIconColor</a></td>
<td>Represents an attachment menu icon color for <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">bot web apps »</a></td>
<td>Represents an attachment menu icon color for <a href="/api/bots/attach">bot web apps »</a></td>
</tr>
</tbody>
</table>

View file

@ -76,7 +76,7 @@
</tr>
<tr>
<td><a href="/constructor/attachMenuBots">attachMenuBots</a></td>
<td>Represents a list of <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">bot web apps that can be launched from the attachment menu »</a></td>
<td>Represents a list of <a href="/api/bots/attach">bot web apps that can be launched from the attachment menu »</a></td>
</tr>
</tbody>
</table>
@ -91,7 +91,7 @@
<tbody>
<tr>
<td><a href="/method/messages.getAttachMenuBots">messages.getAttachMenuBots</a></td>
<td>Returns installed attachment menu <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">bot web apps »</a></td>
<td>Returns installed attachment menu <a href="/api/bots/attach">bot web apps »</a></td>
</tr>
</tbody>
</table>

View file

@ -71,7 +71,7 @@
<tbody>
<tr>
<td><a href="/constructor/attachMenuBotsBot">attachMenuBotsBot</a></td>
<td>Represents a <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">bot web app that can be launched from the attachment menu »</a></td>
<td>Represents a <a href="/api/bots/attach">bot web app that can be launched from the attachment menu »</a></td>
</tr>
</tbody>
</table>
@ -86,7 +86,7 @@
<tbody>
<tr>
<td><a href="/method/messages.getAttachMenuBot">messages.getAttachMenuBot</a></td>
<td>Returns attachment menu entry for a <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">bot web app that can be launched from the attachment menu »</a></td>
<td>Returns attachment menu entry for a <a href="/api/bots/attach">bot web app that can be launched from the attachment menu »</a></td>
</tr>
</tbody>
</table>

View file

@ -664,7 +664,7 @@
</tr>
<tr>
<td><a href="/method/messages.toggleBotInAttachMenu">messages.toggleBotInAttachMenu</a></td>
<td>Enable or disable <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">web bot attachment menu »</a></td>
<td>Enable or disable <a href="/api/bots/attach">web bot attachment menu »</a></td>
</tr>
<tr>
<td><a href="/method/messages.prolongWebView">messages.prolongWebView</a></td>

View file

@ -81,7 +81,7 @@
</tr>
<tr>
<td><a href="/constructor/botMenuButton">botMenuButton</a></td>
<td><a href="/api/bots/menu">Bot menu button</a> that opens a <a href="/bots/webapps#launching-web-apps-from-the-menu-button">web app</a> when clicked.</td>
<td><a href="/api/bots/menu">Bot menu button</a> that opens a <a href="/api/bots/webapps">web app</a> when clicked.</td>
</tr>
</tbody>
</table>

View file

@ -133,11 +133,11 @@
</tr>
<tr>
<td><a href="/constructor/keyboardButtonWebView">keyboardButtonWebView</a></td>
<td>Button to open a <a href="/bots/webapps">bot web app</a> using <a href="/method/messages.requestWebView">messages.requestWebView</a>, sending over user information after user confirmation.<br><br>Can only be sent or received as part of an inline keyboard, use <a href="/constructor/keyboardButtonSimpleWebView">keyboardButtonSimpleWebView</a> for reply keyboards.</td>
<td>Button to open a <a href="/api/bots/webapps">bot web app</a> using <a href="/method/messages.requestWebView">messages.requestWebView</a>, sending over user information after user confirmation.<br><br>Can only be sent or received as part of an inline keyboard, use <a href="/constructor/keyboardButtonSimpleWebView">keyboardButtonSimpleWebView</a> for reply keyboards.</td>
</tr>
<tr>
<td><a href="/constructor/keyboardButtonSimpleWebView">keyboardButtonSimpleWebView</a></td>
<td>Button to open a <a href="/bots/webapps">bot web app</a> using <a href="/method/messages.requestSimpleWebView">messages.requestSimpleWebView</a>, without sending user information to the web app.<br><br>Can only be sent or received as part of a reply keyboard, use <a href="/constructor/keyboardButtonWebView">keyboardButtonWebView</a> for inline keyboards.</td>
<td>Button to open a <a href="/api/bots/webapps">bot web app</a> using <a href="/method/messages.requestSimpleWebView">messages.requestSimpleWebView</a>, without sending user information to the web app.<br><br>Can only be sent or received as part of a reply keyboard, use <a href="/constructor/keyboardButtonWebView">keyboardButtonWebView</a> for inline keyboards.</td>
</tr>
</tbody>
</table></div>

View file

@ -219,11 +219,11 @@
</tr>
<tr>
<td><a href="/constructor/messageActionWebViewDataSentMe">messageActionWebViewDataSentMe</a></td>
<td>Data from an opened <a href="/bots/webapps">reply keyboard bot web app</a> was relayed to the bot that owns it (bot side service message).</td>
<td>Data from an opened <a href="/api/bots/webapps">reply keyboard bot web app</a> was relayed to the bot that owns it (bot side service message).</td>
</tr>
<tr>
<td><a href="/constructor/messageActionWebViewDataSent">messageActionWebViewDataSent</a></td>
<td>Data from an opened <a href="/bots/webapps">reply keyboard bot web app</a> was relayed to the bot that owns it (user side service message).</td>
<td>Data from an opened <a href="/api/bots/webapps">reply keyboard bot web app</a> was relayed to the bot that owns it (user side service message).</td>
</tr>
<tr>
<td><a href="/constructor/messageActionGiftPremium">messageActionGiftPremium</a></td>

View file

@ -86,7 +86,7 @@
<tbody>
<tr>
<td><a href="/method/messages.requestSimpleWebView">messages.requestSimpleWebView</a></td>
<td>Open a <a href="/bots/webapps">bot web app</a>.</td>
<td>Open a <a href="/api/bots/webapps">bot web app</a>.</td>
</tr>
</tbody>
</table></div>

View file

@ -552,7 +552,7 @@
</tr>
<tr>
<td><a href="/constructor/updateAttachMenuBots">updateAttachMenuBots</a></td>
<td>The list of added <a href="/bots/webapps#launching-web-apps-from-the-attachment-menu">bot web apps »</a> has changed, use <a href="/method/messages.getAttachMenuBots">messages.getAttachMenuBots</a> to fetch the updated list.</td>
<td>The list of added <a href="/api/bots/attach">bot web apps »</a> has changed, use <a href="/method/messages.getAttachMenuBots">messages.getAttachMenuBots</a> to fetch the updated list.</td>
</tr>
<tr>
<td><a href="/constructor/updateWebViewResultSent">updateWebViewResultSent</a></td>

View file

@ -477,7 +477,7 @@
</tr>
<tr>
<td><a href="/method/messages.sendWebViewData">messages.sendWebViewData</a></td>
<td>Used by the user to relay data from an opened <a href="/bots/webapps">reply keyboard bot web app</a> to the bot that owns it.</td>
<td>Used by the user to relay data from an opened <a href="/api/bots/webapps">reply keyboard bot web app</a> to the bot that owns it.</td>
</tr>
<tr>
<td><a href="/method/channels.toggleJoinToSend">channels.toggleJoinToSend</a></td>

View file

@ -86,7 +86,7 @@
<tbody>
<tr>
<td><a href="/method/payments.exportInvoice">payments.exportInvoice</a></td>
<td>Generate <a href="/api/links#invoice-links">invoice deep link</a></td>
<td>Generate an <a href="/api/links#invoice-links">invoice deep link</a></td>
</tr>
</tbody>
</table></div>