VerticalFeedItemRatingComponent

data class VerticalFeedItemRatingComponent(id: String, emojiCode: String, rating: Int, customPayload: String?) : VerticalFeedItemComponent

This data class represents the Rating component.

Constructors

VerticalFeedItemRatingComponent
Link copied to clipboard
fun VerticalFeedItemRatingComponent(id: String, emojiCode: String, rating: Int, customPayload: String?)

Properties

customPayload
Link copied to clipboard
val customPayload: String?

Custom payload for this rating if exists

emojiCode
Link copied to clipboard
val emojiCode: String

Emoji code as the thumb emoji

id
Link copied to clipboard
open override val id: String

Id of the interactive component

rating
Link copied to clipboard
val rating: Int

Rating value which user rated in the component

type
Link copied to clipboard
val type: VerticalFeedItemComponentType

Type of the interactive component