new(basic.gblib): New batch features.
This commit is contained in:
parent
14b3ff1fe1
commit
ccc8fdd2d7
1 changed files with 69 additions and 71 deletions
|
@ -732,7 +732,7 @@ export class WhatsappDirectLine extends GBService {
|
||||||
}
|
}
|
||||||
|
|
||||||
public async sendToDevice(to: any, msg: string, conversationId) {
|
public async sendToDevice(to: any, msg: string, conversationId) {
|
||||||
try{
|
try {
|
||||||
const cmd = '/audio ';
|
const cmd = '/audio ';
|
||||||
let url;
|
let url;
|
||||||
let chatId = WhatsappDirectLine.chatIds[conversationId];
|
let chatId = WhatsappDirectLine.chatIds[conversationId];
|
||||||
|
@ -817,11 +817,9 @@ export class WhatsappDirectLine extends GBService {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
try {
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
GBLog.error(`GBWhatsApp ERR: ${GBUtil.toYAML(error)}`);
|
GBLog.error(`GBWhatsApp ERR: ${GBUtil.toYAML(error)}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public async sendToDeviceEx(to, text, locale, conversationId) {
|
public async sendToDeviceEx(to, text, locale, conversationId) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue