Update README.md

Fix README.md On How to Accept from Group Invite
This commit is contained in:
Fatih Arridho
2022-06-07 15:18:42 +07:00
committed by GitHub
parent 0daab87d7f
commit 02504166ba

View File

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