Add You To WhatsApp Groups Who Can Restricting
If you are concerned about who can add you to WhatsApp groups, there are a few settings you can modify to adjust how others can include you. Firstly, from an mobile device, go to options, then Chats, then Groups. You will see an option that says 'Allow Others to Add Me to Groups' which you can toggle off; however, doing so will prevent you from being added to groups without your confirmation in the future.
To prevent others from adding you to groups without your knowledge in the short term, you can use a simple permissions manager. From the chat screen, click on the contacts icon and then Groups. There will be a " Invite to Group" text indicator next to your name, which needs to be tapped to allow or decline future invitations. One will have the option to decline after tapping on this indicator, then click block from the pop-up screen that shows up after tapping the "Decline Once" option. Click decline or reject as needed after that.
The same steps should work for Android as well although settings placement might differ. Go to Settings > Accounts and privacy > Groups. Swipe down to Join Group Confirmation, whatsapp桌面版 toggle it off to stop future initial requests and ask to join instead. The steps are the same to decline and block an invitation if needed.