version 3.10.0
WebClient / AsyncWebClientSince 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.
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
__contains__ method in slack_sdk.web.SlackResponse / AsyncSlackResponse - Thanks @seratchContextBlock element type hint - Thanks @uroboro @seratchget/__getitem__ method behavior when response body is empty - Thanks @janeliang0522 @seratchFetched April 3, 2026