diff --git a/packages/whatsapp.gblib/services/WhatsappDirectLine.ts b/packages/whatsapp.gblib/services/WhatsappDirectLine.ts index a74e041b..42b28d43 100644 --- a/packages/whatsapp.gblib/services/WhatsappDirectLine.ts +++ b/packages/whatsapp.gblib/services/WhatsappDirectLine.ts @@ -652,7 +652,10 @@ export class WhatsappDirectLine extends GBService { method: 'POST', url: urlJoin(this.whatsappServiceUrl, 'sendFile'), qs: { - token: this.whatsappServiceKey, + token: this.whatsappServiceKey + }, + json: true, + body: { phone: to, body: url, filename: filename,