Skip to content

Commit

Permalink
Add link to new file upload methods
Browse files Browse the repository at this point in the history
  • Loading branch information
technically-tracy committed Apr 5, 2024
1 parent f8906fe commit 008663c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ <h2>Files<a class="headerlink" href="#files" title="Link to this heading">¶</a>
<span class="p">)</span>
</pre></div>
</div>
<p>See <a class="reference external" href="https://github.com/slackapi/python-slack-sdk/releases/tag/v3.19.0">files_upload_v2 method release notes</a> for more info.</p>
<p>Files can still be uploaded via files.upload but it is less reliable than we'd like, especially for large files. We recommend that you retire any app functionality that relies on files.upload and use files.getUploadURLExternal and files.completeUploadExternal instead. See <a href="https://api.dev1247.slack.com/messaging/files#uploading_files">Uploading files</a> and <a class="reference external" href="https://github.com/slackapi/python-slack-sdk/releases/tag/v3.19.0">files_upload_v2 method release notes</a>for more details.</p>
<p><strong>Adding a remote file</strong></p>
<p>You can add a file information that is stored in an external storage, not in Slack.</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="n">response</span> <span class="o">=</span> <span class="n">client</span><span class="o">.</span><span class="n">files_remote_add</span><span class="p">(</span>
Expand Down Expand Up @@ -821,4 +821,4 @@ <h2>RetryHandler<a class="headerlink" href="#retryhandler" title="Link to this h
</script>
<script async src="https://www.google-analytics.com/analytics.js"></script>
</body>
</html>
</html>

0 comments on commit 008663c

Please sign in to comment.