library / io.getstream.chat.android.livedata.usecase / WatchChannel / invoke

invoke

abstract operator fun invoke(cid: String, messageLimit: Int): Call2<ChannelController>

Watches the given channel and returns a ChannelController

Parameters

cid - the full channel id. ie messaging:123

messageLimit - how many messages to load on the first request

Return
A call object with ChannelController as the return type

See Also

io.getstream.chat.android.livedata.controller.ChannelController