fetchChannelsByName

abstract suspend fun fetchChannelsByName(name: String): RainbowResult<List<Channel>>

Fetches channels by their name.

This API performs an asynchronous search for channels matching the provided name. The search will return all channels whose name matches or partially matches the given name. The result is wrapped in a RainbowResult to indicate success or failure.

Return

A RainbowResult containing a list of Channel objects that match the given name. In case of failure, the result will contain error details.

Parameters

name

The name or partial name of the channels to search for.