docs: remove extra braces

This commit is contained in:
fadiinho
2022-08-10 03:54:05 -03:00
committed by Adhiraj Singh
parent 57267a63c7
commit e2c3d364de

View File

@@ -667,7 +667,7 @@ WA uses an encrypted form of communication to send chat/app updates. This has be
const lastMsgInChat = await getLastMessageInChat('123456@s.whatsapp.net') // implement this on your end
await sock.chatModify({
delete: true,
lastMessages: [{ key: lastMsgInChat.key, messageTimestamp: lastMsgInChat.messageTimestamp }] }
lastMessages: [{ key: lastMsgInChat.key, messageTimestamp: lastMsgInChat.messageTimestamp }]
},
'123456@s.whatsapp.net')
```