GetRemoteFile class

Inheritance

Constructors

GetRemoteFile({String remoteFileId, dynamic fileType})
Returns information about a file by its remote ID; 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.. For example, if the file is from a message, then the message must be not deleted and accessible to the user. If a file database is disabled, then the corresponding object with the file must be preloaded by the client. remoteFileId Remote identifier of the file to get . fileType File type, if known
GetRemoteFile.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

constructor String
read / write, inherited
extra ↔ dynamic
read / write
fileType ↔ dynamic
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
remoteFileId String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Constants

CONSTRUCTOR → const String
"getRemoteFile"