PinnedMessageListState

constructor(canLoadMore: Boolean, results: List<Message>, isLoading: Boolean, nextDate: Date)

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.