whatsapp-http-api
whatsapp-http-api copied to clipboard
[Feature Request] Add profile picture object be included in the GET /api/{session}/chats endpoint response
Is your feature request related to a problem? Please describe. I'm always frustrated when facing timeouts when trying to fetch profile pictures separately using the GET /api/contacts/profile-picture?contactId= endpoint in a loop.
** A clear and concise description of what the problem is. I would like to add a profile picture url object in the GET /api/{session}/chats endpoint response. For example:
[{
"id": "[email protected]",
"readOnly": false,
"ephemeralExpiration": 0,
"ephemeralSettingTimestamp": 0,
"conversationTimestamp": 1726799908,
"name": "Contoh",
"profilePictureUrl": "....",
...
}]