Skip to content

Commit cb3891b

Browse files
committed
Update the API docs
1 parent ce85fa0 commit cb3891b

File tree

6 files changed

+449
-231
lines changed

6 files changed

+449
-231
lines changed

docs/api-docs/slack_bolt/app/app.html

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ <h1 class="title">Module <code>slack_bolt.app.app</code></h1>
259259
client_secret=settings.client_secret if settings is not None else None,
260260
logger=self._framework_logger,
261261
bot_only=installation_store_bot_only,
262+
client=self._client, # for proxy use cases etc.
262263
)
263264

264265
self._oauth_flow: Optional[OAuthFlow] = None
@@ -838,7 +839,9 @@ <h1 class="title">Module <code>slack_bolt.app.app</code></h1>
838839
&#34;thread_broadcast&#34;,
839840
),
840841
}
841-
primary_matcher = builtin_matchers.event(constraints=constraints)
842+
primary_matcher = builtin_matchers.message_event(
843+
keyword=keyword, constraints=constraints
844+
)
842845
middleware.insert(0, MessageListenerMatches(keyword))
843846
return self._register_listener(
844847
list(functions), primary_matcher, matchers, middleware, True
@@ -1724,6 +1727,7 @@ <h2 id="args">Args</h2>
17241727
client_secret=settings.client_secret if settings is not None else None,
17251728
logger=self._framework_logger,
17261729
bot_only=installation_store_bot_only,
1730+
client=self._client, # for proxy use cases etc.
17271731
)
17281732

17291733
self._oauth_flow: Optional[OAuthFlow] = None
@@ -2303,7 +2307,9 @@ <h2 id="args">Args</h2>
23032307
&#34;thread_broadcast&#34;,
23042308
),
23052309
}
2306-
primary_matcher = builtin_matchers.event(constraints=constraints)
2310+
primary_matcher = builtin_matchers.message_event(
2311+
keyword=keyword, constraints=constraints
2312+
)
23072313
middleware.insert(0, MessageListenerMatches(keyword))
23082314
return self._register_listener(
23092315
list(functions), primary_matcher, matchers, middleware, True
@@ -3656,7 +3662,9 @@ <h2 id="args">Args</h2>
36563662
&#34;thread_broadcast&#34;,
36573663
),
36583664
}
3659-
primary_matcher = builtin_matchers.event(constraints=constraints)
3665+
primary_matcher = builtin_matchers.message_event(
3666+
keyword=keyword, constraints=constraints
3667+
)
36603668
middleware.insert(0, MessageListenerMatches(keyword))
36613669
return self._register_listener(
36623670
list(functions), primary_matcher, matchers, middleware, True

docs/api-docs/slack_bolt/app/async_app.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ <h1 class="title">Module <code>slack_bolt.app.async_app</code></h1>
267267
client_secret=settings.client_secret if settings is not None else None,
268268
logger=self._framework_logger,
269269
bot_only=installation_store_bot_only,
270+
client=self._async_client, # for proxy use cases etc.
270271
)
271272

272273
self._async_oauth_flow: Optional[AsyncOAuthFlow] = None
@@ -888,8 +889,8 @@ <h1 class="title">Module <code>slack_bolt.app.async_app</code></h1>
888889
&#34;thread_broadcast&#34;,
889890
),
890891
}
891-
primary_matcher = builtin_matchers.event(
892-
constraints=constraints, asyncio=True
892+
primary_matcher = builtin_matchers.message_event(
893+
constraints=constraints, keyword=keyword, asyncio=True
893894
)
894895
middleware.insert(0, AsyncMessageListenerMatches(keyword))
895896
return self._register_listener(
@@ -1658,6 +1659,7 @@ <h2 id="args">Args</h2>
16581659
client_secret=settings.client_secret if settings is not None else None,
16591660
logger=self._framework_logger,
16601661
bot_only=installation_store_bot_only,
1662+
client=self._async_client, # for proxy use cases etc.
16611663
)
16621664

16631665
self._async_oauth_flow: Optional[AsyncOAuthFlow] = None
@@ -2279,8 +2281,8 @@ <h2 id="args">Args</h2>
22792281
&#34;thread_broadcast&#34;,
22802282
),
22812283
}
2282-
primary_matcher = builtin_matchers.event(
2283-
constraints=constraints, asyncio=True
2284+
primary_matcher = builtin_matchers.message_event(
2285+
constraints=constraints, keyword=keyword, asyncio=True
22842286
)
22852287
middleware.insert(0, AsyncMessageListenerMatches(keyword))
22862288
return self._register_listener(
@@ -3659,8 +3661,8 @@ <h2 id="args">Args</h2>
36593661
&#34;thread_broadcast&#34;,
36603662
),
36613663
}
3662-
primary_matcher = builtin_matchers.event(
3663-
constraints=constraints, asyncio=True
3664+
primary_matcher = builtin_matchers.message_event(
3665+
constraints=constraints, keyword=keyword, asyncio=True
36643666
)
36653667
middleware.insert(0, AsyncMessageListenerMatches(keyword))
36663668
return self._register_listener(

0 commit comments

Comments
 (0)