PinnedMessageListState

data class PinnedMessageListState(val canLoadMore: Boolean, val results: List<Message>, 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.

Constructors

Link copied to clipboard
constructor(canLoadMore: Boolean, results: List<Message>, isLoading: Boolean, nextDate: Date)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard