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

groupChat.addParticipants() can't add participants to group which memberAddMode equals all_member_add when my account isn't admin . #3355

Open
2 tasks done
lxsgbin opened this issue Oct 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@lxsgbin
Copy link

lxsgbin commented Oct 28, 2024

Is there an existing issue for this?

  • I have searched the existing issues.

Is this a problem caused by your code, or is it specifically because of the library?

  • I have double-checked my code carefully.

Describe the bug.

const participantIds = ['1*************@c.us'];
const res = await chat.addParticipants(participantIds);
res = 'You have no admin rights to add a participant to a group'

image

Expected Behavior

groupChat.addParticipants() can't add participants to group which memberAddMode equals all_member_add when my account isn't admin .

Steps to Reproduce the Bug or Issue

333333

WhatsApp Account Type

Standard

Browser Type

chromium

Operation System Type

windows

Phone OS Type

android

WhatsApp-Web.js Version

1.26.1-alpha.2

WhatsApp Web Version

2.3000.1017713253

Node.js Version

v20.18.0

Authentication Strategy

LocalAuth

Additional Context

No response

@lxsgbin lxsgbin added the bug Something isn't working label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant