Comment
data class Comment(val id: String, url: String, val commentBoardId: String? = null, val parentCommentId: String? = null, val threadCommentId: String? = null, val text: String? = null, val commentDepth: Int, val customData: String? = null, val authorId: String? = null, val createdAt: String, repliesUrl: String, val repliesCount: Int, val isDeleted: Boolean, val deletedBy: String? = null, val deletedAt: String? = null, val isReplyLocked: Boolean? = null, val isReported: Boolean, val commentReportsCount: Int, val trendingScore: Double? = null, dismissReportedCommentUrl: String, val pinnedCommentsUrl: String? = null, val author: Profile, val authorImageUrl: String? = null, val filteredText: String? = null, val contentFilter: List<String>? = null, val isAuthorActive: Boolean? = null, val replies: List<Comment>? = null, val attributes: List<CommentAttribute> = emptyList(), val reactions: List<CommentReaction> = emptyList(), val mentions: List<Mention> = emptyList(), val isFromMe: Boolean = false, val isDeletedByMe: Boolean = false)
Represents a comment returned by the comment APIs.
Constructors
Link copied to clipboard
constructor(id: String, url: String, commentBoardId: String? = null, parentCommentId: String? = null, threadCommentId: String? = null, text: String? = null, commentDepth: Int, customData: String? = null, authorId: String? = null, createdAt: String, repliesUrl: String, repliesCount: Int, isDeleted: Boolean, deletedBy: String? = null, deletedAt: String? = null, isReplyLocked: Boolean? = null, isReported: Boolean, commentReportsCount: Int, trendingScore: Double? = null, dismissReportedCommentUrl: String, pinnedCommentsUrl: String? = null, author: Profile, authorImageUrl: String? = null, filteredText: String? = null, contentFilter: List<String>? = null, isAuthorActive: Boolean? = null, replies: List<Comment>? = null, attributes: List<CommentAttribute> = emptyList(), reactions: List<CommentReaction> = emptyList(), mentions: List<Mention> = emptyList(), isFromMe: Boolean = false, isDeletedByMe: Boolean = false)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Present only when exclude_inactive_profile=true is requested. False denotes a tombstone comment whose inactive author is retained because it has replies.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard