whatsapp-http-api icon indicating copy to clipboard operation
whatsapp-http-api copied to clipboard

[Feature Request] Add profile picture object be included in the GET /api/{session}/chats endpoint response

Open tiarsagitar opened this issue 4 months ago • 2 comments

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": "....",
    ...
}]

tiarsagitar avatar Oct 01 '24 03:10 tiarsagitar