users_info: Gets information about a user.

View source: R/users.R

users_infoR Documentation

Gets information about a user.

Description

Gets information about a user.

Usage

users_info(
  token = Sys.getenv("SLACK_TOKEN"),
  user,
  include_locale = NULL,
  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.

user

User to get info on.

include_locale

Set this to TRUE to receive the locale for this user. Defaults to FALSE.

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.info

Other users: users_list()


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