Class UsergroupsCreateRequest.UsergroupsCreateRequestBuilder
java.lang.Object
com.slack.api.methods.request.usergroups.UsergroupsCreateRequest.UsergroupsCreateRequestBuilder
- Enclosing class:
- UsergroupsCreateRequest
-
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 each User Group.A name for the User Group.encoded team id where the user group exists, required if org token is usedAuthentication token.toString()
-
Method Details
-
token
Authentication token. Requires scope: `usergroups:write`- 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 each User Group.- Returns:
this.
-
teamId
encoded team id where the user group exists, required if org token is used- Returns:
this.
-
build
-
toString
-