new(basic.gblib): SEND FILE pdf as temporary images.
This commit is contained in:
parent
8025db485e
commit
dc4fa86ab3
1 changed files with 1 additions and 1 deletions
|
@ -1546,7 +1546,7 @@ export class DialogKeywords {
|
||||||
contentUrl: url
|
contentUrl: url
|
||||||
});
|
});
|
||||||
|
|
||||||
if (channel === 'omnichannel' || channel === 'whatsapp' || !user) {
|
if (!isNaN(mobile)) {
|
||||||
await min.whatsAppDirectLine.sendFileToDevice(mobile, url, filename, caption, undefined, true);
|
await min.whatsAppDirectLine.sendFileToDevice(mobile, url, filename, caption, undefined, true);
|
||||||
} else {
|
} else {
|
||||||
await min.conversationalService['sendOnConversation'](min, user, reply);
|
await min.conversationalService['sendOnConversation'](min, user, reply);
|
||||||
|
|
Loading…
Add table
Reference in a new issue