FileDownload class

Describes a file added to file download list.

Inheritance
Available Extensions

Constructors

FileDownload({required int file_id, required Message message, required int add_date, required int complete_date, required bool is_paused, int? extra, int? clientId})
Describes a file added to file download list

Properties

add_date ↔ int
Point in time (Unix timestamp) when the file was added to the download list.
read / write
clientId ↔ int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
complete_date ↔ int
Point in time (Unix timestamp) when the file downloading was completed; 0 if the file downloading isn't completed.
read / write
extra ↔ int?
Request identifier. Must be non-zero.
read / writeoverride
file_id ↔ int
File identifier.
read / write
hashCode → int
The hash code for this object.
read-onlyinherited
is_paused ↔ bool
True, if downloading of the file is paused.
read / write
message ↔ Message
The message with the file.
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

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) → FileDownload?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"fileDownload"