QueryThreadsRequest

data class QueryThreadsRequest @JvmOverloads constructor(val filter: FilterObject? = null, val sort: QuerySorter<Thread> = DefaultSort, val watch: Boolean = true, val limit: Int = 10, val memberLimit: Int = 100, val next: String? = null, val participantLimit: Int = 100, val prev: String? = null, val replyLimit: Int = 2)

Query threads request.

Constructors

Link copied to clipboard
constructor(filter: FilterObject? = null, sort: QuerySorter<Thread> = DefaultSort, watch: Boolean = true, limit: Int = 10, memberLimit: Int = 100, next: String? = null, participantLimit: Int = 100, prev: String? = null, replyLimit: Int = 2)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The filter object for the query. Supported fields:

Link copied to clipboard
val limit: Int

The number of threads to return. Defaults to 10.

Link copied to clipboard

The number of members to request per thread. Defaults to 100.

Link copied to clipboard
val next: String?

The next pagination token. This token can be used to fetch the next page of threads.

Link copied to clipboard

The number of thread participants to request per thread. Defaults to 100.

Link copied to clipboard
val prev: String?

The previous pagination token. This token can be used to fetch the previous page of threads.

Link copied to clipboard

The number of latest replies to fetch per thread. Defaults to 2.

Link copied to clipboard

The sort object for the query. Supported fields:

Link copied to clipboard

If true, all the channels corresponding to threads returned in response will be watched. Defaults to true.