slack-bolt 1.26.0.dev2__tar.gz → 1.26.0.dev4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {slack_bolt-1.26.0.dev2/slack_bolt.egg-info → slack_bolt-1.26.0.dev4}/PKG-INFO +9 -9
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/README.md +6 -6
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/pyproject.toml +2 -2
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/__init__.py +2 -2
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/app/app.py +25 -23
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/app/async_app.py +24 -22
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/authorization/__init__.py +1 -1
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/__init__.py +1 -1
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/set_suggested_prompts/async_set_suggested_prompts.py +2 -2
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/set_suggested_prompts/set_suggested_prompts.py +2 -2
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/lazy_listener/__init__.py +1 -1
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/listener_matcher/builtins.py +1 -1
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/logger/messages.py +1 -1
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/request_verification/async_request_verification.py +1 -1
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/request_verification/request_verification.py +1 -1
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/ssl_check/ssl_check.py +2 -2
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/url_verification/url_verification.py +1 -1
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/oauth/__init__.py +1 -1
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/request/__init__.py +1 -1
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/response/__init__.py +1 -1
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/version.py +1 -1
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/workflows/__init__.py +1 -1
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/workflows/step/async_step.py +8 -8
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/workflows/step/step.py +8 -8
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/workflows/step/utilities/async_configure.py +1 -1
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/workflows/step/utilities/configure.py +1 -1
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4/slack_bolt.egg-info}/PKG-INFO +9 -9
- slack_bolt-1.26.0.dev4/slack_bolt.egg-info/requires.txt +1 -0
- slack_bolt-1.26.0.dev2/slack_bolt.egg-info/requires.txt +0 -1
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/LICENSE +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/MANIFEST.in +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/setup.cfg +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/aiohttp/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/asgi/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/asgi/aiohttp/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/asgi/async_handler.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/asgi/base_handler.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/asgi/builtin/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/asgi/http_request.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/asgi/http_response.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/asgi/utils.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/aws_lambda/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/aws_lambda/chalice_handler.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/aws_lambda/chalice_lazy_listener_runner.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/aws_lambda/handler.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/aws_lambda/internals.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/aws_lambda/lambda_s3_oauth_flow.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/aws_lambda/lazy_listener_runner.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/aws_lambda/local_lambda_client.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/bottle/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/bottle/handler.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/cherrypy/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/cherrypy/handler.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/django/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/django/handler.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/falcon/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/falcon/async_resource.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/falcon/resource.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/fastapi/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/fastapi/async_handler.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/flask/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/flask/handler.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/google_cloud_functions/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/google_cloud_functions/handler.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/pyramid/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/pyramid/handler.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/sanic/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/sanic/async_handler.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/socket_mode/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/socket_mode/aiohttp/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/socket_mode/async_base_handler.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/socket_mode/async_handler.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/socket_mode/async_internals.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/socket_mode/base_handler.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/socket_mode/builtin/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/socket_mode/internals.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/socket_mode/websocket_client/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/socket_mode/websockets/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/starlette/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/starlette/async_handler.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/starlette/handler.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/tornado/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/tornado/async_handler.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/tornado/handler.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/wsgi/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/wsgi/handler.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/wsgi/http_request.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/wsgi/http_response.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/adapter/wsgi/internals.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/app/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/app/async_server.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/async_app.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/authorization/async_authorize.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/authorization/async_authorize_args.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/authorization/authorize.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/authorization/authorize_args.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/authorization/authorize_result.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/ack/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/ack/ack.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/ack/async_ack.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/ack/internals.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/assistant/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/assistant/assistant_utilities.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/assistant/async_assistant_utilities.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/assistant/internals.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/assistant/thread_context/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/assistant/thread_context_store/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/assistant/thread_context_store/async_store.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/assistant/thread_context_store/default_async_store.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/assistant/thread_context_store/default_store.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/assistant/thread_context_store/file/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/assistant/thread_context_store/store.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/async_context.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/base_context.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/complete/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/complete/async_complete.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/complete/complete.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/context.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/fail/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/fail/async_fail.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/fail/fail.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/get_thread_context/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/get_thread_context/async_get_thread_context.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/get_thread_context/get_thread_context.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/respond/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/respond/async_respond.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/respond/internals.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/respond/respond.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/save_thread_context/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/save_thread_context/async_save_thread_context.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/save_thread_context/save_thread_context.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/say/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/say/async_say.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/say/internals.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/say/say.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/set_status/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/set_status/async_set_status.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/set_status/set_status.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/set_suggested_prompts/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/set_title/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/set_title/async_set_title.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/context/set_title/set_title.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/error/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/kwargs_injection/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/kwargs_injection/args.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/kwargs_injection/async_args.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/kwargs_injection/async_utils.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/kwargs_injection/utils.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/lazy_listener/async_internals.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/lazy_listener/async_runner.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/lazy_listener/asyncio_runner.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/lazy_listener/internals.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/lazy_listener/runner.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/lazy_listener/thread_runner.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/listener/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/listener/async_builtins.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/listener/async_listener.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/listener/async_listener_completion_handler.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/listener/async_listener_error_handler.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/listener/async_listener_start_handler.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/listener/asyncio_runner.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/listener/builtins.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/listener/custom_listener.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/listener/listener.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/listener/listener_completion_handler.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/listener/listener_error_handler.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/listener/listener_start_handler.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/listener/thread_runner.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/listener_matcher/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/listener_matcher/async_builtins.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/listener_matcher/async_listener_matcher.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/listener_matcher/custom_listener_matcher.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/listener_matcher/listener_matcher.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/logger/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/assistant/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/assistant/assistant.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/assistant/async_assistant.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/async_builtins.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/async_custom_middleware.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/async_middleware.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/async_middleware_error_handler.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/attaching_function_token/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/attaching_function_token/async_attaching_function_token.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/attaching_function_token/attaching_function_token.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/authorization/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/authorization/async_authorization.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/authorization/async_internals.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/authorization/async_multi_teams_authorization.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/authorization/async_single_team_authorization.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/authorization/authorization.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/authorization/internals.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/authorization/multi_teams_authorization.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/authorization/single_team_authorization.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/custom_middleware.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/ignoring_self_events/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/ignoring_self_events/async_ignoring_self_events.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/ignoring_self_events/ignoring_self_events.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/message_listener_matches/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/message_listener_matches/async_message_listener_matches.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/message_listener_matches/message_listener_matches.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/middleware.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/middleware_error_handler.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/request_verification/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/ssl_check/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/ssl_check/async_ssl_check.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/url_verification/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/url_verification/async_url_verification.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/oauth/async_callback_options.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/oauth/async_internals.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/oauth/async_oauth_flow.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/oauth/async_oauth_settings.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/oauth/callback_options.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/oauth/internals.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/oauth/oauth_flow.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/oauth/oauth_settings.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/py.typed +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/request/async_internals.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/request/async_request.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/request/internals.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/request/payload_utils.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/request/request.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/response/response.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/util/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/util/async_utils.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/util/utils.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/workflows/step/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/workflows/step/async_step_middleware.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/workflows/step/internals.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/workflows/step/step_middleware.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/workflows/step/utilities/__init__.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/workflows/step/utilities/async_complete.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/workflows/step/utilities/async_fail.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/workflows/step/utilities/async_update.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/workflows/step/utilities/complete.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/workflows/step/utilities/fail.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/workflows/step/utilities/update.py +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt.egg-info/SOURCES.txt +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt.egg-info/dependency_links.txt +0 -0
- {slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt.egg-info/top_level.txt +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: slack_bolt
|
|
3
|
-
Version: 1.26.0.
|
|
3
|
+
Version: 1.26.0.dev4
|
|
4
4
|
Summary: The Bolt Framework for Python
|
|
5
5
|
Home-page: https://github.com/slackapi/bolt-python
|
|
6
6
|
Author: Slack Technologies, LLC
|
|
7
7
|
Author-email: opensource@slack.com
|
|
8
8
|
License: MIT
|
|
9
|
-
Project-URL: Documentation, https://slack.dev/bolt-python
|
|
9
|
+
Project-URL: Documentation, https://docs.slack.dev/tools/bolt-python/
|
|
10
10
|
Classifier: Programming Language :: Python :: 3.7
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.8
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.9
|
|
@@ -20,7 +20,7 @@ Classifier: Operating System :: OS Independent
|
|
|
20
20
|
Requires-Python: >=3.7
|
|
21
21
|
Description-Content-Type: text/markdown
|
|
22
22
|
License-File: LICENSE
|
|
23
|
-
Requires-Dist: slack_sdk==3.36.0.
|
|
23
|
+
Requires-Dist: slack_sdk==3.36.0.dev7
|
|
24
24
|
Dynamic: license-file
|
|
25
25
|
|
|
26
26
|
<h1 align="center">Bolt <img src="https://docs.slack.dev/img/logos/bolt-py-logo.svg" alt="Bolt logo" width="32"/> for Python</h1>
|
|
@@ -85,7 +85,7 @@ ngrok http 3000
|
|
|
85
85
|
|
|
86
86
|
## Running a Socket Mode app
|
|
87
87
|
|
|
88
|
-
If you use [Socket Mode](https://
|
|
88
|
+
If you use [Socket Mode](https://docs.slack.dev/apis/events-api/using-socket-mode/) for running your app, `SocketModeHandler` is available for it.
|
|
89
89
|
|
|
90
90
|
```python
|
|
91
91
|
import os
|
|
@@ -116,7 +116,7 @@ python app.py
|
|
|
116
116
|
|
|
117
117
|
## Listening for events
|
|
118
118
|
|
|
119
|
-
Apps typically react to a collection of incoming events, which can correspond to [Events API events](https://
|
|
119
|
+
Apps typically react to a collection of incoming events, which can correspond to [Events API events](https://docs.slack.dev/apis/events-api/), [actions](https://docs.slack.dev/block-kit/#making-things-interactive), [shortcuts](https://docs.slack.dev/interactivity/implementing-shortcuts/), [slash commands](https://docs.slack.dev/interactivity/implementing-slash-commands/) or [options requests](https://docs.slack.dev/reference/block-kit/block-elements/select-menu-element#external_select). For each type of
|
|
120
120
|
request, there's a method to build a listener function.
|
|
121
121
|
|
|
122
122
|
```python
|
|
@@ -163,12 +163,12 @@ Most of the app's functionality will be inside listener functions (the `fn` para
|
|
|
163
163
|
| Argument | Description |
|
|
164
164
|
| :---: | :--- |
|
|
165
165
|
| `body` | Dictionary that contains the entire body of the request (superset of `payload`). Some accessory data is only available outside of the payload (such as `trigger_id` and `authorizations`).
|
|
166
|
-
| `payload` | Contents of the incoming event. The payload structure depends on the listener. For example, for an Events API event, `payload` will be the [event type structure](https://
|
|
166
|
+
| `payload` | Contents of the incoming event. The payload structure depends on the listener. For example, for an Events API event, `payload` will be the [event type structure](https://docs.slack.dev/apis/events-api/#event-type-structure). For a block action, it will be the action from within the `actions` list. The `payload` dictionary is also accessible via the alias corresponding to the listener (`message`, `event`, `action`, `shortcut`, `view`, `command`, or `options`). For example, if you were building a `message()` listener, you could use the `payload` and `message` arguments interchangably. **An easy way to understand what's in a payload is to log it**. |
|
|
167
167
|
| `context` | Event context. This dictionary contains data about the event and app, such as the `botId`. Middleware can add additional context before the event is passed to listeners.
|
|
168
|
-
| `ack` | Function that **must** be called to acknowledge that your app received the incoming event. `ack` exists for all actions, shortcuts, view submissions, slash command and options requests. `ack` returns a promise that resolves when complete. Read more in [Acknowledging events](https://
|
|
168
|
+
| `ack` | Function that **must** be called to acknowledge that your app received the incoming event. `ack` exists for all actions, shortcuts, view submissions, slash command and options requests. `ack` returns a promise that resolves when complete. Read more in [Acknowledging events](https://docs.slack.dev/tools/bolt-python/concepts/acknowledge/).
|
|
169
169
|
| `respond` | Utility function that responds to incoming events **if** it contains a `response_url` (shortcuts, actions, and slash commands).
|
|
170
170
|
| `say` | Utility function to send a message to the channel associated with the incoming event. This argument is only available when the listener is triggered for events that contain a `channel_id` (the most common being `message` events). `say` accepts simple strings (for plain-text messages) and dictionaries (for messages containing blocks).
|
|
171
|
-
| `client` | Web API client that uses the token associated with the event. For single-workspace installations, the token is provided to the constructor. For multi-workspace installations, the token is returned by using [the OAuth library](https://
|
|
171
|
+
| `client` | Web API client that uses the token associated with the event. For single-workspace installations, the token is provided to the constructor. For multi-workspace installations, the token is returned by using [the OAuth library](https://docs.slack.dev/tools/bolt-python/concepts/authenticating-oauth/), or manually using the `authorize` function.
|
|
172
172
|
| `logger` | The built-in [`logging.Logger`](https://docs.python.org/3/library/logging.html) instance you can use in middleware/listeners.
|
|
173
173
|
| `complete` | Utility function used to signal the successful completion of a custom step execution. This tells Slack to proceed with the next steps in the workflow. This argument is only available with the `.function` and `.action` listener when handling custom workflow step executions.
|
|
174
174
|
| `fail` | Utility function used to signal that a custom step failed to complete. This tells Slack to stop the workflow execution. This argument is only available with the `.function` and `.action` listener when handling custom workflow step executions.
|
|
@@ -217,7 +217,7 @@ Apps can be run the same way as the syncronous example above. If you'd prefer an
|
|
|
217
217
|
|
|
218
218
|
## Getting Help
|
|
219
219
|
|
|
220
|
-
[The documentation](https://
|
|
220
|
+
[The documentation](https://docs.slack.dev/tools/bolt-python/) has more information on basic and advanced concepts for Bolt for Python. Also, all the Python module documents of this library are available [here](https://docs.slack.dev/tools/bolt-python/reference/).
|
|
221
221
|
|
|
222
222
|
If you otherwise get stuck, we're here to help. The following are the best ways to get assistance working through your issue:
|
|
223
223
|
|
|
@@ -60,7 +60,7 @@ ngrok http 3000
|
|
|
60
60
|
|
|
61
61
|
## Running a Socket Mode app
|
|
62
62
|
|
|
63
|
-
If you use [Socket Mode](https://
|
|
63
|
+
If you use [Socket Mode](https://docs.slack.dev/apis/events-api/using-socket-mode/) for running your app, `SocketModeHandler` is available for it.
|
|
64
64
|
|
|
65
65
|
```python
|
|
66
66
|
import os
|
|
@@ -91,7 +91,7 @@ python app.py
|
|
|
91
91
|
|
|
92
92
|
## Listening for events
|
|
93
93
|
|
|
94
|
-
Apps typically react to a collection of incoming events, which can correspond to [Events API events](https://
|
|
94
|
+
Apps typically react to a collection of incoming events, which can correspond to [Events API events](https://docs.slack.dev/apis/events-api/), [actions](https://docs.slack.dev/block-kit/#making-things-interactive), [shortcuts](https://docs.slack.dev/interactivity/implementing-shortcuts/), [slash commands](https://docs.slack.dev/interactivity/implementing-slash-commands/) or [options requests](https://docs.slack.dev/reference/block-kit/block-elements/select-menu-element#external_select). For each type of
|
|
95
95
|
request, there's a method to build a listener function.
|
|
96
96
|
|
|
97
97
|
```python
|
|
@@ -138,12 +138,12 @@ Most of the app's functionality will be inside listener functions (the `fn` para
|
|
|
138
138
|
| Argument | Description |
|
|
139
139
|
| :---: | :--- |
|
|
140
140
|
| `body` | Dictionary that contains the entire body of the request (superset of `payload`). Some accessory data is only available outside of the payload (such as `trigger_id` and `authorizations`).
|
|
141
|
-
| `payload` | Contents of the incoming event. The payload structure depends on the listener. For example, for an Events API event, `payload` will be the [event type structure](https://
|
|
141
|
+
| `payload` | Contents of the incoming event. The payload structure depends on the listener. For example, for an Events API event, `payload` will be the [event type structure](https://docs.slack.dev/apis/events-api/#event-type-structure). For a block action, it will be the action from within the `actions` list. The `payload` dictionary is also accessible via the alias corresponding to the listener (`message`, `event`, `action`, `shortcut`, `view`, `command`, or `options`). For example, if you were building a `message()` listener, you could use the `payload` and `message` arguments interchangably. **An easy way to understand what's in a payload is to log it**. |
|
|
142
142
|
| `context` | Event context. This dictionary contains data about the event and app, such as the `botId`. Middleware can add additional context before the event is passed to listeners.
|
|
143
|
-
| `ack` | Function that **must** be called to acknowledge that your app received the incoming event. `ack` exists for all actions, shortcuts, view submissions, slash command and options requests. `ack` returns a promise that resolves when complete. Read more in [Acknowledging events](https://
|
|
143
|
+
| `ack` | Function that **must** be called to acknowledge that your app received the incoming event. `ack` exists for all actions, shortcuts, view submissions, slash command and options requests. `ack` returns a promise that resolves when complete. Read more in [Acknowledging events](https://docs.slack.dev/tools/bolt-python/concepts/acknowledge/).
|
|
144
144
|
| `respond` | Utility function that responds to incoming events **if** it contains a `response_url` (shortcuts, actions, and slash commands).
|
|
145
145
|
| `say` | Utility function to send a message to the channel associated with the incoming event. This argument is only available when the listener is triggered for events that contain a `channel_id` (the most common being `message` events). `say` accepts simple strings (for plain-text messages) and dictionaries (for messages containing blocks).
|
|
146
|
-
| `client` | Web API client that uses the token associated with the event. For single-workspace installations, the token is provided to the constructor. For multi-workspace installations, the token is returned by using [the OAuth library](https://
|
|
146
|
+
| `client` | Web API client that uses the token associated with the event. For single-workspace installations, the token is provided to the constructor. For multi-workspace installations, the token is returned by using [the OAuth library](https://docs.slack.dev/tools/bolt-python/concepts/authenticating-oauth/), or manually using the `authorize` function.
|
|
147
147
|
| `logger` | The built-in [`logging.Logger`](https://docs.python.org/3/library/logging.html) instance you can use in middleware/listeners.
|
|
148
148
|
| `complete` | Utility function used to signal the successful completion of a custom step execution. This tells Slack to proceed with the next steps in the workflow. This argument is only available with the `.function` and `.action` listener when handling custom workflow step executions.
|
|
149
149
|
| `fail` | Utility function used to signal that a custom step failed to complete. This tells Slack to stop the workflow execution. This argument is only available with the `.function` and `.action` listener when handling custom workflow step executions.
|
|
@@ -192,7 +192,7 @@ Apps can be run the same way as the syncronous example above. If you'd prefer an
|
|
|
192
192
|
|
|
193
193
|
## Getting Help
|
|
194
194
|
|
|
195
|
-
[The documentation](https://
|
|
195
|
+
[The documentation](https://docs.slack.dev/tools/bolt-python/) has more information on basic and advanced concepts for Bolt for Python. Also, all the Python module documents of this library are available [here](https://docs.slack.dev/tools/bolt-python/reference/).
|
|
196
196
|
|
|
197
197
|
If you otherwise get stuck, we're here to help. The following are the best ways to get assistance working through your issue:
|
|
198
198
|
|
|
@@ -20,11 +20,11 @@ classifiers = [
|
|
|
20
20
|
"Operating System :: OS Independent",
|
|
21
21
|
]
|
|
22
22
|
requires-python = ">=3.7"
|
|
23
|
-
dependencies = ["slack_sdk==3.36.0.
|
|
23
|
+
dependencies = ["slack_sdk==3.36.0.dev7"]
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
[project.urls]
|
|
27
|
-
Documentation = "https://slack.dev/bolt-python"
|
|
27
|
+
Documentation = "https://docs.slack.dev/tools/bolt-python/"
|
|
28
28
|
|
|
29
29
|
[tool.setuptools.packages.find]
|
|
30
30
|
include = ["slack_bolt*"]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
|
-
A Python framework to build Slack apps in a flash with the latest platform features.Read the [getting started guide](https://slack.dev/bolt-python/
|
|
2
|
+
A Python framework to build Slack apps in a flash with the latest platform features.Read the [getting started guide](https://docs.slack.dev/tools/bolt-python/building-an-app) and look at our [code examples](https://github.com/slackapi/bolt-python/tree/main/examples) to learn how to build apps using Bolt.
|
|
3
3
|
|
|
4
|
-
* Website: https://slack.dev/bolt-python/
|
|
4
|
+
* Website: https://docs.slack.dev/tools/bolt-python/
|
|
5
5
|
* GitHub repository: https://github.com/slackapi/bolt-python
|
|
6
6
|
* The class representing a Bolt app: `slack_bolt.app.app`
|
|
7
7
|
""" # noqa: E501
|
|
@@ -159,10 +159,10 @@ class App:
|
|
|
159
159
|
if __name__ == "__main__":
|
|
160
160
|
app.start(port=int(os.environ.get("PORT", 3000)))
|
|
161
161
|
|
|
162
|
-
Refer to https://slack.dev/bolt-python/
|
|
162
|
+
Refer to https://docs.slack.dev/tools/bolt-python/building-an-app for details.
|
|
163
163
|
|
|
164
164
|
If you would like to build an OAuth app for enabling the app to run with multiple workspaces,
|
|
165
|
-
refer to https://slack.dev/bolt-python/concepts
|
|
165
|
+
refer to https://docs.slack.dev/tools/bolt-python/concepts/authenticating-oauth to learn how to configure the app.
|
|
166
166
|
|
|
167
167
|
Args:
|
|
168
168
|
logger: The custom logger that can be used in this app.
|
|
@@ -671,7 +671,7 @@ class App:
|
|
|
671
671
|
# Pass a function to this method
|
|
672
672
|
app.middleware(middleware_func)
|
|
673
673
|
|
|
674
|
-
Refer to https://slack.dev/bolt-python/concepts
|
|
674
|
+
Refer to https://docs.slack.dev/tools/bolt-python/concepts/global-middleware for details.
|
|
675
675
|
|
|
676
676
|
To learn available arguments for middleware/listeners, see `slack_bolt.kwargs_injection.args`'s API document.
|
|
677
677
|
|
|
@@ -717,7 +717,7 @@ class App:
|
|
|
717
717
|
"""
|
|
718
718
|
Deprecated:
|
|
719
719
|
Steps from apps for legacy workflows are now deprecated.
|
|
720
|
-
Use new custom steps: https://
|
|
720
|
+
Use new custom steps: https://docs.slack.dev/workflows/workflow-steps/
|
|
721
721
|
|
|
722
722
|
Registers a new step from app listener.
|
|
723
723
|
|
|
@@ -735,7 +735,7 @@ class App:
|
|
|
735
735
|
# Pass Step to set up listeners
|
|
736
736
|
app.step(ws)
|
|
737
737
|
|
|
738
|
-
Refer to https://
|
|
738
|
+
Refer to https://docs.slack.dev/legacy/legacy-steps-from-apps/ for details of steps from apps.
|
|
739
739
|
|
|
740
740
|
To learn available arguments for middleware/listeners, see `slack_bolt.kwargs_injection.args`'s API document.
|
|
741
741
|
|
|
@@ -752,7 +752,7 @@ class App:
|
|
|
752
752
|
warnings.warn(
|
|
753
753
|
(
|
|
754
754
|
"Steps from apps for legacy workflows are now deprecated. "
|
|
755
|
-
"Use new custom steps: https://
|
|
755
|
+
"Use new custom steps: https://docs.slack.dev/workflows/workflow-steps/"
|
|
756
756
|
),
|
|
757
757
|
category=DeprecationWarning,
|
|
758
758
|
)
|
|
@@ -829,7 +829,7 @@ class App:
|
|
|
829
829
|
# Pass a function to this method
|
|
830
830
|
app.event("team_join")(ask_for_introduction)
|
|
831
831
|
|
|
832
|
-
Refer to https://
|
|
832
|
+
Refer to https://docs.slack.dev/apis/events-api/ for details of Events API.
|
|
833
833
|
|
|
834
834
|
To learn available arguments for middleware/listeners, see `slack_bolt.kwargs_injection.args`'s API document.
|
|
835
835
|
|
|
@@ -867,7 +867,7 @@ class App:
|
|
|
867
867
|
# Pass a function to this method
|
|
868
868
|
app.message(":wave:")(say_hello)
|
|
869
869
|
|
|
870
|
-
Refer to https://
|
|
870
|
+
Refer to https://docs.slack.dev/reference/events/message/ for details of `message` events.
|
|
871
871
|
|
|
872
872
|
To learn available arguments for middleware/listeners, see `slack_bolt.kwargs_injection.args`'s API document.
|
|
873
873
|
|
|
@@ -978,7 +978,7 @@ class App:
|
|
|
978
978
|
# Pass a function to this method
|
|
979
979
|
app.command("/echo")(repeat_text)
|
|
980
980
|
|
|
981
|
-
Refer to https://
|
|
981
|
+
Refer to https://docs.slack.dev/interactivity/implementing-slash-commands/ for details of Slash Commands.
|
|
982
982
|
|
|
983
983
|
To learn available arguments for middleware/listeners, see `slack_bolt.kwargs_injection.args`'s API document.
|
|
984
984
|
|
|
@@ -1025,7 +1025,7 @@ class App:
|
|
|
1025
1025
|
# Pass a function to this method
|
|
1026
1026
|
app.shortcut("open_modal")(open_modal)
|
|
1027
1027
|
|
|
1028
|
-
Refer to https://
|
|
1028
|
+
Refer to https://docs.slack.dev/interactivity/implementing-shortcuts/ for details about Shortcuts.
|
|
1029
1029
|
|
|
1030
1030
|
To learn available arguments for middleware/listeners, see `slack_bolt.kwargs_injection.args`'s API document.
|
|
1031
1031
|
|
|
@@ -1093,9 +1093,9 @@ class App:
|
|
|
1093
1093
|
# Pass a function to this method
|
|
1094
1094
|
app.action("approve_button")(update_message)
|
|
1095
1095
|
|
|
1096
|
-
* Refer to https://
|
|
1097
|
-
* Refer to https://
|
|
1098
|
-
* Refer to https://
|
|
1096
|
+
* Refer to https://docs.slack.dev/reference/interaction-payloads/block_actions-payload/ for actions in `blocks`.
|
|
1097
|
+
* Refer to https://docs.slack.dev/legacy/legacy-messaging/legacy-message-buttons/ for actions in `attachments`.
|
|
1098
|
+
* Refer to https://docs.slack.dev/legacy/legacy-dialogs/ for actions in dialogs.
|
|
1099
1099
|
|
|
1100
1100
|
To learn available arguments for middleware/listeners, see `slack_bolt.kwargs_injection.args`'s API document.
|
|
1101
1101
|
|
|
@@ -1121,7 +1121,7 @@ class App:
|
|
|
1121
1121
|
middleware: Optional[Sequence[Union[Callable, Middleware]]] = None,
|
|
1122
1122
|
) -> Callable[..., Optional[Callable[..., Optional[BoltResponse]]]]:
|
|
1123
1123
|
"""Registers a new `block_actions` action listener.
|
|
1124
|
-
Refer to https://
|
|
1124
|
+
Refer to https://docs.slack.dev/reference/interaction-payloads/block_actions-payload/ for details.
|
|
1125
1125
|
"""
|
|
1126
1126
|
|
|
1127
1127
|
def __call__(*args, **kwargs):
|
|
@@ -1138,7 +1138,7 @@ class App:
|
|
|
1138
1138
|
middleware: Optional[Sequence[Union[Callable, Middleware]]] = None,
|
|
1139
1139
|
) -> Callable[..., Optional[Callable[..., Optional[BoltResponse]]]]:
|
|
1140
1140
|
"""Registers a new `interactive_message` action listener.
|
|
1141
|
-
Refer to https://
|
|
1141
|
+
Refer to https://docs.slack.dev/legacy/legacy-messaging/legacy-message-buttons/ for details."""
|
|
1142
1142
|
|
|
1143
1143
|
def __call__(*args, **kwargs):
|
|
1144
1144
|
functions = self._to_listener_functions(kwargs) if kwargs else list(args)
|
|
@@ -1154,7 +1154,7 @@ class App:
|
|
|
1154
1154
|
middleware: Optional[Sequence[Union[Callable, Middleware]]] = None,
|
|
1155
1155
|
) -> Callable[..., Optional[Callable[..., Optional[BoltResponse]]]]:
|
|
1156
1156
|
"""Registers a new `dialog_submission` listener.
|
|
1157
|
-
Refer to https://
|
|
1157
|
+
Refer to https://docs.slack.dev/legacy/legacy-dialogs/ for details."""
|
|
1158
1158
|
|
|
1159
1159
|
def __call__(*args, **kwargs):
|
|
1160
1160
|
functions = self._to_listener_functions(kwargs) if kwargs else list(args)
|
|
@@ -1170,7 +1170,7 @@ class App:
|
|
|
1170
1170
|
middleware: Optional[Sequence[Union[Callable, Middleware]]] = None,
|
|
1171
1171
|
) -> Callable[..., Optional[Callable[..., Optional[BoltResponse]]]]:
|
|
1172
1172
|
"""Registers a new `dialog_cancellation` listener.
|
|
1173
|
-
Refer to https://
|
|
1173
|
+
Refer to https://docs.slack.dev/legacy/legacy-dialogs/ for details."""
|
|
1174
1174
|
|
|
1175
1175
|
def __call__(*args, **kwargs):
|
|
1176
1176
|
functions = self._to_listener_functions(kwargs) if kwargs else list(args)
|
|
@@ -1211,7 +1211,7 @@ class App:
|
|
|
1211
1211
|
# Pass a function to this method
|
|
1212
1212
|
app.view("view_1")(handle_submission)
|
|
1213
1213
|
|
|
1214
|
-
Refer to https://
|
|
1214
|
+
Refer to https://docs.slack.dev/reference/interaction-payloads/view-interactions-payload for details of payloads.
|
|
1215
1215
|
|
|
1216
1216
|
To learn available arguments for middleware/listeners, see `slack_bolt.kwargs_injection.args`'s API document.
|
|
1217
1217
|
|
|
@@ -1237,7 +1237,9 @@ class App:
|
|
|
1237
1237
|
middleware: Optional[Sequence[Union[Callable, Middleware]]] = None,
|
|
1238
1238
|
) -> Callable[..., Optional[Callable[..., Optional[BoltResponse]]]]:
|
|
1239
1239
|
"""Registers a new `view_submission` listener.
|
|
1240
|
-
Refer to https://
|
|
1240
|
+
Refer to https://docs.slack.dev/reference/interaction-payloads/view-interactions-payload/#view_submission for
|
|
1241
|
+
details.
|
|
1242
|
+
"""
|
|
1241
1243
|
|
|
1242
1244
|
def __call__(*args, **kwargs):
|
|
1243
1245
|
functions = self._to_listener_functions(kwargs) if kwargs else list(args)
|
|
@@ -1253,7 +1255,7 @@ class App:
|
|
|
1253
1255
|
middleware: Optional[Sequence[Union[Callable, Middleware]]] = None,
|
|
1254
1256
|
) -> Callable[..., Optional[Callable[..., Optional[BoltResponse]]]]:
|
|
1255
1257
|
"""Registers a new `view_closed` listener.
|
|
1256
|
-
Refer to https://
|
|
1258
|
+
Refer to https://docs.slack.dev/reference/interaction-payloads/view-interactions-payload/#view_closed for details."""
|
|
1257
1259
|
|
|
1258
1260
|
def __call__(*args, **kwargs):
|
|
1259
1261
|
functions = self._to_listener_functions(kwargs) if kwargs else list(args)
|
|
@@ -1294,8 +1296,8 @@ class App:
|
|
|
1294
1296
|
|
|
1295
1297
|
Refer to the following documents for details:
|
|
1296
1298
|
|
|
1297
|
-
* https://
|
|
1298
|
-
* https://
|
|
1299
|
+
* https://docs.slack.dev/reference/block-kit/block-elements/select-menu-element#external_select
|
|
1300
|
+
* https://docs.slack.dev/reference/block-kit/block-elements/multi-select-menu-element#external_multi_select
|
|
1299
1301
|
|
|
1300
1302
|
To learn available arguments for middleware/listeners, see `slack_bolt.kwargs_injection.args`'s API document.
|
|
1301
1303
|
|
|
@@ -1335,7 +1337,7 @@ class App:
|
|
|
1335
1337
|
middleware: Optional[Sequence[Union[Callable, Middleware]]] = None,
|
|
1336
1338
|
) -> Callable[..., Optional[Callable[..., Optional[BoltResponse]]]]:
|
|
1337
1339
|
"""Registers a new `dialog_suggestion` listener.
|
|
1338
|
-
Refer to https://
|
|
1340
|
+
Refer to https://docs.slack.dev/legacy/legacy-dialogs/ for details."""
|
|
1339
1341
|
|
|
1340
1342
|
def __call__(*args, **kwargs):
|
|
1341
1343
|
functions = self._to_listener_functions(kwargs) if kwargs else list(args)
|
|
@@ -165,10 +165,10 @@ class AsyncApp:
|
|
|
165
165
|
if __name__ == "__main__":
|
|
166
166
|
app.start(port=int(os.environ.get("PORT", 3000)))
|
|
167
167
|
|
|
168
|
-
Refer to https://slack.dev/bolt-python/concepts
|
|
168
|
+
Refer to https://docs.slack.dev/tools/bolt-python/concepts/async for details.
|
|
169
169
|
|
|
170
170
|
If you would like to build an OAuth app for enabling the app to run with multiple workspaces,
|
|
171
|
-
refer to https://slack.dev/bolt-python/concepts
|
|
171
|
+
refer to https://docs.slack.dev/tools/bolt-python/concepts/authenticating-oauth to learn how to configure the app.
|
|
172
172
|
|
|
173
173
|
Args:
|
|
174
174
|
logger: The custom logger that can be used in this app.
|
|
@@ -738,7 +738,7 @@ class AsyncApp:
|
|
|
738
738
|
"""
|
|
739
739
|
Deprecated:
|
|
740
740
|
Steps from apps for legacy workflows are now deprecated.
|
|
741
|
-
Use new custom steps: https://
|
|
741
|
+
Use new custom steps: https://docs.slack.dev/workflows/workflow-steps/
|
|
742
742
|
|
|
743
743
|
Registers a new step from app listener.
|
|
744
744
|
|
|
@@ -756,7 +756,7 @@ class AsyncApp:
|
|
|
756
756
|
# Pass Step to set up listeners
|
|
757
757
|
app.step(ws)
|
|
758
758
|
|
|
759
|
-
Refer to https://
|
|
759
|
+
Refer to https://docs.slack.dev/legacy/legacy-steps-from-apps/ for details of steps from apps.
|
|
760
760
|
|
|
761
761
|
To learn available arguments for middleware/listeners, see `slack_bolt.kwargs_injection.async_args`'s API document.
|
|
762
762
|
For further information about AsyncWorkflowStep specific function arguments
|
|
@@ -772,7 +772,7 @@ class AsyncApp:
|
|
|
772
772
|
warnings.warn(
|
|
773
773
|
(
|
|
774
774
|
"Steps from apps for legacy workflows are now deprecated. "
|
|
775
|
-
"Use new custom steps: https://
|
|
775
|
+
"Use new custom steps: https://docs.slack.dev/workflows/workflow-steps/"
|
|
776
776
|
),
|
|
777
777
|
category=DeprecationWarning,
|
|
778
778
|
)
|
|
@@ -854,7 +854,7 @@ class AsyncApp:
|
|
|
854
854
|
# Pass a function to this method
|
|
855
855
|
app.event("team_join")(ask_for_introduction)
|
|
856
856
|
|
|
857
|
-
Refer to https://
|
|
857
|
+
Refer to https://docs.slack.dev/apis/events-api/ for details of Events API.
|
|
858
858
|
|
|
859
859
|
To learn available arguments for middleware/listeners, see `slack_bolt.kwargs_injection.async_args`'s API document.
|
|
860
860
|
|
|
@@ -892,7 +892,7 @@ class AsyncApp:
|
|
|
892
892
|
# Pass a function to this method
|
|
893
893
|
app.message(":wave:")(say_hello)
|
|
894
894
|
|
|
895
|
-
Refer to https://
|
|
895
|
+
Refer to https://docs.slack.dev/reference/events/message/ for details of `message` events.
|
|
896
896
|
|
|
897
897
|
To learn available arguments for middleware/listeners, see `slack_bolt.kwargs_injection.async_args`'s API document.
|
|
898
898
|
|
|
@@ -1007,7 +1007,7 @@ class AsyncApp:
|
|
|
1007
1007
|
# Pass a function to this method
|
|
1008
1008
|
app.command("/echo")(repeat_text)
|
|
1009
1009
|
|
|
1010
|
-
Refer to https://
|
|
1010
|
+
Refer to https://docs.slack.dev/interactivity/implementing-slash-commands/ for details of Slash Commands.
|
|
1011
1011
|
|
|
1012
1012
|
To learn available arguments for middleware/listeners, see `slack_bolt.kwargs_injection.async_args`'s API document.
|
|
1013
1013
|
|
|
@@ -1054,7 +1054,7 @@ class AsyncApp:
|
|
|
1054
1054
|
# Pass a function to this method
|
|
1055
1055
|
app.shortcut("open_modal")(open_modal)
|
|
1056
1056
|
|
|
1057
|
-
Refer to https://
|
|
1057
|
+
Refer to https://docs.slack.dev/interactivity/implementing-shortcuts/ for details about Shortcuts.
|
|
1058
1058
|
|
|
1059
1059
|
To learn available arguments for middleware/listeners, see `slack_bolt.kwargs_injection.async_args`'s API document.
|
|
1060
1060
|
|
|
@@ -1122,9 +1122,9 @@ class AsyncApp:
|
|
|
1122
1122
|
# Pass a function to this method
|
|
1123
1123
|
app.action("approve_button")(update_message)
|
|
1124
1124
|
|
|
1125
|
-
* Refer to https://
|
|
1126
|
-
* Refer to https://
|
|
1127
|
-
* Refer to https://
|
|
1125
|
+
* Refer to https://docs.slack.dev/reference/interaction-payloads/block_actions-payload/ for actions in `blocks`.
|
|
1126
|
+
* Refer to https://docs.slack.dev/legacy/legacy-messaging/legacy-message-buttons/ for actions in `attachments`.
|
|
1127
|
+
* Refer to https://docs.slack.dev/legacy/legacy-dialogs/ for actions in dialogs.
|
|
1128
1128
|
|
|
1129
1129
|
To learn available arguments for middleware/listeners, see `slack_bolt.kwargs_injection.async_args`'s API document.
|
|
1130
1130
|
|
|
@@ -1150,7 +1150,7 @@ class AsyncApp:
|
|
|
1150
1150
|
middleware: Optional[Sequence[Union[Callable, AsyncMiddleware]]] = None,
|
|
1151
1151
|
) -> Callable[..., Optional[Callable[..., Awaitable[Optional[BoltResponse]]]]]:
|
|
1152
1152
|
"""Registers a new `block_actions` action listener.
|
|
1153
|
-
Refer to https://
|
|
1153
|
+
Refer to https://docs.slack.dev/reference/interaction-payloads/block_actions-payload/ for details.
|
|
1154
1154
|
"""
|
|
1155
1155
|
|
|
1156
1156
|
def __call__(*args, **kwargs):
|
|
@@ -1167,7 +1167,7 @@ class AsyncApp:
|
|
|
1167
1167
|
middleware: Optional[Sequence[Union[Callable, AsyncMiddleware]]] = None,
|
|
1168
1168
|
) -> Callable[..., Optional[Callable[..., Awaitable[Optional[BoltResponse]]]]]:
|
|
1169
1169
|
"""Registers a new `interactive_message` action listener.
|
|
1170
|
-
Refer to https://
|
|
1170
|
+
Refer to https://docs.slack.dev/legacy/legacy-messaging/legacy-message-buttons/ for details."""
|
|
1171
1171
|
|
|
1172
1172
|
def __call__(*args, **kwargs):
|
|
1173
1173
|
functions = self._to_listener_functions(kwargs) if kwargs else list(args)
|
|
@@ -1183,7 +1183,7 @@ class AsyncApp:
|
|
|
1183
1183
|
middleware: Optional[Sequence[Union[Callable, AsyncMiddleware]]] = None,
|
|
1184
1184
|
) -> Callable[..., Optional[Callable[..., Awaitable[Optional[BoltResponse]]]]]:
|
|
1185
1185
|
"""Registers a new `dialog_submission` listener.
|
|
1186
|
-
Refer to https://
|
|
1186
|
+
Refer to https://docs.slack.dev/legacy/legacy-dialogs/ for details."""
|
|
1187
1187
|
|
|
1188
1188
|
def __call__(*args, **kwargs):
|
|
1189
1189
|
functions = self._to_listener_functions(kwargs) if kwargs else list(args)
|
|
@@ -1199,7 +1199,7 @@ class AsyncApp:
|
|
|
1199
1199
|
middleware: Optional[Sequence[Union[Callable, AsyncMiddleware]]] = None,
|
|
1200
1200
|
) -> Callable[..., Optional[Callable[..., Awaitable[Optional[BoltResponse]]]]]:
|
|
1201
1201
|
"""Registers a new `dialog_submission` listener.
|
|
1202
|
-
Refer to https://
|
|
1202
|
+
Refer to https://docs.slack.dev/legacy/legacy-dialogs/ for details."""
|
|
1203
1203
|
|
|
1204
1204
|
def __call__(*args, **kwargs):
|
|
1205
1205
|
functions = self._to_listener_functions(kwargs) if kwargs else list(args)
|
|
@@ -1240,7 +1240,7 @@ class AsyncApp:
|
|
|
1240
1240
|
# Pass a function to this method
|
|
1241
1241
|
app.view("view_1")(handle_submission)
|
|
1242
1242
|
|
|
1243
|
-
Refer to https://
|
|
1243
|
+
Refer to https://docs.slack.dev/reference/interaction-payloads/view-interactions-payload for details of payloads.
|
|
1244
1244
|
|
|
1245
1245
|
To learn available arguments for middleware/listeners, see `slack_bolt.kwargs_injection.async_args`'s API document.
|
|
1246
1246
|
|
|
@@ -1266,7 +1266,9 @@ class AsyncApp:
|
|
|
1266
1266
|
middleware: Optional[Sequence[Union[Callable, AsyncMiddleware]]] = None,
|
|
1267
1267
|
) -> Callable[..., Optional[Callable[..., Awaitable[Optional[BoltResponse]]]]]:
|
|
1268
1268
|
"""Registers a new `view_submission` listener.
|
|
1269
|
-
Refer to https://
|
|
1269
|
+
Refer to https://docs.slack.dev/reference/interaction-payloads/view-interactions-payload/#view_submission for
|
|
1270
|
+
details.
|
|
1271
|
+
"""
|
|
1270
1272
|
|
|
1271
1273
|
def __call__(*args, **kwargs):
|
|
1272
1274
|
functions = self._to_listener_functions(kwargs) if kwargs else list(args)
|
|
@@ -1282,7 +1284,7 @@ class AsyncApp:
|
|
|
1282
1284
|
middleware: Optional[Sequence[Union[Callable, AsyncMiddleware]]] = None,
|
|
1283
1285
|
) -> Callable[..., Optional[Callable[..., Awaitable[Optional[BoltResponse]]]]]:
|
|
1284
1286
|
"""Registers a new `view_closed` listener.
|
|
1285
|
-
Refer to https://
|
|
1287
|
+
Refer to https://docs.slack.dev/reference/interaction-payloads/view-interactions-payload/#view_closed for details."""
|
|
1286
1288
|
|
|
1287
1289
|
def __call__(*args, **kwargs):
|
|
1288
1290
|
functions = self._to_listener_functions(kwargs) if kwargs else list(args)
|
|
@@ -1323,8 +1325,8 @@ class AsyncApp:
|
|
|
1323
1325
|
|
|
1324
1326
|
Refer to the following documents for details:
|
|
1325
1327
|
|
|
1326
|
-
* https://
|
|
1327
|
-
* https://
|
|
1328
|
+
* https://docs.slack.dev/reference/block-kit/block-elements/select-menu-element#external_select
|
|
1329
|
+
* https://docs.slack.dev/reference/block-kit/block-elements/multi-select-menu-element#external_multi_select
|
|
1328
1330
|
|
|
1329
1331
|
To learn available arguments for middleware/listeners, see `slack_bolt.kwargs_injection.async_args`'s API document.
|
|
1330
1332
|
|
|
@@ -1364,7 +1366,7 @@ class AsyncApp:
|
|
|
1364
1366
|
middleware: Optional[Sequence[Union[Callable, AsyncMiddleware]]] = None,
|
|
1365
1367
|
) -> Callable[..., Optional[Callable[..., Awaitable[Optional[BoltResponse]]]]]:
|
|
1366
1368
|
"""Registers a new `dialog_suggestion` listener.
|
|
1367
|
-
Refer to https://
|
|
1369
|
+
Refer to https://docs.slack.dev/legacy/legacy-dialogs/ for details."""
|
|
1368
1370
|
|
|
1369
1371
|
def __call__(*args, **kwargs):
|
|
1370
1372
|
functions = self._to_listener_functions(kwargs) if kwargs else list(args)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""Authorization is the process of determining which Slack credentials should be available
|
|
2
2
|
while processing an incoming Slack event.
|
|
3
3
|
|
|
4
|
-
Refer to https://slack.dev/bolt-python/concepts
|
|
4
|
+
Refer to https://docs.slack.dev/tools/bolt-python/concepts/authorization for details.
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
7
|
from .authorize_result import AuthorizeResult
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Bolt automatically attaches information that is included in the incoming event,
|
|
3
3
|
like `user_id`, `team_id`, `channel_id`, and `enterprise_id`.
|
|
4
4
|
|
|
5
|
-
Refer to https://slack.dev/bolt-python/concepts
|
|
5
|
+
Refer to https://docs.slack.dev/tools/bolt-python/concepts/context for details.
|
|
6
6
|
"""
|
|
7
7
|
|
|
8
8
|
# Don't add async module imports here
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from typing import List,
|
|
1
|
+
from typing import Dict, List, Optional, Sequence, Union
|
|
2
2
|
|
|
3
3
|
from slack_sdk.web.async_client import AsyncWebClient
|
|
4
4
|
from slack_sdk.web.async_slack_response import AsyncSlackResponse
|
|
@@ -21,7 +21,7 @@ class AsyncSetSuggestedPrompts:
|
|
|
21
21
|
|
|
22
22
|
async def __call__(
|
|
23
23
|
self,
|
|
24
|
-
prompts:
|
|
24
|
+
prompts: Sequence[Union[str, Dict[str, str]]],
|
|
25
25
|
title: Optional[str] = None,
|
|
26
26
|
) -> AsyncSlackResponse:
|
|
27
27
|
prompts_arg: List[Dict[str, str]] = []
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from typing import List,
|
|
1
|
+
from typing import Dict, List, Optional, Sequence, Union
|
|
2
2
|
|
|
3
3
|
from slack_sdk import WebClient
|
|
4
4
|
from slack_sdk.web import SlackResponse
|
|
@@ -21,7 +21,7 @@ class SetSuggestedPrompts:
|
|
|
21
21
|
|
|
22
22
|
def __call__(
|
|
23
23
|
self,
|
|
24
|
-
prompts:
|
|
24
|
+
prompts: Sequence[Union[str, Dict[str, str]]],
|
|
25
25
|
title: Optional[str] = None,
|
|
26
26
|
) -> SlackResponse:
|
|
27
27
|
prompts_arg: List[Dict[str, str]] = []
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
lazy=[run_long_process]
|
|
20
20
|
)
|
|
21
21
|
|
|
22
|
-
Refer to https://slack.dev/bolt-python/concepts
|
|
22
|
+
Refer to https://docs.slack.dev/tools/bolt-python/concepts/lazy-listeners for more details.
|
|
23
23
|
"""
|
|
24
24
|
|
|
25
25
|
# Don't add async module imports here
|
|
@@ -294,7 +294,7 @@ def action(
|
|
|
294
294
|
return dialog_submission(constraints["callback_id"], asyncio)
|
|
295
295
|
if action_type == "dialog_cancellation":
|
|
296
296
|
return dialog_cancellation(constraints["callback_id"], asyncio)
|
|
297
|
-
# https://
|
|
297
|
+
# https://docs.slack.dev/legacy/legacy-steps-from-apps/
|
|
298
298
|
if action_type == "workflow_step_edit":
|
|
299
299
|
return workflow_step_edit(constraints["callback_id"], asyncio)
|
|
300
300
|
|
|
@@ -348,7 +348,7 @@ def info_default_oauth_settings_loaded() -> str:
|
|
|
348
348
|
"Bolt has enabled the file-based InstallationStore/OAuthStateStore for you. "
|
|
349
349
|
"Note that these file-based stores are for local development. "
|
|
350
350
|
"If you'd like to use a different data store, set the oauth_settings argument in the App constructor. "
|
|
351
|
-
"Please refer to https://slack.dev/bolt-python/concepts
|
|
351
|
+
"Please refer to https://docs.slack.dev/tools/bolt-python/concepts/authenticating-oauth for more details."
|
|
352
352
|
)
|
|
353
353
|
|
|
354
354
|
|
|
@@ -10,7 +10,7 @@ class AsyncRequestVerification(RequestVerification, AsyncMiddleware):
|
|
|
10
10
|
"""Verifies an incoming request by checking the validity of
|
|
11
11
|
`x-slack-signature`, `x-slack-request-timestamp`, and its body data.
|
|
12
12
|
|
|
13
|
-
Refer to https://
|
|
13
|
+
Refer to https://docs.slack.dev/authentication/verifying-requests-from-slack/ for details.
|
|
14
14
|
"""
|
|
15
15
|
|
|
16
16
|
async def async_process(
|
|
@@ -14,7 +14,7 @@ class RequestVerification(Middleware):
|
|
|
14
14
|
"""Verifies an incoming request by checking the validity of
|
|
15
15
|
`x-slack-signature`, `x-slack-request-timestamp`, and its body data.
|
|
16
16
|
|
|
17
|
-
Refer to https://
|
|
17
|
+
Refer to https://docs.slack.dev/authentication/verifying-requests-from-slack/ for details.
|
|
18
18
|
|
|
19
19
|
Args:
|
|
20
20
|
signing_secret: The signing secret
|
{slack_bolt-1.26.0.dev2 → slack_bolt-1.26.0.dev4}/slack_bolt/middleware/ssl_check/ssl_check.py
RENAMED
|
@@ -17,11 +17,11 @@ class SslCheck(Middleware):
|
|
|
17
17
|
base_logger: Optional[Logger] = None,
|
|
18
18
|
):
|
|
19
19
|
"""Handles `ssl_check` requests.
|
|
20
|
-
Refer to https://
|
|
20
|
+
Refer to https://docs.slack.dev/interactivity/implementing-slash-commands/ for details.
|
|
21
21
|
|
|
22
22
|
Args:
|
|
23
23
|
verification_token: The verification token to check
|
|
24
|
-
(optional as it's already deprecated - https://
|
|
24
|
+
(optional as it's already deprecated - https://docs.slack.dev/authentication/verifying-requests-from-slack/#deprecation)
|
|
25
25
|
base_logger: The base logger
|
|
26
26
|
""" # noqa: E501
|
|
27
27
|
self.verification_token = verification_token
|