add sleep

This commit is contained in:
Rajeh Taher
2022-07-07 18:49:19 +03:00
committed by GitHub
parent 6ae8c42816
commit 02ad3e0fd0
3 changed files with 38 additions and 17 deletions

2
index.d.ts vendored
View File

@@ -1062,7 +1062,7 @@ declare namespace WAWebJS {
/** Adds or removes a list of participants by ID to the group */
export type ChangeGroupParticipants =
(participantIds: Array<string>) => Promise<{
(participantIds: Array<string>, sleep?: number) => Promise<{
status: number;
participants: Array<{
[key: string]: {