fetchMostFollowedChannels
abstract suspend fun fetchMostFollowedChannels(limit: Int = 100, offset: Int = 0): RainbowResult<List<Channel>>
Fetch the most followed channels.
This method retrieves a list of the most followed channels, based on their membership count. The result is returned in the success callback as a List of Channel objects.
Return
A RainbowResult containing the list of Channel objects representing the most followed channels. In case of failure, the result will contain error details.
Parameters
limit
An Int specifying the maximum number of channels to retrieve (default value is 100). Use this parameter to control the number of channels returned in the response.
offset
An Int specifying the position of the first channel to retrieve (default value is 0). This can be used for pagination, where the first result is determined by the offset.