Represents a thread info of a message.

Hierarchy

  • default
    • ThreadInfo

Properties

isPushNotificationEnabled?: boolean

Whether the push notification is enabled for this thread.

lastRepliedAt: number = 0

The time that the last reply was created, in Unix milliseconds format. A value of 0 indicates there is no reply in the thread.

memberCount: number = 0

The number of members of the thread. The members would get notified when new reply has added.

mostRepliedUsers: User[]

Users who left a reply in the thread, based on the time the reply was added.

replyCount: number = 0

The total number of replies in a specific thread. A value of 0 indicates there is no reply in the thread.

unreadReplyCount?: number

The total number of unread replies in a specific thread.

updatedAt: number = 0

Timestamp at which the thread info updates.