Class ChannelsJoinRequest.ChannelsJoinRequestBuilder
- java.lang.Object
-
- com.slack.api.methods.request.channels.ChannelsJoinRequest.ChannelsJoinRequestBuilder
-
- Enclosing class:
- ChannelsJoinRequest
public static class ChannelsJoinRequest.ChannelsJoinRequestBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChannelsJoinRequestbuild()ChannelsJoinRequest.ChannelsJoinRequestBuildername(String name)Name of channel to joinChannelsJoinRequest.ChannelsJoinRequestBuildertoken(String token)Authentication token.StringtoString()ChannelsJoinRequest.ChannelsJoinRequestBuildervalidate(boolean validate)Whether to return errors on invalid channel name instead of modifying it to meet the specified criteria.
-
-
-
Method Detail
-
token
public ChannelsJoinRequest.ChannelsJoinRequestBuilder token(String token)
Authentication token. Requires scope: `channels:write`- Returns:
this.
-
name
public ChannelsJoinRequest.ChannelsJoinRequestBuilder name(String name)
Name of channel to join- Returns:
this.
-
validate
public ChannelsJoinRequest.ChannelsJoinRequestBuilder validate(boolean validate)
Whether to return errors on invalid channel name instead of modifying it to meet the specified criteria.- Returns:
this.
-
build
public ChannelsJoinRequest build()
-
-