Class UsergroupsUpdateRequest.UsergroupsUpdateRequestBuilder
java.lang.Object
com.slack.api.methods.request.usergroups.UsergroupsUpdateRequest.UsergroupsUpdateRequestBuilder
- Enclosing class:
- UsergroupsUpdateRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()A comma separated string of encoded channel IDs for which the User Group uses as a default.description(String description) A short description of the User Group.A mention handle.includeCount(boolean includeCount) Include the number of users in the User Group.A name for the User Group.encoded team id where the user group exists, required if org token is usedAuthentication token.toString()The encoded ID of the User Group to update.
-
Method Details
-
token
Authentication token. Requires scope: `usergroups:write`- Returns:
this.
-
usergroup
The encoded ID of the User Group to update.- Returns:
this.
-
name
A name for the User Group. Must be unique among User Groups.- Returns:
this.
-
handle
A mention handle. Must be unique among channels, users and User Groups.- Returns:
this.
-
description
A short description of the User Group.- Returns:
this.
-
channels
A comma separated string of encoded channel IDs for which the User Group uses as a default.- Returns:
this.
-
includeCount
Include the number of users in the User Group.- Returns:
this.
-
teamId
encoded team id where the user group exists, required if org token is used- Returns:
this.
-
build
-
toString
-