Slack Developer Kit for Node.js
Go to GitHub

UsergroupsUsersFacet

Kind: global class

usergroupsUsersFacet.list(usergroup, [opts], [optCb])

List all users in a User Group

Kind: instance method of [UsergroupsUsersFacet](#UsergroupsUsersFacet)
See: usergroups.users.list

Param Type Description
usergroup ? The encoded ID of the User Group to update.
[opts] Object  
opts.include_disabled ? Allow results that involve disabled User Groups.
[optCb] function Optional callback, if not using promises.

usergroupsUsersFacet.update(usergroup, users, [opts], [optCb])

Update the list of users for a User Group

Kind: instance method of [UsergroupsUsersFacet](#UsergroupsUsersFacet)
See: usergroups.users.update

Param Type Description
usergroup ? The encoded ID of the User Group to update.
users ? A comma separated string of encoded user IDs that represent the entire list of users for the User Group.
[opts] Object  
opts.include_count ? Include the number of users in the User Group.
[optCb] function Optional callback, if not using promises.