Friend Applications Query Params
Friend application pagination query parameters.
Usage Example:
val params = FriendApplicationsQueryParams().apply {
pageSize = 20
applicationTypes = listOf(FriendApplicationType.RECEIVED)
status = listOf(FriendApplicationStatus.UN_HANDLED)
}
NCEngine.user.getFriendApplications(params) { result, error ->
if (error == null && result != null) {
result.data.forEach { app ->
println("${app.userId}: ${app.applicationStatus}")
}
}
}Content copied to clipboard
Properties
Functions
Link copied to clipboard
Friend application type Filter List, null When Query all Type
Link copied to clipboard
per page items count, Default 20
Link copied to clipboard
Friend application status Filter List, null When Query all Status
Link copied to clipboard
Whether ascending order.true: Ascending; false: Descending (Default)
Link copied to clipboard
Friend application type Filter List, null When Query all Type
Link copied to clipboard
Whether ascending order.true: Ascending; false: Descending (Default)
Link copied to clipboard
per page items count, Default 20
Link copied to clipboard
Friend application status Filter List, null When Query all Status