interface CommentData : Contribution
Base interface for the elements in the comments section of a submission.
depth |
An integer representing the nested level of this comment. abstract val depth: Int |
hasReplies |
If the node has children nodes. abstract val hasReplies: Boolean |
parentFullname |
Fullname of the thing this comment is a reply to, either the link or a comment in it. abstract val parentFullname: String |
replies |
The list of children nodes. abstract val replies: List<CommentData>? |
repliesSize |
The number of children nodes. abstract val repliesSize: Int |
Comment |
This class can represent a comment on a Submission or a reply to another comment. data class Comment : CommentData, Votable, Saveable, Created, Editable, Distinguishable, Gildable, Replyable, Parcelable |
MoreComments |
This class is used to load more comments in the tree, when a comment or a group of comment is too deep. data class MoreComments : CommentData, Parcelable |