new(whatsapp.gblib): New WhatsApp provider: Meta.

This commit is contained in:
Rodrigo Rodriguez 2024-05-06 17:35:46 -03:00
parent b028c8e9aa
commit a8099c5f97

View file

@ -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) => {