ReactionOptionItemState

data class ReactionOptionItemState(val type: String, val isSelected: Boolean = false, val emojiCode: String? = null)

UI representation of reactions.

Parameters

type

The String representation of the reaction, for the API.

isSelected

Whether the reaction is selected by the current user.

emojiCode

The optional emoji code to be shown for the reaction.

Constructors

Link copied to clipboard
constructor(type: String, isSelected: Boolean = false, emojiCode: String? = null)

Properties

Link copied to clipboard
val emojiCode: String? = null
Link copied to clipboard
val isSelected: Boolean = false
Link copied to clipboard