Module slack_bolt.util.async_utils

Functions

def create_async_web_client(token: str | None = None, logger: logging.Logger | None = None) ‑> slack_sdk.web.async_client.AsyncWebClient
Expand source code
def create_async_web_client(token: Optional[str] = None, logger: Optional[Logger] = None) -> AsyncWebClient:
    return AsyncWebClient(
        token=token,
        logger=logger,
        user_agent_prefix=f"Bolt-Async/{bolt_version}",
    )