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];