PinnedMessageListState
data class PinnedMessageListState(val canLoadMore: Boolean, val results: List<MessageResult>, val isLoading: Boolean, val nextDate: Date)
Represents the pinned message list state, used to render the required UI.
Parameters
canLoadMore
Indicator if we've reached the end of messages, to stop triggering pagination.
results
The messages to render.
isLoading
Indicator if we're currently loading data (initial load).
nextDate
Date used to fetch next page of the messages.