From 64ba1a7e1257e7e27b25543c195fd77b14be6eb8 Mon Sep 17 00:00:00 2001 From: azudin Date: Fri, 8 Dec 2023 00:19:25 +0800 Subject: [PATCH] Update README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index c24c654..b95ea04 100644 --- a/README.md +++ b/README.md @@ -698,6 +698,15 @@ WA uses an encrypted form of communication to send chat/app updates. This has be }, '123456@s.whatsapp.net') ``` + +- Star/unstar a message + ``` ts + await sock.chatModify({ + star: { + messages: [{ id: 'messageID', fromMe: true // or `false` }], + star: true // - true: Star Message; false: Unstar Message + }},'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 log in again.