mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-11-28 19:23:11 +01:00
Update content of files
This commit is contained in:
parent
97099ed145
commit
c1a111c6b8
3 changed files with 6 additions and 6 deletions
|
@ -112,7 +112,7 @@ To add new dialogs to the saved dialog list, simply forward messages from any no
|
||||||
</ul>
|
</ul>
|
||||||
<p>Saving messages from private chats with users with forward privacy enabled will add them to a saved dialog entry of a special anonymous user with <code>id=2666000</code>. </p>
|
<p>Saving messages from private chats with users with forward privacy enabled will add them to a saved dialog entry of a special anonymous user with <code>id=2666000</code>. </p>
|
||||||
<p>Clients may use the following pseudocode to manually populate the <code>saved_peer_id</code> of old <code>layer < 170</code> <a href="/constructor/message">message</a>s stored in the <strong>local</strong> database. </p>
|
<p>Clients may use the following pseudocode to manually populate the <code>saved_peer_id</code> of old <code>layer < 170</code> <a href="/constructor/message">message</a>s stored in the <strong>local</strong> database. </p>
|
||||||
<pre><code>// user_id is the ID of the current user.
|
<pre><code class="language-java">// user_id is the ID of the current user.
|
||||||
|
|
||||||
if (message.peer_id == user_id) {
|
if (message.peer_id == user_id) {
|
||||||
if (message.fwd_from.saved_from_peer) {
|
if (message.fwd_from.saved_from_peer) {
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>botApp</title>
|
<title>botApp</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta property="description" content="Contains information about a named Mini App.">
|
<meta property="description" content="Contains information about a direct link Mini App.">
|
||||||
<meta property="og:title" content="botApp">
|
<meta property="og:title" content="botApp">
|
||||||
<meta property="og:image" content="">
|
<meta property="og:image" content="">
|
||||||
<meta property="og:description" content="Contains information about a named Mini App.">
|
<meta property="og:description" content="Contains information about a direct link Mini App.">
|
||||||
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
|
<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="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="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="/constructor/botApp" >botApp</a></li></ul></div>
|
<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/botApp" >botApp</a></li></ul></div>
|
||||||
<h1 id="dev_page_title">botApp</h1>
|
<h1 id="dev_page_title">botApp</h1>
|
||||||
|
|
||||||
<div id="dev_page_content"><p>Contains information about a <a href="/api/bots/webapps#named-mini-apps">named Mini App</a>.</p>
|
<div id="dev_page_content"><p>Contains information about a <a href="/api/bots/webapps#direct-link-mini-apps">direct link Mini App</a>.</p>
|
||||||
<p><div class="clearfix">
|
<p><div class="clearfix">
|
||||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
|
@ -119,7 +119,7 @@
|
||||||
<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>
|
<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>
|
<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="#messagesgetbotapp" id="messagesgetbotapp" name="messagesgetbotapp"><i class="anchor-icon"></i></a><a href="/method/messages.getBotApp">messages.getBotApp</a></h4>
|
<h4><a class="anchor" href="#messagesgetbotapp" id="messagesgetbotapp" name="messagesgetbotapp"><i class="anchor-icon"></i></a><a href="/method/messages.getBotApp">messages.getBotApp</a></h4>
|
||||||
<p>Obtain information about a <a href="/api/bots/webapps#named-mini-apps">named Mini App</a></p>
|
<p>Obtain information about a <a href="/api/bots/webapps#direct-link-mini-apps">direct link Mini App</a></p>
|
||||||
<h4><a class="anchor" href="#mini-apps-on-telegram" id="mini-apps-on-telegram" name="mini-apps-on-telegram"><i class="anchor-icon"></i></a><a href="/api/bots/webapps">Mini Apps on Telegram</a></h4>
|
<h4><a class="anchor" href="#mini-apps-on-telegram" id="mini-apps-on-telegram" name="mini-apps-on-telegram"><i class="anchor-icon"></i></a><a href="/api/bots/webapps">Mini Apps on Telegram</a></h4>
|
||||||
<p>Bots can offer users interactive HTML5 web apps to completely replace any website.</p></div>
|
<p>Bots can offer users interactive HTML5 web apps to completely replace any website.</p></div>
|
||||||
|
|
||||||
|
|
|
@ -1389,7 +1389,7 @@ Look for updates of telegram's terms of service…">
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="/method/messages.getBotApp">messages.getBotApp</a></td>
|
<td><a href="/method/messages.getBotApp">messages.getBotApp</a></td>
|
||||||
<td>Obtain information about a <a href="/api/bots/webapps#named-mini-apps">named Mini App</a></td>
|
<td>Obtain information about a <a href="/api/bots/webapps#direct-link-mini-apps">direct link Mini App</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="/method/bots.canSendMessage">bots.canSendMessage</a></td>
|
<td><a href="/method/bots.canSendMessage">bots.canSendMessage</a></td>
|
||||||
|
|
Loading…
Reference in a new issue