Update content of files

This commit is contained in:
GitHub Action 2022-08-13 18:11:57 +00:00
parent bed28b94db
commit 0b1c8afc07
18 changed files with 129 additions and 468 deletions

View file

@ -243,11 +243,11 @@ Layer…">
<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.requestWebView">messages.requestWebView</a> - </li>
<li>Added <a href="/method/messages.prolongWebView">messages.prolongWebView</a> - </li>
<li>Added <a href="/method/messages.requestSimpleWebView">messages.requestSimpleWebView</a> - </li>
<li>Added <a href="/method/messages.sendWebViewResultMessage">messages.sendWebViewResultMessage</a> - </li>
<li>Added <a href="/method/messages.sendWebViewData">messages.sendWebViewData</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.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/bots.setBotMenuButton">bots.setBotMenuButton</a> - Sets the menu button action 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>
@ -273,18 +273,18 @@ Layer…">
<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/webViewResultUrl">webViewResultUrl</a> - </li>
<li>Added <a href="/constructor/simpleWebViewResultUrl">simpleWebViewResultUrl</a> - </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> - </li>
<li>Added <a href="/constructor/updateWebViewResultSent">updateWebViewResultSent</a> - </li>
<li>Added <a href="/constructor/keyboardButtonWebView">keyboardButtonWebView</a> - </li>
<li>Added <a href="/constructor/keyboardButtonSimpleWebView">keyboardButtonSimpleWebView</a> - </li>
<li>Added <a href="/constructor/messageActionWebViewDataSentMe">messageActionWebViewDataSentMe</a> - </li>
<li>Added <a href="/constructor/messageActionWebViewDataSent">messageActionWebViewDataSent</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/updateBotMenuButton">updateBotMenuButton</a> - The menu button behavior for the specified bot has changed</li>
<li>Added <a href="/constructor/botMenuButtonDefault">botMenuButtonDefault</a> - </li>
<li>Added <a href="/constructor/botMenuButtonCommands">botMenuButtonCommands</a> - </li>
<li>Added <a href="/constructor/botMenuButton">botMenuButton</a> - Indicates the action to execute when pressing the in-UI menu button for bots</li>
<li>Added <a href="/constructor/botMenuButton">botMenuButton</a> - 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</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

@ -1,118 +0,0 @@
<!DOCTYPE html>
<html class="">
<head>
<meta charset="utf-8">
<title>Page not found</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="og:image" content="">
<meta property="og:description" content="">
<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">
<link rel="icon" type="image/png" sizes="16x16" href="/img/favicon-16x16.png">
<link rel="alternate icon" href="/img/favicon.ico" type="image/x-icon" />
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
<link href="/css/telegram.css?231" rel="stylesheet" media="screen">
<style>
</style>
</head>
<body class="preload">
<div class="dev_page_wrap">
<div class="dev_page_head navbar navbar-static-top navbar-tg">
<div class="navbar-inner">
<div class="container clearfix">
<ul class="nav navbar-nav navbar-right hidden-xs"><li class="navbar-twitter"><a href="https://twitter.com/telegram" target="_blank" data-track="Follow/Twitter" onclick="trackDlClick(this, event)"><i class="icon icon-twitter"></i><span> Twitter</span></a></li></ul>
<ul class="nav navbar-nav">
<li><a href="//telegram.org/">Home</a></li>
<li class="hidden-xs"><a href="//telegram.org/faq">FAQ</a></li>
<li class="hidden-xs"><a href="//telegram.org/apps">Apps</a></li>
<li class=""><a href="/api">API</a></li>
<li class=""><a href="/mtproto">Protocol</a></li>
<li class=""><a href="/schema">Schema</a></li>
</ul>
</div>
</div>
</div>
<div class="container clearfix">
<div class="dev_page">
<div id="dev_page_content_wrap" class=" ">
<div class="dev_page_bread_crumbs"></div>
<h1 id="dev_page_title">Page not found</h1>
<div id="dev_page_content">The page has not been saved</div>
</div>
</div>
</div>
<div class="footer_wrap">
<div class="footer_columns_wrap footer_desktop">
<div class="footer_column footer_column_telegram">
<h5>Telegram</h5>
<div class="footer_telegram_description"></div>
Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed.
</div>
<div class="footer_column">
<h5><a href="//telegram.org/faq">About</a></h5>
<ul>
<li><a href="//telegram.org/faq">FAQ</a></li>
<li><a href="//telegram.org/blog">Blog</a></li>
<li><a href="//telegram.org/jobs">Jobs</a></li>
</ul>
</div>
<div class="footer_column">
<h5><a href="//telegram.org/apps#mobile-apps">Mobile Apps</a></h5>
<ul>
<li><a href="//telegram.org/dl/ios">iPhone/iPad</a></li>
<li><a href="//telegram.org/dl/android">Android</a></li>
<li><a href="//telegram.org/dl/wp">Windows Phone</a></li>
</ul>
</div>
<div class="footer_column">
<h5><a href="//telegram.org/apps#desktop-apps">Desktop Apps</a></h5>
<ul>
<li><a href="//desktop.telegram.org/">PC/Mac/Linux</a></li>
<li><a href="//macos.telegram.org/">macOS</a></li>
<li><a href="//telegram.org/dl/web">Web-browser</a></li>
</ul>
</div>
<div class="footer_column footer_column_platform">
<h5><a href="//core.telegram.org/">Platform</a></h5>
<ul>
<li><a href="//core.telegram.org/api">API</a></li>
<li><a href="//translations.telegram.org/">Translations</a></li>
<li><a href="//instantview.telegram.org/">Instant View</a></li>
</ul>
</div>
</div>
<div class="footer_columns_wrap footer_mobile">
<div class="footer_column">
<h5><a href="//telegram.org/faq">About</a></h5>
</div>
<div class="footer_column">
<h5><a href="//telegram.org/blog">Blog</a></h5>
</div>
<div class="footer_column">
<h5><a href="//telegram.org/apps">Apps</a></h5>
</div>
<div class="footer_column">
<h5><a href="//core.telegram.org/">Platform</a></h5>
</div>
<div class="footer_column">
<h5><a href="https://twitter.com/telegram" target="_blank" data-track="Follow/Twitter" onclick="trackDlClick(this, event)">Twitter</a></h5>
</div>
</div>
</div>
</div>
<script src="/js/main.js?46"></script>
<script>backToTopInit("Go up");
removePreloadInit();
</script>
</body>
</html>

View file

@ -85,7 +85,7 @@
<p>Look for updates of telegram's terms of service</p>
<h4><a class="anchor" href="#accountdeleteaccount" id="accountdeleteaccount" name="accountdeleteaccount"><i class="anchor-icon"></i></a><a href="/method/account.deleteAccount">account.deleteAccount</a></h4>
<p>Delete the user's account from the telegram servers.</p>
<p>Can also be used to delete the account of a user that provided the login code, but forgot the 2FA password and no recovery method is configured, see <a href="/api/srp#password-recovery">here »</a> for more info in password recovery, and <a href="/api/account-deletion">here »</a> for more info on the account deletion flow.</p></div>
<p>Can also be used to delete the account of a user that provided the login code, but forgot the 2FA password and no recovery method is configured, see <a href="/api/srp#password-recovery">here »</a> for more info on password recovery, and <a href="/api/account-deletion">here »</a> for more info on account deletion.</p></div>
</div>

View file

@ -4,12 +4,10 @@
<meta charset="utf-8">
<title>keyboardButtonSimpleWebView</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Button to open a bot web app using messages.requestSimpleWebView, without sending user information to the web app.
Can only…">
<meta property="description" content="Button to open a bot web app using messages.requestSimpleWebView, without sending user information to the web app.">
<meta property="og:title" content="keyboardButtonSimpleWebView">
<meta property="og:image" content="">
<meta property="og:description" content="Button to open a bot web app using messages.requestSimpleWebView, without sending user information to the web app.
Can only…">
<meta property="og:description" content="Button to open a bot web app using messages.requestSimpleWebView, without sending user information to the web 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">
@ -44,8 +42,8 @@ Can only…">
<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>
<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 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>
<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">
<li class="dropdown">
@ -77,12 +75,19 @@ Can only…">
<tr>
<td><strong>url</strong></td>
<td style="text-align: center;"><a href="/type/string">string</a></td>
<td><a href="/bots/webapp">Web app URL</a></td>
<td><a href="/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></div>
<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="#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>
<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>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

@ -4,12 +4,10 @@
<meta charset="utf-8">
<title>keyboardButtonWebView</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Button to open a bot web app using messages.requestWebView, sending over user information after user confirmation.
Can only…">
<meta property="description" content="Button to open a bot web app using messages.requestWebView, sending over user information after user confirmation.">
<meta property="og:title" content="keyboardButtonWebView">
<meta property="og:image" content="">
<meta property="og:description" content="Button to open a bot web app using messages.requestWebView, sending over user information after user confirmation.
Can only…">
<meta property="og:description" content="Button to open a bot web app using messages.requestWebView, sending over user information after user confirmation.">
<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">
@ -44,8 +42,8 @@ Can only…">
<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>
<p>Can only be sent or received as part of an inline keyboard, use <a href="/constructor/keyboardButtonWebViewSimple">keyboardButtonWebViewSimple</a> for reply keyboards. </p>
<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>
<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">
<li class="dropdown">
@ -82,7 +80,15 @@ Can only…">
</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></div>
<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="#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>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

@ -1,118 +0,0 @@
<!DOCTYPE html>
<html class="">
<head>
<meta charset="utf-8">
<title>Page not found</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="og:image" content="">
<meta property="og:description" content="">
<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">
<link rel="icon" type="image/png" sizes="16x16" href="/img/favicon-16x16.png">
<link rel="alternate icon" href="/img/favicon.ico" type="image/x-icon" />
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
<link href="/css/telegram.css?231" rel="stylesheet" media="screen">
<style>
</style>
</head>
<body class="preload">
<div class="dev_page_wrap">
<div class="dev_page_head navbar navbar-static-top navbar-tg">
<div class="navbar-inner">
<div class="container clearfix">
<ul class="nav navbar-nav navbar-right hidden-xs"><li class="navbar-twitter"><a href="https://twitter.com/telegram" target="_blank" data-track="Follow/Twitter" onclick="trackDlClick(this, event)"><i class="icon icon-twitter"></i><span> Twitter</span></a></li></ul>
<ul class="nav navbar-nav">
<li><a href="//telegram.org/">Home</a></li>
<li class="hidden-xs"><a href="//telegram.org/faq">FAQ</a></li>
<li class="hidden-xs"><a href="//telegram.org/apps">Apps</a></li>
<li class=""><a href="/api">API</a></li>
<li class=""><a href="/mtproto">Protocol</a></li>
<li class="active"><a href="/schema">Schema</a></li>
</ul>
</div>
</div>
</div>
<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><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li></li></ul></div>
<h1 id="dev_page_title">Page not found</h1>
<div id="dev_page_content">The page has not been saved</div>
</div>
</div>
</div>
<div class="footer_wrap">
<div class="footer_columns_wrap footer_desktop">
<div class="footer_column footer_column_telegram">
<h5>Telegram</h5>
<div class="footer_telegram_description"></div>
Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed.
</div>
<div class="footer_column">
<h5><a href="//telegram.org/faq">About</a></h5>
<ul>
<li><a href="//telegram.org/faq">FAQ</a></li>
<li><a href="//telegram.org/blog">Blog</a></li>
<li><a href="//telegram.org/jobs">Jobs</a></li>
</ul>
</div>
<div class="footer_column">
<h5><a href="//telegram.org/apps#mobile-apps">Mobile Apps</a></h5>
<ul>
<li><a href="//telegram.org/dl/ios">iPhone/iPad</a></li>
<li><a href="//telegram.org/dl/android">Android</a></li>
<li><a href="//telegram.org/dl/wp">Windows Phone</a></li>
</ul>
</div>
<div class="footer_column">
<h5><a href="//telegram.org/apps#desktop-apps">Desktop Apps</a></h5>
<ul>
<li><a href="//desktop.telegram.org/">PC/Mac/Linux</a></li>
<li><a href="//macos.telegram.org/">macOS</a></li>
<li><a href="//telegram.org/dl/web">Web-browser</a></li>
</ul>
</div>
<div class="footer_column footer_column_platform">
<h5><a href="//core.telegram.org/">Platform</a></h5>
<ul>
<li><a href="//core.telegram.org/api">API</a></li>
<li><a href="//translations.telegram.org/">Translations</a></li>
<li><a href="//instantview.telegram.org/">Instant View</a></li>
</ul>
</div>
</div>
<div class="footer_columns_wrap footer_mobile">
<div class="footer_column">
<h5><a href="//telegram.org/faq">About</a></h5>
</div>
<div class="footer_column">
<h5><a href="//telegram.org/blog">Blog</a></h5>
</div>
<div class="footer_column">
<h5><a href="//telegram.org/apps">Apps</a></h5>
</div>
<div class="footer_column">
<h5><a href="//core.telegram.org/">Platform</a></h5>
</div>
<div class="footer_column">
<h5><a href="https://twitter.com/telegram" target="_blank" data-track="Follow/Twitter" onclick="trackDlClick(this, event)">Twitter</a></h5>
</div>
</div>
</div>
</div>
<script src="/js/main.js?46"></script>
<script>backToTopInit("Go up");
removePreloadInit();
</script>
</body>
</html>

View file

@ -4,26 +4,10 @@
<meta charset="utf-8">
<title>simpleWebViewResultUrl</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters
Name
Type
Description
url
string
 
Type
SimpleWebViewResult">
<meta property="description" content="Contains the webview URL with appropriate theme parameters added">
<meta property="og:title" content="simpleWebViewResultUrl">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
Name
Type
Description
url
string
 
Type
SimpleWebViewResult">
<meta property="og:description" content="Contains the webview URL with appropriate theme parameters added">
<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">
@ -58,7 +42,8 @@ SimpleWebViewResult">
<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/simpleWebViewResultUrl" >simpleWebViewResultUrl</a></li></ul></div>
<h1 id="dev_page_title">simpleWebViewResultUrl</h1>
<div id="dev_page_content"><p><div class="clearfix">
<div id="dev_page_content"><p>Contains the webview URL with appropriate theme parameters added</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 144 <b class="caret"></b></a>
@ -84,7 +69,7 @@ SimpleWebViewResult">
<tr>
<td><strong>url</strong></td>
<td style="text-align: center;"><a href="/type/string">string</a></td>
<td> </td>
<td>URL</td>
</tr>
</tbody>
</table>

View file

@ -4,32 +4,10 @@
<meta charset="utf-8">
<title>webViewResultUrl</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters
Name
Type
Description
query_id
long
 
url
string
 
Type
WebViewResult">
<meta property="description" content="Contains the webview URL with appropriate theme and user info parameters added">
<meta property="og:title" content="webViewResultUrl">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
Name
Type
Description
query_id
long
 
url
string
 
Type
WebViewResult">
<meta property="og:description" content="Contains the webview URL with appropriate theme and user info parameters added">
<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">
@ -64,7 +42,8 @@ WebViewResult">
<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/webViewResultUrl" >webViewResultUrl</a></li></ul></div>
<h1 id="dev_page_title">webViewResultUrl</h1>
<div id="dev_page_content"><p><div class="clearfix">
<div id="dev_page_content"><p>Contains the webview URL with appropriate theme and user info parameters added</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 144 <b class="caret"></b></a>
@ -90,12 +69,12 @@ WebViewResult">
<tr>
<td><strong>query_id</strong></td>
<td style="text-align: center;"><a href="/type/long">long</a></td>
<td> </td>
<td>Webview session ID</td>
</tr>
<tr>
<td><strong>url</strong></td>
<td style="text-align: center;"><a href="/type/string">string</a></td>
<td> </td>
<td>Webview URL to open</td>
</tr>
</tbody>
</table>

View file

@ -4,38 +4,10 @@
<meta charset="utf-8">
<title>messages.prolongWebView</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
silent
flags.5?true
 
peer
InputPeer
 
bot
InputUser…">
<meta property="description" content="Indicate to the server (from the user side) that the user is still using a web app.">
<meta property="og:title" content="messages.prolongWebView">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
Name
Type
Description
flags
#
Flags, see TL conditional fields
silent
flags.5?true
 
peer
InputPeer
 
bot
InputUser…">
<meta property="og:description" content="Indicate to the server (from the user side) that the user is still using a web 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.prolongWebView" >messages.prolongWebView</a></li></ul></div>
<h1 id="dev_page_title">messages.prolongWebView</h1>
<div id="dev_page_content"><p><div class="clearfix">
<div id="dev_page_content"><p>Indicate to the server (from the user side) that the user is still using a web app.</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 144 <b class="caret"></b></a>
@ -104,37 +77,44 @@ InputUser…">
<tr>
<td><strong>silent</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.5?<a href="/constructor/true">true</a></td>
<td> </td>
<td>Whether the inline message that will be sent by the bot on behalf of the user once the web app interaction is <a href="/method/messages.sendWebViewResultMessage">terminated</a> should be sent silently (no notifications for the receivers).</td>
</tr>
<tr>
<td><strong>peer</strong></td>
<td style="text-align: center;"><a href="/type/InputPeer">InputPeer</a></td>
<td> </td>
<td>Dialog where the web app was opened.</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 <a href="/bots/webapps">web app</a></td>
</tr>
<tr>
<td><strong>query_id</strong></td>
<td style="text-align: center;"><a href="/type/long">long</a></td>
<td> </td>
<td>Web app interaction ID obtained from <a href="/method/messages.requestWebView">messages.requestWebView</a></td>
</tr>
<tr>
<td><strong>reply_to_msg_id</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> </td>
<td>Whether the inline message that will be sent by the bot on behalf of the user once the web app interaction is <a href="/method/messages.sendWebViewResultMessage">terminated</a> should be sent in reply to this message ID.</td>
</tr>
<tr>
<td><strong>send_as</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.13?<a href="/type/InputPeer">InputPeer</a></td>
<td> </td>
<td>Open the web app as the specified peer</td>
</tr>
</tbody>
</table>
<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></div>
<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="#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="#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>
</div>

View file

@ -4,38 +4,10 @@
<meta charset="utf-8">
<title>messages.requestSimpleWebView</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
bot
InputUser
 
url
string
 
theme_params
flags.0?DataJSON…">
<meta property="description" content="Open a bot web app.">
<meta property="og:title" content="messages.requestSimpleWebView">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
Name
Type
Description
flags
#
Flags, see TL conditional fields
bot
InputUser
 
url
string
 
theme_params
flags.0?DataJSON…">
<meta property="og:description" content="Open a bot web 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 @@ flags.0?DataJSON…">
<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><div class="clearfix">
<div id="dev_page_content"><p>Open a <a href="/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">
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 144 <b class="caret"></b></a>
@ -103,22 +76,24 @@ flags.0?DataJSON…">
<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 webapp</td>
</tr>
<tr>
<td><strong>url</strong></td>
<td style="text-align: center;"><a href="/type/string">string</a></td>
<td> </td>
<td>Web app URL</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>Theme parameters</td>
</tr>
</tbody>
</table>
<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></div>
<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>
</div>

View file

@ -4,32 +4,10 @@
<meta charset="utf-8">
<title>messages.requestWebView</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
from_bot_menu
flags.4?true
 
silent
flags.5?true…">
<meta property="description" content="Open a bot web app, sending over user information after user confirmation.">
<meta property="og:title" content="messages.requestWebView">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
Name
Type
Description
flags
#
Flags, see TL conditional fields
from_bot_menu
flags.4?true
 
silent
flags.5?true…">
<meta property="og:description" content="Open a bot web app, sending over user information after user confirmation.">
<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">
@ -64,7 +42,9 @@ flags.5?true…">
<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.requestWebView" >messages.requestWebView</a></li></ul></div>
<h1 id="dev_page_title">messages.requestWebView</h1>
<div id="dev_page_content"><p><div class="clearfix">
<div id="dev_page_content"><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>
<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 144 <b class="caret"></b></a>
@ -97,52 +77,58 @@ flags.5?true…">
<tr>
<td><strong>from_bot_menu</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.4?<a href="/constructor/true">true</a></td>
<td> </td>
<td>Whether the webview was opened after clicking on the bot's menu button.</td>
</tr>
<tr>
<td><strong>silent</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.5?<a href="/constructor/true">true</a></td>
<td> </td>
<td>Whether the inline message that will be sent by the bot on behalf of the user once the web app interaction is <a href="/method/messages.sendWebViewResultMessage">terminated</a> should be sent silently (no notifications for the receivers).</td>
</tr>
<tr>
<td><strong>peer</strong></td>
<td style="text-align: center;"><a href="/type/InputPeer">InputPeer</a></td>
<td> </td>
<td>Dialog where the web app is being opened</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 <a href="/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> </td>
<td><a href="/bots/webapps">Web app URL</a></td>
</tr>
<tr>
<td><strong>start_param</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.3?<a href="/type/string">string</a></td>
<td> </td>
<td>If the web app was opened from the attachment menu using a <code>https://t.me/username?attach=botusername&amp;startattach=data</code> or <code>https://t.me/botusername?startattach=data</code> link, <code>start_param</code> should contain the <code>data</code> from the <code>startattach</code> parameter.</td>
</tr>
<tr>
<td><strong>theme_params</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.2?<a href="/type/DataJSON">DataJSON</a></td>
<td> </td>
<td>Theme parameters for the web app</td>
</tr>
<tr>
<td><strong>reply_to_msg_id</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> </td>
<td>Whether the inline message that will be sent by the bot on behalf of the user once the web app interaction is <a href="/method/messages.sendWebViewResultMessage">terminated</a> should be sent in reply to this message ID.</td>
</tr>
<tr>
<td><strong>send_as</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.13?<a href="/type/InputPeer">InputPeer</a></td>
<td> </td>
<td>Open the web app as the specified peer</td>
</tr>
</tbody>
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/WebViewResult">WebViewResult</a></p></div>
<p><a href="/type/WebViewResult">WebViewResult</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="#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="#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>
</div>

View file

@ -4,34 +4,10 @@
<meta charset="utf-8">
<title>messages.sendWebViewResultMessage</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters
Name
Type
Description
bot_query_id
string
 
result
InputBotInlineResult
 
Result
WebViewMessageSent
Possible…">
<meta property="description" content="Terminate webview interaction started with messages.requestWebView, sending the specified message to the chat on behalf of the user.">
<meta property="og:title" content="messages.sendWebViewResultMessage">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
Name
Type
Description
bot_query_id
string
 
result
InputBotInlineResult
 
Result
WebViewMessageSent
Possible…">
<meta property="og:description" content="Terminate webview interaction started with messages.requestWebView, sending the specified message to the chat on behalf of the user.">
<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">
@ -66,7 +42,8 @@ Possible…">
<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.sendWebViewResultMessage" >messages.sendWebViewResultMessage</a></li></ul></div>
<h1 id="dev_page_title">messages.sendWebViewResultMessage</h1>
<div id="dev_page_content"><p><div class="clearfix">
<div id="dev_page_content"><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>
<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 144 <b class="caret"></b></a>
@ -94,12 +71,12 @@ Possible…">
<tr>
<td><strong>bot_query_id</strong></td>
<td style="text-align: center;"><a href="/type/string">string</a></td>
<td> </td>
<td>Webview interaction ID obtained from <a href="/method/messages.requestWebView">messages.requestWebView</a></td>
</tr>
<tr>
<td><strong>result</strong></td>
<td style="text-align: center;"><a href="/type/InputBotInlineResult">InputBotInlineResult</a></td>
<td> </td>
<td>Message to send</td>
</tr>
</tbody>
</table>
@ -122,7 +99,11 @@ Possible…">
</tr>
</tbody>
</table>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3>
<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="#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>
</div>

View file

@ -1105,19 +1105,19 @@
<tbody>
<tr>
<td><a href="/method/messages.requestWebView">messages.requestWebView</a></td>
<td> </td>
<td>Open a <a href="/bots/webapps">bot web app</a>, sending over user information after user confirmation.<br><br>After calling this method, until the user closes the webview, <a href="/method/messages.prolongWebView">messages.prolongWebView</a> must be called every 60 seconds.</td>
</tr>
<tr>
<td><a href="/method/messages.prolongWebView">messages.prolongWebView</a></td>
<td> </td>
<td>Indicate to the server (from the user side) that the user is still using a web app.</td>
</tr>
<tr>
<td><a href="/method/messages.requestSimpleWebView">messages.requestSimpleWebView</a></td>
<td> </td>
<td>Open a <a href="/bots/webapps">bot web app</a>.</td>
</tr>
<tr>
<td><a href="/method/messages.sendWebViewResultMessage">messages.sendWebViewResultMessage</a></td>
<td> </td>
<td>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.</td>
</tr>
<tr>
<td><a href="/method/messages.sendWebViewData">messages.sendWebViewData</a></td>
@ -2341,7 +2341,7 @@
</tr>
<tr>
<td><a href="/method/account.deleteAccount">account.deleteAccount</a></td>
<td>Delete the user's account from the telegram servers.<br><br>Can also be used to delete the account of a user that provided the login code, but forgot the 2FA password and no recovery method is configured, see <a href="/api/srp#password-recovery">here »</a> for more info in password recovery, and <a href="/api/account-deletion">here »</a> for more info on the account deletion flow.</td>
<td>Delete the user's account from the telegram servers.<br><br>Can also be used to delete the account of a user that provided the login code, but forgot the 2FA password and no recovery method is configured, see <a href="/api/srp#password-recovery">here »</a> for more info on password recovery, and <a href="/api/account-deletion">here »</a> for more info on account deletion.</td>
</tr>
<tr>
<td><a href="/method/account.getAccountTTL">account.getAccountTTL</a></td>

View file

@ -668,7 +668,7 @@
</tr>
<tr>
<td><a href="/method/messages.prolongWebView">messages.prolongWebView</a></td>
<td> </td>
<td>Indicate to the server (from the user side) that the user is still using a web app.</td>
</tr>
<tr>
<td><a href="/method/bots.setBotMenuButton">bots.setBotMenuButton</a></td>

View file

@ -133,11 +133,11 @@
</tr>
<tr>
<td><a href="/constructor/keyboardButtonWebView">keyboardButtonWebView</a></td>
<td> </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>
</tr>
<tr>
<td><a href="/constructor/keyboardButtonSimpleWebView">keyboardButtonSimpleWebView</a></td>
<td> </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>
</tr>
</tbody>
</table></div>

View file

@ -4,10 +4,10 @@
<meta charset="utf-8">
<title>SimpleWebViewResult</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Contains the webview URL with appropriate theme and user info parameters added">
<meta property="description" content="Contains the webview URL with appropriate theme parameters added">
<meta property="og:title" content="SimpleWebViewResult">
<meta property="og:image" content="">
<meta property="og:description" content="Contains the webview URL with appropriate theme and user info parameters added">
<meta property="og:description" content="Contains the webview URL with appropriate theme parameters added">
<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">
@ -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="/type/SimpleWebViewResult" >SimpleWebViewResult</a></li></ul></div>
<h1 id="dev_page_title">SimpleWebViewResult</h1>
<div id="dev_page_content"><p>Contains the webview URL with appropriate theme and user info parameters added</p>
<div id="dev_page_content"><p>Contains the webview URL with appropriate theme parameters added</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">
@ -71,7 +71,7 @@
<tbody>
<tr>
<td><a href="/constructor/simpleWebViewResultUrl">simpleWebViewResultUrl</a></td>
<td> </td>
<td>Contains the webview URL with appropriate theme parameters added</td>
</tr>
</tbody>
</table>
@ -86,7 +86,7 @@
<tbody>
<tr>
<td><a href="/method/messages.requestSimpleWebView">messages.requestSimpleWebView</a></td>
<td> </td>
<td>Open a <a href="/bots/webapps">bot web app</a>.</td>
</tr>
</tbody>
</table></div>

View file

@ -86,7 +86,7 @@
<tbody>
<tr>
<td><a href="/method/messages.sendWebViewResultMessage">messages.sendWebViewResultMessage</a></td>
<td> </td>
<td>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.</td>
</tr>
</tbody>
</table></div>

View file

@ -4,10 +4,10 @@
<meta charset="utf-8">
<title>WebViewResult</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Contains information about a Web App">
<meta property="description" content="Contains the webview URL with appropriate theme and user info parameters added">
<meta property="og:title" content="WebViewResult">
<meta property="og:image" content="">
<meta property="og:description" content="Contains information about a Web App">
<meta property="og:description" content="Contains the webview URL with appropriate theme and user info parameters added">
<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">
@ -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="/type/WebViewResult" >WebViewResult</a></li></ul></div>
<h1 id="dev_page_title">WebViewResult</h1>
<div id="dev_page_content"><p>Contains information about a <a href="https://core.telegram.org/bots/webapps">Web App</a></p>
<div id="dev_page_content"><p>Contains the webview URL with appropriate theme and user info parameters added</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">
@ -71,7 +71,7 @@
<tbody>
<tr>
<td><a href="/constructor/webViewResultUrl">webViewResultUrl</a></td>
<td> </td>
<td>Contains the webview URL with appropriate theme and user info parameters added</td>
</tr>
</tbody>
</table>
@ -86,7 +86,7 @@
<tbody>
<tr>
<td><a href="/method/messages.requestWebView">messages.requestWebView</a></td>
<td> </td>
<td>Open a <a href="/bots/webapps">bot web app</a>, sending over user information after user confirmation.<br><br>After calling this method, until the user closes the webview, <a href="/method/messages.prolongWebView">messages.prolongWebView</a> must be called every 60 seconds.</td>
</tr>
</tbody>
</table></div>