From a7b05f1e856f96ac43863ef339ab97b2d5853b10 Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Fri, 14 Jul 2023 06:40:33 -0300 Subject: [PATCH] fix: optimize send message from group with mentions --- src/whatsapp/services/chatwoot.service.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/whatsapp/services/chatwoot.service.ts b/src/whatsapp/services/chatwoot.service.ts index df35fa92..aa19725e 100644 --- a/src/whatsapp/services/chatwoot.service.ts +++ b/src/whatsapp/services/chatwoot.service.ts @@ -389,6 +389,7 @@ export class ChatwootService { conversationId: number, content: string, messageType: 'incoming' | 'outgoing' | undefined, + privateMessage?: boolean, attachments?: { content: unknown; encoding: string; @@ -404,6 +405,7 @@ export class ChatwootService { content: content, message_type: messageType, attachments: attachments, + private: privateMessage || false, }, });