fix(DialogKeywords): update file writing method and adjust WhatsApp file sending logic

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-04-19 14:33:58 -03:00
parent 505ace3d1a
commit 333f7c4e2a

View file

@ -1588,7 +1588,7 @@ export class DialogKeywords {
if (!isNaN(mobile)) {
await min.whatsAppDirectLine.sendFileToDevice(mobile, url, filename, caption, undefined, true);
await min.whatsAppDirectLine.sendFileToDevice(mobile, url, filename, caption, undefined, false);
} else {
await min.conversationalService['sendOnConversation'](min, user, reply);
}