SearchFileDownloads class

Searches for files in the file download list or recently downloaded files from the list.

Returns FoundFileDownloads.

Inheritance
Available Extensions

Constructors

SearchFileDownloads({required String query, required bool only_active, required bool only_completed, required String offset, required int limit, int? extra, int? clientId})
Searches for files in the file download list or recently downloaded files from the list

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
limit ↔ int
The maximum number of files to be returned.
read / write
offset ↔ String
Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results.
read / write
only_active ↔ bool
Pass true to search only for active downloads, including paused.
read / write
only_completed ↔ bool
Pass true to search only for completed downloads.
read / write
query ↔ String
Query to search for; may be empty to return all downloaded files.
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) → SearchFileDownloads?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"searchFileDownloads"