Slack v0.2.1 Slack.UserGroup.User View Source
Functions for working with users in user groups
Link to this section Summary
Link to this section Functions
Link to this function
list(client, query \\ [])
View Sourcelist(Slack.Client.t(), Keyword.t()) :: Slack.slack_response()
List users in a usergroup.
https://api.slack.com/methods/usergroups.users.list
Examples
Slack.UserGroup.list(client, usergroup: "S0604QSJC")
Link to this function
update(client, body \\ [])
View Sourceupdate(Slack.Client.t(), Keyword.t()) :: Slack.slack_response()
Update the list of users in a user group.
https://api.slack.com/methods/usergroups.users.update
Examples
Slack.UserGroup.update(
client, usergroup: "S0604QSJC", user: "U060R4BJ4,U060RNRCZ")