Package io.getstream.chat.android.models
Class ChannelUserRead
-
- All Implemented Interfaces:
-
io.getstream.chat.android.models.UserEntity
@Immutable() public final class ChannelUserRead implements UserEntity
Information about how many messages are unread in the channel by a given user.
-
-
Field Summary
Fields Modifier and Type Field Description private final Useruserprivate final DatelastReceivedEventDateprivate final IntegerunreadMessagesprivate final DatelastReadprivate final StringlastReadMessageId
-
Method Summary
Modifier and Type Method Description UsergetUser()The user which has read some of the messages and may have some unread messages. final DategetLastReceivedEventDate()The time of the event that updated this ChannelUserRead object. final IntegergetUnreadMessages()How many messages are unread. final DategetLastRead()The time of the last read message. final StringgetLastReadMessageId()The ID of the last read message. -
-
Method Detail
-
getUser
User getUser()
The user which has read some of the messages and may have some unread messages.
-
getLastReceivedEventDate
final Date getLastReceivedEventDate()
The time of the event that updated this ChannelUserRead object.
-
getUnreadMessages
final Integer getUnreadMessages()
How many messages are unread.
-
getLastRead
final Date getLastRead()
The time of the last read message.
-
getLastReadMessageId
final String getLastReadMessageId()
The ID of the last read message.
-
-
-
-