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.
Timestamp from where to start the interval. If not present, the interval will have no start date and any data will include everything up to the provided to timestamp.
to
optional
Date
Timestamp where to end the interval. If not present, the interval will have no end date and any data will include everything from the provided from timestamp.