Interface MessageSearchResponse.Results

Enclosing interface:
MessageSearchResponse

public static interface MessageSearchResponse.Results
Represents a response with the found messages.
See Also:
  • Method Details

    • getMessages

      @Nonnull @Unmodifiable List<Message> getMessages()
      The messages satisfying the search query.

      The returned messages will be missing reactions, member objects (unless cached) and the containing thread's members will only contain the current member, if it has joined the thread.

      Returns:
      The matching messages
    • isDoingDeepHistoricalIndex

      boolean isDoingDeepHistoricalIndex()
      Whether the guild is still being indexed.
      Returns:
      true if the indexing is still being done
    • getTotalResults

      int getTotalResults()
      The total number of messages. May not be accurate as messages are created/deleted.
      Returns:
      The total results