mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
chore: make APIs similar for legacy + MD
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user