SetPrivacy¶
-
class
pyrogram.raw.functions.account.
SetPrivacy
¶ Change privacy settings of current account.
- Details
Layer:
122
ID:
0xc9f81ce8
- Parameters
key (
InputPrivacyKey
) – Peers to which the privacy rules apply.rules (List of
InputPrivacyRule
) – New privacy rules.
- Returns
account.PrivacyRules
– Privacy rules.