AutoDownloadSettings class

Contains auto-download settings

Inheritance

Constructors

AutoDownloadSettings({String? extra, int? client_id, Bool? is_auto_download_enabled, int32? max_photo_file_size, int53? max_video_file_size, int53? max_other_file_size, int32? video_upload_bitrate, Bool? preload_large_videos, Bool? preload_next_audio, Bool? use_less_data_for_calls})
AutoDownloadSettings.fromMap(Map<String, dynamic> map)

Properties

client_id int?
TDLib client id; maps to the field @client_id.
getter/setter pairinherited
extra String?
Matches requests with responses; maps to the field @extra.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
is_auto_download_enabled Bool?
True, if the auto-download is enabled
getter/setter pair
max_other_file_size int53?
The maximum size of other file types to be auto-downloaded, in bytes
getter/setter pair
max_photo_file_size int32?
The maximum size of a photo file to be auto-downloaded, in bytes
getter/setter pair
max_video_file_size int53?
The maximum size of a video file to be auto-downloaded, in bytes
getter/setter pair
preload_large_videos Bool?
True, if the beginning of video files needs to be preloaded for instant playback
getter/setter pair
preload_next_audio Bool?
True, if the next audio track needs to be preloaded while the user is listening to an audio file
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tdType String
JSON object type; maps to the field @type.
no setteroverride
use_less_data_for_calls Bool?
True, if "use less data for calls" option needs to be enabled
getter/setter pair
video_upload_bitrate int32?
The maximum suggested bitrate for uploaded videos, in kbit/s
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({dynamic skipNulls = true}) String
Serialize a Td instance to a JSON string. If skipNulls is true the fields with null values are not serialized.
inherited
toMap({dynamic skipNulls = true}) Map<String, dynamic>
Create a Map from a Td instance.
override
toString({dynamic skipNulls = false}) String
A string representation of this object.
inherited

Operators

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