APIMessageSearchResult
Index
Properties
optionaldocuments_indexed
The number of documents that have been indexed during the current index operation, if any
doing_deep_historical_index
Whether the guild is undergoing a deep historical indexing operation
optionalmembers
A thread member object for each returned thread the current user has joined
messages
A nested array of messages that match the query
optionalthreads
The threads that contain the returned messages
total_results
The total number of results that match the query
https://docs.discord.com/developers/resources/message#search-guild-messages-response-body