Skip to content

Commit a7b05f1

Browse files
committed
fix: optimize send message from group with mentions
1 parent 1c5ae4e commit a7b05f1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/whatsapp/services/chatwoot.service.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ export class ChatwootService {
389389
conversationId: number,
390390
content: string,
391391
messageType: 'incoming' | 'outgoing' | undefined,
392+
privateMessage?: boolean,
392393
attachments?: {
393394
content: unknown;
394395
encoding: string;
@@ -404,6 +405,7 @@ export class ChatwootService {
404405
content: content,
405406
message_type: messageType,
406407
attachments: attachments,
408+
private: privateMessage || false,
407409
},
408410
});
409411

0 commit comments

Comments
 (0)