GlobalPrivacySettings
- class pyrogram.raw.base.GlobalPrivacySettings
Global privacy settings
- Constructors:
This base type has 1 constructor available.
Global privacy settings
- Functions:
This object can be returned by 2 functions.
Get global privacy settings
Set global privacy settings
TL Schema
globalPrivacySettings#fe41b34f
flags:#
archive_and_mute_new_noncontact_peers:flags.0?true
keep_archived_unmuted:flags.1?true
keep_archived_folders:flags.2?true
hide_read_marks:flags.3?true
new_noncontact_peers_require_premium:flags.4?true
display_gifts_button:flags.7?true
noncontact_peers_paid_stars:flags.5?long
disallowed_gifts:flags.6?DisallowedGiftsSettings
= GlobalPrivacySettings
Parameter Tree
GlobalPrivacySettings
├── archive_and_mute_new_noncontact_peers →
true (optional)├── keep_archived_unmuted →
true (optional)├── keep_archived_folders →
true (optional)├── hide_read_marks →
true (optional)├── new_noncontact_peers_require_premium →
true (optional)├── display_gifts_button →
true (optional)├── noncontact_peers_paid_stars →
long (optional)└── disallowed_gifts →
DisallowedGiftsSettings (optional)├── disallow_unlimited_stargifts →
true (optional)├── disallow_limited_stargifts →
true (optional)├── disallow_unique_stargifts →
true (optional)├── disallow_premium_gifts →
true (optional)└── disallow_stargifts_from_channels →
true (optional)Example
GlobalPrivacySettings(
archive_and_mute_new_noncontact_peers=None,
keep_archived_unmuted=None,
keep_archived_folders=None,
hide_read_marks=None,
new_noncontact_peers_require_premium=None,
display_gifts_button=None,
noncontact_peers_paid_stars=0,
disallowed_gifts=DisallowedGiftsSettings(
disallow_unlimited_stargifts=None,
disallow_limited_stargifts=None,
disallow_unique_stargifts=None,
disallow_premium_gifts=None,
disallow_stargifts_from_channels=None
),
)