Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tiarsagitar opened this issue Oct 1, 2024 · 3 comments
Labels
engine:NOWEB enhancement New feature or request

Comments

@tiarsagitar
Copy link

tiarsagitar commented Oct 1, 2024

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": "1232132@g.us",
    "readOnly": false,
    "ephemeralExpiration": 0,
    "ephemeralSettingTimestamp": 0,
    "conversationTimestamp": 1726799908,
    "name": "Contoh",
    "profilePictureUrl": "....",
    ...
}]
@devlikepro
Copy link
Contributor

devlikepro commented Oct 1, 2024

I believe it's for NOWEB engine, right?

patron:PRO

@devlikepro devlikepro added engine:NOWEB enhancement New feature or request labels Oct 1, 2024
@tiarsagitar
Copy link
Author

I believe it's for NOWEB engine, right?

patron:PRO

Yes, that’s correct. I use the NOWEB engine.

@huangzhong0406
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engine:NOWEB enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants