var reactionData = new Dictionary<string, object>
{
{ "text", "love it!"}
};
await client.Reactions.UpdateAsync(reactionId, reactionData);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
| name | type | description | default | optional |
|---|---|---|---|---|
| reaction_id | string | The ID of the reaction | - | |
| data | object | Reaction data | - | ✓ |
| target_feeds | string | The list of feeds that should receive a copy of the reaction. | - | ✓ |
$client->reactions()->update($reaction_id, ["text"=> "I love it"]);