diff --git a/packages/basic.gblib/services/DialogKeywords.ts b/packages/basic.gblib/services/DialogKeywords.ts index cf8030c5..3a85b293 100644 --- a/packages/basic.gblib/services/DialogKeywords.ts +++ b/packages/basic.gblib/services/DialogKeywords.ts @@ -1588,7 +1588,7 @@ export class DialogKeywords { if (!isNaN(mobile)) { - await min.whatsAppDirectLine.sendFileToDevice(mobile, url, filename, caption, undefined, 0); + await min.whatsAppDirectLine.sendFileToDevice(mobile, url, filename, caption, undefined, true, true); } else { await min.conversationalService['sendOnConversation'](min, user, reply); } @@ -1623,7 +1623,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); }