mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2025-01-01 09:06:24 +01:00
Update content of files
This commit is contained in:
parent
c555d6d64d
commit
0f787aff3e
58 changed files with 142 additions and 142 deletions
|
@ -133,7 +133,7 @@
|
|||
<p>Telegram allows applying detailed message filters while looking for messages in chats.
|
||||
This allows the server to filter messages based on a text query, and even on their type, and this feature is often used by graphical clients to implement features like the chat gallery, chat profile pictures and more.</p>
|
||||
<h3><a class="anchor" href="#polls" id="polls" name="polls"><i class="anchor-icon"></i></a><a href="/api/poll">Polls</a></h3>
|
||||
<p>Telegram allows sending polls and quizes, that can be voted on by thousands, if not milions of users in chats and channels.</p>
|
||||
<p>Telegram allows sending polls and quizes, that can be voted on by thousands, if not millions of users in chats and channels.</p>
|
||||
<h4><a class="anchor" href="#admin-banned-and-default-rights-for-channels-supergroups-and-groups" id="admin-banned-and-default-rights-for-channels-supergroups-and-groups" name="admin-banned-and-default-rights-for-channels-supergroups-and-groups"><i class="anchor-icon"></i></a><a href="/api/rights">Admin, banned and default rights for channels, supergroups and groups</a></h4>
|
||||
<p>How to handle admin permissions, granular bans and global permissions in channels, groups and supergroups.</p>
|
||||
<h4><a class="anchor" href="#discussion-groups" id="discussion-groups" name="discussion-groups"><i class="anchor-icon"></i></a><a href="/api/discussion">Discussion groups</a></h4>
|
||||
|
|
|
@ -133,7 +133,7 @@
|
|||
<p>Telegram allows applying detailed message filters while looking for messages in chats.
|
||||
This allows the server to filter messages based on a text query, and even on their type, and this feature is often used by graphical clients to implement features like the chat gallery, chat profile pictures and more.</p>
|
||||
<h3><a class="anchor" href="#polls" id="polls" name="polls"><i class="anchor-icon"></i></a><a href="/api/poll">Polls</a></h3>
|
||||
<p>Telegram allows sending polls and quizes, that can be voted on by thousands, if not milions of users in chats and channels.</p>
|
||||
<p>Telegram allows sending polls and quizes, that can be voted on by thousands, if not millions of users in chats and channels.</p>
|
||||
<h4><a class="anchor" href="#admin-banned-and-default-rights-for-channels-supergroups-and-groups" id="admin-banned-and-default-rights-for-channels-supergroups-and-groups" name="admin-banned-and-default-rights-for-channels-supergroups-and-groups"><i class="anchor-icon"></i></a><a href="/api/rights">Admin, banned and default rights for channels, supergroups and groups</a></h4>
|
||||
<p>How to handle admin permissions, granular bans and global permissions in channels, groups and supergroups.</p>
|
||||
<h4><a class="anchor" href="#discussion-groups" id="discussion-groups" name="discussion-groups"><i class="anchor-icon"></i></a><a href="/api/discussion">Discussion groups</a></h4>
|
||||
|
|
|
@ -1679,7 +1679,7 @@ Notice that all <code>PINNED_*</code> <a href="https://core.telegram.org/api/pus
|
|||
<li>Added <a href="/constructor/updateLoginToken">updateLoginToken</a> - A login token (for login via QR code) was accepted.</li>
|
||||
<li>Added <a href="/constructor/auth.loginToken">auth.loginToken</a> - Login token (for <a href="/api/qr-login">QR code login</a>)</li>
|
||||
<li>Added <a href="/constructor/auth.loginTokenMigrateTo">auth.loginTokenMigrateTo</a> - Repeat the query to the specified DC</li>
|
||||
<li>Added <a href="/constructor/auth.loginTokenSuccess">auth.loginTokenSuccess</a> - Login via token (QR code) succeded!</li>
|
||||
<li>Added <a href="/constructor/auth.loginTokenSuccess">auth.loginTokenSuccess</a> - Login via token (QR code) succeeded!</li>
|
||||
<li>Added <a href="/constructor/account.contentSettings">account.contentSettings</a> - Sensitive content settings</li>
|
||||
<li>Added <a href="/constructor/messages.inactiveChats">messages.inactiveChats</a> - Inactive chat list</li>
|
||||
<li>Added <a href="/constructor/baseThemeClassic">baseThemeClassic</a> - Classic theme</li>
|
||||
|
|
|
@ -310,7 +310,7 @@ For more info on how to decrypt the <em>data</em> field, see the <a href="/passp
|
|||
---functions---
|
||||
|
||||
<a href='/method/upload.getFile'>upload.getFile</a>#b15a9afc flags:<a href='/type/%23'>#</a> precise:flags.0?<a href='/constructor/true'>true</a> cdn_supported:flags.1?<a href='/constructor/true'>true</a> location:<a href='/type/InputFileLocation'>InputFileLocation</a> offset:<a href='/type/int'>int</a> limit:<a href='/type/int'>int</a> = <a href='/type/upload.File'>upload.File</a>;</code></pre>
|
||||
<p>Files (JPG format when decrypted, max. 10MB) are downloaded chunk by chunk as described in <a href="/api/files">files »</a>, except that instead of generating an <a href="/constructor/inputFile">inputFileLocation</a>, an <a href="/constructor/inputFileLocation">inputFileLocation</a> should be generated, instead.</p>
|
||||
<p>Files (JPG format when decrypted, max. 10 MB) are downloaded chunk by chunk as described in <a href="/api/files">files »</a>, except that instead of generating an <a href="/constructor/inputFile">inputFileLocation</a>, an <a href="/constructor/inputFileLocation">inputFileLocation</a> should be generated, instead.</p>
|
||||
<ul>
|
||||
<li>The <code>id</code> field is the <code>id</code> of the <a href="/constructor/secureFile">secureFile</a></li>
|
||||
<li>The <code>access_hash</code> field is the <code>access_hash</code> of the <a href="/constructor/secureFile">secureFile</a></li>
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>Poll</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Telegram allows sending polls and quizes, that can be voted on by thousands, if not milions of users in chats and channels.">
|
||||
<meta property="description" content="Telegram allows sending polls and quizes, that can be voted on by thousands, if not millions of users in chats and channels.">
|
||||
<meta property="og:title" content="Poll">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Telegram allows sending polls and quizes, that can be voted on by thousands, if not milions of users in chats and channels.">
|
||||
<meta property="og:description" content="Telegram allows sending polls and quizes, that can be voted on by thousands, if not millions of users in chats and channels.">
|
||||
<link rel="shortcut icon" href="/favicon.ico?4" type="image/x-icon" />
|
||||
|
||||
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
|
||||
|
@ -41,7 +41,7 @@
|
|||
|
||||
<div id="dev_page_content"><!-- scroll_nav -->
|
||||
|
||||
<p>Telegram allows sending polls and quizes, that can be voted on by thousands, if not milions of users in chats and channels.</p>
|
||||
<p>Telegram allows sending polls and quizes, that can be voted on by thousands, if not millions of users in chats and channels.</p>
|
||||
<h3><a class="anchor" href="#sending-a-poll" id="sending-a-poll" name="sending-a-poll"><i class="anchor-icon"></i></a>Sending a poll</h3>
|
||||
<pre><code><a href='/constructor/pollAnswer'>pollAnswer</a>#6ca9c2e9 text:<a href='/type/string'>string</a> option:<a href='/type/bytes'>bytes</a> = <a href='/type/PollAnswer'>PollAnswer</a>;
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
<h4><a class="anchor" href="#3-advertising--monetization" id="3-advertising--monetization" name="3-advertising--monetization"><i class="anchor-icon"></i></a>3. Advertising & Monetization</h4>
|
||||
<p><strong>3.1.</strong> Developers are allowed to monetize their coding efforts through advertising or other legitimate means.<br>
|
||||
<strong>3.2.</strong> If you decide to monetize your app, you must clearly mention all the methods of monetization that are used in your app in all its app store descriptions.
|
||||
<strong>3.3.</strong> If your app allows accessing content from Telegram <a href="https://telegram.org/tour/channels">channels</a>, you must include support for <a href="https://core.telegram.org/api/sponsored-messages">official sponsored messages</a> in Telegram channels and may not interefere with this functionality.</p>
|
||||
<strong>3.3.</strong> If your app allows accessing content from Telegram <a href="https://telegram.org/tour/channels">channels</a>, you must include support for <a href="https://core.telegram.org/api/sponsored-messages">official sponsored messages</a> in Telegram channels and may not interfere with this functionality.</p>
|
||||
<h4><a class="anchor" href="#4-breach-of-terms" id="4-breach-of-terms" name="4-breach-of-terms"><i class="anchor-icon"></i></a>4. Breach of terms</h4>
|
||||
<p><strong>4.1.</strong> If your app violates these terms, we will notify the Telegram account responsible for the app about the breach of terms.<br>
|
||||
<strong>4.2.</strong> If you do not update the app to fix the highlighted issues within <strong>10</strong> days, we will have to discontinue your access to Telegram API and contact the app stores about the removal of your apps that are using the Telegram API in violation of these terms. </p>
|
||||
|
|
|
@ -8509,7 +8509,7 @@ No more than <strong>50</strong> results per query are allowed.</p>
|
|||
</tbody>
|
||||
</table>
|
||||
<h4><a class="anchor" href="#passportfile" id="passportfile" name="passportfile"><i class="anchor-icon"></i></a>PassportFile</h4>
|
||||
<p>This object represents a file uploaded to Telegram Passport. Currently all Telegram Passport files are in JPEG format when decrypted and don't exceed 10MB.</p>
|
||||
<p>This object represents a file uploaded to Telegram Passport. Currently all Telegram Passport files are in JPEG format when decrypted and don't exceed 10 MB.</p>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>auth.exportedAuthorization</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Data for copying of authorization between data centres.">
|
||||
<meta property="description" content="Data for copying of authorization between data centers.">
|
||||
<meta property="og:title" content="auth.exportedAuthorization">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Data for copying of authorization between data centres.">
|
||||
<meta property="og:description" content="Data for copying of authorization between data centers.">
|
||||
<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/auth.exportedAuthorization" >auth.exportedAuthorization</a></li></ul></div>
|
||||
<h1 id="dev_page_title">auth.exportedAuthorization</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Data for copying of authorization between data centres.</p>
|
||||
<div id="dev_page_content"><p>Data for copying of authorization between data centers.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>auth.loginTokenSuccess</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Login via token (QR code) succeded!">
|
||||
<meta property="description" content="Login via token (QR code) succeeded!">
|
||||
<meta property="og:title" content="auth.loginTokenSuccess">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Login via token (QR code) succeded!">
|
||||
<meta property="og:description" content="Login via token (QR code) succeeded!">
|
||||
<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/auth.loginTokenSuccess" >auth.loginTokenSuccess</a></li></ul></div>
|
||||
<h1 id="dev_page_title">auth.loginTokenSuccess</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Login via token (QR code) succeded!</p>
|
||||
<div id="dev_page_content"><p>Login via token (QR code) succeeded!</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>contacts.importedContacts</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Info on succesfully imported contacts.">
|
||||
<meta property="description" content="Info on successfully imported contacts.">
|
||||
<meta property="og:title" content="contacts.importedContacts">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Info on succesfully imported contacts.">
|
||||
<meta property="og:description" content="Info on successfully imported contacts.">
|
||||
<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/contacts.importedContacts" >contacts.importedContacts</a></li></ul></div>
|
||||
<h1 id="dev_page_title">contacts.importedContacts</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Info on succesfully imported contacts.</p>
|
||||
<div id="dev_page_content"><p>Info on successfully imported contacts.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
@ -66,7 +66,7 @@
|
|||
<tr>
|
||||
<td><strong>imported</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a><<a href="/type/ImportedContact">ImportedContact</a>></td>
|
||||
<td>List of succesfully imported contacts</td>
|
||||
<td>List of successfully imported contacts</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>popular_invites</strong></td>
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>dcOption</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Data centre">
|
||||
<meta property="description" content="Data center">
|
||||
<meta property="og:title" content="dcOption">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Data centre">
|
||||
<meta property="og:description" content="Data center">
|
||||
<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/dcOption" >dcOption</a></li></ul></div>
|
||||
<h1 id="dev_page_title">dcOption</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Data centre</p>
|
||||
<div id="dev_page_content"><p>Data center</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
|
|
@ -81,7 +81,7 @@
|
|||
<tr>
|
||||
<td><strong>dc_id</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/int">int</a></td>
|
||||
<td>Number of data centre</td>
|
||||
<td>Number of data center</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>key_fingerprint</strong></td>
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>encryptedFileEmpty</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Empty constructor, unexisitng file.">
|
||||
<meta property="description" content="Empty constructor, non-existing file.">
|
||||
<meta property="og:title" content="encryptedFileEmpty">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Empty constructor, unexisitng file.">
|
||||
<meta property="og:description" content="Empty constructor, non-existing file.">
|
||||
<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/encryptedFileEmpty" >encryptedFileEmpty</a></li></ul></div>
|
||||
<h1 id="dev_page_title">encryptedFileEmpty</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Empty constructor, unexisitng file.</p>
|
||||
<div id="dev_page_content"><p>Empty constructor, non-existing file.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>inputAppEvent</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Event that occured in the application.">
|
||||
<meta property="description" content="Event that occurred in the application.">
|
||||
<meta property="og:title" content="inputAppEvent">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Event that occured in the application.">
|
||||
<meta property="og:description" content="Event that occurred in the application.">
|
||||
<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/inputAppEvent" >inputAppEvent</a></li></ul></div>
|
||||
<h1 id="dev_page_title">inputAppEvent</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Event that occured in the application.</p>
|
||||
<div id="dev_page_content"><p>Event that occurred in the application.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>inputEncryptedFileBigUploaded</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Assigns a new big encrypted file (over 10Mb in size), saved in parts using the method upload.saveBigFilePart.">
|
||||
<meta property="description" content="Assigns a new big encrypted file (over 10 MB in size), saved in parts using the method upload.saveBigFilePart.">
|
||||
<meta property="og:title" content="inputEncryptedFileBigUploaded">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Assigns a new big encrypted file (over 10Mb in size), saved in parts using the method upload.saveBigFilePart.">
|
||||
<meta property="og:description" content="Assigns a new big encrypted file (over 10 MB in size), saved in parts using the method upload.saveBigFilePart.">
|
||||
<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/inputEncryptedFileBigUploaded" >inputEncryptedFileBigUploaded</a></li></ul></div>
|
||||
<h1 id="dev_page_title">inputEncryptedFileBigUploaded</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Assigns a new big encrypted file (over 10Mb in size), saved in parts using the method <a href="/method/upload.saveBigFilePart">upload.saveBigFilePart</a>.</p>
|
||||
<div id="dev_page_content"><p>Assigns a new big encrypted file (over 10 MB in size), saved in parts using the method <a href="/method/upload.saveBigFilePart">upload.saveBigFilePart</a>.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
@ -84,7 +84,7 @@
|
|||
<p><a href="/type/InputEncryptedFile">InputEncryptedFile</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="#uploadsavebigfilepart" id="uploadsavebigfilepart" name="uploadsavebigfilepart"><i class="anchor-icon"></i></a><a href="/method/upload.saveBigFilePart">upload.saveBigFilePart</a></h4>
|
||||
<p>Saves a part of a large file (over 10Mb in size) to be later passed to one of the methods.</p></div>
|
||||
<p>Saves a part of a large file (over 10 MB in size) to be later passed to one of the methods.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>inputFileBig</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Assigns a big file (over 10Mb in size), saved in part using the method upload.saveBigFilePart.">
|
||||
<meta property="description" content="Assigns a big file (over 10 MB in size), saved in part using the method upload.saveBigFilePart.">
|
||||
<meta property="og:title" content="inputFileBig">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Assigns a big file (over 10Mb in size), saved in part using the method upload.saveBigFilePart.">
|
||||
<meta property="og:description" content="Assigns a big file (over 10 MB in size), saved in part using the method upload.saveBigFilePart.">
|
||||
<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/inputFileBig" >inputFileBig</a></li></ul></div>
|
||||
<h1 id="dev_page_title">inputFileBig</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Assigns a big file (over 10Mb in size), saved in part using the method <a href="/method/upload.saveBigFilePart">upload.saveBigFilePart</a>.</p>
|
||||
<div id="dev_page_content"><p>Assigns a big file (over 10 MB in size), saved in part using the method <a href="/method/upload.saveBigFilePart">upload.saveBigFilePart</a>.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
@ -84,7 +84,7 @@
|
|||
<p><a href="/type/InputFile">InputFile</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="#uploadsavebigfilepart" id="uploadsavebigfilepart" name="uploadsavebigfilepart"><i class="anchor-icon"></i></a><a href="/method/upload.saveBigFilePart">upload.saveBigFilePart</a></h4>
|
||||
<p>Saves a part of a large file (over 10Mb in size) to be later passed to one of the methods.</p></div>
|
||||
<p>Saves a part of a large file (over 10 MB in size) to be later passed to one of the methods.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>inputSecureFile</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Preuploaded passport file, for more info see the passport docs »">
|
||||
<meta property="description" content="Pre-uploaded passport file, for more info see the passport docs »">
|
||||
<meta property="og:title" content="inputSecureFile">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Preuploaded passport file, for more info see the passport docs »">
|
||||
<meta property="og:description" content="Pre-uploaded passport file, for more info see the passport docs »">
|
||||
<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/inputSecureFile" >inputSecureFile</a></li></ul></div>
|
||||
<h1 id="dev_page_title">inputSecureFile</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Preuploaded <a href="/passport">passport</a> file, for more info <a href="/passport/encryption#inputsecurefile">see the passport docs »</a></p>
|
||||
<div id="dev_page_content"><p>Pre-uploaded <a href="/passport">passport</a> file, for more info <a href="/passport/encryption#inputsecurefile">see the passport docs »</a></p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
<tr>
|
||||
<td><strong>pts</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/int">int</a></td>
|
||||
<td>Number of events occured in a text box</td>
|
||||
<td>Number of events occurred in a text box</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>pts_count</strong></td>
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>messages.messages</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Full list of messages with auxilary data.">
|
||||
<meta property="description" content="Full list of messages with auxiliary data.">
|
||||
<meta property="og:title" content="messages.messages">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Full list of messages with auxilary data.">
|
||||
<meta property="og:description" content="Full list of messages with auxiliary data.">
|
||||
<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/messages.messages" >messages.messages</a></li></ul></div>
|
||||
<h1 id="dev_page_title">messages.messages</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Full list of messages with auxilary data.</p>
|
||||
<div id="dev_page_content"><p>Full list of messages with auxiliary data.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>messages.sentEncryptedMessage</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Message without file attachemts sent to an encrypted file.">
|
||||
<meta property="description" content="Message without file attachments sent to an encrypted file.">
|
||||
<meta property="og:title" content="messages.sentEncryptedMessage">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Message without file attachemts sent to an encrypted file.">
|
||||
<meta property="og:description" content="Message without file attachments sent to an encrypted file.">
|
||||
<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/messages.sentEncryptedMessage" >messages.sentEncryptedMessage</a></li></ul></div>
|
||||
<h1 id="dev_page_title">messages.sentEncryptedMessage</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Message without file attachemts sent to an encrypted file.</p>
|
||||
<div id="dev_page_content"><p>Message without file attachments sent to an encrypted file.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>nearestDc</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Nearest data centre, according to geo-ip.">
|
||||
<meta property="description" content="Nearest data center, according to geo-ip.">
|
||||
<meta property="og:title" content="nearestDc">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Nearest data centre, according to geo-ip.">
|
||||
<meta property="og:description" content="Nearest data center, according to geo-ip.">
|
||||
<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/nearestDc" >nearestDc</a></li></ul></div>
|
||||
<h1 id="dev_page_title">nearestDc</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Nearest data centre, according to geo-ip.</p>
|
||||
<div id="dev_page_content"><p>Nearest data center, according to geo-ip.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
@ -71,12 +71,12 @@
|
|||
<tr>
|
||||
<td><strong>this_dc</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/int">int</a></td>
|
||||
<td>Number of current data centre</td>
|
||||
<td>Number of current data center</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>nearest_dc</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/int">int</a></td>
|
||||
<td>Number of nearest data centre</td>
|
||||
<td>Number of nearest data center</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>phoneCallDiscardReasonBusy</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="The phone call was discared because the user is busy in another call">
|
||||
<meta property="description" content="The phone call was discarded because the user is busy in another call">
|
||||
<meta property="og:title" content="phoneCallDiscardReasonBusy">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="The phone call was discared because the user is busy in another call">
|
||||
<meta property="og:description" content="The phone call was discarded because the user is busy in another call">
|
||||
<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/phoneCallDiscardReasonBusy" >phoneCallDiscardReasonBusy</a></li></ul></div>
|
||||
<h1 id="dev_page_title">phoneCallDiscardReasonBusy</h1>
|
||||
|
||||
<div id="dev_page_content"><p>The phone call was discared because the user is busy in another call</p>
|
||||
<div id="dev_page_content"><p>The phone call was discarded because the user is busy in another call</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
|
|
@ -74,7 +74,7 @@
|
|||
<p><a href="/type/Update">Update</a></p>
|
||||
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||
<h4><a class="anchor" href="#langpackgetdifference" id="langpackgetdifference" name="langpackgetdifference"><i class="anchor-icon"></i></a><a href="/method/langpack.getDifference">langpack.getDifference</a></h4>
|
||||
<p>Get new strings in languagepack</p></div>
|
||||
<p>Get new strings in language pack</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
<tr>
|
||||
<td><strong>pts</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/int">int</a></td>
|
||||
<td>Number of events occured in a text box</td>
|
||||
<td>Number of events occurred in a text box</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>qts</strong></td>
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>auth.exportAuthorization</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Returns data for copying authorization to another data-centre.">
|
||||
<meta property="description" content="Returns data for copying authorization to another data-center.">
|
||||
<meta property="og:title" content="auth.exportAuthorization">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Returns data for copying authorization to another data-centre.">
|
||||
<meta property="og:description" content="Returns data for copying authorization to another data-center.">
|
||||
<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="/methods" >All Methods</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/method/auth.exportAuthorization" >auth.exportAuthorization</a></li></ul></div>
|
||||
<h1 id="dev_page_title">auth.exportAuthorization</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Returns data for copying authorization to another data-centre.</p>
|
||||
<div id="dev_page_content"><p>Returns data for copying authorization to another data-center.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
@ -68,7 +68,7 @@
|
|||
<tr>
|
||||
<td><strong>dc_id</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/int">int</a></td>
|
||||
<td>Number of a target data-centre</td>
|
||||
<td>Number of a target data-center</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>auth.importAuthorization</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Logs in a user using a key transmitted from his native data-centre.">
|
||||
<meta property="description" content="Logs in a user using a key transmitted from his native data-center.">
|
||||
<meta property="og:title" content="auth.importAuthorization">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Logs in a user using a key transmitted from his native data-centre.">
|
||||
<meta property="og:description" content="Logs in a user using a key transmitted from his native data-center.">
|
||||
<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="/methods" >All Methods</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/method/auth.importAuthorization" >auth.importAuthorization</a></li></ul></div>
|
||||
<h1 id="dev_page_title">auth.importAuthorization</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Logs in a user using a key transmitted from his native data-centre.</p>
|
||||
<div id="dev_page_content"><p>Logs in a user using a key transmitted from his native data-center.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>help.getNearestDc</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Returns info on data centre nearest to the user.">
|
||||
<meta property="description" content="Returns info on data center nearest to the user.">
|
||||
<meta property="og:title" content="help.getNearestDc">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Returns info on data centre nearest to the user.">
|
||||
<meta property="og:description" content="Returns info on data center nearest to the user.">
|
||||
<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="/methods" >All Methods</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/method/help.getNearestDc" >help.getNearestDc</a></li></ul></div>
|
||||
<h1 id="dev_page_title">help.getNearestDc</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Returns info on data centre nearest to the user.</p>
|
||||
<div id="dev_page_content"><p>Returns info on data center nearest to the user.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>langpack.getDifference</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Get new strings in languagepack">
|
||||
<meta property="description" content="Get new strings in language pack">
|
||||
<meta property="og:title" content="langpack.getDifference">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Get new strings in languagepack">
|
||||
<meta property="og:description" content="Get new strings in language pack">
|
||||
<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="/methods" >All Methods</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/method/langpack.getDifference" >langpack.getDifference</a></li></ul></div>
|
||||
<h1 id="dev_page_title">langpack.getDifference</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Get new strings in languagepack</p>
|
||||
<div id="dev_page_content"><p>Get new strings in language pack</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>upload.saveBigFilePart</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Saves a part of a large file (over 10Mb in size) to be later passed to one of the methods.">
|
||||
<meta property="description" content="Saves a part of a large file (over 10 MB in size) to be later passed to one of the methods.">
|
||||
<meta property="og:title" content="upload.saveBigFilePart">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Saves a part of a large file (over 10Mb in size) to be later passed to one of the methods.">
|
||||
<meta property="og:description" content="Saves a part of a large file (over 10 MB in size) to be later passed to one of the methods.">
|
||||
<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="/methods" >All Methods</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/method/upload.saveBigFilePart" >upload.saveBigFilePart</a></li></ul></div>
|
||||
<h1 id="dev_page_title">upload.saveBigFilePart</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Saves a part of a large file (over 10Mb in size) to be later passed to one of the methods.</p>
|
||||
<div id="dev_page_content"><p>Saves a part of a large file (over 10 MB in size) to be later passed to one of the methods.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
|
|
@ -124,7 +124,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/help.getNearestDc">help.getNearestDc</a></td>
|
||||
<td>Returns info on data centre nearest to the user.</td>
|
||||
<td>Returns info on data center nearest to the user.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/help.getSupport">help.getSupport</a></td>
|
||||
|
@ -237,11 +237,11 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/auth.exportAuthorization">auth.exportAuthorization</a></td>
|
||||
<td>Returns data for copying authorization to another data-centre.</td>
|
||||
<td>Returns data for copying authorization to another data-center.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/auth.importAuthorization">auth.importAuthorization</a></td>
|
||||
<td>Logs in a user using a key transmitted from his native data-centre.</td>
|
||||
<td>Logs in a user using a key transmitted from his native data-center.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/auth.importBotAuthorization">auth.importBotAuthorization</a></td>
|
||||
|
@ -830,7 +830,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/upload.saveBigFilePart">upload.saveBigFilePart</a></td>
|
||||
<td>Saves a part of a large file (over 10Mb in size) to be later passed to one of the methods.</td>
|
||||
<td>Saves a part of a large file (over 10 MB in size) to be later passed to one of the methods.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/upload.saveFilePart">upload.saveFilePart</a></td>
|
||||
|
@ -1544,7 +1544,7 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/method/langpack.getDifference">langpack.getDifference</a></td>
|
||||
<td>Get new strings in languagepack</td>
|
||||
<td>Get new strings in language pack</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/langpack.getLangPack">langpack.getLangPack</a></td>
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<div id="dev_page_content"><p><a href="TL">TL Language</a> defines <em>abstract</em> data types in the spirit of a general theory of types (more accurately, Martin-Löf’s theories of dependent intuitionistic types) without specifying the values of these types should be represented in memory, when saved to disk, or transmitted over a network. In contrast, the article on <a href="serialize">binary serialization</a> discusses the problem of effective serialization of values of abstract types. To this end, the concept of a <em>concrete</em> or <em>serialized</em> type has been defined as the sets of serializations of all possible values of the corresponding abstract type. In this case, the serializations take values in the set A<em> of words in the alphabet </em>A*, which consists of 2^32 characters -- 32-bit integers.</p>
|
||||
<p>In order to use a TL schema (e.g. “program”) in the TL language to describe the serialization of values of abstract types, we should explain how the concrete type <em>[T]</em> (subset <em>[T]</em> of A^<em>) is associated with the abstract type </em>T<em> (defined in TL), and how the values of the abstract type </em>T<em> correspond to the values of the concrete type </em>[T]<em> (i.e. the elements of </em>[T]*).</p>
|
||||
<p>Serialization is the process of constructing an element of <em>[T]</em> based on a value of the abstract type <em>T</em>. The reverse process is deserialization. </p>
|
||||
<p>Values of the abstract type <em>T</em> may be represented in a different way. Typically, some sort of trees or graphs are used in memory or, if desired, a set of nodes may be used, each of which contains a certain tag (“node type”) and several pointers to other nodes and/or values of built-in primitive types such as <code>int</code>. However, for general discussions it is useful to write the values of abstract type <em>T</em> as a string, more specifically, an S-expression. Recall that an S-expression is either an atom (the value of a primitive type, for example, an integer or a string constant in quotation marks; or an identifier that corresponds to a built-in or defined function) or a space-delimited list of S-expressions ending in parentheses. In our case, we use S-expressions, the first element of which is a combinator identifier, while the remaining elements (the number of which depends on the combinator’s arity) are S-expressions representing elements of the chosen combinator’s fields (or parameters). Moreover, the type of the arguments’ S-expressions and the type of the S-expressions of the result (e.g. the associated expression) must match.</p>
|
||||
<p>Values of the abstract type <em>T</em> may be represented in a different way. Typically, some sort of trees or graphs are used in memory or, if desired, a set of nodes may be used, each of which contains a certain tag (“node type”) and several pointers to other nodes and/or values of built-in primitive types such as <code>int</code>. However, for general discussions it is useful to write the values of abstract type <em>T</em> as a string, more specifically, an S-expression. Recall that an S-expression is either an atom (the value of a primitive type, for example, an integer or a string constant in quotation marks; or an identifier that corresponds to a built-in or defined function) or a space-delimited list of S-expressions ending in parentheses. In our case, we use S-expressions, the first element of which is a combinator identifier, while the remaining elements (the number of which depends on the combinator's arity) are S-expressions representing elements of the chosen combinator's fields (or parameters). Moreover, the type of the arguments’ S-expressions and the type of the S-expressions of the result (e.g. the associated expression) must match.</p>
|
||||
<p>For example, for the schema</p>
|
||||
<pre><code>pair x:int y:int = Pair;
|
||||
pnil = PairList;
|
||||
|
@ -94,7 +94,7 @@ pcons hd:Pair tl:PairList = PairList;</code></pre>
|
|||
<p>From the perspective of abstract type theory, naked types (in contrast to built-in primitive types like <code>int</code> and <code>string</code> are unnecessary. However, they are extremely useful in practice.</p>
|
||||
<p>Therefore, TL introduces the (partially defined) idempotent unary operator <code>%</code>, which turns a standard functional (e.g. an expression of type <em>...->Type</em> or simply <em>Type</em>) into a different standard functional of the same type. If <em>T</em> is a type, then from an abstract theoretical point of view, <code>%T</code> is equivalent to <em>c(T)</em>. In other words, the values of <code>%T</code> are the constant values of <em>T</em>. If <em>T</em> is a <em>k</em>-arity standard expression, then <em>T : S1 -> ... -> Sk -> Type</em>, where each <em>Si=Type</em> or <em>#</em>, then by definition <code>%T</code> is a <em>k</em>-arity standard expression with the same arity, which is defined by the equation <em>(%T) a1 ... ak = % (T a1 ... ak)</em>. </p>
|
||||
<p>When a <em>constant</em> value of type <code>%T</code> is serialized, it is first serialized as a value of type <em>T</em> (assuming that <em>T</em> is not already a naked type itself). Then the first character of the serialization is discarded (e.g. the name of the enclosing combinator). Therefore, <code>%T</code> is a only a valid type expression if there is not more than one constructor for <code>%T</code>. The expression <code>%T</code>, where <em>T : S1 -> ... -> Sk -> Type</em>, is valid, if for <em>any</em> choice of parameters <em>a1 : S1, ... , ak : Sk</em>, the type <em>T a1 ... ak</em> does not have more than one constructor. Using <code>%</code> in other instances is incorrect.</p>
|
||||
<p>If for every value of the parameters <em>a1 : S1, ..., ak : Sk</em>, there is exactly one constructor <em>C</em> for <em>T a1 ... ak</em>, then TL allows writing <code>C a1 ... ak</code> instead of <code>%T a1 ... ak</code> or <code>%(T a1 .. ak)</code>. In other words, in certain situations the identifier <code>C</code> is a synonym for <code>%T</code>. This is only allowed in the context of a type (when specifying the type of a combinator’s field or result).</p>
|
||||
<p>If for every value of the parameters <em>a1 : S1, ..., ak : Sk</em>, there is exactly one constructor <em>C</em> for <em>T a1 ... ak</em>, then TL allows writing <code>C a1 ... ak</code> instead of <code>%T a1 ... ak</code> or <code>%(T a1 .. ak)</code>. In other words, in certain situations the identifier <code>C</code> is a synonym for <code>%T</code>. This is only allowed in the context of a type (when specifying the type of a combinator's field or result).</p>
|
||||
<p>Moreover, it is assumed that <code>%Int = int</code> and <code>%String = string</code>.</p>
|
||||
<h3><a class="anchor" href="#-modifier" id="-modifier" name="-modifier"><i class="anchor-icon"></i></a><code>!</code> modifier</h3>
|
||||
<p>In TL, the idempotent operator <code>!</code> can modify any type, actually making surface values be allowed when its constant values are serialized. However, if <em>T</em> is a standard function like <em>S1->..->Sr->Type</em>, then <em>!T</em> is defined using the equation <code>(!T) a1 ... ar = !(T a1 ... ar)</code>, for any <em>a1:S1</em>, ..., <em>ar:Sr</em>.</p>
|
||||
|
|
|
@ -67,10 +67,10 @@ Combinators in TL are…">
|
|||
<p>A combinator identifier is either an identifier starting with a lowercase Latin letter (<em>lc-ident</em>), or a namespace identifier (also <em>lc-ident</em>) followed by a period and another <em>lc-ident</em>. Therefore, <code>cons</code> and <code>lists.get</code> are valid combinator identifiers.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>A combinator has a <em>name</em>, also known as a <em>number</em> (not to be confused with the <em>designation</em>) -- a 32-bit number that unambiguously determines it. It is either calculated automatically (see below) or it is explicitly assigned in the declaration. To do this, a hash mark (<code>#</code>) and exactly 8 hexadecimal digits -- the combinator’s name -- are added to the identifier of the combinator being defined.</p>
|
||||
<p>A combinator has a <em>name</em>, also known as a <em>number</em> (not to be confused with the <em>designation</em>) -- a 32-bit number that unambiguously determines it. It is either calculated automatically (see below) or it is explicitly assigned in the declaration. To do this, a hash mark (<code>#</code>) and exactly 8 hexadecimal digits -- the combinator's name -- are added to the identifier of the combinator being defined.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>A combinator’s declaration begins with its identifier, to which its name (separated by a hash mark) may have been added.</p>
|
||||
<p>A combinator's declaration begins with its identifier, to which its name (separated by a hash mark) may have been added.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>After the combinator identifier comes the main part of the declaration, which consists of declarations of <em>fields</em> (or <em>variables</em>), including an indication of their <em>types</em>.</p>
|
||||
|
@ -101,7 +101,7 @@ Combinators in TL are…">
|
|||
<p>All optional fields must be explicitly named (using <code>_</code> instead of <em>field_i</em> is not allowed).</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Moreover, at present the names of all optional fields must share the combinator’s result type (possibly more than once) and themselves be of type <code>#</code> (i,e., <code>nat</code>) or <code>Type</code>. Therefore, if the exact result type is known, it is possible to determine the values of all of the combinator’s implicit parameters (possibly obtaining a contradiction of the form <code>2=3</code> in doing so, which means that the combinator is not allowed in the context).</p>
|
||||
<p>Moreover, at present the names of all optional fields must share the combinator's result type (possibly more than once) and themselves be of type <code>#</code> (i,e., <code>nat</code>) or <code>Type</code>. Therefore, if the exact result type is known, it is possible to determine the values of all of the combinator's implicit parameters (possibly obtaining a contradiction of the form <code>2=3</code> in doing so, which means that the combinator is not allowed in the context).</p>
|
||||
</li>
|
||||
</ul>
|
||||
<h3><a class="anchor" href="#required-field-declarations" id="required-field-declarations" name="required-field-declarations"><i class="anchor-icon"></i></a>Required field declarations</h3>
|
||||
|
@ -122,7 +122,7 @@ Combinators in TL are…">
|
|||
<p>Required field declarations follow one after another, separated by spaces (by any number of whitespace symbols, to be more precise).</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>The declared field’s type (<em>type-expr</em>) may use the declared combinator’s previously defined variables (fields) as subexpressions (i.e. parameter values). For example:</p>
|
||||
<p>The declared field’s type (<em>type-expr</em>) may use the declared combinator's previously defined variables (fields) as subexpressions (i.e. parameter values). For example:</p>
|
||||
<p>nil {X:Type} = List X;
|
||||
cons {X:Type} hd:X tl:(list X) = List X;
|
||||
typed_list (X:Type) (l : list X) = TypedList;</p>
|
||||
|
@ -131,7 +131,7 @@ typed_list (X:Type) (l : list X) = TypedList;</p>
|
|||
<h3><a class="anchor" href="#repetitions" id="repetitions" name="repetitions"><i class="anchor-icon"></i></a>Repetitions</h3>
|
||||
<ul>
|
||||
<li>
|
||||
<p>These may only exist among required parameters. They have the form [ <em>field-id</em> <code>:</code> ] [ <em>multiplicity</em> <code>*</code> ] <code>[</code> <em>args</em> <code>]</code>, where <em>args</em> has the same format as the combinator’s declaration of (several) required fields, except that all of the enclosing combinator’s previously declared fields may be used in the argument types.</p>
|
||||
<p>These may only exist among required parameters. They have the form [ <em>field-id</em> <code>:</code> ] [ <em>multiplicity</em> <code>*</code> ] <code>[</code> <em>args</em> <code>]</code>, where <em>args</em> has the same format as the combinator's declaration of (several) required fields, except that all of the enclosing combinator's previously declared fields may be used in the argument types.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>The name of a field of an enclosing combinator that receives a repetition as a value may be specified (<em>field-id</em>), or bypassed, which is equivalent to using the underscore sign as a <em>field-id</em>.</p>
|
||||
|
|
|
@ -129,7 +129,7 @@ Vector : Type -> Type;</code></pre>
|
|||
<pre><code>vector {X:Type} n:# v:(%Tuple X n) = Vector X;</code></pre>
|
||||
<p>Nevertheless, our <code>Tuple</code> has its advantages. For example, we can define data types such as:</p>
|
||||
<pre><code>matrix_10x10 a:(%Tuple (%Tuple double 10) 10) = Matrix_10x10;</code></pre>
|
||||
<p>In any event, remember that during calculation of the <code>matrix_10x10</code> combinator’s number, all parentheses must be removed and the CRC32 of the string <code>matrix_10x10 a:%Tuple %Tuple double 10 10 = Matrix_10x10</code> must be computed.</p>
|
||||
<p>In any event, remember that during calculation of the <code>matrix_10x10</code> combinator's number, all parentheses must be removed and the CRC32 of the string <code>matrix_10x10 a:%Tuple %Tuple double 10 10 = Matrix_10x10</code> must be computed.</p>
|
||||
<p>Moreover, we can define arbitrarily-sized matrices:</p>
|
||||
<pre><code>matrix {X:Type} m:# n:# a:(%Tuple (%Tuple X m) n) = Matrix X;</code></pre>
|
||||
<p>In this case using vector would result in storing the length of a row (<em>m</em>) in each row, e.g. <em>n</em> times.</p>
|
||||
|
@ -152,10 +152,10 @@ vector {X:Type} # [ X ] = Vector X;</code></pre>
|
|||
<p>Optional combinator parameters in TL must possess the following properties:</p>
|
||||
<ul>
|
||||
<li>
|
||||
<p>Optional parameters must be precisely ythe combinator’s first several arguments;</p>
|
||||
<p>Optional parameters must be precisely ythe combinator's first several arguments;</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>The value of any optional parameter must be entirely determined by the combinator’s result type.</p>
|
||||
<p>The value of any optional parameter must be entirely determined by the combinator's result type.</p>
|
||||
</li>
|
||||
</ul>
|
||||
<p>For example, in <code>cons {X:Type} hd:X tl:(list X) = list X</code> the parameter <code>X</code> may be made optional, because it is located at the very beginning of the argument list and is unambiguously determined by the <code>list X</code> result type. Similarly, in <code>tcons {X:Type} {n:#} hd:X tl:(%Tuple X n) = Tuple X (S n)</code> the values of X and n are completely determined based on the <code>Tuple X (S n)</code> result type, therefore they made be made optional parameters.</p>
|
||||
|
|
|
@ -148,7 +148,7 @@ For the syntax of patterns, see in article <a href="TL-patterns">Formal declarat
|
|||
<em>result-type</em> ::= <em>boxed-type-ident</em> { <em>subexpr</em> }<br>
|
||||
<em>result-type</em> ::= <em>boxed-type-ident</em> <code><</code> <em>subexpr</em> { <code>,</code> <em>subexpr</em> } <code>></code> </p>
|
||||
</div>
|
||||
<p>See <a href="TL-combinators">Formal declaration of TL combinators</a> for a description of what exactly this means. Here we will only note that when declaring the type of a combinator’s next argument, only the names of previously arranged (more to the left) arguments of the same combinator may be used as variables, but when declaring the result type you can use all of its parameters (of type <code>Type</code> and <code>#</code>). </p>
|
||||
<p>See <a href="TL-combinators">Formal declaration of TL combinators</a> for a description of what exactly this means. Here we will only note that when declaring the type of a combinator's next argument, only the names of previously arranged (more to the left) arguments of the same combinator may be used as variables, but when declaring the result type you can use all of its parameters (of type <code>Type</code> and <code>#</code>). </p>
|
||||
<p>Note that the names of combinators declared in this way may be used in TL itself only as the corresponding bare types. The only combinators that appear in declarations are built-in: <code>O : #</code> and <code>S : # -> #</code>. </p>
|
||||
<p>There are also “pseudo-declarations” that are allowed only to declare built-in types (such as <code>int ? = Int;</code>): </p>
|
||||
<div class="richcode">
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>Optional combinator parameters and their values</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="TL Language makes it possible to declare a combinator’s first few parameters optional. Subsequently, they are almost never…">
|
||||
<meta property="description" content="TL Language makes it possible to declare a combinator's first few parameters optional. Subsequently, they are almost never…">
|
||||
<meta property="og:title" content="Optional combinator parameters and their values">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="TL Language makes it possible to declare a combinator’s first few parameters optional. Subsequently, they are almost never…">
|
||||
<meta property="og:description" content="TL Language makes it possible to declare a combinator's first few parameters optional. Subsequently, they are almost never…">
|
||||
<link rel="shortcut icon" href="/favicon.ico?4" type="image/x-icon" />
|
||||
|
||||
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
|
||||
|
@ -39,15 +39,15 @@
|
|||
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/mtproto" >Mobile Protocol</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/mtproto/TL-optargs" >Optional combinator parameters and their…</a></li></ul></div>
|
||||
<h1 id="dev_page_title">Optional combinator parameters and their values</h1>
|
||||
|
||||
<div id="dev_page_content"><p><a href="TL">TL Language</a> makes it possible to declare a combinator’s first few parameters optional. Subsequently, they are almost never required to be explicitly stated. This is directly related to another important property of TL: <a href="TL-polymorph">polymorphism</a>.</p>
|
||||
<div id="dev_page_content"><p><a href="TL">TL Language</a> makes it possible to declare a combinator's first few parameters optional. Subsequently, they are almost never required to be explicitly stated. This is directly related to another important property of TL: <a href="TL-polymorph">polymorphism</a>.</p>
|
||||
<p>All optional parameters are typically required to be part of the result type (at least once).</p>
|
||||
<p>A (sub)expression may be serialized/deserialized in one of two ways:</p>
|
||||
<ul>
|
||||
<li>
|
||||
<p>The result type is known (for example, we’re parsing the response to a previously sent RPC query and therefore know the value of some type is expected). In this case, the result type may be used to determine the values of the combinator’s implicit parameters.</p>
|
||||
<p>The result type is known (for example, we’re parsing the response to a previously sent RPC query and therefore know the value of some type is expected). In this case, the result type may be used to determine the values of the combinator's implicit parameters.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>The result type is not known. It is determined as a result of (de)serialization (for example, we are serializing an RPC query). In this case, it is necessary to explicitly specify (and serialize) all of the combinator’s optional parameters by using the full version of the combinator.</p>
|
||||
<p>The result type is not known. It is determined as a result of (de)serialization (for example, we are serializing an RPC query). In this case, it is necessary to explicitly specify (and serialize) all of the combinator's optional parameters by using the full version of the combinator.</p>
|
||||
</li>
|
||||
</ul>
|
||||
<p>We will assume that the functional combinator only differs from the constructor in that before its result type the <code>!</code> modifier is implicitly added, and the (remote or local) computation of a functional expression may be presented as the execution of some polymorphic function <code>eval : !X -> X</code>.</p>
|
||||
|
|
|
@ -92,7 +92,7 @@ nil : forall (X:Type), X -> List X;</code></pre>
|
|||
<p>There is a small problem: if we want to serialize the value of the bare type ‘%pair string int’ or ‘%pair string Y’ (which in TL is usually denoted simply as “pair”, though the form “%Pair” is preferable), we cannot simultaneously use both the full constructor @pair and the partial pair, because the constructor’s name will not be serialized. Therefore, we must differentiate the bare types %@pair (type X, type Y, value x:X, and value y:Y are serialized) and %pair (only x:X and y:Y are serialized; types X and Y are known from the context). In practice, we nearly almost always need the bare type %pair, and this is precisely what “pair” means in the type’s context in TL. Therefore, </p>
|
||||
<pre><code>record name:string map:(List (pair int string)) = Record;</code></pre>
|
||||
<p>will be serialized approximately like we want it to be (the serialization of list elements will consist of the serialization of int and the serialization of string, without any additional headers, types, or combinator names).
|
||||
Incidentally, when calculating the “record” combinator’s name <em>'record'</em> in the example given above, the CRC32 of <code>record name:string map:List pair int string = Record</code> will be computed.</p>
|
||||
Incidentally, when calculating the “record” combinator's name <em>'record'</em> in the example given above, the CRC32 of <code>record name:string map:List pair int string = Record</code> will be computed.</p>
|
||||
<p>Also note that a more precise description of this type would be</p>
|
||||
<pre><code>record name:string map:(List %(Pair int string)) = Record</code></pre></div>
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@
|
|||
<p>A TL program usually consists of two sections separated by keyword <code>---functions---</code>. The first section consists of declarations of built-in types and aggregate types (i.e. their constructors). The second section consists of the declared functions, i.e. functional combinators.</p>
|
||||
<p>Actually, both the first and second sections consist of combinator declarations, each of which ends with a semicolon. However, the first section contains only constructors, while the second section only involves functions. Each combinator is declared using a “combinator declaration” in the format explained above. However, the combinator number and field names may be explicitly assigned.</p>
|
||||
<p>If additional type declarations are required after functions have been declared, the keyword (section divider) <code>---types---</code> is used. Furthermore, a functional combinator may be declared in the type section if its result type begins with an exclamation point (in fact, when the function section is interpreted, this exclamation point is added automatically).</p>
|
||||
<p>To explicitly define 32-bit names of combinators, a hash mark (#) is added immediately after the combinator’s name, followed by 8 hexadecimal digits.</p>
|
||||
<p>To explicitly define 32-bit names of combinators, a hash mark (#) is added immediately after the combinator's name, followed by 8 hexadecimal digits.</p>
|
||||
<h3><a class="anchor" href="#namespaces" id="namespaces" name="namespaces"><i class="anchor-icon"></i></a>Namespaces</h3>
|
||||
<p>Composite constructions like <code><namespace_identifier>.<constructor_identifier></code> and <code><namespace_identifier>.<Type_identifier></code> can be used as constructor- or type identifiers. The portion of the identifier to the left of the period is called the <em>namespace</em>. Moreover, the rule about a first uppercase letter in type identifiers and lowercase letter in constructor identifiers applies to the part of the construction after the period. For example, <code>auth.Message</code> would be a type, while <code>auth.std_message</code> would be a constructor.</p>
|
||||
<p>Namespaces do not require a special declaration.</p>
|
||||
|
|
|
@ -377,7 +377,7 @@ This is just a list of data types that can be requested, and the encrypted objec
|
|||
</tbody>
|
||||
</table>
|
||||
<h4><a class="anchor" href="#passportfile" id="passportfile" name="passportfile"><i class="anchor-icon"></i></a>PassportFile</h4>
|
||||
<p>This object represents a <a href="/bots/api#passportfile">PassportFile</a> related to a document. The file is up to 10MB in size and in the .jpg format.</p>
|
||||
<p>This object represents a <a href="/bots/api#passportfile">PassportFile</a> related to a document. The file is up to 10 MB in size and in the .jpg format.</p>
|
||||
<h3><a class="anchor" href="#receiving-information" id="receiving-information" name="receiving-information"><i class="anchor-icon"></i></a>Receiving information</h3>
|
||||
<p>When the user confirms your request by pressing the 'Authorize' button, the Bot API sends an <a href="/bots/api#update">Update</a> with the field <em>passport_data</em> to the bot that contains encrypted <a href="/bots/api#passportdata">Telegram Passport data</a>.</p>
|
||||
<blockquote>
|
||||
|
|
|
@ -305,7 +305,7 @@ Data must be in JSON format and not TL, as it has to be passed directly to the s
|
|||
---functions---
|
||||
|
||||
<a href='/method/upload.saveFilePart'>upload.saveFilePart</a>#b304a621 file_id:<a href='/type/long'>long</a> file_part:<a href='/type/int'>int</a> bytes:<a href='/type/bytes'>bytes</a> = <a href='/type/Bool'>Bool</a>;</code></pre>
|
||||
<p>Files (JPG format, max. 10MB) are encrypted and padded (<a href="#encryption">see Encryption</a>), and then uploaded chunk by chunk as described in <a href="/api/files">files »</a>, except that instead of generating an <a href="/constructor/inputFile">inputFile</a>, an <a href="/constructor/inputSecureFile">inputSecureFile</a> should be generated, instead.</p>
|
||||
<p>Files (JPG format, max. 10 MB) are encrypted and padded (<a href="#encryption">see Encryption</a>), and then uploaded chunk by chunk as described in <a href="/api/files">files »</a>, except that instead of generating an <a href="/constructor/inputFile">inputFile</a>, an <a href="/constructor/inputSecureFile">inputSecureFile</a> should be generated, instead.</p>
|
||||
<ul>
|
||||
<li>As for secret chat files, the <code>md5_checksum</code> is to be set to the MD5 hash of the <em>encrypted</em> file, for a server-side integrity check.</li>
|
||||
<li>The <code>file_hash</code> field should be set to the <em>data_hash</em> of the data.</li>
|
||||
|
|
|
@ -286,7 +286,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/upload.saveBigFilePart">upload.saveBigFilePart</a></td>
|
||||
<td>Saves a part of a large file (over 10Mb in size) to be later passed to one of the methods.</td>
|
||||
<td>Saves a part of a large file (over 10 MB in size) to be later passed to one of the methods.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/account.checkUsername">account.checkUsername</a></td>
|
||||
|
|
|
@ -83,7 +83,7 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/method/help.getConfig">help.getConfig</a></td>
|
||||
<td>Returns current configuration, icluding data center configuration.</td>
|
||||
<td>Returns current configuration, including data center configuration.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>DcOption</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Information for connection to data centre.">
|
||||
<meta property="description" content="Information for connection to data center.">
|
||||
<meta property="og:title" content="DcOption">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Information for connection to data centre.">
|
||||
<meta property="og:description" content="Information for connection to data center.">
|
||||
<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/DcOption" >DcOption</a></li></ul></div>
|
||||
<h1 id="dev_page_title">DcOption</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Information for connection to data centre.</p>
|
||||
<div id="dev_page_content"><p>Information for connection to data center.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
@ -64,7 +64,7 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/constructor/dcOption">dcOption</a></td>
|
||||
<td>Data centre</td>
|
||||
<td>Data center</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/constructor/encryptedFileEmpty">encryptedFileEmpty</a></td>
|
||||
<td>Empty constructor, unexisitng file.</td>
|
||||
<td>Empty constructor, non-existing file.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/constructor/encryptedFile">encryptedFile</a></td>
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>InputAppEvent</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Object contains info about an event that occured in the application.">
|
||||
<meta property="description" content="Object contains info about an event that occurred in the application.">
|
||||
<meta property="og:title" content="InputAppEvent">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Object contains info about an event that occured in the application.">
|
||||
<meta property="og:description" content="Object contains info about an event that occurred in the application.">
|
||||
<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/InputAppEvent" >InputAppEvent</a></li></ul></div>
|
||||
<h1 id="dev_page_title">InputAppEvent</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Object contains info about an event that occured in the application.</p>
|
||||
<div id="dev_page_content"><p>Object contains info about an event that occurred in the application.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
@ -64,7 +64,7 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/constructor/inputAppEvent">inputAppEvent</a></td>
|
||||
<td>Event that occured in the application.</td>
|
||||
<td>Event that occurred in the application.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
|
|
@ -79,7 +79,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/constructor/inputEncryptedFileBigUploaded">inputEncryptedFileBigUploaded</a></td>
|
||||
<td>Assigns a new big encrypted file (over 10Mb in size), saved in parts using the method <a href="/method/upload.saveBigFilePart">upload.saveBigFilePart</a>.</td>
|
||||
<td>Assigns a new big encrypted file (over 10 MB in size), saved in parts using the method <a href="/method/upload.saveBigFilePart">upload.saveBigFilePart</a>.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/constructor/inputFileBig">inputFileBig</a></td>
|
||||
<td>Assigns a big file (over 10Mb in size), saved in part using the method <a href="/method/upload.saveBigFilePart">upload.saveBigFilePart</a>.</td>
|
||||
<td>Assigns a big file (over 10 MB in size), saved in part using the method <a href="/method/upload.saveBigFilePart">upload.saveBigFilePart</a>.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/constructor/inputSecureFile">inputSecureFile</a></td>
|
||||
<td>Preuploaded <a href="/passport">passport</a> file, for more info <a href="/passport/encryption#inputsecurefile">see the passport docs »</a></td>
|
||||
<td>Pre-uploaded <a href="/passport">passport</a> file, for more info <a href="/passport/encryption#inputsecurefile">see the passport docs »</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -88,7 +88,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/langpack.getDifference">langpack.getDifference</a></td>
|
||||
<td>Get new strings in languagepack</td>
|
||||
<td>Get new strings in language pack</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>NearestDc</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Object contains info on nearest data centre.">
|
||||
<meta property="description" content="Object contains info on nearest data center.">
|
||||
<meta property="og:title" content="NearestDc">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Object contains info on nearest data centre.">
|
||||
<meta property="og:description" content="Object contains info on nearest data center.">
|
||||
<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/NearestDc" >NearestDc</a></li></ul></div>
|
||||
<h1 id="dev_page_title">NearestDc</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Object contains info on nearest data centre.</p>
|
||||
<div id="dev_page_content"><p>Object contains info on nearest data center.</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/nearestDc">nearestDc</a></td>
|
||||
<td>Nearest data centre, according to geo-ip.</td>
|
||||
<td>Nearest data center, according to geo-ip.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -83,7 +83,7 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/method/help.getNearestDc">help.getNearestDc</a></td>
|
||||
<td>Returns info on data centre nearest to the user.</td>
|
||||
<td>Returns info on data center nearest to the user.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
|
|
@ -79,7 +79,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/constructor/phoneCallDiscardReasonBusy">phoneCallDiscardReasonBusy</a></td>
|
||||
<td>The phone call was discared because the user is busy in another call</td>
|
||||
<td>The phone call was discarded because the user is busy in another call</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>Update</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Object contains info on events occured.">
|
||||
<meta property="description" content="Object contains info on events occurred.">
|
||||
<meta property="og:title" content="Update">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Object contains info on events occured.">
|
||||
<meta property="og:description" content="Object contains info on events occurred.">
|
||||
<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/Update" >Update</a></li></ul></div>
|
||||
<h1 id="dev_page_title">Update</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Object contains info on events occured.</p>
|
||||
<div id="dev_page_content"><p>Object contains info on events occurred.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>auth.Authorization</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Oject contains info on user authorization.">
|
||||
<meta property="description" content="Object contains info on user authorization.">
|
||||
<meta property="og:title" content="auth.Authorization">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Oject contains info on user authorization.">
|
||||
<meta property="og:description" content="Object contains info on user authorization.">
|
||||
<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/auth.Authorization" >auth.Authorization</a></li></ul></div>
|
||||
<h1 id="dev_page_title">auth.Authorization</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Oject contains info on user authorization.</p>
|
||||
<div id="dev_page_content"><p>Object contains info on user authorization.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
@ -101,7 +101,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/auth.importAuthorization">auth.importAuthorization</a></td>
|
||||
<td>Logs in a user using a key transmitted from his native data-centre.</td>
|
||||
<td>Logs in a user using a key transmitted from his native data-center.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/auth.importBotAuthorization">auth.importBotAuthorization</a></td>
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/constructor/auth.exportedAuthorization">auth.exportedAuthorization</a></td>
|
||||
<td>Data for copying of authorization between data centres.</td>
|
||||
<td>Data for copying of authorization between data centers.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -83,7 +83,7 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/method/auth.exportAuthorization">auth.exportAuthorization</a></td>
|
||||
<td>Returns data for copying authorization to another data-centre.</td>
|
||||
<td>Returns data for copying authorization to another data-center.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
|
|
@ -79,7 +79,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/constructor/auth.loginTokenSuccess">auth.loginTokenSuccess</a></td>
|
||||
<td>Login via token (QR code) succeded!</td>
|
||||
<td>Login via token (QR code) succeeded!</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>contacts.ImportedContacts</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Object contains info on succesfully imported contacts.">
|
||||
<meta property="description" content="Object contains info on successfully imported contacts.">
|
||||
<meta property="og:title" content="contacts.ImportedContacts">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Object contains info on succesfully imported contacts.">
|
||||
<meta property="og:description" content="Object contains info on successfully imported contacts.">
|
||||
<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/contacts.ImportedContacts" >contacts.ImportedContacts</a></li></ul></div>
|
||||
<h1 id="dev_page_title">contacts.ImportedContacts</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Object contains info on succesfully imported contacts.</p>
|
||||
<div id="dev_page_content"><p>Object contains info on successfully imported contacts.</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/contacts.importedContacts">contacts.importedContacts</a></td>
|
||||
<td>Info on succesfully imported contacts.</td>
|
||||
<td>Info on successfully imported contacts.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>Messages.DhConfig</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Contains info on cofiguring parameters for key generation by Diffie-Hellman protocol.">
|
||||
<meta property="description" content="Contains Diffie-Hellman key generation protocol parameters.">
|
||||
<meta property="og:title" content="Messages.DhConfig">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Contains info on cofiguring parameters for key generation by Diffie-Hellman protocol.">
|
||||
<meta property="og:description" content="Contains Diffie-Hellman key generation protocol parameters.">
|
||||
<link rel="shortcut icon" href="/favicon.ico?4" type="image/x-icon" />
|
||||
|
||||
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
|
||||
|
@ -39,8 +39,8 @@
|
|||
<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.DhConfig" >Messages.DhConfig</a></li></ul></div>
|
||||
<h1 id="dev_page_title">Messages.DhConfig</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Contains info on cofiguring parameters for key generation by Diffie-Hellman protocol.</p>
|
||||
<p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Contains Diffie-Hellman key generation protocol parameters.
|
||||
<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 138 <b class="caret"></b></a>
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>messages.Messages</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Object contains infor on list of messages with auxiliary data.">
|
||||
<meta property="description" content="Object contains information on list of messages with auxiliary data.">
|
||||
<meta property="og:title" content="messages.Messages">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Object contains infor on list of messages with auxiliary data.">
|
||||
<meta property="og:description" content="Object contains information on list of messages with auxiliary data.">
|
||||
<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.Messages" >messages.Messages</a></li></ul></div>
|
||||
<h1 id="dev_page_title">messages.Messages</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Object contains infor on list of messages with auxiliary data.</p>
|
||||
<div id="dev_page_content"><p>Object contains information on list of messages with auxiliary data.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
@ -84,7 +84,7 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/constructor/messages.messages">messages.messages</a></td>
|
||||
<td>Full list of messages with auxilary data.</td>
|
||||
<td>Full list of messages with auxiliary data.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/constructor/messages.messagesSlice">messages.messagesSlice</a></td>
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/constructor/messages.sentEncryptedMessage">messages.sentEncryptedMessage</a></td>
|
||||
<td>Message without file attachemts sent to an encrypted file.</td>
|
||||
<td>Message without file attachments sent to an encrypted file.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/constructor/messages.sentEncryptedFile">messages.sentEncryptedFile</a></td>
|
||||
|
|
Loading…
Reference in a new issue