Package io.getstream.chat.android.models
Class Thread
-
- All Implemented Interfaces:
@Immutable() public final class Thread
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringcidprivate final ChannelInfochannelInfoprivate final StringparentMessageIdprivate final MessageparentMessageprivate final StringcreatedByUserIdprivate final UsercreatedByprivate final IntegerreplyCountprivate final IntegerparticipantCountprivate final List<User>threadParticipantsprivate final DatelastMessageAtprivate final DatecreatedAtprivate final DateupdatedAtprivate final Stringtitleprivate final List<Message>latestRepliesprivate final List<ChannelUserRead>read
-
Constructor Summary
Constructors Constructor Description Thread(String cid, ChannelInfo channelInfo, String parentMessageId, Message parentMessage, String createdByUserId, User createdBy, Integer replyCount, Integer participantCount, List<User> threadParticipants, Date lastMessageAt, Date createdAt, Date updatedAt, String title, List<Message> latestReplies, List<ChannelUserRead> read)
-
Method Summary
Modifier and Type Method Description final StringgetCid()final ChannelInfogetChannelInfo()final StringgetParentMessageId()final MessagegetParentMessage()final StringgetCreatedByUserId()final UsergetCreatedBy()final IntegergetReplyCount()final IntegergetParticipantCount()final List<User>getThreadParticipants()final DategetLastMessageAt()final DategetCreatedAt()final DategetUpdatedAt()final StringgetTitle()final List<Message>getLatestReplies()final List<ChannelUserRead>getRead()-
-
Constructor Detail
-
Thread
Thread(String cid, ChannelInfo channelInfo, String parentMessageId, Message parentMessage, String createdByUserId, User createdBy, Integer replyCount, Integer participantCount, List<User> threadParticipants, Date lastMessageAt, Date createdAt, Date updatedAt, String title, List<Message> latestReplies, List<ChannelUserRead> read)
-
-
Method Detail
-
getChannelInfo
final ChannelInfo getChannelInfo()
-
getParentMessageId
final String getParentMessageId()
-
getParentMessage
final Message getParentMessage()
-
getCreatedByUserId
final String getCreatedByUserId()
-
getCreatedBy
final User getCreatedBy()
-
getReplyCount
final Integer getReplyCount()
-
getParticipantCount
final Integer getParticipantCount()
-
getThreadParticipants
final List<User> getThreadParticipants()
-
getLastMessageAt
final Date getLastMessageAt()
-
getCreatedAt
final Date getCreatedAt()
-
getUpdatedAt
final Date getUpdatedAt()
-
getLatestReplies
final List<Message> getLatestReplies()
-
getRead
final List<ChannelUserRead> getRead()
-
-
-
-