From 49d00209a63269c2a98dac7932c77b52c9ebc0ec Mon Sep 17 00:00:00 2001 From: Gazandi Date: Mon, 28 Jun 2021 18:36:56 +0700 Subject: [PATCH] feat/group-metadata --- contact.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/contact.go b/contact.go index 67140723..047390c1 100644 --- a/contact.go +++ b/contact.go @@ -27,6 +27,11 @@ func (wac *Conn) GetProfilePicThumb(jid string) (<-chan string, error) { return wac.writeJson(data) } +func (wac *Conn) GetGroupMetadata(jid string) (<-chan string, error) { + data := []interface{}{"query", "GroupMetadata", jid} + return wac.writeJson(data) +} + func (wac *Conn) GetStatus(jid string) (<-chan string, error) { data := []interface{}{"query", "Status", jid} return wac.writeJson(data)