Comments (3)
You can get and set like this:
const UserPrefsGeneral = require("WAWebUserPrefsGeneral");
const settings = UserPrefsGeneral.getUserPrivacySettings();
settings.lastSeen = "none";
UserPrefsGeneral.setUserPrivacySettings(settings);
from wa-js.
@opsJson
I got it another way, but your solution is much better
Thank you
from wa-js.
There is no option available, but it will be added soon.
from wa-js.
Related Issues (20)
- Error when joining groups via invite link HOT 3
- How can we use openContextMenu method CmdClass HOT 1
- Is it possible to tag everyone in group? HOT 1
- Error on join group by invite link HOT 1
- Nothing happens when using WPP.chat.deleteMessage HOT 2
- Can not send large video file HOT 1
- Reply to message is not working HOT 1
- Error while create group
- For delete and revoke msg use: HOT 5
- Error WPP.status.sendTextStatus HOT 1
- WPP.chat.getMessageACK on deleted Message return Unhandled Promise Error HOT 3
- Erro ao receber evento de mensagem quoted HOT 1
- WPP.chat.getMessageACK & WPP.chat.openChatAt return isStatusV3 Error HOT 2
- Invalid Invite Code on a valid invite. HOT 9
- LID chat está com erros HOT 11
- Unable to send Text/File Message, Module findChat was not found with e=>e.findChat HOT 31
- WPP.chat.sendTextMessage ERROR HOT 2
- getMasseges method, fromMe?: true NOT WORKING! HOT 2
- o.StatusStore.find is not a function HOT 1
- 【sendFileMessage】how to send a document with empty caption HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wa-js.