ChatThread

abstract class ChatThread

All information about a chat thread as well as the messages for the thread.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Whether more messages can be added to the thread (not archived) or otherwise (archived).

Link copied to clipboard
abstract val fields: List<CustomField>

Custom fields attached to this thread.

Link copied to clipboard

Whether there are more messages to load in the thread.

Link copied to clipboard
abstract val id: UUID

The unique id of the thread.

Link copied to clipboard
abstract val messages: List<Message>

The list of messages on the thread.

Link copied to clipboard
abstract val scrollToken: String

The token for the scroll position used to load more messages.

Link copied to clipboard
abstract val threadAgent: Agent?

The agent assigned in the thread.

Link copied to clipboard
abstract val threadName: String?

The name given to the thread (for multi-thread channels only).

Link copied to clipboard

Current state of the thread.