Class AdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilder
java.lang.Object
com.slack.api.methods.request.admin.conversations.AdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilder
- Enclosing class:
- AdminConversationsSetTeamsRequest
public static class AdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilder extends Object
-
Method Summary
Modifier and Type Method Description AdminConversationsSetTeamsRequest
build()
AdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilder
channelId(String channelId)
The encoded channel_id to add or remove to workspaces.AdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilder
orgChannel(Boolean orgChannel)
True if channel has to be converted to an org channelAdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilder
targetTeamIds(List<String> targetTeamIds)
The list of workspaces to which the channel should be shared.AdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilder
teamId(String teamId)
The workspace to which the channel belongs.AdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilder
token(String token)
Authentication token bearing required scopes.String
toString()
-
Method Details
-
token
public AdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilder token(String token)Authentication token bearing required scopes.- Returns:
this
.
-
channelId
public AdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilder channelId(String channelId)The encoded channel_id to add or remove to workspaces.- Returns:
this
.
-
orgChannel
public AdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilder orgChannel(Boolean orgChannel)True if channel has to be converted to an org channel- Returns:
this
.
-
targetTeamIds
public AdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilder targetTeamIds(List<String> targetTeamIds)The list of workspaces to which the channel should be shared. Not required if the channel is being shared orgwide.- Returns:
this
.
-
teamId
public AdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilder teamId(String teamId)The workspace to which the channel belongs. Omit this argument if the channel is a cross-workspace shared channel.- Returns:
this
.
-
build
-
toString
-