mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-12-01 04:32:09 +01:00
Update content of files
This commit is contained in:
parent
f07c2715ed
commit
97bbe90454
3 changed files with 15 additions and 20 deletions
|
@ -470,6 +470,7 @@ This can be done in a manner similar to <a href="#downloading-files">normal file
|
|||
<p>The <a href="/type/InputWebFileLocation">InputWebFileLocation</a> constructor is generated as follows.</p>
|
||||
<pre><code><a href='/constructor/inputWebFileLocation'>inputWebFileLocation</a>#c239d686 url:<a href='/type/string'>string</a> access_hash:<a href='/type/long'>long</a> = <a href='/type/InputWebFileLocation'>InputWebFileLocation</a>;
|
||||
<a href='/constructor/inputWebFileGeoPointLocation'>inputWebFileGeoPointLocation</a>#9f2221c9 geo_point:<a href='/type/InputGeoPoint'>InputGeoPoint</a> access_hash:<a href='/type/long'>long</a> w:<a href='/type/int'>int</a> h:<a href='/type/int'>int</a> zoom:<a href='/type/int'>int</a> scale:<a href='/type/int'>int</a> = <a href='/type/InputWebFileLocation'>InputWebFileLocation</a>;
|
||||
<a href='/constructor/inputWebFileAudioAlbumThumbLocation'>inputWebFileAudioAlbumThumbLocation</a>#f46fe924 flags:<a href='/type/%23'>#</a> small:flags.2?<a href='/constructor/true'>true</a> document:flags.0?<a href='/type/InputDocument'>InputDocument</a> title:flags.1?<a href='/type/string'>string</a> performer:flags.1?<a href='/type/string'>string</a> = <a href='/type/InputWebFileLocation'>InputWebFileLocation</a>;
|
||||
|
||||
<a href='/constructor/webDocument'>webDocument</a>#1c570ed1 url:<a href='/type/string'>string</a> access_hash:<a href='/type/long'>long</a> size:<a href='/type/int'>int</a> mime_type:<a href='/type/string'>string</a> attributes:<a href='/type/Vector%20t'>Vector</a><<a href='/type/DocumentAttribute'>DocumentAttribute</a>> = <a href='/type/WebDocument'>WebDocument</a>;
|
||||
|
||||
|
@ -487,6 +488,7 @@ This can be done in a manner similar to <a href="#downloading-files">normal file
|
|||
<li><code>scale</code> - Map scale; 1-3</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="/constructor/inputWebFileAudioAlbumThumbLocation">inputWebFileAudioAlbumThumbLocation</a> is used to download an album cover for any music file.</li>
|
||||
</ul>
|
||||
<h3><a class="anchor" href="#general-considerations" id="general-considerations" name="general-considerations"><i class="anchor-icon"></i></a>General Considerations</h3>
|
||||
<p>It is recommended that large queries (<a href="/method/upload.getFile">upload.getFile</a>, <a href="/method/upload.saveFilePart">upload.saveFilePart</a>, <a href="/method/upload.getWebFile">upload.getWebFile</a>) be handled through a separate session and a separate connection, in which no methods other than these should be executed. If this is done, then data transfer will cause less interference with <a href="/api/updates">getting updates</a> and other method calls.</p>
|
||||
|
|
|
@ -4,32 +4,24 @@
|
|||
<meta charset="utf-8">
|
||||
<title>inputWebFileAudioAlbumThumbLocation</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Parameters
|
||||
<meta property="description" content="Used to download an album cover for any music file.
|
||||
Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
flags
|
||||
#
|
||||
Flags, see TL conditional fields
|
||||
small
|
||||
flags.2?true
|
||||
|
||||
document
|
||||
flags.0?InputDocument…">
|
||||
Flags, see TL conditional fields…">
|
||||
<meta property="og:title" content="inputWebFileAudioAlbumThumbLocation">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
<meta property="og:description" content="Used to download an album cover for any music file.
|
||||
Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
flags
|
||||
#
|
||||
Flags, see TL conditional fields
|
||||
small
|
||||
flags.2?true
|
||||
|
||||
document
|
||||
flags.0?InputDocument…">
|
||||
Flags, see TL conditional fields…">
|
||||
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
|
||||
|
@ -64,7 +56,8 @@ flags.0?InputDocument…">
|
|||
<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/inputWebFileAudioAlbumThumbLocation" >inputWebFileAudioAlbumThumbLocation</a></li></ul></div>
|
||||
<h1 id="dev_page_title">inputWebFileAudioAlbumThumbLocation</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Used to download an album cover for any music file.</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>
|
||||
|
@ -105,12 +98,12 @@ flags.0?InputDocument…">
|
|||
<tr>
|
||||
<td><strong>title</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.1?<a href="/type/string">string</a></td>
|
||||
<td> </td>
|
||||
<td>Song title</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>performer</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.1?<a href="/type/string">string</a></td>
|
||||
<td> </td>
|
||||
<td>Performer</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/inputWebFileGeoPointLocation" >inputWebFileGeoPointLocation</a></li></ul></div>
|
||||
<h1 id="dev_page_title">inputWebFileGeoPointLocation</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Geolocation</p>
|
||||
<div id="dev_page_content"><p>Used to download a server-generated image with the map preview from a <a href="/constructor/geoPoint">geoPoint</a>.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
@ -69,12 +69,12 @@
|
|||
<tr>
|
||||
<td><strong>geo_point</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/InputGeoPoint">InputGeoPoint</a></td>
|
||||
<td>Geolocation</td>
|
||||
<td>Generated from the <code>lat</code>, <code>long</code> and <code>accuracy_radius</code> parameters of the <a href="/constructor/geoPoint">geoPoint</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>access_hash</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/long">long</a></td>
|
||||
<td>Access hash</td>
|
||||
<td>Access hash of the <a href="/constructor/geoPoint">geoPoint</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>w</strong></td>
|
||||
|
|
Loading…
Reference in a new issue