Forwarding other people's messages only

This commit is contained in:
Adhiraj
2020-07-29 22:56:12 +05:30
parent 3849ecd9ae
commit 85987a574d
2 changed files with 8 additions and 1 deletions

View File

@@ -146,6 +146,10 @@ WAClientTest('Misc', (client) => {
assert.ok(response)
assert.rejects(client.getProfilePicture('abcd@s.whatsapp.net'))
})
it('should send typing indicator', async () => {
const response = await client.updatePresence(testJid, Presence.composing)
assert.ok(response)
})
it('should mark a chat unread', async () => {
await client.sendReadReceipt(testJid, null, 'unread')
})