Class ConversationsRepliesRequest

  • All Implemented Interfaces:
    SlackApiRequest

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

      • getToken

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

        public boolean isInclusive()
        Include messages with latest or oldest timestamp in results only when either timestamp is specified.
      • getTs

        public String getTs()
        Unique identifier of a thread's parent message.
      • getCursor

        public String getCursor()
        Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first \"page\" of the collection. See [pagination](/docs/pagination) for more detail.
      • getLimit

        public Integer getLimit()
        The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached.
      • getChannel

        public String getChannel()
        Conversation ID to fetch thread from.
      • getOldest

        public String getOldest()
        Start of time range of messages to include in results.
      • getLatest

        public String getLatest()
        End of time range of messages to include in results.
      • isIncludeAllMetadata

        public boolean isIncludeAllMetadata()
        Return all metadata associated with this message.
      • setToken

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

        public void setInclusive​(boolean inclusive)
        Include messages with latest or oldest timestamp in results only when either timestamp is specified.
      • setTs

        public void setTs​(String ts)
        Unique identifier of a thread's parent message.
      • setCursor

        public void setCursor​(String cursor)
        Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first \"page\" of the collection. See [pagination](/docs/pagination) for more detail.
      • setLimit

        public void setLimit​(Integer limit)
        The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached.
      • setChannel

        public void setChannel​(String channel)
        Conversation ID to fetch thread from.
      • setOldest

        public void setOldest​(String oldest)
        Start of time range of messages to include in results.
      • setLatest

        public void setLatest​(String latest)
        End of time range of messages to include in results.
      • setIncludeAllMetadata

        public void setIncludeAllMetadata​(boolean includeAllMetadata)
        Return all metadata associated with this message.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object