Skip to content

Commit 41cbaa4

Browse files
version 3.28.0 (slackapi#1506)
1 parent abdfc87 commit 41cbaa4

20 files changed

+80
-60
lines changed

docs/api-docs/slack_sdk/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
197197
<dl>
198198
<dt id="slack_sdk.WebClient"><code class="flex name class">
199199
<span>class <span class="ident">WebClient</span></span>
200-
<span>(</span><span>token: Optional[str] = None, base_url: str = 'https://www.slack.com/api/', timeout: int = 30, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, headers: Optional[dict] = None, user_agent_prefix: Optional[str] = None, user_agent_suffix: Optional[str] = None, team_id: Optional[str] = None, logger: Optional[logging.Logger] = None, retry_handlers: Optional[List[<a title="slack_sdk.http_retry.handler.RetryHandler" href="http_retry/handler.html#slack_sdk.http_retry.handler.RetryHandler">RetryHandler</a>]] = None)</span>
200+
<span>(</span><span>token: Optional[str] = None, base_url: str = 'https://slack.com/api/', timeout: int = 30, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, headers: Optional[dict] = None, user_agent_prefix: Optional[str] = None, user_agent_suffix: Optional[str] = None, team_id: Optional[str] = None, logger: Optional[logging.Logger] = None, retry_handlers: Optional[List[<a title="slack_sdk.http_retry.handler.RetryHandler" href="http_retry/handler.html#slack_sdk.http_retry.handler.RetryHandler">RetryHandler</a>]] = None)</span>
201201
</code></dt>
202202
<dd>
203203
<div class="desc"><p>A WebClient allows apps to communicate with the Slack Platform's Web API.</p>
@@ -212,7 +212,7 @@ <h2 id="attributes">Attributes</h2>
212212
<dd>A string specifying an <code>xoxp-*</code> or <code>xoxb-*</code> token.</dd>
213213
<dt><strong><code>base_url</code></strong> :&ensp;<code>str</code></dt>
214214
<dd>A string representing the Slack API base URL.
215-
Default is <code>'https://www.slack.com/api/'</code></dd>
215+
Default is <code>'https://slack.com/api/'</code></dd>
216216
<dt><strong><code>timeout</code></strong> :&ensp;<code>int</code></dt>
217217
<dd>The maximum number of seconds the client will wait
218218
to connect and receive a response from Slack.
@@ -276,7 +276,7 @@ <h2 id="note">Note</h2>
276276
Attributes:
277277
token (str): A string specifying an `xoxp-*` or `xoxb-*` token.
278278
base_url (str): A string representing the Slack API base URL.
279-
Default is `&#39;https://www.slack.com/api/&#39;`
279+
Default is `&#39;https://slack.com/api/&#39;`
280280
timeout (int): The maximum number of seconds the client will wait
281281
to connect and receive a response from Slack.
282282
Default is 30 seconds.

docs/api-docs/slack_sdk/oauth/installation_store/file/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
291291
<dl>
292292
<dt id="slack_sdk.oauth.installation_store.file.FileInstallationStore"><code class="flex name class">
293293
<span>class <span class="ident">FileInstallationStore</span></span>
294-
<span>(</span><span>*, base_dir: str = '/Users/kazuhiro.sera/.bolt-app-installation', historical_data_enabled: bool = True, client_id: Optional[str] = None, logger: logging.Logger = &lt;Logger slack_sdk.oauth.installation_store.file (WARNING)&gt;)</span>
294+
<span>(</span><span>*, base_dir: str = '/Users/wbergamin/.bolt-app-installation', historical_data_enabled: bool = True, client_id: Optional[str] = None, logger: logging.Logger = &lt;Logger slack_sdk.oauth.installation_store.file (WARNING)&gt;)</span>
295295
</code></dt>
296296
<dd>
297297
<div class="desc"><p>The installation store interface.</p>

docs/api-docs/slack_sdk/oauth/installation_store/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ <h3>Methods</h3>
327327
</dd>
328328
<dt id="slack_sdk.oauth.installation_store.FileInstallationStore"><code class="flex name class">
329329
<span>class <span class="ident">FileInstallationStore</span></span>
330-
<span>(</span><span>*, base_dir: str = '/Users/kazuhiro.sera/.bolt-app-installation', historical_data_enabled: bool = True, client_id: Optional[str] = None, logger: logging.Logger = &lt;Logger slack_sdk.oauth.installation_store.file (WARNING)&gt;)</span>
330+
<span>(</span><span>*, base_dir: str = '/Users/wbergamin/.bolt-app-installation', historical_data_enabled: bool = True, client_id: Optional[str] = None, logger: logging.Logger = &lt;Logger slack_sdk.oauth.installation_store.file (WARNING)&gt;)</span>
331331
</code></dt>
332332
<dd>
333333
<div class="desc"><p>The installation store interface.</p>

docs/api-docs/slack_sdk/oauth/state_store/file/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
110110
<dl>
111111
<dt id="slack_sdk.oauth.state_store.file.FileOAuthStateStore"><code class="flex name class">
112112
<span>class <span class="ident">FileOAuthStateStore</span></span>
113-
<span>(</span><span>*, expiration_seconds: int, base_dir: str = '/Users/kazuhiro.sera/.bolt-app-oauth-state', client_id: Optional[str] = None, logger: logging.Logger = &lt;Logger slack_sdk.oauth.state_store.file (WARNING)&gt;)</span>
113+
<span>(</span><span>*, expiration_seconds: int, base_dir: str = '/Users/wbergamin/.bolt-app-oauth-state', client_id: Optional[str] = None, logger: logging.Logger = &lt;Logger slack_sdk.oauth.state_store.file (WARNING)&gt;)</span>
114114
</code></dt>
115115
<dd>
116116
<div class="desc"></div>

docs/api-docs/slack_sdk/oauth/state_store/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
8080
<dl>
8181
<dt id="slack_sdk.oauth.state_store.FileOAuthStateStore"><code class="flex name class">
8282
<span>class <span class="ident">FileOAuthStateStore</span></span>
83-
<span>(</span><span>*, expiration_seconds: int, base_dir: str = '/Users/kazuhiro.sera/.bolt-app-oauth-state', client_id: Optional[str] = None, logger: logging.Logger = &lt;Logger slack_sdk.oauth.state_store.file (WARNING)&gt;)</span>
83+
<span>(</span><span>*, expiration_seconds: int, base_dir: str = '/Users/wbergamin/.bolt-app-oauth-state', client_id: Optional[str] = None, logger: logging.Logger = &lt;Logger slack_sdk.oauth.state_store.file (WARNING)&gt;)</span>
8484
</code></dt>
8585
<dd>
8686
<div class="desc"></div>

docs/api-docs/slack_sdk/rtm/index.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ <h1 class="title">Module <code>slack_sdk.rtm</code></h1>
7777
Default is 30.
7878
base_url (str): The base url for all HTTP requests.
7979
Note: This is only used in the WebClient.
80-
Default is &#34;https://www.slack.com/api/&#34;.
80+
Default is &#34;https://slack.com/api/&#34;.
8181
connect_method (str): An string specifying if the client
8282
will connect with `rtm.connect` or `rtm.start`.
8383
Default is `rtm.connect`.
@@ -619,7 +619,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
619619
<dl>
620620
<dt id="slack_sdk.rtm.RTMClient"><code class="flex name class">
621621
<span>class <span class="ident">RTMClient</span></span>
622-
<span>(</span><span>*, token: str, run_async: Optional[bool] = False, auto_reconnect: Optional[bool] = True, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, timeout: Optional[int] = 30, base_url: Optional[str] = 'https://www.slack.com/api/', connect_method: Optional[str] = None, ping_interval: Optional[int] = 30, loop: Optional[asyncio.events.AbstractEventLoop] = None, headers: Optional[dict] = {})</span>
622+
<span>(</span><span>*, token: str, run_async: Optional[bool] = False, auto_reconnect: Optional[bool] = True, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, timeout: Optional[int] = 30, base_url: Optional[str] = 'https://slack.com/api/', connect_method: Optional[str] = None, ping_interval: Optional[int] = 30, loop: Optional[asyncio.events.AbstractEventLoop] = None, headers: Optional[dict] = {})</span>
623623
</code></dt>
624624
<dd>
625625
<div class="desc"><p>An RTMClient allows apps to communicate with the Slack Platform's RTM API.</p>
@@ -652,7 +652,7 @@ <h2 id="attributes">Attributes</h2>
652652
<dt><strong><code>base_url</code></strong> :&ensp;<code>str</code></dt>
653653
<dd>The base url for all HTTP requests.
654654
Note: This is only used in the WebClient.
655-
Default is "https://www.slack.com/api/".</dd>
655+
Default is "https://slack.com/api/".</dd>
656656
<dt><strong><code>connect_method</code></strong> :&ensp;<code>str</code></dt>
657657
<dd>An string specifying if the client
658658
will connect with <code>rtm.connect</code> or <code>rtm.start</code>.
@@ -732,7 +732,7 @@ <h2 id="note">Note</h2>
732732
Default is 30.
733733
base_url (str): The base url for all HTTP requests.
734734
Note: This is only used in the WebClient.
735-
Default is &#34;https://www.slack.com/api/&#34;.
735+
Default is &#34;https://slack.com/api/&#34;.
736736
connect_method (str): An string specifying if the client
737737
will connect with `rtm.connect` or `rtm.start`.
738738
Default is `rtm.connect`.

docs/api-docs/slack_sdk/rtm/v2/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
4444
<dl>
4545
<dt id="slack_sdk.rtm.v2.RTMClient"><code class="flex name class">
4646
<span>class <span class="ident">RTMClient</span></span>
47-
<span>(</span><span>*, token: Optional[str] = None, web_client: Optional[<a title="slack_sdk.web.client.WebClient" href="../../web/client.html#slack_sdk.web.client.WebClient">WebClient</a>] = None, auto_reconnect_enabled: bool = True, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, timeout: int = 30, base_url: str = 'https://www.slack.com/api/', headers: Optional[dict] = None, ping_interval: int = 5, concurrency: int = 10, logger: Optional[logging.Logger] = None, on_message_listeners: Optional[List[Callable[[str], None]]] = None, on_error_listeners: Optional[List[Callable[[Exception], None]]] = None, on_close_listeners: Optional[List[Callable[[int, Optional[str]], None]]] = None, trace_enabled: bool = False, all_message_trace_enabled: bool = False, ping_pong_trace_enabled: bool = False)</span>
47+
<span>(</span><span>*, token: Optional[str] = None, web_client: Optional[<a title="slack_sdk.web.client.WebClient" href="../../web/client.html#slack_sdk.web.client.WebClient">WebClient</a>] = None, auto_reconnect_enabled: bool = True, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, timeout: int = 30, base_url: str = 'https://slack.com/api/', headers: Optional[dict] = None, ping_interval: int = 5, concurrency: int = 10, logger: Optional[logging.Logger] = None, on_message_listeners: Optional[List[Callable[[str], None]]] = None, on_error_listeners: Optional[List[Callable[[Exception], None]]] = None, on_close_listeners: Optional[List[Callable[[int, Optional[str]], None]]] = None, trace_enabled: bool = False, all_message_trace_enabled: bool = False, ping_pong_trace_enabled: bool = False)</span>
4848
</code></dt>
4949
<dd>
5050
<div class="desc"></div>

docs/api-docs/slack_sdk/rtm_v2/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
431431
<dl>
432432
<dt id="slack_sdk.rtm_v2.RTMClient"><code class="flex name class">
433433
<span>class <span class="ident">RTMClient</span></span>
434-
<span>(</span><span>*, token: Optional[str] = None, web_client: Optional[<a title="slack_sdk.web.client.WebClient" href="../web/client.html#slack_sdk.web.client.WebClient">WebClient</a>] = None, auto_reconnect_enabled: bool = True, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, timeout: int = 30, base_url: str = 'https://www.slack.com/api/', headers: Optional[dict] = None, ping_interval: int = 5, concurrency: int = 10, logger: Optional[logging.Logger] = None, on_message_listeners: Optional[List[Callable[[str], None]]] = None, on_error_listeners: Optional[List[Callable[[Exception], None]]] = None, on_close_listeners: Optional[List[Callable[[int, Optional[str]], None]]] = None, trace_enabled: bool = False, all_message_trace_enabled: bool = False, ping_pong_trace_enabled: bool = False)</span>
434+
<span>(</span><span>*, token: Optional[str] = None, web_client: Optional[<a title="slack_sdk.web.client.WebClient" href="../web/client.html#slack_sdk.web.client.WebClient">WebClient</a>] = None, auto_reconnect_enabled: bool = True, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, timeout: int = 30, base_url: str = 'https://slack.com/api/', headers: Optional[dict] = None, ping_interval: int = 5, concurrency: int = 10, logger: Optional[logging.Logger] = None, on_message_listeners: Optional[List[Callable[[str], None]]] = None, on_error_listeners: Optional[List[Callable[[Exception], None]]] = None, on_close_listeners: Optional[List[Callable[[int, Optional[str]], None]]] = None, trace_enabled: bool = False, all_message_trace_enabled: bool = False, ping_pong_trace_enabled: bool = False)</span>
435435
</code></dt>
436436
<dd>
437437
<div class="desc"></div>

docs/api-docs/slack_sdk/socket_mode/aiohttp/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ <h1 class="title">Module <code>slack_sdk.socket_mode.aiohttp</code></h1>
366366
f&#34;session_id: {session_id}, &#34;
367367
f&#34;closed: {self.closed}, &#34;
368368
f&#34;stale: {self.stale}, &#34;
369-
f&#34;current_session.closed: {self.current_session.closed}, &#34;
369+
f&#34;current_session.closed: {self.current_session and self.current_session.closed}, &#34;
370370
f&#34;is_ping_pong_failing: {is_ping_pong_failing}&#34;
371371
&#34;)&#34;
372372
)
@@ -842,7 +842,7 @@ <h2 id="args">Args</h2>
842842
f&#34;session_id: {session_id}, &#34;
843843
f&#34;closed: {self.closed}, &#34;
844844
f&#34;stale: {self.stale}, &#34;
845-
f&#34;current_session.closed: {self.current_session.closed}, &#34;
845+
f&#34;current_session.closed: {self.current_session and self.current_session.closed}, &#34;
846846
f&#34;is_ping_pong_failing: {is_ping_pong_failing}&#34;
847847
&#34;)&#34;
848848
)
@@ -1228,7 +1228,7 @@ <h3>Methods</h3>
12281228
f&#34;session_id: {session_id}, &#34;
12291229
f&#34;closed: {self.closed}, &#34;
12301230
f&#34;stale: {self.stale}, &#34;
1231-
f&#34;current_session.closed: {self.current_session.closed}, &#34;
1231+
f&#34;current_session.closed: {self.current_session and self.current_session.closed}, &#34;
12321232
f&#34;is_ping_pong_failing: {is_ping_pong_failing}&#34;
12331233
&#34;)&#34;
12341234
)

docs/api-docs/slack_sdk/version.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h1 class="title">Module <code>slack_sdk.version</code></h1>
2828
<span>Expand source code</span>
2929
</summary>
3030
<pre><code class="python">&#34;&#34;&#34;Check the latest version at https://pypi.org/project/slack-sdk/&#34;&#34;&#34;
31-
__version__ = &#34;3.27.2&#34;</code></pre>
31+
__version__ = &#34;3.28.0&#34;</code></pre>
3232
</details>
3333
</section>
3434
<section>

docs/api-docs/slack_sdk/web/async_base_client.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ <h1 class="title">Module <code>slack_sdk.web.async_base_client</code></h1>
5353

5454

5555
class AsyncBaseClient:
56-
BASE_URL = &#34;https://www.slack.com/api/&#34;
56+
BASE_URL = &#34;https://slack.com/api/&#34;
5757

5858
def __init__(
5959
self,
@@ -76,7 +76,7 @@ <h1 class="title">Module <code>slack_sdk.web.async_base_client</code></h1>
7676
&#34;&#34;&#34;A string specifying an `xoxp-*` or `xoxb-*` token.&#34;&#34;&#34;
7777
self.base_url = base_url
7878
&#34;&#34;&#34;A string representing the Slack API base URL.
79-
Default is `&#39;https://www.slack.com/api/&#39;`.&#34;&#34;&#34;
79+
Default is `&#39;https://slack.com/api/&#39;`.&#34;&#34;&#34;
8080
self.timeout = timeout
8181
&#34;&#34;&#34;The maximum number of seconds the client will wait
8282
to connect and receive a response from Slack.
@@ -281,7 +281,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
281281
<dl>
282282
<dt id="slack_sdk.web.async_base_client.AsyncBaseClient"><code class="flex name class">
283283
<span>class <span class="ident">AsyncBaseClient</span></span>
284-
<span>(</span><span>token: Optional[str] = None, base_url: str = 'https://www.slack.com/api/', timeout: int = 30, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, session: Optional[aiohttp.client.ClientSession] = None, trust_env_in_session: bool = False, headers: Optional[dict] = None, user_agent_prefix: Optional[str] = None, user_agent_suffix: Optional[str] = None, team_id: Optional[str] = None, logger: Optional[logging.Logger] = None, retry_handlers: Optional[List[slack_sdk.http_retry.async_handler.AsyncRetryHandler]] = None)</span>
284+
<span>(</span><span>token: Optional[str] = None, base_url: str = 'https://slack.com/api/', timeout: int = 30, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, session: Optional[aiohttp.client.ClientSession] = None, trust_env_in_session: bool = False, headers: Optional[dict] = None, user_agent_prefix: Optional[str] = None, user_agent_suffix: Optional[str] = None, team_id: Optional[str] = None, logger: Optional[logging.Logger] = None, retry_handlers: Optional[List[slack_sdk.http_retry.async_handler.AsyncRetryHandler]] = None)</span>
285285
</code></dt>
286286
<dd>
287287
<div class="desc"></div>
@@ -290,7 +290,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
290290
<span>Expand source code</span>
291291
</summary>
292292
<pre><code class="python">class AsyncBaseClient:
293-
BASE_URL = &#34;https://www.slack.com/api/&#34;
293+
BASE_URL = &#34;https://slack.com/api/&#34;
294294

295295
def __init__(
296296
self,
@@ -313,7 +313,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
313313
&#34;&#34;&#34;A string specifying an `xoxp-*` or `xoxb-*` token.&#34;&#34;&#34;
314314
self.base_url = base_url
315315
&#34;&#34;&#34;A string representing the Slack API base URL.
316-
Default is `&#39;https://www.slack.com/api/&#39;`.&#34;&#34;&#34;
316+
Default is `&#39;https://slack.com/api/&#39;`.&#34;&#34;&#34;
317317
self.timeout = timeout
318318
&#34;&#34;&#34;The maximum number of seconds the client will wait
319319
to connect and receive a response from Slack.
@@ -522,7 +522,7 @@ <h3>Instance variables</h3>
522522
<dt id="slack_sdk.web.async_base_client.AsyncBaseClient.base_url"><code class="name">var <span class="ident">base_url</span></code></dt>
523523
<dd>
524524
<div class="desc"><p>A string representing the Slack API base URL.
525-
Default is <code>'https://www.slack.com/api/'</code>.</p></div>
525+
Default is <code>'https://slack.com/api/'</code>.</p></div>
526526
</dd>
527527
<dt id="slack_sdk.web.async_base_client.AsyncBaseClient.headers"><code class="name">var <span class="ident">headers</span></code></dt>
528528
<dd>

0 commit comments

Comments
 (0)