-
public final class MessageListViewModel.Event.MessageReaction extends MessageListViewModel.Event
When the user leaves a reaction to a message.
-
-
Constructor Summary
Constructors Constructor Description MessageListViewModel.Event.MessageReaction(Message message, String reactionType, String emojiCode, Boolean skipPush)
-
Method Summary
Modifier and Type Method Description final MessagegetMessage()final StringgetReactionType()final StringgetEmojiCode()final BooleangetSkipPush()-
-
Constructor Detail
-
MessageListViewModel.Event.MessageReaction
MessageListViewModel.Event.MessageReaction(Message message, String reactionType, String emojiCode, Boolean skipPush)
- Parameters:
message- The message the user is reacting toreactionType- 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.
-
-
Method Detail
-
getMessage
final Message getMessage()
-
getReactionType
final String getReactionType()
-
getEmojiCode
final String getEmojiCode()
-
getSkipPush
final Boolean getSkipPush()
-
-
-
-