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

invoke

operator fun invoke(filter: FilterObject, sort: QuerySort?, limit: Int, messageLimit: Int): Call2<List<Channel>>

Load more channels for this query

Parameters

filter - the filter for querying channels, see https://getstream.io/chat/docs/query_channels/?language=kotlin

sort - the sort for the channels, by default will sort on last_message_at

limit - the number of channels to retrieve

messageLimit - how many messages to fetch per chanel

Return
A call object with List as the return type

See Also

io.getstream.chat.android.client.utils.FilterObject

io.getstream.chat.android.client.api.models.QuerySort