Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
DXPRO opened this issue Apr 5, 2024 · 1 comment

Comments

@DXPRO
Copy link
Contributor

DXPRO commented Apr 5, 2024

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('123456@g.us', ['123456@c.us','123456@c.us']);

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

@webfolderio
Copy link

what is the error message?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants