aldinokemal / go-whatsapp-web-multidevice

API for Whatsapp Web Multi Device Version, Support UI & Webhook
MIT License
582 stars 245 forks source link

[feature request] Add group's metadata query #9

Closed nalakawula closed 2 years ago

nalakawula commented 2 years ago

To send a message to a group we need group's ID. In my opinion, it is a good idea to add group's metadata query functionality.

Thanks

aldinokemal commented 2 years ago

what is group's metadata query? can you explain more detail about this

nalakawula commented 2 years ago

I mean a function to get group's metadata (e.g group's id, groups's name, etc).

PS. I'm not sure if whatsmeow already cover that function or not.

aldinokemal commented 2 years ago

oh i see, this feature available in whatsmeow but not implemented yet here, probably i'll add this metadata in user/my/groups endpoint

nalakawula commented 2 years ago

That sounds great, thanks @aldinokemal !

aldinokemal commented 2 years ago

actually the API for current URL (/user/my/groups) has provided group ID in this PR I just display it in frontend https://github.com/aldinokemal/go-whatsapp-web-multidevice/pull/10