Class ChannelsJoinRequest.ChannelsJoinRequestBuilder
java.lang.Object
com.slack.api.methods.request.channels.ChannelsJoinRequest.ChannelsJoinRequestBuilder
- Enclosing class:
- ChannelsJoinRequest
public static class ChannelsJoinRequest.ChannelsJoinRequestBuilder
extends java.lang.Object
-
Method Summary
Modifier and Type Method Description ChannelsJoinRequestbuild()ChannelsJoinRequest.ChannelsJoinRequestBuildername(java.lang.String name)Name of channel to joinChannelsJoinRequest.ChannelsJoinRequestBuildertoken(java.lang.String token)Authentication token.java.lang.StringtoString()ChannelsJoinRequest.ChannelsJoinRequestBuildervalidate(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 join- Returns:
this.
-
validate
Whether to return errors on invalid channel name instead of modifying it to meet the specified criteria.- Returns:
this.
-
build
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-