devlikeapro / waha

WAHA - WhatsApp HTTP API (REST API) that you can configure in a click!
https://waha.devlike.pro/
Apache License 2.0
813 stars 248 forks source link

[Feature Request] Add profilePicture in /{session}/me API #334

Closed MadhabaPatra closed 1 month ago

MadhabaPatra commented 1 month ago

Hi @devlikepro,

Right now, we are able to access the id and pushName in the /{session}/me API.

However, it would be beneficial to also include the profile image of the authenticated user in the API response.

Current

  "id": "11111111111@c.us",
  "pushName": "string"
}

Proposed

  "id": "11111111111@c.us",
  "pushName": "string",
  "profilePicture": "string"
}

Including the profilePicture in the response would provide a more complete user profile and enhance the functionality of the API.

allburov commented 1 month ago

You can get the profile picture by dedicated API after you get /me "id" https://waha.devlike.pro/docs/how-to/contacts/#get-contact-profile-picture

patron:PRO