ChannelUserRead

@Immutable
data class ChannelUserRead(val user: User, val lastReceivedEventDate: Date, val unreadMessages: Int, val lastRead: Date, val lastReadMessageId: String?) : UserEntity

Information about how many messages are unread in the channel by a given user.

Constructors

Link copied to clipboard
constructor(user: User, lastReceivedEventDate: Date, unreadMessages: Int, lastRead: Date, lastReadMessageId: String?)

Properties

Link copied to clipboard

The time of the last read message.

Link copied to clipboard
Link copied to clipboard

The time of the event that updated this ChannelUserRead object.

Link copied to clipboard

How many messages are unread.

Link copied to clipboard
open override val user: User

The user which has read some of the messages and may have some unread messages.

Inherited functions

Link copied to clipboard
open fun getUserId(): String