ConversationState

data class ConversationState(val conversationItems: ImmutableList<ConversationItem>? = null, val isFetching: Boolean = false, val unreadMessagesCount: Int = 0)

Conversation State

Constructors

Link copied to clipboard
constructor(conversationItems: ImmutableList<ConversationItem>? = null, isFetching: Boolean = false, unreadMessagesCount: Int = 0)

Properties

Link copied to clipboard

ImmutableList? list of conversation items

Link copied to clipboard
val isFetching: Boolean = false

Boolean flag indicating if there is a fetch in progress, true if fetching, false otherwise

Link copied to clipboard

Int unread messages count