From 3590c1f569f4a76e38f8aa0ee5fac80f6055d048 Mon Sep 17 00:00:00 2001 From: yanun Date: Fri, 19 Nov 2021 20:10:34 +0700 Subject: [PATCH] Update README.md (#879) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fc8feea..09ad0d2 100644 --- a/README.md +++ b/README.md @@ -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