mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-12-28 07:20:31 +01:00
Update content of files
This commit is contained in:
parent
e5f33db58d
commit
1022543bd2
8 changed files with 28 additions and 18 deletions
|
@ -49,6 +49,7 @@
|
|||
<p>In the API, folders are called "dialog filters"; in the UI, they are typically represented as tabs. </p>
|
||||
<p>Schema:</p>
|
||||
<pre><code><a href='/constructor/dialogFilter'>dialogFilter</a>#7438f7e8 flags:<a href='/type/%23'>#</a> contacts:flags.0?<a href='/constructor/true'>true</a> non_contacts:flags.1?<a href='/constructor/true'>true</a> groups:flags.2?<a href='/constructor/true'>true</a> broadcasts:flags.3?<a href='/constructor/true'>true</a> bots:flags.4?<a href='/constructor/true'>true</a> exclude_muted:flags.11?<a href='/constructor/true'>true</a> exclude_read:flags.12?<a href='/constructor/true'>true</a> exclude_archived:flags.13?<a href='/constructor/true'>true</a> id:<a href='/type/int'>int</a> title:<a href='/type/string'>string</a> emoticon:flags.25?<a href='/type/string'>string</a> pinned_peers:<a href='/type/Vector%20t'>Vector</a><<a href='/type/InputPeer'>InputPeer</a>> include_peers:<a href='/type/Vector%20t'>Vector</a><<a href='/type/InputPeer'>InputPeer</a>> exclude_peers:<a href='/type/Vector%20t'>Vector</a><<a href='/type/InputPeer'>InputPeer</a>> = <a href='/type/DialogFilter'>DialogFilter</a>;
|
||||
<a href='/constructor/dialogFilterDefault'>dialogFilterDefault</a>#363293ae = <a href='/type/DialogFilter'>DialogFilter</a>;
|
||||
|
||||
<a href='/constructor/dialogFilterSuggested'>dialogFilterSuggested</a>#77744d4a filter:<a href='/type/DialogFilter'>DialogFilter</a> description:<a href='/type/string'>string</a> = <a href='/type/DialogFilterSuggested'>DialogFilterSuggested</a>;
|
||||
|
||||
|
@ -74,8 +75,9 @@
|
|||
The UI should then show a list of suggested folder combinations. </p>
|
||||
<p>Once configuration is finished, apps call <a href="/method/messages.updateDialogFilter">messages.updateDialogFilter</a> to create or update existing folders.<br>
|
||||
As per the <a href="/constructor/dialogFilter">dialogFilter</a> constructor, folders have multiple flags that can be combined to determine which chats should be included in (or excluded from) the folder.<br>
|
||||
Folders can also have up to <code>channels_public_limit_*</code> pinned chats, as determined by the <a href="/api/config#client-configuration">config</a> and the <code>pinned_peers</code> field.</p>
|
||||
Folders can also have up to <code>dialogs_folder_pinned_limit_*</code> pinned chats, as determined by the <a href="/api/config#client-configuration">client configuration</a>.</p>
|
||||
<p>To reorder existing folders, <a href="/method/messages.updateDialogFiltersOrder">messages.updateDialogFiltersOrder</a> should be used with the IDs of the various dialog filters.</p>
|
||||
<p>Premium users also have access to a <a href="/constructor/dialogFilterDefault">dialogFilterDefault</a> constructor, used only when reordering folders to indicate the default (all chats) folder. </p>
|
||||
<p>To delete folders, use <a href="/method/messages.updateDialogFilter">messages.updateDialogFilter</a> without populating the <code>filter</code> flag field. </p>
|
||||
<p>Clients can receive <a href="/constructor/updateDialogFilter">updateDialogFilter</a>, <a href="/constructor/updateDialogFilterOrder">updateDialogFilterOrder</a> updates with new filter information, generated by other clients when modifying folder info.<br>
|
||||
Clients can also receive <a href="/constructor/updateDialogFilters">updateDialogFilters</a>, in which case folder info should be refetched manually using <a href="/method/messages.getDialogFilters">messages.getDialogFilters</a>.</p>
|
||||
|
|
|
@ -168,7 +168,7 @@
|
|||
<li>Added <a href="/constructor/payments.exportedInvoice">payments.exportedInvoice</a> - Exported invoice</li>
|
||||
<li>Added <a href="/constructor/updateTranscribedAudio">updateTranscribedAudio</a> - A pending transcription initiated with <a href="/method/messages.transcribeAudio">messages.transcribeAudio</a> was updated.</li>
|
||||
<li>Added <a href="/constructor/messages.transcribedAudio">messages.transcribedAudio</a> - Transcribed text from a voice message</li>
|
||||
<li>Added <a href="/constructor/dialogFilterDefault">dialogFilterDefault</a> - </li>
|
||||
<li>Added <a href="/constructor/dialogFilterDefault">dialogFilterDefault</a> - Used only when reordering folders to indicate the default (all chats) folder.</li>
|
||||
<li>Added <a href="/constructor/help.premiumPromo">help.premiumPromo</a> - Telegram Premium promotion information</li>
|
||||
</ul>
|
||||
<h5><a class="anchor" href="#changed-constructors" id="changed-constructors" name="changed-constructors"><i class="anchor-icon"></i></a>Changed Constructors</h5>
|
||||
|
|
|
@ -68,6 +68,9 @@ After upload, the document should be provided to <a href="/method/account.saveRi
|
|||
<li>OGG OPUS</li>
|
||||
</ul>
|
||||
<p>If the notification sound is not in MP3 format it will be converted to MP3 by <a href="/method/account.saveRingtone">account.saveRingtone</a> and an <a href="/constructor/account.savedRingtoneConverted">account.savedRingtoneConverted</a> constructor will be returned containing the new document to use <strong>instead of</strong> the one returned by <a href="/method/account.uploadRingtone">account.uploadRingtone</a> when <a href="#removing-notification-sounds">removing</a> or <a href="#setting-notification-sounds">using</a> notification sounds. </p>
|
||||
<p>The maximum duration in seconds of uploaded ringtones is specified by the <code>ringtone_duration_max</code> <a href="/api/config#client-configuration">client configuration parameter</a>.<br>
|
||||
The maximum number of saveable ringtones is specified by the <code>ringtone_saved_count_max</code> <a href="/api/config#client-configuration">client configuration parameter</a>.<br>
|
||||
The maximum (post-conversion) filesize in bytes of uploadable ringtones is specified by the <code>ringtone_size_max</code> <a href="/api/config#client-configuration">client configuration parameter</a>. </p>
|
||||
<h3><a class="anchor" href="#removing-notification-sounds" id="removing-notification-sounds" name="removing-notification-sounds"><i class="anchor-icon"></i></a>Removing notification sounds</h3>
|
||||
<p>Schema:</p>
|
||||
<pre><code><a href='/constructor/account.savedRingtone'>account.savedRingtone</a>#b7263f6d = <a href='/type/account.SavedRingtone'>account.SavedRingtone</a>;
|
||||
|
|
|
@ -96,7 +96,7 @@
|
|||
<tr>
|
||||
<td><strong>size</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/long">long</a></td>
|
||||
<td>Document size</td>
|
||||
<td>Document size (<a href="/type/int">int</a> on layer <143, <a href="/type/long">long</a> on layer >=143)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>key</strong></td>
|
||||
|
@ -121,7 +121,14 @@
|
|||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
|
||||
<p><a href="/type/DecryptedMessageMedia">DecryptedMessageMedia</a></p></div>
|
||||
<p><a href="/type/DecryptedMessageMedia">DecryptedMessageMedia</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="#int" id="int" name="int"><i class="anchor-icon"></i></a><a href="/type/int">int</a></h4>
|
||||
<p>A basic bare type, the values of which correspond to single-element sequences, i.e. numbers from -2^31 to 2^31-1 which in this case represent themselves.</p>
|
||||
<p><a href="/mtproto/serialize">More on basic types »</a></p>
|
||||
<h4><a class="anchor" href="#long" id="long" name="long"><i class="anchor-icon"></i></a><a href="/type/long">long</a></h4>
|
||||
<p>A basic bare type, elements of which correspond to two-element sequences, representing 64-bit signed numbers (little-endian).</p>
|
||||
<p><a href="/mtproto/serialize">More on basic types »</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,16 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>dialogFilterDefault</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Parameters
|
||||
This constructor does not require any parameters.
|
||||
Type
|
||||
DialogFilter">
|
||||
<meta property="description" content="Used only when reordering folders to indicate the default (all chats) folder.">
|
||||
<meta property="og:title" content="dialogFilterDefault">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
This constructor does not require any parameters.
|
||||
Type
|
||||
DialogFilter">
|
||||
<meta property="og:description" content="Used only when reordering folders to indicate the default (all chats) folder.">
|
||||
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
|
||||
|
@ -48,7 +42,8 @@ DialogFilter">
|
|||
<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/dialogFilterDefault" >dialogFilterDefault</a></li></ul></div>
|
||||
<h1 id="dev_page_title">dialogFilterDefault</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Used only when reordering folders to indicate the default (all chats) folder.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 144 <b class="caret"></b></a>
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>inputWebFileGeoPointLocation</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Geolocation">
|
||||
<meta property="description" content="Used to download a server-generated image with the map preview from a geoPoint.">
|
||||
<meta property="og:title" content="inputWebFileGeoPointLocation">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Geolocation">
|
||||
<meta property="og:description" content="Used to download a server-generated image with the map preview from a geoPoint.">
|
||||
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
|
||||
|
@ -99,7 +99,10 @@
|
|||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
|
||||
<p><a href="/type/InputWebFileLocation">InputWebFileLocation</a></p></div>
|
||||
<p><a href="/type/InputWebFileLocation">InputWebFileLocation</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="#geopoint" id="geopoint" name="geopoint"><i class="anchor-icon"></i></a><a href="/constructor/geoPoint">geoPoint</a></h4>
|
||||
<p>GeoPoint.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/constructor/dialogFilterDefault">dialogFilterDefault</a></td>
|
||||
<td> </td>
|
||||
<td>Used only when reordering folders to indicate the default (all chats) folder.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -77,7 +77,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/constructor/inputWebFileAudioAlbumThumbLocation">inputWebFileAudioAlbumThumbLocation</a></td>
|
||||
<td> </td>
|
||||
<td>Used to download an album cover for any music file.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
|
Loading…
Reference in a new issue