SearchQuery

sealed class SearchQuery

Represent the search query.

Inheritors

Types

Link copied to clipboard
data class Channels(val query: String) : SearchQuery

Represents the search query for channels.

Link copied to clipboard
data object Empty : SearchQuery

Represents an empty search query.

Link copied to clipboard
data class Messages(val query: String) : SearchQuery

Represents the search query for messages.

Properties

Link copied to clipboard
abstract val query: String

The query to search for.