Update content of files

This commit is contained in:
GitHub Action 2023-04-27 15:08:39 +00:00
parent 9dd7659cc3
commit 550714c4f7
2 changed files with 3 additions and 0 deletions

View file

@ -431,7 +431,9 @@ Note that the stickerset can be fetched using <a href="/constructor/inputSticker
<h4><a class="anchor" href="#chatlists-joined-limit-premium" id="chatlists-joined-limit-premium" name="chatlists-joined-limit-premium"><i class="anchor-icon"></i></a><code>chatlists_joined_limit_premium</code></h4>
<p>Maximum number of <a href="/api/links#chat-folder-links">shareable folders</a> <a href="/api/premium">Premium</a> users may have. (integer)</p>
<h4><a class="anchor" href="#small-queue-max-active-operations-count" id="small-queue-max-active-operations-count" name="small-queue-max-active-operations-count"><i class="anchor-icon"></i></a><code>small_queue_max_active_operations_count</code></h4>
<p>Maximum number of files that can be downloaded in parallel from the same DC, for files smaller than 20MB. (integer)</p>
<h4><a class="anchor" href="#large-queue-max-active-operations-count" id="large-queue-max-active-operations-count" name="large-queue-max-active-operations-count"><i class="anchor-icon"></i></a><code>large_queue_max_active_operations_count</code></h4>
<p>Maximum number of files that can be downloaded in parallel from the same DC, for files bigger than 20MB. (integer)</p>
<h3><a class="anchor" href="#suggestions" id="suggestions" name="suggestions"><i class="anchor-icon"></i></a>Suggestions</h3>
<p>The API can return a set of useful suggestions for users of graphical clients. </p>
<h4><a class="anchor" href="#basic-suggestions" id="basic-suggestions" name="basic-suggestions"><i class="anchor-icon"></i></a>Basic suggestions</h4>

View file

@ -292,6 +292,7 @@ The data for the input parameter of the <a href="/type/InputFileLocation">InputF
<ul>
<li><strong>offset</strong> / (1024 * 1024) == (<strong>offset</strong> + <strong>limit</strong> - 1) / (1024 * 1024).</li>
</ul>
<p>When downloading multiple files in parallel, limit the parallelism to download at most <code>small_queue_max_active_operations_count</code>/<code>large_queue_max_active_operations_count</code> files in parallel when downloading files smaller/bigger than 20MB (<a href="/api/config#client-configuration">client configuration parameters »</a>). </p>
<p>The file download operation may return a <code>FILE_REFERENCE_EXPIRED</code> error (or another error starting with <code>FILE_REFERENCE_</code>): in this case, the <code>file_reference</code> field of the input location must be <a href="/api/file_reference">refreshed</a>.
The file download operation may return an <a href="/constructor/upload.fileCdnRedirect">upload.fileCdnRedirect</a> constructor: in this case, <a href="/cdn">these</a> instructions must be followed for downloading CDN files.
The file download operation may also return one of the following <a href="/api/errors#400-bad-request">data input errors</a>:</p>