Updating Reactions

Reactions can be updated by providing the reaction ID parameter. Changes to reactions are propagated to all notified feeds; if the target_feeds list is updated, notifications will be added and removed accordingly.

Parameters

nametypedescriptiondefaultoptional
reaction_idstringThe ID of the reaction-
dataobjectReaction data-
target_feedsstringThe list of feeds that should receive a copy of the reaction.-
await client.reactions.update(comment.id!, data: {'text': 'love it!'});
© Getstream.io, Inc. All Rights Reserved.