The hook will initially return undefined while the data loads from our API. Once it has loaded, your component will re-render and the hook will return an array containing message objects including thread location.
Please note that the results are limited to 50 messages. To get more specific results, consider using one or more of the other search options provided.
Set locationOptions.location to a specific thread location to search. If locationOptions.partialMatch is true, we perform partial matching on the specified location. If false, we fetch information only from the specified location.