mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
feat: added played receipt
This commit is contained in:
@@ -119,7 +119,7 @@ const startSock = async() => {
|
||||
for(const msg of upsert.messages) {
|
||||
if(!msg.key.fromMe && doReplies) {
|
||||
console.log('replying to', msg.key.remoteJid)
|
||||
await sock!.sendReadReceipt(msg.key.remoteJid!, msg.key.participant!, [msg.key.id!])
|
||||
await sock!.readMessages([msg.key])
|
||||
await sendMessageWTyping({ text: 'Hello there!' }, msg.key.remoteJid!)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user