SearchMessagesByTimeRangeQuery

public final class SearchMessagesByTimeRangeQuery implements PageableQuery<PageData<Message>>

by Keyword and Time range search message Pagination query object.

Based on Keyword In specified Time range within Search messages, Supports offset Pagination.

Via BaseChannel.createSearchMessagesByTimeRangeQuery Create instance, Not cannot be constructed directly.

Usage Example:

val params = SearchMessagesByTimeRangeQueryParams(
keyword = "hello",
startTime = startTimestamp,
endTime = endTimestamp
)
val query = channel.createSearchMessagesByTimeRangeQuery(params)

query.loadNextPage { messages, error ->
if (error == null && messages != null) {
// Handle search results
}
}

Properties

Link copied to clipboard
private final Boolean isLoading

Functions

Link copied to clipboard
public Boolean isLoading()
Link copied to clipboard