Class ConversationsAcceptSharedInviteRequest

  • All Implemented Interfaces:
    SlackApiRequest

    public class ConversationsAcceptSharedInviteRequest
    extends Object
    implements SlackApiRequest
    https://api.slack.com/methods/conversations.acceptSharedInvite
    • Method Detail

      • getToken

        public String getToken()
        Description copied from interface: SlackApiRequest
        Returns 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:
        getToken in interface SlackApiRequest
        Returns:
        token string value or null
      • getChannelName

        public String 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

        public String getChannelId()
        ID of the channel that you'd like to accept. Must provide either invite_id or channel_id.
      • getFreeTrialAccept

        public Boolean getFreeTrialAccept()
        Whether you'd like to use your workspace's free trial to begin using Slack Connect.
      • getInviteId

        public String getInviteId()
        See the shared_channel_invite_received event payload for more details on how to retrieve the ID of the invitation.
      • getIsPrivate

        public Boolean getIsPrivate()
        Whether the channel should be private.
      • getTeamId

        public String 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.
      • setChannelName

        public void setChannelName​(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.
      • setChannelId

        public void setChannelId​(String channelId)
        ID of the channel that you'd like to accept. Must provide either invite_id or channel_id.
      • setFreeTrialAccept

        public void setFreeTrialAccept​(Boolean freeTrialAccept)
        Whether you'd like to use your workspace's free trial to begin using Slack Connect.
      • setInviteId

        public void setInviteId​(String inviteId)
        See the shared_channel_invite_received event payload for more details on how to retrieve the ID of the invitation.
      • setIsPrivate

        public void setIsPrivate​(Boolean isPrivate)
        Whether the channel should be private.
      • setTeamId

        public void setTeamId​(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.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object