Thread

data class Thread(val contextId: String, val threadId: String, val createDate: Long?, val creator: String, val lastModificationDate: Long?, val lastModifier: String, val users: List<String>, val managers: List<String>, val version: Long?, val lastMsgDate: Long?, val publicMeta: ByteArray, val privateMeta: ByteArray, val policy: ContainerPolicy, val messagesCount: Long?, val statusCode: Long?)

Holds all available information about a Thread.

Constructors

Link copied to clipboard
constructor(contextId: String, threadId: String, createDate: Long?, creator: String, lastModificationDate: Long?, lastModifier: String, users: List<String>, managers: List<String>, version: Long?, lastMsgDate: Long?, publicMeta: ByteArray, privateMeta: ByteArray, policy: ContainerPolicy, messagesCount: Long?, statusCode: Long?)

Properties

Link copied to clipboard

ID of the Thread's Context

Link copied to clipboard

Thread creation timestamp

Link copied to clipboard

ID of the user who created the Thread

Link copied to clipboard

Thread last modification timestamp

Link copied to clipboard

ID of the user who last modified the Thread

Link copied to clipboard

Timestamp of the last posted message

Link copied to clipboard

List of users (their IDs) with management rights

Link copied to clipboard

Total number of messages in the Thread

Link copied to clipboard

Thread's policies

Link copied to clipboard

Thread's private metadata

Link copied to clipboard

Thread's public metadata

Link copied to clipboard

Status code of retrieval and decryption of the Thread

Link copied to clipboard

ID of the Thread

Link copied to clipboard

List of users (their IDs) with access to the Thread

Link copied to clipboard

Version number (changes on updates)

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int