ChatMessageSelection

data class ChatMessageSelection(val channelId: String? = null, val messageId: String? = null, val parentMessageId: String? = null) : Serializable

Represents the selection of a message within a channel.

Implements Serializable to allow for saving and restoring the state across configuration changes.

Constructors

Link copied to clipboard
constructor(channelId: String? = null, messageId: String? = null, parentMessageId: String? = null)

Properties

Link copied to clipboard
val channelId: String? = null

The ID of the selected channel, or null if no channel is selected.

Link copied to clipboard
val messageId: String? = null

The ID of a specific message, or null if navigating to a channel without a pre-selected message.

Link copied to clipboard
val parentMessageId: String? = null

The ID of the parent message (for threads), or null if not in a thread.