Slack Developer Kit for Node.js
Kind: global class
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. |
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. |