listThreads

expect fun listThreads(contextId: String, skip: Long, limit: Long, sortOrder: String = "desc", lastId: String? = null): PagingList<Thread>

Gets a list of Threads in given Context.

Return

list of Threads

Parameters

contextId

ID of the Context to get the Threads from

skip

skip number of elements to skip from result

limit

limit of elements to return for query

sortOrder

order of elements in result ("asc" for ascending, "desc" for descending)

lastId

ID of the element from which query results should start

Throws

thrown when instance is closed.

thrown when method encounters an exception

thrown when method encounters an unknown exception

actual fun listThreads(contextId: String, skip: Long, limit: Long, sortOrder: String, lastId: String?): PagingList<Thread>

Gets a list of Threads in given Context.

Return

list of Threads

Parameters

contextId

ID of the Context to get the Threads from

skip

skip number of elements to skip from result

limit

limit of elements to return for query

sortOrder

order of elements in result ("asc" for ascending, "desc" for descending)

lastId

ID of the element from which query results should start

Throws

thrown when instance is closed.

thrown when method encounters an exception

thrown when method encounters an unknown exception

actual external fun listThreads(contextId: String, skip: Long, limit: Long, sortOrder: String, lastId: String?): PagingList<Thread>

Gets a list of Threads in given Context.

Return

list of Threads

Parameters

contextId

ID of the Context to get the Threads from

skip

skip number of elements to skip from result

limit

limit of elements to return for query

sortOrder

order of elements in result ("asc" for ascending, "desc" for descending)

lastId

ID of the element from which query results should start

Throws

thrown when instance is closed.

thrown when method encounters an exception

thrown when method encounters an unknown exception