public static class ChannelsJoinRequest.ChannelsJoinRequestBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
ChannelsJoinRequest |
build() |
ChannelsJoinRequest.ChannelsJoinRequestBuilder |
name(String name)
Name of channel to join
|
ChannelsJoinRequest.ChannelsJoinRequestBuilder |
token(String token)
Authentication token.
|
String |
toString() |
ChannelsJoinRequest.ChannelsJoinRequestBuilder |
validate(boolean validate)
Whether to return errors on invalid channel name instead of modifying it to meet the specified criteria.
|
public ChannelsJoinRequest.ChannelsJoinRequestBuilder token(String token)
public ChannelsJoinRequest.ChannelsJoinRequestBuilder name(String name)
public ChannelsJoinRequest.ChannelsJoinRequestBuilder validate(boolean validate)
public ChannelsJoinRequest build()
Copyright © 2020. All rights reserved.