Class ConversationsAcceptSharedInviteRequest
java.lang.Object
com.slack.api.methods.request.conversations.ConversationsAcceptSharedInviteRequest
- All Implemented Interfaces:
SlackApiRequest
https://docs.slack.dev/reference/methods/conversations.acceptSharedInvite
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanID of the channel that you'd like to accept.Name of the channel.Whether you'd like to use your workspace's free trial to begin using Slack Connect.See the shared_channel_invite_received event payload for more details on how to retrieve the ID of the invitation.Whether the channel should be private.The ID of the workspace to accept the channel in.getToken()Returns a token in this request object.inthashCode()voidsetChannelId(String channelId) ID of the channel that you'd like to accept.voidsetChannelName(String channelName) Name of the channel.voidsetFreeTrialAccept(Boolean freeTrialAccept) Whether you'd like to use your workspace's free trial to begin using Slack Connect.voidsetInviteId(String inviteId) See the shared_channel_invite_received event payload for more details on how to retrieve the ID of the invitation.voidsetIsPrivate(Boolean isPrivate) Whether the channel should be private.voidThe ID of the workspace to accept the channel in.voidUpdates the token in this request object.toString()
-
Method Details
-
builder
public static ConversationsAcceptSharedInviteRequest.ConversationsAcceptSharedInviteRequestBuilder builder() -
getToken
Description copied from interface:SlackApiRequestReturns a token in this request object. If the API endpoint does not require a token (e.g., api.test), this method can return null.- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getChannelName
Name of the channel. If the channel does not exist already in your workspace, this name is the one that the channel will take. -
getChannelId
ID of the channel that you'd like to accept. Must provide either invite_id or channel_id. -
getFreeTrialAccept
Whether you'd like to use your workspace's free trial to begin using Slack Connect. -
getInviteId
See the shared_channel_invite_received event payload for more details on how to retrieve the ID of the invitation. -
getIsPrivate
Whether the channel should be private. -
getTeamId
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. -
setToken
Description copied from interface:SlackApiRequestUpdates the token in this request object.The default implementation throws
UnsupportedOperationException. All the built-in implementing classes overrides this method in a proper way.- Specified by:
setTokenin interfaceSlackApiRequest
-
setChannelName
Name of the channel. If the channel does not exist already in your workspace, this name is the one that the channel will take. -
setChannelId
ID of the channel that you'd like to accept. Must provide either invite_id or channel_id. -
setFreeTrialAccept
Whether you'd like to use your workspace's free trial to begin using Slack Connect. -
setInviteId
See the shared_channel_invite_received event payload for more details on how to retrieve the ID of the invitation. -
setIsPrivate
Whether the channel should be private. -
setTeamId
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. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-