account.setPrivacy
Change privacy settings of current account
Example
TL schema
Parameters
Name
Type
Description
key
Peers to which the privacy rules apply
rules
New privacy rules
Result
Possible errors
Code
Type
Description
400
PRIVACY_KEY_INVALID
The privacy key is invalid
400
PRIVACY_VALUE_INVALID
The specified privacy rule combination is invalid
Can bots use this methd ?
yes
Related pages
Last updated
Was this helpful?