Go-whatsapp: GroupMetaData

Created on 26 Jul 2018  路  1Comment  路  Source: Rhymen/go-whatsapp

Hey,
I would like to query the group information.

I use the GroupMetaData function. But i only recive a hex code like 0xc04467b260
But should I not receive something like that? https://github.com/sigalor/whatsapp-web-reveng/issues/73

Thats my code:

        groupMeta, err := wa.GetGroupMetaData(message.Info.RemoteJid)
        if (err != nil){
            fmt.Println("ERROR! %v", err)
        }
        fmt.Println(groupMeta)

p.s. Good work!

Most helpful comment

Thanks!
You will receive a channel and not a string, you have to read from the channel in your print statement like fmt.Println(<-groupMeta)

>All comments

Thanks!
You will receive a channel and not a string, you have to read from the channel in your print statement like fmt.Println(<-groupMeta)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Leonardo-Crespo picture Leonardo-Crespo  路  6Comments

denislee picture denislee  路  6Comments

carloslfu picture carloslfu  路  5Comments

yazeed44 picture yazeed44  路  4Comments

elpulga picture elpulga  路  4Comments