Open mircoianese opened 9 months ago
This is very much need @edgardmessias @icleitoncosta if possible please add it
Please, pass parameter in body: { onlyNewsletter: true }
Please, pass parameter in body: { onlyNewsletter: true }
Doesn't seem to work, all chats are returned. And newsletters are not in the list
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 fieldonlyNewsletters
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!