wa-js icon indicating copy to clipboard operation
wa-js copied to clipboard

Error when using the function to remove group members: WPP.group.removeParticipants

Open DXPRO opened this issue 1 year ago • 0 comments

WA-JS Version

v3.0.1

WhatsApp Version

2.3000.x

Browser Version

Chrome Version 123

Operation System

Windows 11

Steps to reproduce

To reproduce this error, simply pass as a parameter in the function a number that does not exist within the group and a number that exists within the group!

await WPP.group.removeParticipants('[email protected]', ['[email protected]','[email protected]']);

What is expected?

I expected the function to only remove the number that was found, discarding the non-existent number without generating errors!

What is actually happening?

When passing the aforementioned parameters, the function returns an error and does not complete its task of removing the existing number!

Any additional comments?

No response

DXPRO avatar Apr 05 '24 09:04 DXPRO