GetRemoteFile class

Returns information about a file by its remote identifier; this is an offline request. Can be used to register a URL as a file for further uploading, or sending as a message. Even the request succeeds, the file can be used only if it is still accessible to the user..

Returns File.

Inheritance
Available Extensions

Constructors

GetRemoteFile({required String remote_file_id, FileType? file_type, int? extra, int? clientId})
Returns information about a file by its remote identifier; this is an offline request. Can be used to register a URL as a file for further uploading, or sending as a message. Even the request succeeds, the file can be used only if it is still accessible to the user.

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
file_type ↔ FileType?
File type; pass null if unknown.
read / write
hashCode → int
The hash code for this object.
read-onlyinherited
remote_file_id ↔ String
Remote identifier of the file to get.
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) → GetRemoteFile?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"getRemoteFile"