mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-03 10:08:28 +01:00
1.5 KiB
1.5 KiB
title | description | nav_exclude | image |
---|---|---|---|
globalPrivacySettings | Global privacy settings | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: globalPrivacySettings
Global privacy settings
Attributes:
Name | Type | Required | Description |
---|---|---|---|
archive_and_mute_new_noncontact_peers | Bool | Optional | Whether to archive and mute new chats from non-contacts |
keep_archived_unmuted | Bool | Optional | Whether unmuted chats will be kept in the Archive chat list when they get a new message. |
keep_archived_folders | Bool | Optional | Whether unmuted chats that are always included or pinned in a folder, will be kept in the Archive chat list when they get a new message. Ignored if keep_archived_unmuted is set. |
hide_read_marks | Bool | Optional | |
new_noncontact_peers_require_premium | Bool | Optional |
Type: GlobalPrivacySettings
Example:
$globalPrivacySettings = ['_' => 'globalPrivacySettings', 'archive_and_mute_new_noncontact_peers' => Bool, 'keep_archived_unmuted' => Bool, 'keep_archived_folders' => Bool, 'hide_read_marks' => Bool, 'new_noncontact_peers_require_premium' => Bool];