From 6cec65add02331ea25ea3028b5f55c1dc807adbc Mon Sep 17 00:00:00 2001 From: Alex <141007777+alexOAppS@users.noreply.github.com> Date: Thu, 20 Feb 2025 15:08:48 +0530 Subject: [PATCH] added from param in reaction prop --- .../java/com/whatsapp/api/domain/webhook/Reaction.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/whatsapp/api/domain/webhook/Reaction.java b/src/main/java/com/whatsapp/api/domain/webhook/Reaction.java index 31173d715..c4ea40ab0 100644 --- a/src/main/java/com/whatsapp/api/domain/webhook/Reaction.java +++ b/src/main/java/com/whatsapp/api/domain/webhook/Reaction.java @@ -6,13 +6,17 @@ * The type Reaction. * * @param emoji The emoji used for the reaction. - * @param messageId Specifies the wamid of the message received that contained the reaction. + * @param messageId Specifies the wamid of the message received that contained + * the reaction. + * @param from Specifies the id of the sender who reacted for the message. */ public record Reaction( @JsonProperty("emoji") String emoji, - @JsonProperty("message_id") String messageId + @JsonProperty("message_id") String messageId, + + @JsonProperty("from") String from ) { } \ No newline at end of file