users_list: Lists all users in a Slack team.

View source: R/users.R

users_listR Documentation

Lists all users in a Slack team.

Description

Lists all users in a Slack team.

Usage

users_list(token = Sys.getenv("SLACK_TOKEN"), limit = 100, return_response = F)

Arguments

token

Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter.

limit

The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. Must be an integer no larger than 1000.

return_response

Whether or not to return the API call response as opposed to the response body. Defaults to FALSE (return response body)

Value

A list of channels

See Also

https://api.slack.com/methods/users.list

Other users: users_info()


samterfa/slackme documentation built on April 11, 2022, 3:29 a.m.