Channels Query Params
Channel list pagination query parameters.
Used with ai.nexconn.chat.channel.BaseChannel.createChannelsQuery to create a pagination query object. All parameters are immutable after creation to ensure consistency during the query process.
Usage Example:
val params = ChannelsQueryParams(
channelTypes = listOf(ChannelType.DIRECT, ChannelType.GROUP)
).apply {
pageSize = 20
topPriority = true
}
val query = BaseChannel.createChannelListQuery(params)
query.loadNextPage { list, error ->
// ...
}Content copied to clipboard
Parameters
channel Types
List of channel types to query.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Number of items per page. Defaults to 20.
Link copied to clipboard
Start timestamp (milliseconds) for the query.
Link copied to clipboard
Whether pinned channels are returned first.
Link copied to clipboard
Number of items per page. Defaults to 20.
Link copied to clipboard
Start timestamp (milliseconds) for the query.
Link copied to clipboard
Whether pinned channels are returned first.