Update content of files

This commit is contained in:
GitHub Action 2021-10-09 15:24:29 +00:00
parent 64b4161525
commit 38b91f81ea
20 changed files with 232 additions and 249 deletions

View file

@ -0,0 +1,115 @@
<!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="shortcut icon" href="/favicon.ico?4" type="image/x-icon" />
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
<link href="/css/telegram.css?212" 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="active"><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"><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 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?42"></script>
<script>backToTopInit("Go up");
removePreloadInit();
</script>
</body>
</html>

View file

@ -855,10 +855,10 @@ Layer…">
<ul>
<li>Added <a href="/method/messages.deleteChat">messages.deleteChat</a> - Delete a <a href="/api/channel">chat</a></li>
<li>Added <a href="/method/messages.deletePhoneCallHistory">messages.deletePhoneCallHistory</a> - Delete the entire phone call history.</li>
<li>Added <a href="/method/messages.checkHistoryImport">messages.checkHistoryImport</a> - </li>
<li>Added <a href="/method/messages.initHistoryImport">messages.initHistoryImport</a> - </li>
<li>Added <a href="/method/messages.uploadImportedMedia">messages.uploadImportedMedia</a> - </li>
<li>Added <a href="/method/messages.startHistoryImport">messages.startHistoryImport</a> - </li>
<li>Added <a href="/method/messages.checkHistoryImport">messages.checkHistoryImport</a> - Obtains information about a chat export file, generated by a foreign chat app.</li>
<li>Added <a href="/method/messages.initHistoryImport">messages.initHistoryImport</a> - Import chat history from a foreign chat app into a specific Telegram chat. </li>
<li>Added <a href="/method/messages.uploadImportedMedia">messages.uploadImportedMedia</a> - Upload a media file associated with an <a href="/api/import">imported chat</a>.</li>
<li>Added <a href="/method/messages.startHistoryImport">messages.startHistoryImport</a> - Complete the <a href="/api/import">history import process</a>, importing all messages into the chat. </li>
</ul>
<h5><a class="anchor" href="#changed-methods" id="changed-methods" name="changed-methods"><i class="anchor-icon"></i></a>Changed Methods</h5>
<ul>
@ -871,7 +871,7 @@ Layer…">
<li>Added <a href="/constructor/inputPaymentCredentialsGooglePay">inputPaymentCredentialsGooglePay</a> - Google Pay payment credentials</li>
<li>Added <a href="/constructor/messages.historyImport">messages.historyImport</a> - ID of a specific chat import session</li>
<li>Added <a href="/constructor/sendMessageHistoryImportAction">sendMessageHistoryImportAction</a> - Chat history is being imported</li>
<li>Added <a href="/constructor/messages.historyImportParsed">messages.historyImportParsed</a> - </li>
<li>Added <a href="/constructor/messages.historyImportParsed">messages.historyImportParsed</a> - Contains information about a chat export file, generated by a foreign chat app. </li>
<li>Added <a href="/constructor/inputReportReasonFake">inputReportReasonFake</a> - Report for impersonation</li>
<li>Added <a href="/constructor/messages.affectedFoundMessages">messages.affectedFoundMessages</a> - Messages found and affected by changes</li>
</ul>
@ -1662,7 +1662,7 @@ Notice that all <code>PINNED_*</code> <a href="https://core.telegram.org/api/pus
<li>Added <a href="/constructor/baseThemeNight">baseThemeNight</a> - Night theme</li>
<li>Added <a href="/constructor/baseThemeTinted">baseThemeTinted</a> - Tinted theme</li>
<li>Added <a href="/constructor/baseThemeArctic">baseThemeArctic</a> - Arctic theme</li>
<li>Added <a href="/constructor/inputWallPaperNoFile">inputWallPaperNoFile</a> - Wallpaper with no file</li>
<li>Added <a href="/constructor/inputWallPaperNoFile">inputWallPaperNoFile</a> - Wallpaper with no file access hash, used for example when deleting (<code>unsave=true</code>) wallpapers using <a href="/method/account.saveWallPaper">account.saveWallPaper</a>, specifying just the wallpaper ID.</li>
<li>Added <a href="/constructor/wallPaperNoFile">wallPaperNoFile</a> - No file wallpaper</li>
<li>Added <a href="/constructor/inputThemeSettings">inputThemeSettings</a> - Theme settings</li>
<li>Added <a href="/constructor/themeSettings">themeSettings</a> - Theme settings</li>

View file

@ -71,7 +71,7 @@
<tr>
<td><strong>message_colors_animated</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.2?<a href="/constructor/true">true</a></td>
<td> </td>
<td>If set, the freeform gradient fill needs to be animated on every sent message</td>
</tr>
<tr>
<td><strong>base_theme</strong></td>
@ -81,17 +81,17 @@
<tr>
<td><strong>accent_color</strong></td>
<td style="text-align: center;"><a href="/type/int">int</a></td>
<td>Accent color, RGB24 format</td>
<td>Accent color, ARGB format</td>
</tr>
<tr>
<td><strong>outbox_accent_color</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.3?<a href="/type/int">int</a></td>
<td> </td>
<td>Accent color of outgoing messages in ARGB format</td>
</tr>
<tr>
<td><strong>message_colors</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/int">int</a>&gt;</td>
<td> </td>
<td>The fill to be used as a background for outgoing messages, in RGB24 format. \<br>If just one or two equal colors are provided, describes a solid fill of a background. \<br>If two different colors are provided, describes the top and bottom colors of a 0-degree gradient.\<br>If three or four colors are provided, describes a freeform gradient fill of a background.</td>
</tr>
<tr>
<td><strong>wallpaper</strong></td>

View file

@ -4,10 +4,10 @@
<meta charset="utf-8">
<title>inputWallPaperNoFile</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Wallpaper with no file">
<meta property="description" content="Wallpaper with no file access hash, used for example when deleting (unsave=true) wallpapers using account.saveWallPaper, specifying just the wallpaper ID.">
<meta property="og:title" content="inputWallPaperNoFile">
<meta property="og:image" content="">
<meta property="og:description" content="Wallpaper with no file">
<meta property="og:description" content="Wallpaper with no file access hash, used for example when deleting (unsave=true) wallpapers using account.saveWallPaper, specifying just the wallpaper ID.">
<link rel="shortcut icon" href="/favicon.ico?4" type="image/x-icon" />
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
@ -39,7 +39,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/inputWallPaperNoFile" >inputWallPaperNoFile</a></li></ul></div>
<h1 id="dev_page_title">inputWallPaperNoFile</h1>
<div id="dev_page_content"><p>Wallpaper with no file</p>
<div id="dev_page_content"><p>Wallpaper with no file access hash, used for example when deleting (<code>unsave=true</code>) wallpapers using <a href="/method/account.saveWallPaper">account.saveWallPaper</a>, specifying just the wallpaper ID.</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">
@ -66,12 +66,15 @@
<tr>
<td><strong>id</strong></td>
<td style="text-align: center;"><a href="/type/long">long</a></td>
<td> </td>
<td>Wallpaper ID</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/InputWallPaper">InputWallPaper</a></p></div>
<p><a href="/type/InputWallPaper">InputWallPaper</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="#accountsavewallpaper" id="accountsavewallpaper" name="accountsavewallpaper"><i class="anchor-icon"></i></a><a href="/method/account.saveWallPaper">account.saveWallPaper</a></h4>
<p>Install/uninstall wallpaper</p></div>
</div>

View file

@ -4,36 +4,10 @@
<meta charset="utf-8">
<title>messages.historyImportParsed</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
pm
flags.0?true
 
group
flags.1?true
 
title…">
<meta property="description" content="Contains information about a chat export file, generated by a foreign chat app. If neither the pm or group flags are set, the specified chat export was generated from a chat of unknown type.">
<meta property="og:title" content="messages.historyImportParsed">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
Name
Type
Description
flags
#
Flags, see TL conditional fields
pm
flags.0?true
 
group
flags.1?true
 
title…">
<meta property="og:description" content="Contains information about a chat export file, generated by a foreign chat app. If neither the pm or group flags are set, the specified chat export was generated from a chat of unknown type.">
<link rel="shortcut icon" href="/favicon.ico?4" type="image/x-icon" />
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
@ -65,7 +39,9 @@ title…">
<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/messages.historyImportParsed" >messages.historyImportParsed</a></li></ul></div>
<h1 id="dev_page_title">messages.historyImportParsed</h1>
<div id="dev_page_content"><p><div class="clearfix">
<div id="dev_page_content"><p>Contains information about a chat export file, generated by a foreign chat app.<br>
If neither the <code>pm</code> or <code>group</code> flags are set, the specified chat export was generated from a chat of unknown type.</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 133 <b class="caret"></b></a>
@ -96,17 +72,17 @@ title…">
<tr>
<td><strong>pm</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/constructor/true">true</a></td>
<td> </td>
<td>The chat export file was generated from a private chat.</td>
</tr>
<tr>
<td><strong>group</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.1?<a href="/constructor/true">true</a></td>
<td> </td>
<td>The chat export file was generated from a group chat.</td>
</tr>
<tr>
<td><strong>title</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.2?<a href="/type/string">string</a></td>
<td> </td>
<td>Title of the chat.</td>
</tr>
</tbody>
</table>

View file

@ -81,7 +81,7 @@
<tr>
<td><strong>placeholder</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>The placeholder to be shown in the input field when the keyboard is active; 1-64 characters.</td>
</tr>
</tbody>
</table>

View file

@ -91,7 +91,7 @@
<tr>
<td><strong>placeholder</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>The placeholder to be shown in the input field when the keyboard is active; 1-64 characters.</td>
</tr>
</tbody>
</table>

View file

@ -4,38 +4,10 @@
<meta charset="utf-8">
<title>sendMessageEmojiInteraction</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters
Name
Type
Description
emoticon
string
 
msg_id
int
 
interaction
DataJSON
 
Type
SendMessageAction">
<meta property="description" content="User has clicked on an animated emoji, triggering a reaction">
<meta property="og:title" content="sendMessageEmojiInteraction">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
Name
Type
Description
emoticon
string
 
msg_id
int
 
interaction
DataJSON
 
Type
SendMessageAction">
<meta property="og:description" content="User has clicked on an animated emoji, triggering a reaction">
<link rel="shortcut icon" href="/favicon.ico?4" type="image/x-icon" />
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
@ -67,7 +39,8 @@ SendMessageAction">
<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/sendMessageEmojiInteraction" >sendMessageEmojiInteraction</a></li></ul></div>
<h1 id="dev_page_title">sendMessageEmojiInteraction</h1>
<div id="dev_page_content"><p><div class="clearfix">
<div id="dev_page_content"><p>User has clicked on an animated emoji, triggering a reaction</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 133 <b class="caret"></b></a>
@ -93,12 +66,12 @@ SendMessageAction">
<tr>
<td><strong>emoticon</strong></td>
<td style="text-align: center;"><a href="/type/string">string</a></td>
<td> </td>
<td>Emoji</td>
</tr>
<tr>
<td><strong>msg_id</strong></td>
<td style="text-align: center;"><a href="/type/int">int</a></td>
<td> </td>
<td>Message ID of the animated emoji that was clicked</td>
</tr>
<tr>
<td><strong>interaction</strong></td>

View file

@ -4,26 +4,10 @@
<meta charset="utf-8">
<title>sendMessageEmojiInteractionSeen</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters
Name
Type
Description
emoticon
string
 
Type
SendMessageAction">
<meta property="description" content="User is watching an animated emoji reaction triggered by another user">
<meta property="og:title" content="sendMessageEmojiInteractionSeen">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
Name
Type
Description
emoticon
string
 
Type
SendMessageAction">
<meta property="og:description" content="User is watching an animated emoji reaction triggered by another user">
<link rel="shortcut icon" href="/favicon.ico?4" type="image/x-icon" />
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
@ -55,7 +39,8 @@ SendMessageAction">
<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/sendMessageEmojiInteractionSeen" >sendMessageEmojiInteractionSeen</a></li></ul></div>
<h1 id="dev_page_title">sendMessageEmojiInteractionSeen</h1>
<div id="dev_page_content"><p><div class="clearfix">
<div id="dev_page_content"><p>User is watching an animated emoji reaction triggered by another 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 133 <b class="caret"></b></a>
@ -81,7 +66,7 @@ SendMessageAction">
<tr>
<td><strong>emoticon</strong></td>
<td style="text-align: center;"><a href="/type/string">string</a></td>
<td> </td>
<td>Emoji</td>
</tr>
</tbody>
</table>

View file

@ -71,7 +71,7 @@
<tr>
<td><strong>message_colors_animated</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.2?<a href="/constructor/true">true</a></td>
<td> </td>
<td>If set, the freeform gradient fill needs to be animated on every sent message.</td>
</tr>
<tr>
<td><strong>base_theme</strong></td>
@ -81,17 +81,17 @@
<tr>
<td><strong>accent_color</strong></td>
<td style="text-align: center;"><a href="/type/int">int</a></td>
<td>Accent color, RGB24 format</td>
<td>Accent color, ARGB format</td>
</tr>
<tr>
<td><strong>outbox_accent_color</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.3?<a href="/type/int">int</a></td>
<td> </td>
<td>Accent color of outgoing messages in ARGB format</td>
</tr>
<tr>
<td><strong>message_colors</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/int">int</a>&gt;</td>
<td> </td>
<td>The fill to be used as a background for outgoing messages, in RGB24 format. \<br>If just one or two equal colors are provided, describes a solid fill of a background. \<br>If two different colors are provided, describes the top and bottom colors of a 0-degree gradient.\<br>If three or four colors are provided, describes a freeform gradient fill of a background.</td>
</tr>
<tr>
<td><strong>wallpaper</strong></td>

View file

@ -4,26 +4,10 @@
<meta charset="utf-8">
<title>messages.checkHistoryImport</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters
Name
Type
Description
import_head
string
 
Result
messages.HistoryImportParsed">
<meta property="description" content="Obtains information about a chat export file, generated by a foreign chat app.">
<meta property="og:title" content="messages.checkHistoryImport">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
Name
Type
Description
import_head
string
 
Result
messages.HistoryImportParsed">
<meta property="og:description" content="Obtains information about a chat export file, generated by a foreign chat app.">
<link rel="shortcut icon" href="/favicon.ico?4" type="image/x-icon" />
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
@ -55,7 +39,8 @@ messages.HistoryImportParsed">
<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.checkHistoryImport" >messages.checkHistoryImport</a></li></ul></div>
<h1 id="dev_page_title">messages.checkHistoryImport</h1>
<div id="dev_page_content"><p><div class="clearfix">
<div id="dev_page_content"><p>Obtains information about a chat export file, generated by a foreign chat 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 133 <b class="caret"></b></a>
@ -83,7 +68,7 @@ messages.HistoryImportParsed">
<tr>
<td><strong>import_head</strong></td>
<td style="text-align: center;"><a href="/type/string">string</a></td>
<td> </td>
<td>Beginning of the message file; up to 100 lines.</td>
</tr>
</tbody>
</table>

View file

@ -4,40 +4,10 @@
<meta charset="utf-8">
<title>messages.initHistoryImport</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters
Name
Type
Description
peer
InputPeer
 
file
InputFile
 
media_count
int
 
Result
messages.HistoryImport
Bots…">
<meta property="description" content="Import chat history from a foreign chat app into a specific Telegram chat. Make sure to call messages.checkHistoryImportPeer, first, to make sure you have the rights to import history into this chat, and to show an additional confirmation prompt to the user with useful information returned by the RPC call. Typically, history imports are allowed for private chats with a mutual contact or supergroups with change_info administrator rights ».">
<meta property="og:title" content="messages.initHistoryImport">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
Name
Type
Description
peer
InputPeer
 
file
InputFile
 
media_count
int
 
Result
messages.HistoryImport
Bots…">
<meta property="og:description" content="Import chat history from a foreign chat app into a specific Telegram chat. Make sure to call messages.checkHistoryImportPeer, first, to make sure you have the rights to import history into this chat, and to show an additional confirmation prompt to the user with useful information returned by the RPC call. Typically, history imports are allowed for private chats with a mutual contact or supergroups with change_info administrator rights ».">
<link rel="shortcut icon" href="/favicon.ico?4" type="image/x-icon" />
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
@ -69,7 +39,11 @@ Bots…">
<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.initHistoryImport" >messages.initHistoryImport</a></li></ul></div>
<h1 id="dev_page_title">messages.initHistoryImport</h1>
<div id="dev_page_content"><p><div class="clearfix">
<div id="dev_page_content"><p>Import chat history from a foreign chat app into a specific Telegram chat.<br>
Make sure to call <a href="/method/messages.checkHistoryImportPeer">messages.checkHistoryImportPeer</a>, first, to make sure you have the rights to import history into this chat, and to show an additional confirmation prompt to the user with useful information returned by the RPC call.<br>
Typically, history imports are allowed for private chats with a mutual contact or <a href="/api/channel">supergroups</a> with <code>change_info</code> <a href="/api/rights">administrator rights »</a>.</p>
<p>After initializing the history import process and uploading all media files associated with the chat using <a href="/method/messages.uploadImportedMedia">messages.uploadImportedMedia</a>, call <a href="/method/messages.startHistoryImport">messages.startHistoryImport</a> to complete the history import process, importing all messages into the chat.</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 133 <b class="caret"></b></a>
@ -97,23 +71,36 @@ Bots…">
<tr>
<td><strong>peer</strong></td>
<td style="text-align: center;"><a href="/type/InputPeer">InputPeer</a></td>
<td> </td>
<td>The Telegram chat where the history should be imported.</td>
</tr>
<tr>
<td><strong>file</strong></td>
<td style="text-align: center;"><a href="/type/InputFile">InputFile</a></td>
<td> </td>
<td>File with messages to import.</td>
</tr>
<tr>
<td><strong>media_count</strong></td>
<td style="text-align: center;"><a href="/type/int">int</a></td>
<td> </td>
<td>Number of media files associated with the chat that will be uploaded using <a href="/method/messages.uploadImportedMedia">messages.uploadImportedMedia</a>.</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/messages.HistoryImport">messages.HistoryImport</a></p>
<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="#messagesuploadimportedmedia" id="messagesuploadimportedmedia" name="messagesuploadimportedmedia"><i class="anchor-icon"></i></a><a href="/method/messages.uploadImportedMedia">messages.uploadImportedMedia</a></h4>
<p>Upload a media file associated with an <a href="/api/import">imported chat</a>.</p>
<h4><a class="anchor" href="#messagescheckhistoryimportpeer" id="messagescheckhistoryimportpeer" name="messagescheckhistoryimportpeer"><i class="anchor-icon"></i></a><a href="/method/messages.checkHistoryImportPeer">messages.checkHistoryImportPeer</a></h4>
<p>Check whether chat history exported from another chat app can be imported into a specific Telegram chat.</p>
<p>If the check succeeds, and no RPC errors are returned, a <a href="/type/messages.CheckedHistoryImportPeer">messages.CheckedHistoryImportPeer</a> constructor will be returned, with a confirmation text to be shown to the user, before actually initializing the import.</p>
<h4><a class="anchor" href="#channels" id="channels" name="channels"><i class="anchor-icon"></i></a><a href="/api/channel">Channels</a></h4>
<p>How to handle channels, supergroups, groups, and what's the difference between them.</p>
<h4><a class="anchor" href="#admin-banned-default-rights" id="admin-banned-default-rights" name="admin-banned-default-rights"><i class="anchor-icon"></i></a><a href="/api/rights">Admin, banned, default rights</a></h4>
<p>How to handle admin permissions, granular bans and global permissions in channels, groups and supergroups.</p>
<h4><a class="anchor" href="#messagesstarthistoryimport" id="messagesstarthistoryimport" name="messagesstarthistoryimport"><i class="anchor-icon"></i></a><a href="/method/messages.startHistoryImport">messages.startHistoryImport</a></h4>
<p>Complete the <a href="/api/import">history import process</a>, importing all messages into the chat.<br>
To be called only after initializing the import with <a href="/method/messages.initHistoryImport">messages.initHistoryImport</a> and uploading all files using <a href="/method/messages.uploadImportedMedia">messages.uploadImportedMedia</a>.</p></div>
</div>

View file

@ -4,34 +4,10 @@
<meta charset="utf-8">
<title>messages.startHistoryImport</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters
Name
Type
Description
peer
InputPeer
 
import_id
long
 
Result
Bool
Bots can use this method">
<meta property="description" content="Complete the history import process, importing all messages into the chat. To be called only after initializing the import with messages.initHistoryImport and uploading all files using messages.uploadImportedMedia.">
<meta property="og:title" content="messages.startHistoryImport">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
Name
Type
Description
peer
InputPeer
 
import_id
long
 
Result
Bool
Bots can use this method">
<meta property="og:description" content="Complete the history import process, importing all messages into the chat. To be called only after initializing the import with messages.initHistoryImport and uploading all files using messages.uploadImportedMedia.">
<link rel="shortcut icon" href="/favicon.ico?4" type="image/x-icon" />
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
@ -63,7 +39,9 @@ Bots can use this method">
<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.startHistoryImport" >messages.startHistoryImport</a></li></ul></div>
<h1 id="dev_page_title">messages.startHistoryImport</h1>
<div id="dev_page_content"><p><div class="clearfix">
<div id="dev_page_content"><p>Complete the <a href="/api/import">history import process</a>, importing all messages into the chat.<br>
To be called only after initializing the import with <a href="/method/messages.initHistoryImport">messages.initHistoryImport</a> and uploading all files using <a href="/method/messages.uploadImportedMedia">messages.uploadImportedMedia</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 133 <b class="caret"></b></a>
@ -92,18 +70,26 @@ Bots can use this method">
<tr>
<td><strong>peer</strong></td>
<td style="text-align: center;"><a href="/type/InputPeer">InputPeer</a></td>
<td> </td>
<td>The Telegram chat where the messages should be imported</td>
</tr>
<tr>
<td><strong>import_id</strong></td>
<td style="text-align: center;"><a href="/type/long">long</a></td>
<td> </td>
<td>Identifier of a history import session, returned by <a href="/method/messages.initHistoryImport">messages.initHistoryImport</a>.</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>
<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="#messagesinithistoryimport" id="messagesinithistoryimport" name="messagesinithistoryimport"><i class="anchor-icon"></i></a><a href="/method/messages.initHistoryImport">messages.initHistoryImport</a></h4>
<p>Import chat history from a foreign chat app into a specific Telegram chat.<br>
Make sure to call <a href="/method/messages.checkHistoryImportPeer">messages.checkHistoryImportPeer</a>, first, to make sure you have the rights to import history into this chat, and to show an additional confirmation prompt to the user with useful information returned by the RPC call.<br>
Typically, history imports are allowed for private chats with a mutual contact or <a href="/api/channel">supergroups</a> with <code>change_info</code> <a href="/api/rights">administrator rights »</a>.</p>
<p>After initializing the history import process and uploading all media files associated with the chat using <a href="/method/messages.uploadImportedMedia">messages.uploadImportedMedia</a>, call <a href="/method/messages.startHistoryImport">messages.startHistoryImport</a> to complete the history import process, importing all messages into the chat.</p>
<h4><a class="anchor" href="#messagesuploadimportedmedia" id="messagesuploadimportedmedia" name="messagesuploadimportedmedia"><i class="anchor-icon"></i></a><a href="/method/messages.uploadImportedMedia">messages.uploadImportedMedia</a></h4>
<p>Upload a media file associated with an <a href="/api/import">imported chat</a>.</p></div>
</div>

View file

@ -4,44 +4,10 @@
<meta charset="utf-8">
<title>messages.uploadImportedMedia</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters
Name
Type
Description
peer
InputPeer
 
import_id
long
 
file_name
string
 
media
InputMedia
 
Result
MessageMedia…">
<meta property="description" content="Upload a media file associated with an imported chat.">
<meta property="og:title" content="messages.uploadImportedMedia">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
Name
Type
Description
peer
InputPeer
 
import_id
long
 
file_name
string
 
media
InputMedia
 
Result
MessageMedia…">
<meta property="og:description" content="Upload a media file associated with an imported chat.">
<link rel="shortcut icon" href="/favicon.ico?4" type="image/x-icon" />
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
@ -73,7 +39,8 @@ MessageMedia…">
<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.uploadImportedMedia" >messages.uploadImportedMedia</a></li></ul></div>
<h1 id="dev_page_title">messages.uploadImportedMedia</h1>
<div id="dev_page_content"><p><div class="clearfix">
<div id="dev_page_content"><p>Upload a media file associated with an <a href="/api/import">imported chat</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 133 <b class="caret"></b></a>
@ -113,28 +80,34 @@ MessageMedia…">
<tr>
<td><strong>peer</strong></td>
<td style="text-align: center;"><a href="/type/InputPeer">InputPeer</a></td>
<td> </td>
<td>The Telegram chat where the media will be imported</td>
</tr>
<tr>
<td><strong>import_id</strong></td>
<td style="text-align: center;"><a href="/type/long">long</a></td>
<td> </td>
<td>Identifier of a history import session, returned by <a href="/method/messages.initHistoryImport">messages.initHistoryImport</a></td>
</tr>
<tr>
<td><strong>file_name</strong></td>
<td style="text-align: center;"><a href="/type/string">string</a></td>
<td> </td>
<td>File name</td>
</tr>
<tr>
<td><strong>media</strong></td>
<td style="text-align: center;"><a href="/type/InputMedia">InputMedia</a></td>
<td> </td>
<td>Media metadata</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/MessageMedia">MessageMedia</a></p>
<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="#messagesinithistoryimport" id="messagesinithistoryimport" name="messagesinithistoryimport"><i class="anchor-icon"></i></a><a href="/method/messages.initHistoryImport">messages.initHistoryImport</a></h4>
<p>Import chat history from a foreign chat app into a specific Telegram chat.<br>
Make sure to call <a href="/method/messages.checkHistoryImportPeer">messages.checkHistoryImportPeer</a>, first, to make sure you have the rights to import history into this chat, and to show an additional confirmation prompt to the user with useful information returned by the RPC call.<br>
Typically, history imports are allowed for private chats with a mutual contact or <a href="/api/channel">supergroups</a> with <code>change_info</code> <a href="/api/rights">administrator rights »</a>.</p>
<p>After initializing the history import process and uploading all media files associated with the chat using <a href="/method/messages.uploadImportedMedia">messages.uploadImportedMedia</a>, call <a href="/method/messages.startHistoryImport">messages.startHistoryImport</a> to complete the history import process, importing all messages into the chat.</p></div>
</div>

View file

@ -1497,11 +1497,11 @@
<tbody>
<tr>
<td><a href="/method/messages.uploadImportedMedia">messages.uploadImportedMedia</a></td>
<td> </td>
<td>Upload a media file associated with an <a href="/api/import">imported chat</a>.</td>
</tr>
<tr>
<td><a href="/method/messages.startHistoryImport">messages.startHistoryImport</a></td>
<td> </td>
<td>Complete the <a href="/api/import">history import process</a>, importing all messages into the chat. <br>To be called only after initializing the import with <a href="/method/messages.initHistoryImport">messages.initHistoryImport</a> and uploading all files using <a href="/method/messages.uploadImportedMedia">messages.uploadImportedMedia</a>.</td>
</tr>
<tr>
<td><a href="/method/messages.checkHistoryImportPeer">messages.checkHistoryImportPeer</a></td>
@ -1509,11 +1509,11 @@
</tr>
<tr>
<td><a href="/method/messages.checkHistoryImport">messages.checkHistoryImport</a></td>
<td> </td>
<td>Obtains information about a chat export file, generated by a foreign chat app.</td>
</tr>
<tr>
<td><a href="/method/messages.initHistoryImport">messages.initHistoryImport</a></td>
<td> </td>
<td>Import chat history from a foreign chat app into a specific Telegram chat. <br>Make sure to call <a href="/method/messages.checkHistoryImportPeer">messages.checkHistoryImportPeer</a>, first, to make sure you have the rights to import history into this chat, and to show an additional confirmation prompt to the user with useful information returned by the RPC call. <br>Typically, history imports are allowed for private chats with a mutual contact or <a href="/api/channel">supergroups</a> with <code>change_info</code> <a href="/api/rights">administrator rights »</a>.<br><br>After initializing the history import process and uploading all media files associated with the chat using <a href="/method/messages.uploadImportedMedia">messages.uploadImportedMedia</a>, call <a href="/method/messages.startHistoryImport">messages.startHistoryImport</a> to complete the history import process, importing all messages into the chat.</td>
</tr>
</tbody>
</table>

View file

@ -603,7 +603,7 @@
</tr>
<tr>
<td><a href="/method/messages.startHistoryImport">messages.startHistoryImport</a></td>
<td> </td>
<td>Complete the <a href="/api/import">history import process</a>, importing all messages into the chat. <br>To be called only after initializing the import with <a href="/method/messages.initHistoryImport">messages.initHistoryImport</a> and uploading all files using <a href="/method/messages.uploadImportedMedia">messages.uploadImportedMedia</a>.</td>
</tr>
<tr>
<td><a href="/method/messages.deleteRevokedExportedChatInvites">messages.deleteRevokedExportedChatInvites</a></td>

View file

@ -153,7 +153,7 @@
</tr>
<tr>
<td><a href="/method/messages.uploadImportedMedia">messages.uploadImportedMedia</a></td>
<td> </td>
<td>Upload a media file associated with an <a href="/api/import">imported chat</a>.</td>
</tr>
</tbody>
</table></div>

View file

@ -145,11 +145,11 @@
</tr>
<tr>
<td><a href="/constructor/sendMessageEmojiInteraction">sendMessageEmojiInteraction</a></td>
<td> </td>
<td>User has clicked on an animated emoji, triggering a reaction</td>
</tr>
<tr>
<td><a href="/constructor/sendMessageEmojiInteractionSeen">sendMessageEmojiInteractionSeen</a></td>
<td> </td>
<td>User has seen the reaction generated by another user</td>
</tr>
</tbody>
</table></div>

View file

@ -83,7 +83,7 @@
<tbody>
<tr>
<td><a href="/method/messages.initHistoryImport">messages.initHistoryImport</a></td>
<td> </td>
<td>Import chat history from a foreign chat app into a specific Telegram chat. <br>Make sure to call <a href="/method/messages.checkHistoryImportPeer">messages.checkHistoryImportPeer</a>, first, to make sure you have the rights to import history into this chat, and to show an additional confirmation prompt to the user with useful information returned by the RPC call. <br>Typically, history imports are allowed for private chats with a mutual contact or <a href="/api/channel">supergroups</a> with <code>change_info</code> <a href="/api/rights">administrator rights »</a>.<br><br>After initializing the history import process and uploading all media files associated with the chat using <a href="/method/messages.uploadImportedMedia">messages.uploadImportedMedia</a>, call <a href="/method/messages.startHistoryImport">messages.startHistoryImport</a> to complete the history import process, importing all messages into the chat.</td>
</tr>
</tbody>
</table></div>

View file

@ -4,10 +4,10 @@
<meta charset="utf-8">
<title>messages.HistoryImportParsed</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Info about an imported chat">
<meta property="description" content="Contains information about a chat export file, generated by a foreign chat app.">
<meta property="og:title" content="messages.HistoryImportParsed">
<meta property="og:image" content="">
<meta property="og:description" content="Info about an imported chat">
<meta property="og:description" content="Contains information about a chat export file, generated by a foreign chat app.">
<link rel="shortcut icon" href="/favicon.ico?4" type="image/x-icon" />
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
@ -39,7 +39,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/messages.HistoryImportParsed" >messages.HistoryImportParsed</a></li></ul></div>
<h1 id="dev_page_title">messages.HistoryImportParsed</h1>
<div id="dev_page_content"><p>Info about an imported chat</p>
<div id="dev_page_content"><p>Contains information about a chat export file, generated by a foreign chat app.</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">
@ -68,7 +68,7 @@
<tbody>
<tr>
<td><a href="/constructor/messages.historyImportParsed">messages.historyImportParsed</a></td>
<td> </td>
<td>Contains information about a chat export file, generated by a foreign chat app. If neither the <code>pm</code> or <code>group</code> flags are set, the specified chat export was generated from a chat of unknown type.</td>
</tr>
</tbody>
</table>
@ -83,7 +83,7 @@
<tbody>
<tr>
<td><a href="/method/messages.checkHistoryImport">messages.checkHistoryImport</a></td>
<td> </td>
<td>Obtains information about a chat export file, generated by a foreign chat app.</td>
</tr>
</tbody>
</table></div>