fix(whatsapp.gblib): SEND FILE sending bug.
This commit is contained in:
parent
8194c79828
commit
bcc14def98
1 changed files with 1 additions and 1 deletions
|
@ -620,7 +620,7 @@ export class WhatsappDirectLine extends GBService {
|
|||
switch (this.provider) {
|
||||
case 'GeneralBots':
|
||||
const attachment = MessageMedia.fromUrl(url);
|
||||
await this.customClient.sendMessage(to, attachment, { caption: caption });
|
||||
await this.customClient.sendMessage(to += '@c.us', attachment, { caption: caption });
|
||||
break;
|
||||
|
||||
case 'chatapi':
|
||||
|
|
Loading…
Add table
Reference in a new issue