Fix: Group Creation default params#201768
Open
BenyFilho wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixing default params when creating a group.
Meta made recent anti-pattern changes with parameters announce and restrict.
That was identified by @avbasov and discussed in #201767
Closes #201767
Testing Summary
Test Details
You can try the fix by running one of the following commands:
NPM
npm install github:BenyFilho/whatsapp-web.js#group_creation_paramsYARN
yarn add github:BenyFilho/whatsapp-web.js#group_creation_paramsEnvironment
Windows 10
Phone OS:
Android 11
Library Version:
1.34.7
2.3000.1040125391
Chrome 148.0.7778.179
18.20.2
Type of Change
Checklist
npm test).index.d.ts) have been updated if necessary.example.js) / documentation have been updated if applicable.