mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-16 12:12:55 -06:00
fix: optimize send message from group with mentions
This commit is contained in:
parent
1c5ae4eb4d
commit
a7b05f1e85
@ -389,6 +389,7 @@ export class ChatwootService {
|
|||||||
conversationId: number,
|
conversationId: number,
|
||||||
content: string,
|
content: string,
|
||||||
messageType: 'incoming' | 'outgoing' | undefined,
|
messageType: 'incoming' | 'outgoing' | undefined,
|
||||||
|
privateMessage?: boolean,
|
||||||
attachments?: {
|
attachments?: {
|
||||||
content: unknown;
|
content: unknown;
|
||||||
encoding: string;
|
encoding: string;
|
||||||
@ -404,6 +405,7 @@ export class ChatwootService {
|
|||||||
content: content,
|
content: content,
|
||||||
message_type: messageType,
|
message_type: messageType,
|
||||||
attachments: attachments,
|
attachments: attachments,
|
||||||
|
private: privateMessage || false,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user