Class ChannelsCreateRequest.ChannelsCreateRequestBuilder
java.lang.Object
com.slack.api.methods.request.channels.ChannelsCreateRequest.ChannelsCreateRequestBuilder
- Enclosing class:
- ChannelsCreateRequest
public static class ChannelsCreateRequest.ChannelsCreateRequestBuilder extends Object
-
Method Summary
Modifier and Type Method Description ChannelsCreateRequestbuild()ChannelsCreateRequest.ChannelsCreateRequestBuildername(String name)Name of channel to createChannelsCreateRequest.ChannelsCreateRequestBuilderteamId(String teamId)Required for org-wide apps.ChannelsCreateRequest.ChannelsCreateRequestBuildertoken(String token)Authentication token.StringtoString()ChannelsCreateRequest.ChannelsCreateRequestBuildervalidate(boolean validate)Whether to return errors on invalid channel name instead of modifying it to meet the specified criteria.
-
Method Details
-
token
Authentication token. Requires scope: `channels:write`- Returns:
this.
-
name
Name of channel to create- Returns:
this.
-
validate
Whether to return errors on invalid channel name instead of modifying it to meet the specified criteria.- Returns:
this.
-
teamId
Required for org-wide apps.- Returns:
this.
-
build
-
toString
-