StoryCommentComponent

data class StoryCommentComponent(id: String, text: String) : StoryComponent

This data class represents the Comment component.

Constructors

StoryCommentComponent
Link copied to clipboard
fun StoryCommentComponent(id: String, text: String)

Properties

id
Link copied to clipboard
open override val id: String

Id of the interactive component

text
Link copied to clipboard
val text: String

Comment value which user sent in the component

type
Link copied to clipboard
val type: StoryComponentType

Type of the interactive component