Subscribe Query Params
Subscription event pagination query parameters.
Used with ai.nexconn.chat.user.UserModule.createSubscribeQuery to create a pagination query object. All parameters are immutable after creation to ensure consistency during the query process.
Usage Example:
val params = SubscribeQueryParams(
subscribeType = SubscribeType.ONLINE_STATUS,
pageSize = 50
)
val query = NCEngine.user.createSubscribeQuery(params)
query.loadNextPage { list, error -> ... }Content copied to clipboard
Parameters
subscribe Type
Subscription event type to query.
page Size
Number of items per page. Defaults to 20.