4040
4141
4242class BaseClient :
43- BASE_URL = "https://www. slack.com/api/"
43+ BASE_URL = "https://slack.com/api/"
4444
4545 def __init__ (
4646 self ,
@@ -61,7 +61,7 @@ def __init__(
6161 """A string specifying an `xoxp-*` or `xoxb-*` token."""
6262 self .base_url = base_url
6363 """A string representing the Slack API base URL.
64- Default is `'https://www. slack.com/api/'`."""
64+ Default is `'https://slack.com/api/'`."""
6565 self .timeout = timeout
6666 """The maximum number of seconds the client will wait
6767 to connect and receive a response from Slack.
@@ -225,7 +225,7 @@ def _urllib_api_call(
225225
226226 Args:
227227 token: Slack API Token (either bot token or user token)
228- url: Complete URL (e.g., https://www. slack.com/api/chat.postMessage)
228+ url: Complete URL (e.g., https://slack.com/api/chat.postMessage)
229229 query_params: Query string
230230 json_body: JSON data structure (it's still a dict at this point),
231231 if you give this argument, body_params and files will be skipped
@@ -326,7 +326,7 @@ def _perform_urllib_http_request(self, *, url: str, args: Dict[str, Dict[str, An
326326 """Performs an HTTP request and parses the response.
327327
328328 Args:
329- url: Complete URL (e.g., https://www. slack.com/api/chat.postMessage)
329+ url: Complete URL (e.g., https://slack.com/api/chat.postMessage)
330330 args: args has "headers", "data", "params", and "json"
331331 "headers": Dict[str, str]
332332 "data": Dict[str, Any]
0 commit comments