|
|
|
@ -382,6 +382,7 @@ export const whatsappMsgTypeMapped = {
|
|
|
|
|
type: 'video',
|
|
|
|
|
data: (msg) => ({
|
|
|
|
|
id: msg.wamid,
|
|
|
|
|
text: msg.video.caption,
|
|
|
|
|
data: {
|
|
|
|
|
id: msg.wamid,
|
|
|
|
|
videoURL: msg.video.link,
|
|
|
|
@ -432,7 +433,7 @@ export const whatsappMsgTypeMapped = {
|
|
|
|
|
data: (msg) => ({
|
|
|
|
|
id: msg.wamid,
|
|
|
|
|
title: msg.document?.filename || '',
|
|
|
|
|
text: (msg.document?.filename || '') + `\n${msg.document?.caption || ''}`,
|
|
|
|
|
text: msg.document?.caption || msg.document?.filename || '',
|
|
|
|
|
data: { uri: msg.document.link, status: { click: false, download: true, loading: 0 } },
|
|
|
|
|
originText: msg.document?.caption || msg.document?.filename || '',
|
|
|
|
|
}),
|
|
|
|
|