VerticalFeedItemEmojiComponent

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

This data class represents the Emoji component.

Constructors

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

Properties

customPayload
Link copied to clipboard
open override 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: VerticalFeedItemComponentType

Type of the interactive component