Skip to content

version 3.10.0

Choose a tag to compare

@seratch seratch released this 26 Aug 00:27
· 535 commits to main since this release

New Features

All argument supports in WebClient / AsyncWebClient

Since this version, all the methods in WebClient / AsyncWebClient have not only required arguments but also all possible ones in the method signature for better developer experience. Refer to the pull request enabling this #1099 for details.

Easier way to test if a key exists in a Web API response

Now that SlackResponse / AsyncSlackResponse now have __contains__ method, you can test if a key exists in WebClient responses. Refer to the pull request enabling this #1104 for details.

token = "xoxb-"
response = WebClient(token).auth_test()
"error" in response  # True / False

Changes