Class ConversationsInfoRequest

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

public class ConversationsInfoRequest extends Object implements SlackApiRequest
https://docs.slack.dev/reference/methods/conversations.info
  • Method Details

    • builder

    • getToken

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

      public String getChannel()
      Conversation ID to learn more about
    • isIncludeLocale

      public boolean isIncludeLocale()
      Set this to `true` to receive the locale for this conversation. Defaults to `false`
    • isIncludeNumMembers

      public boolean isIncludeNumMembers()
      Set to true to include the member count for the specified conversation. Defaults to false
    • setToken

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

      public void setChannel(String channel)
      Conversation ID to learn more about
    • setIncludeLocale

      public void setIncludeLocale(boolean includeLocale)
      Set this to `true` to receive the locale for this conversation. Defaults to `false`
    • setIncludeNumMembers

      public void setIncludeNumMembers(boolean includeNumMembers)
      Set to true to include the member count for the specified conversation. 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