whatsapp-api icon indicating copy to clipboard operation
whatsapp-api copied to clipboard

findChats | findContacts issue

Open mrlazarias opened this issue 2 years ago • 2 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?

mrlazarias avatar Mar 13 '24 14:03 mrlazarias

Esse comportamento ainda persiste?

jrCleber avatar Apr 14 '24 17:04 jrCleber

Sim

Esse comportamento ainda persiste?

mrlazarias avatar Apr 24 '24 14:04 mrlazarias

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

jrCleber avatar May 18 '24 19:05 jrCleber