library / io.getstream.chat.android.livedata.request / QueryChannelsPaginationRequest

QueryChannelsPaginationRequest

data class QueryChannelsPaginationRequest

Paginate query channels on the queryChannels repo Similar to QueryChannelsRequest but without the watch, filter and sort params Since those are provided by the QueryChannelsRepo

Constructors

<init>

Paginate query channels on the queryChannels repo Similar to QueryChannelsRequest but without the watch, filter and sort params Since those are provided by the QueryChannelsRepo

QueryChannelsPaginationRequest(channelOffset: Int = 0, channelLimit: Int = 30, messageLimit: Int = 10)

Properties

channelLimit

var channelLimit: Int

channelOffset

var channelOffset: Int

messageLimit

var messageLimit: Int

Functions

isFirstPage

fun isFirstPage(): Boolean

toQueryChannelsRequest

fun toQueryChannelsRequest(filter: FilterObject, sort: QuerySort?, userPresence: Boolean): QueryChannelsRequest