Skip to content

Commit

Permalink
new(basic.gblib): SEND FILE pdf as temporary images.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorodriguez committed Oct 4, 2024
1 parent dc4fa86 commit ac6e7bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/whatsapp.gblib/services/WhatsappDirectLine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit ac6e7bc

Please sign in to comment.