account.GetPrivacy#

class pyrogram.raw.functions.account.GetPrivacy#

Get privacy settings of current account.

Details:
  • Layer: 158

  • ID: DADBC950

Parameters:

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

Returns:

account.PrivacyRules