Search Channels Params
Search channels Parameter.
Used for com.nexconn.chat.channel.BaseChannel.searchChannels, Based on Keyword Search match channel and its matching message Count.
Usage Example:
val params = SearchChannelsParams(
keyword = "hello",
channelTypes = listOf(ChannelType.DIRECT, ChannelType.GROUP)
).apply {
messageTypes = listOf(MessageType.TEXT)
}
BaseChannel.searchChannels(params) { results, error ->
}
}Content copied to clipboard
Parameters
channel Types
to Search Channel type list Search keyword