StoryComponent

open class StoryComponent(id: String, type: StoryComponentType, customPayload: String?)

This parent class represents the interactive components which users are interacted with.

Constructors

StoryComponent
Link copied to clipboard
fun StoryComponent(id: String, type: StoryComponentType, customPayload: String?)

Properties

customPayload
Link copied to clipboard
open val customPayload: String?

Custom payload for the interactive component if exists

id
Link copied to clipboard
open val id: String

Id of the interactive component

type
Link copied to clipboard
val type: StoryComponentType

Type of the interactive component

Inheritors

StoryQuizComponent
Link copied to clipboard
StoryImageQuizComponent
Link copied to clipboard
StoryPollComponent
Link copied to clipboard
StoryEmojiComponent
Link copied to clipboard
StoryRatingComponent
Link copied to clipboard
StoryPromoCodeComponent
Link copied to clipboard
StoryCommentComponent
Link copied to clipboard
StorySwipeComponent
Link copied to clipboard
StoryButtonComponent
Link copied to clipboard
StoryProductTagComponent
Link copied to clipboard
StoryProductCardComponent
Link copied to clipboard
StoryProductCatalogComponent
Link copied to clipboard