feat: Returns an object with information about the invite code's group (#1562)

* feat: Returns an object with information about the invite code's group

* refactor: more information in metadata group
This commit is contained in:
LeonardoBein
2022-06-13 12:04:01 -03:00
committed by GitHub
parent 1fc5f67584
commit 227cab2f95
3 changed files with 18 additions and 0 deletions

View File

@@ -777,6 +777,11 @@ Of course, replace ``` xyz ``` with an actual ID.
console.log("joined to: " + response)
```
Of course, replace ``` xxx ``` with invitation code.
- To get info group by invite code
```ts
const response = await sock.groupGetInviteInfo("xxx")
console.log("group information: " + response)
```
- To join the group using groupInviteMessage