Interface MessageSearchResponse.Results
- Enclosing interface:
MessageSearchResponse
public static interface MessageSearchResponse.Results
Represents a response with the found messages.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionThe messages satisfying the search query.intThe total number of messages.booleanWhether the guild is still being indexed.
-
Method Details
-
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:
trueif 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
-