Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AutoDownloadSettings

Hierarchy

  • VirtualClass<{ disabled?: boolean; videoPreloadLarge?: boolean; audioPreloadNext?: boolean; phonecallsLessData?: boolean; storiesPreload?: boolean; photoSizeMax: int; videoSizeMax: long; fileSizeMax: long; videoUploadMaxbitrate: int; smallQueueActiveOperationsMax: int; largeQueueActiveOperationsMax: int }>
    • AutoDownloadSettings

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { disabled?: boolean; videoPreloadLarge?: boolean; audioPreloadNext?: boolean; phonecallsLessData?: boolean; storiesPreload?: boolean; photoSizeMax: number; videoSizeMax: BigInteger; fileSizeMax: BigInteger; videoUploadMaxbitrate: number; smallQueueActiveOperationsMax: number; largeQueueActiveOperationsMax: number }

Type declaration

  • Optional disabled?: boolean
  • Optional videoPreloadLarge?: boolean
  • Optional audioPreloadNext?: boolean
  • Optional phonecallsLessData?: boolean
  • Optional storiesPreload?: boolean
  • photoSizeMax: number
  • videoSizeMax: BigInteger
  • fileSizeMax: BigInteger
  • videoUploadMaxbitrate: number
  • smallQueueActiveOperationsMax: number
  • largeQueueActiveOperationsMax: number
CONSTRUCTOR_ID: 3131405864
SUBCLASS_OF_ID: 1361582535
classType: "constructor"
className: "AutoDownloadSettings"
disabled?: boolean
videoPreloadLarge?: boolean
audioPreloadNext?: boolean
phonecallsLessData?: boolean
storiesPreload?: boolean
photoSizeMax: number
videoSizeMax: BigInteger
fileSizeMax: BigInteger
videoUploadMaxbitrate: number
smallQueueActiveOperationsMax: number
largeQueueActiveOperationsMax: number

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { disabled?: boolean; videoPreloadLarge?: boolean; audioPreloadNext?: boolean; phonecallsLessData?: boolean; storiesPreload?: boolean; photoSizeMax: number; videoSizeMax: BigInteger; fileSizeMax: BigInteger; videoUploadMaxbitrate: number; smallQueueActiveOperationsMax: number; largeQueueActiveOperationsMax: number }
  • Returns { disabled?: boolean; videoPreloadLarge?: boolean; audioPreloadNext?: boolean; phonecallsLessData?: boolean; storiesPreload?: boolean; photoSizeMax: number; videoSizeMax: BigInteger; fileSizeMax: BigInteger; videoUploadMaxbitrate: number; smallQueueActiveOperationsMax: number; largeQueueActiveOperationsMax: number }

    • Optional disabled?: boolean
    • Optional videoPreloadLarge?: boolean
    • Optional audioPreloadNext?: boolean
    • Optional phonecallsLessData?: boolean
    • Optional storiesPreload?: boolean
    • photoSizeMax: number
    • videoSizeMax: BigInteger
    • fileSizeMax: BigInteger
    • videoUploadMaxbitrate: number
    • smallQueueActiveOperationsMax: number
    • largeQueueActiveOperationsMax: number

Constructors

  • new AutoDownloadSettings(args: { disabled?: boolean; videoPreloadLarge?: boolean; audioPreloadNext?: boolean; phonecallsLessData?: boolean; storiesPreload?: boolean; photoSizeMax: number; videoSizeMax: BigInteger; fileSizeMax: BigInteger; videoUploadMaxbitrate: number; smallQueueActiveOperationsMax: number; largeQueueActiveOperationsMax: number }): Api.AutoDownloadSettings
  • Parameters

    • args: { disabled?: boolean; videoPreloadLarge?: boolean; audioPreloadNext?: boolean; phonecallsLessData?: boolean; storiesPreload?: boolean; photoSizeMax: number; videoSizeMax: BigInteger; fileSizeMax: BigInteger; videoUploadMaxbitrate: number; smallQueueActiveOperationsMax: number; largeQueueActiveOperationsMax: number }
      • Optional disabled?: boolean
      • Optional videoPreloadLarge?: boolean
      • Optional audioPreloadNext?: boolean
      • Optional phonecallsLessData?: boolean
      • Optional storiesPreload?: boolean
      • photoSizeMax: number
      • videoSizeMax: BigInteger
      • fileSizeMax: BigInteger
      • videoUploadMaxbitrate: number
      • smallQueueActiveOperationsMax: number
      • largeQueueActiveOperationsMax: number

    Returns Api.AutoDownloadSettings

Generated using TypeDoc