ChannelState
State container with reactive data of a channel.
Properties
Channel config data
StateFlow object with the channel data.
Type of this channel.
If there are no more newer messages to load.
If there are no more older messages to load.
The date of the last message sent by the current user.
If we are currently loading newer messages.
If we are currently loading older messages.
Number of all members of this channel.
Strong typed state of message collection of this channel. See MessagesState for more details.
The collection of messages from previous pages of data.
The pinned message collection of this channel.
A map containing all the ids that quoted a message. Using the id of a message you can get the IDs of the messages that quoted it. This can be used to reflected changes of the original message to the messages that quoted it.
Read status for the current user.
How far every user in this channel has read.
If we need to recover state when connection established again.
A replied message state in this channel. By default is null. There is a value if you're replying some message.
Who is currently typing. Current user is excluded from this.
Unread count for this channel, calculated based on read state. This works even if you're offline.
The number of people currently watching the channel.