MCPcopy Index your code
hub / github.com/slackapi/python-slack-sdk / users_list

Method users_list

slack_sdk/web/client.py:5676–5696  ·  view source on GitHub ↗

Lists all users in a Slack team. https://docs.slack.dev/reference/methods/users.list

(
        self,
        *,
        cursor: Optional[str] = None,
        include_locale: Optional[bool] = None,
        limit: Optional[int] = None,
        team_id: Optional[str] = None,
        **kwargs,
    )

Source from the content-addressed store, hash-verified

5674 return self.api_call("users.info", http_verb="GET", params=kwargs)
5675
5676 def users_list(
5677 self,
5678 *,
5679 cursor: Optional[str] = None,
5680 include_locale: Optional[bool] = None,
5681 limit: Optional[int] = None,
5682 team_id: Optional[str] = None,
5683 **kwargs,
5684 ) -> SlackResponse:
5685 """Lists all users in a Slack team.
5686 https://docs.slack.dev/reference/methods/users.list
5687 """
5688 kwargs.update(
5689 {
5690 "cursor": cursor,
5691 "include_locale": include_locale,
5692 "limit": limit,
5693 "team_id": team_id,
5694 }
5695 )
5696 return self.api_call("users.list", http_verb="GET", params=kwargs)
5697
5698 def users_lookupByEmail(
5699 self,

Calls 1

api_callMethod · 0.45

Tested by 15

setUpMethod · 0.76
setUpMethod · 0.76
test_issue_1053Method · 0.76
test_token_paramMethod · 0.76
test_default_team_idMethod · 0.76
test_token_paramMethod · 0.76