Slack v0.15.0 Slack.Web.Users View Source
Link to this section Summary
Functions
Gets user presence information
Gets information about a user
Lists all users in a Slack team
Marks a user as active
Manually sets user presence
Link to this section Functions
Gets user presence information.
Required Params
user
- User to get presence info on. Defaults to the authed user.
Errors the API can return:
Gets information about a user.
Required Params
user
- User to get info on
Errors the API can return:
user_not_found
- Value passed foruser
was invalid.user_not_visible
- The requested user is not visible to the calling user
Lists all users in a Slack team.
Optional Params
presence
- Whether to include presence data in the output ex:1
Marks a user as active.
Errors the API can return:
Manually sets user presence.
Required Params
presence
- Eitherauto
oraway
ex:away
Errors the API can return:
invalid_presence
- Value passed forpresence
was invalid.