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