Raw.account.SetPrivacy
Change privacy settings of current account
account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector<InputPrivacyRule> = account.PrivacyRules;export namespace Raw {
export namespace account {
export class SetPrivacy {
constructor(params: {
key: Raw.TypeInputPrivacyKey;
rules: Array<Raw.TypeInputPrivacyRule>;
}) {}
}
}
}This is a function constructor, you can use it as method when call invoke
Layer: 201
Constructor ID: 0xc9f81ce8
Property
key: Raw.TypeInputPrivacyKeyNew privacy rule
rules: Array of Raw.TypeInputPrivacyRulePeers to which the privacy rule will apply.