MessagesState
Represents of possible state of messages for ChannelState.
Inheritors
Types
Link copied to clipboard
Indicates we are loading the first page of results. We are in this state if ChannelState.loading is true For seeing if we're loading more results have a look at loadingNewerMessages and loadingOlderMessages
Link copied to clipboard
The ChannelState is initialized but no query is currently running. If you know that a query will be started you typically want to display a loading icon.
Link copied to clipboard
If we are offline and don't have channels stored in offline storage, typically displayed as an error condition.
Link copied to clipboard
The list of messages, loaded either from offline storage or an API call. Observe chatDomain.online to know if results are currently up to date