Class ConversationsInviteRequest

java.lang.Object
com.slack.api.methods.request.conversations.ConversationsInviteRequest
All Implemented Interfaces:
SlackApiRequest

public class ConversationsInviteRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/conversations.invite
  • Method Details

    • builder

    • getToken

      public String getToken()
      Authentication token. Requires scope: `conversations:write`
      Specified by:
      getToken in interface SlackApiRequest
      Returns:
      token string value or null
    • getChannel

      public String getChannel()
      The ID of the public or private channel to invite user(s) to.
    • getUsers

      public List<String> getUsers()
      A comma separated list of user IDs. Up to 30 users may be listed.
    • getForce

      public Boolean getForce()
      When set to `true` and multiple user IDs are provided, continue inviting the valid ones while disregarding invalid IDs. Defaults to `false`.
    • setToken

      public void setToken(String token)
      Authentication token. Requires scope: `conversations:write`
      Specified by:
      setToken in interface SlackApiRequest
    • setChannel

      public void setChannel(String channel)
      The ID of the public or private channel to invite user(s) to.
    • setUsers

      public void setUsers(List<String> users)
      A comma separated list of user IDs. Up to 30 users may be listed.
    • setForce

      public void setForce(Boolean force)
      When set to `true` and multiple user IDs are provided, continue inviting the valid ones while disregarding invalid IDs. Defaults to `false`.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object