Package io.getstream.chat.android.models
Class UnreadThread
-
- All Implemented Interfaces:
public final class UnreadThreadRepresents an unread thread.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringparentMessageIdprivate final IntegermessagesCountprivate final DatelastReadprivate final StringlastReadMessageId
-
Constructor Summary
Constructors Constructor Description UnreadThread(String parentMessageId, Integer messagesCount, Date lastRead, String lastReadMessageId)
-
Method Summary
Modifier and Type Method Description final StringgetParentMessageId()The ID of the parent message in the thread. final IntegergetMessagesCount()The number of unread messages in the thread. final DategetLastRead()The date when the last message was read in the thread. final StringgetLastReadMessageId()The ID of the last read message in the thread. -
-
Method Detail
-
getParentMessageId
final String getParentMessageId()
The ID of the parent message in the thread.
-
getMessagesCount
final Integer getMessagesCount()
The number of unread messages in the thread.
-
getLastRead
final Date getLastRead()
The date when the last message was read in the thread.
-
getLastReadMessageId
final String getLastReadMessageId()
The ID of the last read message in the thread.
-
-
-
-