Links

Message Reaction

Reaction Description

Name
Data Type
Description
Attributes
referenceId
String
ID of a document
referenceType
String
Type of document
reactionName
String
Name of the reaction
'like', 'love' , 'wow'
reactionId
String
ID of the reaction
userId
String
ID of the reactor
ID of a creator
userDisplayName
String
Display name of the reactor
createdAt
DateTime
The date/time when a reaction is created
The date/time when a reaction is created

Add Reaction

You can add a reaction to a message using the react() method on AmityMessage.

Remove Reaction

You can remove a reaction from a message using the react() method on AmityMessage.

Reaction Query

Follow the code to query a list of reactions to a message. This method returns a Flowable<PagedList<AmityReaction>> of all reactions in the specified message.