StoryEmojiComponent

data class StoryEmojiComponent(id: String, emojiCodes: List<String>, selectedEmojiIndex: Int, customPayload: String?) : StoryComponent

This data class represents the Emoji component.

Constructors

StoryEmojiComponent
Link copied to clipboard
fun StoryEmojiComponent(id: String, emojiCodes: List<String>, selectedEmojiIndex: Int, customPayload: String?)

Properties

customPayload
Link copied to clipboard
val customPayload: String?

Custom payload for this emoji if exists

emojiCodes
Link copied to clipboard
val emojiCodes: List<String>

List of the emojis in the component

id
Link copied to clipboard
open override val id: String

Id of the interactive component

selectedEmojiIndex
Link copied to clipboard
val selectedEmojiIndex: Int

Emoji index that the user selected

type
Link copied to clipboard
val type: StoryComponentType

Type of the interactive component