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