chore: make APIs similar for legacy + MD

This commit is contained in:
Adhiraj Singh
2021-12-18 16:44:31 +05:30
parent c803e22e8a
commit e393f0f9a8
7 changed files with 33 additions and 30 deletions

View File

@@ -22,7 +22,7 @@ const startSock = () => {
await sock.sendPresenceUpdate('paused', jid)
await sock.sendWAMessage(jid, msg)
await sock.sendMessage(jid, msg)
}
sock.ev.on('messages.upsert', async m => {