mirror of
https://github.com/EvolutionAPI/evolution-manager.git
synced 2025-07-13 15:14:49 -06:00
fix: delay option
This commit is contained in:
parent
1090192dd4
commit
fdf0d5d298
@ -178,11 +178,15 @@ export default {
|
||||
this.error = false;
|
||||
|
||||
var messagesId = [];
|
||||
const messageConfig = this.message;
|
||||
|
||||
messageConfig.options.delay = parseInt(messageConfig.options.delay);
|
||||
|
||||
for (const number of this.numbers) {
|
||||
const r = await instanceController.chat.sendMessage(
|
||||
this.instance.instance.instanceName,
|
||||
{
|
||||
...this.message,
|
||||
...messageConfig,
|
||||
number,
|
||||
}
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user