Class ConversationsAcceptSharedInviteRequest.ConversationsAcceptSharedInviteRequestBuilder
java.lang.Object
com.slack.api.methods.request.conversations.ConversationsAcceptSharedInviteRequest.ConversationsAcceptSharedInviteRequestBuilder
- Enclosing class:
- ConversationsAcceptSharedInviteRequest
public static class ConversationsAcceptSharedInviteRequest.ConversationsAcceptSharedInviteRequestBuilder extends Object
-
Method Summary
-
Method Details
-
token
-
channelName
public ConversationsAcceptSharedInviteRequest.ConversationsAcceptSharedInviteRequestBuilder channelName(String channelName)Name of the channel. If the channel does not exist already in your workspace, this name is the one that the channel will take.- Returns:
this.
-
channelId
public ConversationsAcceptSharedInviteRequest.ConversationsAcceptSharedInviteRequestBuilder channelId(String channelId)ID of the channel that you'd like to accept. Must provide either invite_id or channel_id.- Returns:
this.
-
freeTrialAccept
public ConversationsAcceptSharedInviteRequest.ConversationsAcceptSharedInviteRequestBuilder freeTrialAccept(Boolean freeTrialAccept)Whether you'd like to use your workspace's free trial to begin using Slack Connect.- Returns:
this.
-
inviteId
public ConversationsAcceptSharedInviteRequest.ConversationsAcceptSharedInviteRequestBuilder inviteId(String inviteId)See the shared_channel_invite_received event payload for more details on how to retrieve the ID of the invitation.- Returns:
this.
-
isPrivate
public ConversationsAcceptSharedInviteRequest.ConversationsAcceptSharedInviteRequestBuilder isPrivate(Boolean isPrivate)Whether the channel should be private.- Returns:
this.
-
teamId
public ConversationsAcceptSharedInviteRequest.ConversationsAcceptSharedInviteRequestBuilder teamId(String teamId)The ID of the workspace to accept the channel in. If an org-level token is used to call this method, the team_id argument is required.- Returns:
this.
-
build
-
toString
-