Update README.md (#879)

This commit is contained in:
yanun
2021-11-19 20:10:34 +07:00
committed by GitHub
parent 2641474c5a
commit 3590c1f569

View File

@@ -600,7 +600,7 @@ Of course, replace ``` xyz ``` with an actual ID.
- To query the metadata of a group
``` ts
const metadata = await conn.groupMetadata("abcd-xyz@g.us")
console.log(json.id + ", title: " + json.subject + ", description: " + json.desc)
console.log(metadata.id + ", title: " + metadata.subject + ", description: " + metadata.desc)
```
- To join the group using the invitation code (not supported yet)
``` ts