devlikeapro / waha

WAHA - WhatsApp HTTP API (REST API) that you can configure in a click! Two engines: chromium-based WEBJS and pure-websocket NOWEB
https://waha.devlike.pro/
Apache License 2.0
878 stars 273 forks source link

Add Profile picture details in /groups API #178

Open khushboo-scogo opened 1 year ago

khushboo-scogo commented 1 year ago

Hey @allburov , I have an enhancement request. Could you please add a profile picture key to the group details api /group ? As using a profile picture api for each group makes it difficult and a lot of time consuming. It's a feature request to add a profile picture key and its value to group detail object.

Thanks in advance

allburov commented 1 year ago

Does /api/contacts/profile-picture work for groups right now?

a lot of time consuming.

Could you specify how it affects your application please? The right way to do it - request list of groups, save all pictures in your application and then only update them time to time, don't get them every time your request list of groups

khushboo-scogo commented 1 year ago

Hey @allburov thanks for responding. As I am using a/groups api, it's a lot of data. I want to show a profile picture along with the list of groups, but hitting /profile-pictureapi for each groupId takes a lot of time and calling it every time breaks the code after some hit on the same api. That's why I requested to add an additional key to group object only. Till that then I will follow your way.

I hope to see this enhancement soon.

Thanks once again.