account.PrivacyRules

class pyrogram.raw.types.account.PrivacyRules

Telegram API type.

Constructor of PrivacyRules.

Details:
  • Layer: 194

  • ID: 50A04E45

Parameters:
  • rules (List of PrivacyRule) – N/A

  • chats (List of Chat) – N/A

  • users (List of User) – N/A

Functions:

This object can be returned by 2 functions.

account.GetPrivacy

Telegram API function.

account.SetPrivacy

Telegram API function.