Add / Remove Reaction
You can add any reactions to a given post. You can also remove any reactions added to the post. AmityReactionRepository
provides addReaction
and removeReaction
methods which accepts reaction name. Reaction name is case sensitive i.e "like" and "Like" are two different reactions.
Refer to Reactions documentation for more information on reactions as well as sample codes on querying, adding, and removing reactions.
Last updated