Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/2_types.ts>GlobalPrivacySettings_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class GlobalPrivacySettings_
import { GlobalPrivacySettings_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

Global privacy settings

Constructors

new
GlobalPrivacySettings_(params?: { archive_and_mute_new_noncontact_peers?: true; keep_archived_unmuted?: true; keep_archived_folders?: true; hide_read_marks?: true; new_noncontact_peers_require_premium?: true; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
archive_and_mute_new_noncontact_peers: true

Whether to archive and mute new chats from non-contacts

optional
hide_read_marks: true
optional
keep_archived_folders: true

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.

optional
keep_archived_unmuted: true

Whether unmuted chats will be kept in the Archive chat list when they get a new message.

optional
new_noncontact_peers_require_premium: true

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc