Update README.md (#1710)

Fix README.md On How to Accept from Group Invite
This commit is contained in:
Fatih Arridho
2022-06-13 21:49:22 +07:00
committed by GitHub
parent bd98b13895
commit 4f24fb451d

View File

@@ -781,7 +781,7 @@ Of course, replace ``` xyz ``` with an actual ID.
- To join the group using groupInviteMessage
``` ts
const response = await sock.groupAcceptInviteV4(groupInviteMessage)
const response = await sock.groupAcceptInviteV4("abcd@s.whatsapp.net", groupInviteMessage)
console.log("joined to: " + response)
```
Of course, replace ``` xxx ``` with invitation code.