ThreadItemPost

data class ThreadItemPost(val post: PostView, val moreParents: Boolean, val moreReplies: Long, val opThread: Boolean, val opThreadPostIndex: Long? = null, val opThreadPostCount: Long? = null, val hiddenByThreadgate: Boolean, val mutedByViewer: Boolean)

Parameters

moreParents

This post has more parents that were not present in the response. This is just a boolean, without the number of parents.

moreReplies

This post has more replies that were not present in the response. This is a numeric value, which is best-effort and might not be accurate.

opThread

This post is part of a contiguous thread by the OP from the thread root. Sub-threads by OP deeper in the tree are not considered an OP thread.

opThreadPostIndex

The 1-indexed position of this post within the contiguous OP thread. Only present when this post is part of the OP thread (see opThread).

opThreadPostCount

The total number of posts in the contiguous OP thread that this post belongs to. Only present when this post is part of the OP thread (see opThread).

hiddenByThreadgate

The threadgate created by the author indicates this post as a reply to be hidden for everyone consuming the thread.

mutedByViewer

This is by an account muted by the viewer requesting it.

Constructors

Link copied to clipboard
constructor(post: PostView, moreParents: Boolean, moreReplies: Long, opThread: Boolean, opThreadPostIndex: Long? = null, opThreadPostCount: Long? = null, hiddenByThreadgate: Boolean, mutedByViewer: Boolean)

Properties

Link copied to clipboard

The threadgate created by the author indicates this post as a reply to be hidden for everyone consuming the thread.

Link copied to clipboard

This post has more parents that were not present in the response. This is just a boolean, without the number of parents.

Link copied to clipboard

This post has more replies that were not present in the response. This is a numeric value, which is best-effort and might not be accurate.

Link copied to clipboard

This is by an account muted by the viewer requesting it.

Link copied to clipboard

This post is part of a contiguous thread by the OP from the thread root. Sub-threads by OP deeper in the tree are not considered an OP thread.

Link copied to clipboard

The total number of posts in the contiguous OP thread that this post belongs to. Only present when this post is part of the OP thread (see opThread).

Link copied to clipboard

The 1-indexed position of this post within the contiguous OP thread. Only present when this post is part of the OP thread (see opThread).

Link copied to clipboard