mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
fix: Delete Message For Me (#1718)
* Add Timestamp for deleteMessageForMe * Fix Typo Readme * Add Timestamp for deleteMessageForMe * fix: Typo type timestamp
This commit is contained in:
@@ -641,10 +641,10 @@ WA uses an encrypted form of communication to send chat/app updates. This has be
|
||||
- Delete message for me
|
||||
``` ts
|
||||
await sock.chatModify(
|
||||
{ clear: { message: { id: 'ATWYHDNNWU81732J', fromMe: true } } },
|
||||
'123456@s.whatsapp.net',
|
||||
[]
|
||||
)
|
||||
{ clear: { messages: [{ id: 'ATWYHDNNWU81732J', fromMe: true, timestamp: "1654823909" }] } },
|
||||
'123456@s.whatsapp.net',
|
||||
[]
|
||||
)
|
||||
```
|
||||
|
||||
Note: if you mess up one of your updates, WA can log you out of all your devices and you'll have to login again.
|
||||
|
||||
Reference in New Issue
Block a user