AutoDownloadSettings class

Auto Download Settings.

ID: baa57628.

Inheritance

Constructors

AutoDownloadSettings({required bool disabled, required bool videoPreloadLarge, required bool audioPreloadNext, required bool phonecallsLessData, required bool storiesPreload, required int photoSizeMax, required int videoSizeMax, required int fileSizeMax, required int videoUploadMaxbitrate, required int smallQueueActiveOperationsMax, required int largeQueueActiveOperationsMax})
Auto Download Settings constructor.
const
AutoDownloadSettings.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

audioPreloadNext bool
audio_preload_next: bit 2 of flags.2?true
final
disabled bool
disabled: bit 0 of flags.0?true
final
fileSizeMax int
File Size Max.
final
flags int
Flags.
no setter
hashCode int
The hash code for this object.
no setterinherited
largeQueueActiveOperationsMax int
Large Queue Active Operations Max.
final
phonecallsLessData bool
phonecalls_less_data: bit 3 of flags.3?true
final
photoSizeMax int
Photo Size Max.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
smallQueueActiveOperationsMax int
Small Queue Active Operations Max.
final
storiesPreload bool
stories_preload: bit 4 of flags.4?true
final
videoPreloadLarge bool
video_preload_large: bit 1 of flags.1?true
final
videoSizeMax int
Video Size Max.
final
videoUploadMaxbitrate int
Video Upload Maxbitrate.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(List<int> buffer) → void
Serialize.
override
toJson() Map<String, dynamic>
Converts an object to JSON.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited