Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GlobalPrivacySettings

Hierarchy

  • VirtualClass<{ archiveAndMuteNewNoncontactPeers?: boolean; keepArchivedUnmuted?: boolean; keepArchivedFolders?: boolean; hideReadMarks?: boolean; newNoncontactPeersRequirePremium?: boolean }>
    • GlobalPrivacySettings

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { archiveAndMuteNewNoncontactPeers?: boolean; keepArchivedUnmuted?: boolean; keepArchivedFolders?: boolean; hideReadMarks?: boolean; newNoncontactPeersRequirePremium?: boolean }

Type declaration

  • Optional archiveAndMuteNewNoncontactPeers?: boolean
  • Optional keepArchivedUnmuted?: boolean
  • Optional keepArchivedFolders?: boolean
  • Optional hideReadMarks?: boolean
  • Optional newNoncontactPeersRequirePremium?: boolean
CONSTRUCTOR_ID: 1934380235
SUBCLASS_OF_ID: 3373160304
classType: "constructor"
className: "GlobalPrivacySettings"
archiveAndMuteNewNoncontactPeers?: boolean
keepArchivedUnmuted?: boolean
keepArchivedFolders?: boolean
hideReadMarks?: boolean
newNoncontactPeersRequirePremium?: boolean

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { archiveAndMuteNewNoncontactPeers?: boolean; keepArchivedUnmuted?: boolean; keepArchivedFolders?: boolean; hideReadMarks?: boolean; newNoncontactPeersRequirePremium?: boolean }
  • Returns { archiveAndMuteNewNoncontactPeers?: boolean; keepArchivedUnmuted?: boolean; keepArchivedFolders?: boolean; hideReadMarks?: boolean; newNoncontactPeersRequirePremium?: boolean }

    • Optional archiveAndMuteNewNoncontactPeers?: boolean
    • Optional keepArchivedUnmuted?: boolean
    • Optional keepArchivedFolders?: boolean
    • Optional hideReadMarks?: boolean
    • Optional newNoncontactPeersRequirePremium?: boolean

Constructors

  • new GlobalPrivacySettings(args: { archiveAndMuteNewNoncontactPeers?: boolean; keepArchivedUnmuted?: boolean; keepArchivedFolders?: boolean; hideReadMarks?: boolean; newNoncontactPeersRequirePremium?: boolean }): GlobalPrivacySettings
  • Parameters

    • args: { archiveAndMuteNewNoncontactPeers?: boolean; keepArchivedUnmuted?: boolean; keepArchivedFolders?: boolean; hideReadMarks?: boolean; newNoncontactPeersRequirePremium?: boolean }
      • Optional archiveAndMuteNewNoncontactPeers?: boolean
      • Optional keepArchivedUnmuted?: boolean
      • Optional keepArchivedFolders?: boolean
      • Optional hideReadMarks?: boolean
      • Optional newNoncontactPeersRequirePremium?: boolean

    Returns GlobalPrivacySettings

Generated using TypeDoc