Add join group by groupInviteMessage (#1355)

* Add join group by groupInviteMessage

* Add join group by groupInviteMessage

* Fix typo
This commit is contained in:
Alon Schwartzblat
2022-03-25 13:48:00 +03:00
committed by GitHub
parent 4b6e97cf93
commit eb8f8e0d72
2 changed files with 15 additions and 0 deletions

View File

@@ -749,6 +749,13 @@ Of course, replace ``` xyz ``` with an actual ID.
```
Of course, replace ``` xxx ``` with invitation code.
- To join the group using groupInviteMessage
``` ts
const response = await sock.groupAcceptInviteV4(groupInviteMessage)
console.log("joined to: " + response)
```
Of course, replace ``` xxx ``` with invitation code.
## Broadcast Lists & Stories
**Note:** messages cannot be sent to broadcast lists from the MD version right now