new(whatsapp.gblib): New WhatsApp provider: Meta.
This commit is contained in:
parent
b028c8e9aa
commit
a8099c5f97
1 changed files with 8 additions and 0 deletions
|
@ -1024,6 +1024,14 @@ export class KeywordsExpressions {
|
|||
}
|
||||
];
|
||||
|
||||
keywords[i++] = [
|
||||
/^\s*(send template to)(\s*)(.*)/gim,
|
||||
($0, $1, $2, $3) => {
|
||||
const params = this.getParams($3, ['mobile', 'text']);
|
||||
return `await dk.fillAndBroadcastTemplate({pid: pid, ${params}})`;
|
||||
}
|
||||
];
|
||||
|
||||
keywords[i++] = [
|
||||
/^\s*(hover)(\s*)(.*)/gim,
|
||||
($0, $1, $2, $3) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue