Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add link to new file upload methods #1489

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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.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>