library / io.getstream.chat.android.livedata.entity / ChannelUserReadEntity

ChannelUserReadEntity

data class ChannelUserReadEntity

Efficiently store the channel user read info

Constructors

<init>

ChannelUserReadEntity(r: ChannelUserRead)

Efficiently store the channel user read info

ChannelUserReadEntity(userId: String)

Properties

lastRead

how far this user had read

var lastRead: Date?

userId

var userId: String

Functions

toChannelUserRead

converts the entity into channel user read

fun toChannelUserRead(userMap: Map<String, User>): ChannelUserRead