From 0e5f9e3b77654078c5c0e2c87234931854fc5640 Mon Sep 17 00:00:00 2001 From: Adriel Santos Araujo <47580872+adriel12319@users.noreply.github.com> Date: Thu, 31 Oct 2024 22:52:45 -0300 Subject: [PATCH 1/2] Update getConversationMessage.ts --- src/utils/getConversationMessage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/getConversationMessage.ts b/src/utils/getConversationMessage.ts index c1d93f58d..fe3bed3fe 100644 --- a/src/utils/getConversationMessage.ts +++ b/src/utils/getConversationMessage.ts @@ -17,7 +17,7 @@ const getTypeMessage = (msg: any) => { msg?.message?.viewOnceMessageV2?.message?.audioMessage?.url, listResponseMessage: msg?.message?.listResponseMessage?.title, responseRowId: msg?.message?.listResponseMessage?.singleSelectReply?.selectedRowId, - templateButtonReplyMessage: msg?.message?.templateButtonReplyMessage?.selectedId, + templateButtonReplyMessage: msg?.message?.templateButtonReplyMessage?.selectedId || buttonsResponseMessage: msg?.message?.buttonsResponseMessage?.selectedButtonId, // Medias audioMessage: msg?.message?.speechToText ? msg?.message?.speechToText From 8f86c9d758abe2e503bb05a16abf04b361f6330d Mon Sep 17 00:00:00 2001 From: Adriel Santos Araujo <47580872+adriel12319@users.noreply.github.com> Date: Thu, 31 Oct 2024 23:19:17 -0300 Subject: [PATCH 2/2] Update getConversationMessage.ts --- src/utils/getConversationMessage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/getConversationMessage.ts b/src/utils/getConversationMessage.ts index fe3bed3fe..eb4e56cfd 100644 --- a/src/utils/getConversationMessage.ts +++ b/src/utils/getConversationMessage.ts @@ -17,7 +17,7 @@ const getTypeMessage = (msg: any) => { msg?.message?.viewOnceMessageV2?.message?.audioMessage?.url, listResponseMessage: msg?.message?.listResponseMessage?.title, responseRowId: msg?.message?.listResponseMessage?.singleSelectReply?.selectedRowId, - templateButtonReplyMessage: msg?.message?.templateButtonReplyMessage?.selectedId || buttonsResponseMessage: msg?.message?.buttonsResponseMessage?.selectedButtonId, + templateButtonReplyMessage: msg?.message?.templateButtonReplyMessage?.selectedId || msg?.message?.buttonsResponseMessage?.selectedButtonId, // Medias audioMessage: msg?.message?.speechToText ? msg?.message?.speechToText