UserReactionItemState

data class UserReactionItemState(val user: User, val type: String, val isMine: Boolean = false, val emojiCode: String? = null)

UI representation of user reaction.

Parameters

user

The user who left the reaction.

type

The string representation of the reaction.

isMine

Whether the reaction belongs to the current user.

emojiCode

The optional emoji code to be shown for the reaction.

Constructors

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

Properties

Link copied to clipboard
val emojiCode: String? = null
Link copied to clipboard
val isMine: Boolean = false
Link copied to clipboard
Link copied to clipboard
val user: User