setSearchQuery

fun setSearchQuery(searchQuery: SearchQuery)


fun setSearchQuery(newQuery: String)

Deprecated

Use setSearchQuery instead

Replace with

import io.getstream.chat.android.compose.state.channels.list.SearchQuery
setSearchQuery(SearchQuery.Channels(newQuery))

Changes the current query state. This updates the data flow and triggers another query operation.

The new operation will hold the channels that match the new query.