Skip to content

Commit

Permalink
version 3.19.3
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed Nov 8, 2022
1 parent b32cebb commit 3610592
Show file tree
Hide file tree
Showing 7 changed files with 1,367 additions and 290 deletions.
1,019 changes: 826 additions & 193 deletions docs/api-docs/slack_sdk/models/blocks/block_elements.html

Large diffs are not rendered by default.

619 changes: 528 additions & 91 deletions docs/api-docs/slack_sdk/models/blocks/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/api-docs/slack_sdk/version.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="title">Module <code>slack_sdk.version</code></h1>
<span>Expand source code</span>
</summary>
<pre><code class="python">&#34;&#34;&#34;Check the latest version at https://pypi.org/project/slack-sdk/&#34;&#34;&#34;
__version__ = &#34;3.19.2&#34;</code></pre>
__version__ = &#34;3.19.3&#34;</code></pre>
</details>
</section>
<section>
Expand Down
9 changes: 8 additions & 1 deletion docs/api-docs/slack_sdk/web/internal_utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ <h1 class="title">Module <code>slack_sdk.web.internal_utils</code></h1>
import warnings
from asyncio import Future
from http.client import HTTPResponse
from io import IOBase
from ssl import SSLContext
from typing import Any, Dict, Optional, Sequence, Union
from urllib.parse import urljoin
Expand Down Expand Up @@ -342,8 +343,14 @@ <h1 class="title">Module <code>slack_sdk.web.internal_utils</code></h1>
if isinstance(file, str): # filepath
with open(file.encode(&#34;utf-8&#34;, &#34;ignore&#34;), &#34;rb&#34;) as readable:
data = readable.read()
else:
elif isinstance(file, bytes):
data = file
elif isinstance(file, IOBase):
data = file.read()
if isinstance(data, str):
data = data.encode()
else:
raise SlackRequestError(&#34;file parameter must be any of filepath, bytes, and io.IOBase&#34;)
elif content is not None:
if isinstance(content, str):
data = content.encode(&#34;utf-8&#34;)
Expand Down
4 changes: 2 additions & 2 deletions docs/real_time_messaging.html
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
<span id="real-time-messaging"></span><h1>RTM Client<a class="headerlink" href="#rtm-client" title="Permalink to this heading"></a></h1>
<section id="real-time-messaging-rtm">
<h2>Real Time Messaging (RTM)<a class="headerlink" href="#real-time-messaging-rtm" title="Permalink to this heading"></a></h2>
<pre class="literal-block"><strong>rtm.start method deprecation after Nov 30th, 2021.</strong> see details <a class="reference external" href="https://api.slack.com/changelog/2021-10-rtm-start-to-stop">here</a></pre>
<pre class="literal-block"><strong>rtm.start method has been deprecated for apps created after Nov 30th, 2021.</strong> See details <a class="reference external" href="https://api.slack.com/changelog/2021-10-rtm-start-to-stop">here</a></pre>
<p>The <a class="reference external" href="https://api.slack.com/rtm">Real Time Messaging (RTM) API</a> is a WebSocket-based API that allows you to receive events from Slack in real time and send messages as users.</p>
<p>If you prefer events to be pushed to your app, we recommend using the HTTP-based <a class="reference external" href="https://api.slack.com/events-api">Events API</a> along with <a class="reference external" href="https://api.slack.com/socket-mode">Socket Mode</a> instead. The Events API contains some events that aren’t supported in the RTM API (like <a class="reference external" href="https://api.slack.com/events/app_home_opened">app_home_opened event</a>), and it supports most of the event types in the RTM API. If you’d like to use the Events API, you can use the <a class="reference external" href="https://github.com/slackapi/python-slack-events-api">Python Slack Events Adaptor</a>.</p>
<p>The RTMClient allows apps to communicate with the Slack Platform’s RTM API.</p>
Expand Down Expand Up @@ -275,7 +275,7 @@ <h2>Real Time Messaging (RTM)<a class="headerlink" href="#real-time-messaging-rt
</pre></div>
</div>
<p><strong>rtm.start vs rtm.connect (v1 client)</strong></p>
<pre class="literal-block"><strong>rtm.start method deprecation after Nov 30th, 2021.</strong> see details <a class="reference external" href="https://api.slack.com/changelog/2021-10-rtm-start-to-stop">here</a></pre>
<pre class="literal-block"><strong>rtm.start method has been deprecated for apps created after Nov 30th, 2021.</strong> See details <a class="reference external" href="https://api.slack.com/changelog/2021-10-rtm-start-to-stop">here</a></pre>
<p>By default, the RTM client uses <code class="docutils literal notranslate"><span class="pre">rtm.connect</span></code> to establish a WebSocket connection with Slack. The response contains basic information about the team and WebSocket url.</p>
<p>Read the <a class="reference external" href="https://api.slack.com/methods/rtm.connect">rtm.connect docs</a> and the <a class="reference external" href="https://api.slack.com/methods/rtm.start">rtm.start docs</a> for more details. Also, note that <code class="docutils literal notranslate"><span class="pre">slack.rtm_v2.RTMClient</span></code> does not support <code class="docutils literal notranslate"><span class="pre">rtm.start</span></code>.</p>
<p><strong>RTM Events</strong></p>
Expand Down
2 changes: 1 addition & 1 deletion docs/searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion slack_sdk/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Check the latest version at https://pypi.org/project/slack-sdk/"""
__version__ = "3.19.2"
__version__ = "3.19.3"

0 comments on commit 3610592

Please sign in to comment.