Class ImOpenRequest

    • Method Detail

      • getToken

        public String getToken()
        Deprecated.
        Authentication token. Requires scope: `im:write`
        Specified by:
        getToken in interface SlackApiRequest
      • getUser

        public String getUser()
        Deprecated.
        User to open a direct message channel with.
      • isReturnIm

        public boolean isReturnIm()
        Deprecated.
        Boolean, indicates you want the full IM channel definition in the response.
      • isIncludeLocale

        public boolean isIncludeLocale()
        Deprecated.
        Set this to `true` to receive the locale for this im. Defaults to `false`
      • setToken

        public void setToken​(String token)
        Deprecated.
        Authentication token. Requires scope: `im:write`
      • setUser

        public void setUser​(String user)
        Deprecated.
        User to open a direct message channel with.
      • setReturnIm

        public void setReturnIm​(boolean returnIm)
        Deprecated.
        Boolean, indicates you want the full IM channel definition in the response.
      • setIncludeLocale

        public void setIncludeLocale​(boolean includeLocale)
        Deprecated.
        Set this to `true` to receive the locale for this im. Defaults to `false`
      • equals

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

        protected boolean canEqual​(Object other)
        Deprecated.
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object