From 45003e84bba7aa11f066ed7af10c50d23f96ddfb Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Tue, 19 Jul 2022 10:10:14 -0300 Subject: [PATCH] new(whatsapp.gblib): General Bots WhatsApp provider. --- packages/whatsapp.gblib/services/WhatsappDirectLine.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/whatsapp.gblib/services/WhatsappDirectLine.ts b/packages/whatsapp.gblib/services/WhatsappDirectLine.ts index 47392161..7ca5385a 100644 --- a/packages/whatsapp.gblib/services/WhatsappDirectLine.ts +++ b/packages/whatsapp.gblib/services/WhatsappDirectLine.ts @@ -629,8 +629,7 @@ export class WhatsappDirectLine extends GBService { url: urlJoin(this.whatsappServiceUrl, 'sendFile'), qs: { token: this.whatsappServiceKey, - phone: chatId ? null : to, - chatId: chatId, + phone: to, body: url, filename: filename, caption: caption