You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The POST method /api/{session}/list-chats with {} body is not returning newsletters in the response.
For each newsletter you should be also able to know the user role (creator, administrator, normal user), and the number of total users in the newsletter.
Additionally, a boolean field onlyNewsletters should be added to the body to filter out newsletters.
All of this is needed in order to get the Newsletter IDs prior to sending messages.
Environment
Wppconnect-server version(s): 2.4.0
OS: Docker image built with the included Dockerfile
Steps to Reproduce
Login
Check that the account has at least one Newsletter which is subscribed to
Call the list-chats method
No newsletters are returned in the call
Thanks!
The text was updated successfully, but these errors were encountered:
Can anyone confirm if this is a bug or an issue on my end? When I send a POST request with an empty body {}, it gets stuck at "sending request." If I don't pass anything at all, I get a blank response with a status 200 OK. However, when I send:{ "onlyGroups": true} it works as expected. Is anyone else experiencing this issue?
Description
The POST method
/api/{session}/list-chats
with{}
body is not returning newsletters in the response.For each newsletter you should be also able to know the user role (creator, administrator, normal user), and the number of total users in the newsletter.
Additionally, a boolean field
onlyNewsletters
should be added to the body to filter out newsletters.All of this is needed in order to get the Newsletter IDs prior to sending messages.
Environment
Dockerfile
Steps to Reproduce
Thanks!
The text was updated successfully, but these errors were encountered: