Reaction
data class Reaction( var messageId: String = "", var type: String = "", var score: Int = 0, var user: User? = null, var userId: String = "", var createdAt: Date? = null, var updatedAt: Date? = null, var deletedAt: Date? = null, var syncStatus: SyncStatus = SyncStatus.COMPLETED, var extraData: MutableMap<String, Any> = mutableMapOf(), var enforceUnique: Boolean = false) : CustomObject
Content copied to clipboard
Constructors
Link copied to clipboard
fun Reaction( messageId: String = "", type: String = "", score: Int = 0, user: User? = null, userId: String = "", createdAt: Date? = null, updatedAt: Date? = null, deletedAt: Date? = null, syncStatus: SyncStatus = SyncStatus.COMPLETED, extraData: MutableMap<String, Any> = mutableMapOf(), enforceUnique: Boolean = false)
Content copied to clipboard
Properties
Functions
Inherited functions
Extensions
Link copied to clipboard
Link copied to clipboard
Updates the reaction's sync status based on result.