Class ConversationsKickRequest

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

public class ConversationsKickRequest extends Object implements SlackApiRequest
https://docs.slack.dev/reference/methods/conversations.kick
  • 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()
      ID of conversation to remove user from.
    • getUser

      public String getUser()
      User ID to be removed.
    • setToken

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

      public void setChannel(String channel)
      ID of conversation to remove user from.
    • setUser

      public void setUser(String user)
      User ID to be removed.
    • 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