ThreadInfo

constructor(activeParticipantCount: Int, cid: String, createdAt: Date, createdBy: User?, createdByUserId: String, deletedAt: Date?, lastMessageAt: Date?, parentMessage: Message?, parentMessageId: String, participantCount: Int, replyCount: Int, title: String, updatedAt: Date)

Parameters

activeParticipantCount

Number of active participants in the thread.

cid

Id of the channel in which the thread resides.

createdAt

Date when the thread was created.

createdBy

The User which created the thread. (Note: This object is not always delivered, sometimes we only receive the ID of the user - createdByUserId).

createdByUserId

The ID of the User which created the thread.

deletedAt

Date when the thread was deleted (null if the thread is not deleted).

lastMessageAt

Date of the last message in the thread.

parentMessage

The parent message of the thread. (Note: This object is not always delivered, sometimes we only receive the ID of the parent message - parentMessageId).

parentMessageId

The ID of the parent message of the thread.

participantCount

The number of participants in the thread.

replyCount

The number of replies in the thread.

title

The title of the thread.

updatedAt

Date of the most recent update of the thread.