From ac6e7bc28c70460fff43ac2730d1edb58c712661 Mon Sep 17 00:00:00 2001 From: "me@rodrigorodriguez.com" Date: Fri, 4 Oct 2024 01:53:34 -0300 Subject: [PATCH] new(basic.gblib): SEND FILE pdf as temporary images. --- packages/whatsapp.gblib/services/WhatsappDirectLine.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/whatsapp.gblib/services/WhatsappDirectLine.ts b/packages/whatsapp.gblib/services/WhatsappDirectLine.ts index f12c7cb9..dbbcb518 100644 --- a/packages/whatsapp.gblib/services/WhatsappDirectLine.ts +++ b/packages/whatsapp.gblib/services/WhatsappDirectLine.ts @@ -710,7 +710,7 @@ export class WhatsappDirectLine extends GBService { return `${attachment.content.title} - ${attachment.content.text}`; } - public async sendFileToDevice(to, url, filename, caption, chatId, isViewOnce = false) { + public async sendFileToDevice(to, url, filename, caption, chatId, isViewOnce = true) { let options; switch (this.provider) { case 'meta':