MessageReaction

data class MessageReaction(val message: Message, val reactionType: String, val emojiCode: String? = null, val skipPush: Boolean = false) : MessageListViewModel.Event

When the user leaves a reaction to a message.

Parameters

message

The message the user is reacting to

reactionType

The reaction type.

emojiCode

The optional emoji code to be shown in the push notification text, for the API.

skipPush

If set to "true", skips sending push notification when reacting to a message.

Constructors

Link copied to clipboard
constructor(message: Message, reactionType: String, emojiCode: String? = null, skipPush: Boolean = false)

Properties

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