account.getPrivacy

Get privacy settings of current account

account.privacyRules#554abb6f rules:Vector<PrivacyRule> users:Vector<User> = account.PrivacyRules;
---functions---
account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules;

Parameters

Name Type Description
key InputPrivacyKey Peer category whose privacy settings should be fetched

Result

account.PrivacyRules

Possible errors

Code Type Description
400 PRIVACY_KEY_INVALID The privacy key is invalid.