@ -411,9 +411,11 @@ export const whatsappMsgTypeMapped = {
type: 'audio',
data: (msg) => ({
id: msg.wamid,
audioProps: { preload: 'auto' },
data: {
audioURL: msg.audio.link,
audioType: msg.audio?.mime_type || 'audio/ogg',
controlsList: 'nofullscreen',
},
}),
renderForReply: (msg) => ({