Group fix

This commit is contained in:
Adhiraj
2020-07-12 21:49:50 +05:30
parent fe43125456
commit 2aca2f7485
3 changed files with 14 additions and 3 deletions

View File

@@ -69,6 +69,15 @@ WAClientTest('Messages', (client) => {
await createTimeout (2000)
await client.clearMessage (messages[0].key)
})
it ('should load convo', async () => {
const [chats] = await client.receiveChatsAndContacts ()
for (var i in chats) {
if (chats[i].jid.includes('@g.us')) {
console.log (chats[i].jid)
const data = await client.groupCreatorAndParticipants (chats[i].jid)
}
}
})
})
describe('Validate WhatsApp IDs', () => {