AutoDownloadSettings class

Contains auto-download settings.

Inheritance
Available Extensions

Constructors

AutoDownloadSettings({required bool is_auto_download_enabled, required int max_photo_file_size, required int max_video_file_size, required int max_other_file_size, required int video_upload_bitrate, required bool preload_large_videos, required bool preload_next_audio, required bool preload_stories, required bool use_less_data_for_calls, int? extra, int? clientId})
Contains auto-download settings

Properties

clientId ↔ int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra ↔ int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode → int
The hash code for this object.
read-onlyinherited
is_auto_download_enabled ↔ bool
True, if the auto-download is enabled.
read / write
max_other_file_size ↔ int
The maximum size of other file types to be auto-downloaded, in bytes.
read / write
max_photo_file_size ↔ int
The maximum size of a photo file to be auto-downloaded, in bytes.
read / write
max_video_file_size ↔ int
The maximum size of a video file to be auto-downloaded, in bytes.
read / write
preload_large_videos ↔ bool
True, if the beginning of video files needs to be preloaded for instant playback.
read / write
preload_next_audio ↔ bool
True, if the next audio track needs to be preloaded while the user is listening to an audio file.
read / write
preload_stories ↔ bool
True, if stories needs to be preloaded.
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
use_less_data_for_calls ↔ bool
True, if "use less data for calls" option needs to be enabled.
read / write
video_upload_bitrate ↔ int
The maximum suggested bitrate for uploaded videos, in kbit/s.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Object to Map serializer
override
toString() → String
A string representation of this object.
override

Operators

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

Static Methods

fromMap(Map<String, dynamic>? _map) → AutoDownloadSettings?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"autoDownloadSettings"