fix: optimize send message from group with mentions

This commit is contained in:
Davidson Gomes 2023-07-14 06:40:33 -03:00
parent 1c5ae4eb4d
commit a7b05f1e85

View File

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