Class ChannelsSetTopicRequest.ChannelsSetTopicRequestBuilder
- java.lang.Object
-
- com.slack.api.methods.request.channels.ChannelsSetTopicRequest.ChannelsSetTopicRequestBuilder
-
- Enclosing class:
- ChannelsSetTopicRequest
public static class ChannelsSetTopicRequest.ChannelsSetTopicRequestBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChannelsSetTopicRequest
build()
ChannelsSetTopicRequest.ChannelsSetTopicRequestBuilder
channel(String channel)
Channel to set the topic ofChannelsSetTopicRequest.ChannelsSetTopicRequestBuilder
token(String token)
Authentication token.ChannelsSetTopicRequest.ChannelsSetTopicRequestBuilder
topic(String topic)
The new topicString
toString()
-
-
-
Method Detail
-
token
public ChannelsSetTopicRequest.ChannelsSetTopicRequestBuilder token(String token)
Authentication token. Requires scope: `channels:write`- Returns:
this
.
-
channel
public ChannelsSetTopicRequest.ChannelsSetTopicRequestBuilder channel(String channel)
Channel to set the topic of- Returns:
this
.
-
topic
public ChannelsSetTopicRequest.ChannelsSetTopicRequestBuilder topic(String topic)
The new topic- Returns:
this
.
-
build
public ChannelsSetTopicRequest build()
-
-