Skip to content

Commit

Permalink
fix: receive buttons and list response in integrations
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidsonGomes committed Oct 29, 2024
1 parent 65a9c78 commit 7a01cdf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/getConversationMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ const getTypeMessage = (msg: any) => {
msg?.message?.viewOnceMessageV2?.message?.imageMessage?.url ||
msg?.message?.viewOnceMessageV2?.message?.videoMessage?.url ||
msg?.message?.viewOnceMessageV2?.message?.audioMessage?.url,
listResponseMessage: msg?.message?.listResponseMessage?.singleSelectReply?.selectedRowId,
listResponseMessage: msg?.message?.listResponseMessage?.title,
responseRowId: msg?.message?.listResponseMessage?.singleSelectReply?.selectedRowId,
templateButtonReplyMessage: msg?.message?.templateButtonReplyMessage?.selectedId,
// Medias
audioMessage: msg?.message?.speechToText
? msg?.message?.speechToText
Expand Down

0 comments on commit 7a01cdf

Please sign in to comment.