Class ChannelsSetPurposeRequest.ChannelsSetPurposeRequestBuilder
- java.lang.Object
-
- com.slack.api.methods.request.channels.ChannelsSetPurposeRequest.ChannelsSetPurposeRequestBuilder
-
- Enclosing class:
- ChannelsSetPurposeRequest
public static class ChannelsSetPurposeRequest.ChannelsSetPurposeRequestBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChannelsSetPurposeRequestbuild()ChannelsSetPurposeRequest.ChannelsSetPurposeRequestBuilderchannel(String channel)Channel to set the purpose ofChannelsSetPurposeRequest.ChannelsSetPurposeRequestBuilderpurpose(String purpose)The new purposeChannelsSetPurposeRequest.ChannelsSetPurposeRequestBuildertoken(String token)Authentication token.StringtoString()
-
-
-
Method Detail
-
token
public ChannelsSetPurposeRequest.ChannelsSetPurposeRequestBuilder token(String token)
Authentication token. Requires scope: `channels:write`- Returns:
this.
-
channel
public ChannelsSetPurposeRequest.ChannelsSetPurposeRequestBuilder channel(String channel)
Channel to set the purpose of- Returns:
this.
-
purpose
public ChannelsSetPurposeRequest.ChannelsSetPurposeRequestBuilder purpose(String purpose)
The new purpose- Returns:
this.
-
build
public ChannelsSetPurposeRequest build()
-
-