From 6b72550286b4eb45ce2fefa0bee38b3aef100c37 Mon Sep 17 00:00:00 2001 From: Rafael Nicolas Barbosa Moreira Date: Fri, 3 Jan 2025 15:56:39 -0300 Subject: [PATCH] fix: include filename in media message payload for WhatsApp Business --- src/api/integrations/channel/meta/whatsapp.business.service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/integrations/channel/meta/whatsapp.business.service.ts b/src/api/integrations/channel/meta/whatsapp.business.service.ts index 921d0e6d..bf79c664 100644 --- a/src/api/integrations/channel/meta/whatsapp.business.service.ts +++ b/src/api/integrations/channel/meta/whatsapp.business.service.ts @@ -807,6 +807,7 @@ export class BusinessStartupService extends ChannelStartupService { [message['mediaType']]: { [message['type']]: message['id'], preview_url: linkPreview, + filename: message['fileName'], caption: message['caption'], }, };