PinnedMessageListState
constructor(canLoadMore: Boolean = true, results: List<MessageResult> = emptyList(), isLoading: Boolean = true, nextDate: Date = Date())
Parameters
canLoadMore
Indicator if we've reached the end of messages, to stop triggering pagination. Defaults to true.
results
The messages to render. Defaults to an empty list.
isLoading
Indicator if we're currently loading data (initial load). Defaults to true.
nextDate
Date used to fetch next page of the messages. Defaults to current date.