Group update description (#859)

* Added groupUpdateDescription

* Updated README

Co-authored-by: Ilya Borodin <ilya.borodin@botconversa.com.br>
This commit is contained in:
Ilya Borodin
2021-11-15 05:39:10 +03:00
committed by GitHub
parent b1eab17409
commit ae80566c0e
2 changed files with 23 additions and 0 deletions

View File

@@ -542,6 +542,10 @@ Of course, replace ``` xyz ``` with an actual ID.
``` ts
await conn.groupUpdateSubject("abcd-xyz@g.us", "New Subject!")
```
- To change the group's description
``` ts
await conn.groupUpdateDescription("abcd-xyz@g.us", "New Description!")
```
- To change group settings
``` ts
// only allow admins to send messages