MomentsTextComponent

data class MomentsTextComponent(id: String, text: String) : MomentsComponent

This data class represents the Text component.

Constructors

MomentsTextComponent
Link copied to clipboard
fun MomentsTextComponent(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

Text of the text interactive

type
Link copied to clipboard
val type: MomentsComponentType

Type of the interactive component