Class UsergroupsUpdateRequest.UsergroupsUpdateRequestBuilder
java.lang.Object
com.slack.api.methods.request.usergroups.UsergroupsUpdateRequest.UsergroupsUpdateRequestBuilder
- Enclosing class:
- UsergroupsUpdateRequest
public static class UsergroupsUpdateRequest.UsergroupsUpdateRequestBuilder extends Object
-
Method Summary
-
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
-