GetPostThreadV2QueryParams
data class GetPostThreadV2QueryParams(val anchor: AtUri, val above: Boolean? = true, val below: Long? = 6, val branchingFactor: Long? = 10, val sort: GetPostThreadV2Sort? = GetPostThreadV2Sort.Oldest)
Parameters
anchor
Reference (AT-URI) to post record. This is the anchor post, and the thread will be built around it. It can be any post in the tree, not necessarily a root post.
above
Whether to include parents above the anchor.
below
How many levels of replies to include below the anchor.
branchingFactor
Maximum of replies to include at each level of the thread, except for the direct replies to the anchor, which are (NOTE: currently, during unspecced phase) all returned (NOTE: later they might be paginated).
sort
Sorting for the thread replies.
Constructors
Link copied to clipboard
constructor(anchor: AtUri, above: Boolean? = true, below: Long? = 6, branchingFactor: Long? = 10, sort: GetPostThreadV2Sort? = GetPostThreadV2Sort.Oldest)