GlobalPrivacySettings#

class pyrogram.raw.types.GlobalPrivacySettings#

Global privacy settings.

Constructor of GlobalPrivacySettings.

Details:
  • Layer: 158

  • ID: BEA2F424

Parameters:

archive_and_mute_new_noncontact_peers (bool, optional) – Whether to archive and mute new chats from non-contacts.

Functions:

This object can be returned by 2 functions.

account.GetGlobalPrivacySettings

Get global privacy settings.

account.SetGlobalPrivacySettings

Set global privacy settings.