GlobalPrivacySettings

class pyrogram.raw.types.GlobalPrivacySettings

Global privacy settings.

Constructor type of GlobalPrivacySettings.

Details
  • Layer: 126

  • ID: 0xbea2f424

Parameters

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

Methods

This object can be returned by 2 methods:

account.GetGlobalPrivacySettings

Get global privacy settings.

account.SetGlobalPrivacySettings

Set global privacy settings.