StoryEmojiComponent

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

This data class represents the Emoji component.

Constructors

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