Privacy
Read the details of how to use it in Requests.
There's a lib for nodejs here: Click here
To get the privacy settings
{
"connectionId": "YOUR_CONNECTION_ID",
"method": "fetchPrivacySettings",
"params": [
true
]
}To update the LastSeen privacy
You can change 'all' to 'contacts' | 'contact_blacklist' | 'none'
{
"connectionId": "YOUR_CONNECTION_ID",
"method": "updateLastSeenPrivacy",
"params": [
"all"
]
}To update the Online privacy
You can change 'all' to 'match_last_seen'
{
"connectionId": "YOUR_CONNECTION_ID",
"method": "updateOnlinePrivacy",
"params": [
"all"
]
}To update the Profile Picture privacy
You can change 'all' to 'contacts' | 'contact_blacklist' | 'none'
{
"connectionId": "YOUR_CONNECTION_ID",
"method": "updateProfilePicturePrivacy",
"params": [
"all"
]
}To update the Status privacy
You can change 'all' to 'contacts' | 'contact_blacklist' | 'none'
{
"connectionId": "YOUR_CONNECTION_ID",
"method": "updateStatusPrivacy",
"params": [
"all"
]
}To update the Read Receipts privacy
You can change 'all' to 'none'
{
"connectionId": "YOUR_CONNECTION_ID",
"method": "updateReadReceiptsPrivacy",
"params": [
"all"
]
}To update the Groups Add privacy
You can change 'all' to 'contacts' | 'contact_blacklist' | 'none'
{
"connectionId": "YOUR_CONNECTION_ID",
"method": "updateGroupsAddPrivacy",
"params": [
"all"
]
}To update the Default Disappearing Mode
You can change '86400' to 604800 or 7776000 or 0
{
"connectionId": "YOUR_CONNECTION_ID",
"method": "updateDefaultDisappearingMode",
"params": [
86400
]
}