mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
Update README.md (#1710)
Fix README.md On How to Accept from Group Invite
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user