code-chat-br / whatsapp-api

CodeChat - WhatsApp Api

Home Page:https://docs.codechat.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

findChats | findContacts issue

mrlazarias opened this issue · comments

I'm trying to retrieve the list of chats I have on WhatsApp. I think I need to fetch it from the findChats endpoint and then, using the RemoteJid, make another request to findContacts. However, the response I'm getting is completely unexpected. I'm receiving a list of several objects with the same RemoteJid, and these objects also have pushName as null.

How can I fetch the chats and the contact information for each chat to build the list of active chats?

Esse comportamento ainda persiste?

Sim

Esse comportamento ainda persiste?

Esse comportamento é bem incomum. Delete esses contatos e se reconecta.
Informe aqui se o erro ainda persiste.