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, }, });