account.GetPrivacy

class hydrogram.raw.functions.account.GetPrivacy[source]

Get privacy settings of current account

Details:
  • Layer: 181

  • ID: DADBC950

Parameters:

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

Returns:

account.PrivacyRules