# ChatState

sealed class ChatState

#### Inheritors

Active
Composing
Paused
Inactive
Gone

## Types

Active
Link copied to clipboard
data class Active(val participant: Contact) : ChatState

Contact is actively participating in the chat session.

Companion
Link copied to clipboard
object Companion
Composing
Link copied to clipboard
data class Composing(val participant: Contact) : ChatState

Contact is composing a message.

Gone
Link copied to clipboard
data class Gone(val participant: Contact) : ChatState

Contact has effectively ended their participation in the chat session.

Inactive
Link copied to clipboard
data class Inactive(val participant: Contact) : ChatState

Contact has not been actively participating in the chat session.

Paused
Link copied to clipboard
data class Paused(val participant: Contact) : ChatState

Contact had been composing but now has stopped.

## Properties

participant
Link copied to clipboard
abstract val participant: Contact