GetPrivacy

class pyrogram.raw.functions.account.GetPrivacy

Get privacy settings of current account.

Details
  • Layer: 122

  • ID: 0xdadbc950

Parameters

key (InputPrivacyKey) – Peer category whose privacy settings should be fetched.

Returns

account.PrivacyRules – Privacy rules.