FeatureRequestComment

data class FeatureRequestComment(val id: String, val featureRequestId: String, val authorName: String? = null, val authorEmail: String? = null, val authorAvatarUrl: String? = null, val authorClerkId: String? = null, val body: String, val parentId: String? = null, val replyToClerkId: String? = null, val replyToAuthorName: String? = null, val isHidden: Boolean = false, val createdAt: String)(source)

A comment or reply on a feature request, returned by FeedbackClient.fetchComments.

Example:

val comments = client.fetchComments(featureRequestId = "req_123")
comments.forEach { comment ->
println("${comment.authorName ?: "Anon"}: ${comment.body}")
}

Constructors

Link copied to clipboard
constructor(id: String, featureRequestId: String, authorName: String? = null, authorEmail: String? = null, authorAvatarUrl: String? = null, authorClerkId: String? = null, body: String, parentId: String? = null, replyToClerkId: String? = null, replyToAuthorName: String? = null, isHidden: Boolean = false, createdAt: String)

Properties

Link copied to clipboard

Hosted avatar image URL, or null.

Link copied to clipboard

Unique user ID if signed in, or null.

Link copied to clipboard

Email address of the author, or null.

Link copied to clipboard

Display name of the commenter, or null.

Link copied to clipboard

Comment content; supports inline Markdown.

Link copied to clipboard

ISO 8601 creation timestamp.

Link copied to clipboard

Parent FeatureRequestItem.id this comment belongs to.

Link copied to clipboard
val id: String

Unique comment identifier.

Link copied to clipboard

Whether this comment was moderated and hidden from public view.

Link copied to clipboard

Identifier of the parent comment if this is a reply, or null.

Link copied to clipboard

Name of the participant being replied to, or null.

Link copied to clipboard

User ID of the participant being replied to, or null.