StoryCommentComponent

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

This data class represents the Comment component.

Constructors

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

Properties

customPayload
Link copied to clipboard
open override val customPayload: String?

Custom payload for this Comment component if exists

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