GetRemoteFile constructor

GetRemoteFile(
  1. {required String remote_file_id,
  2. FileType? file_type,
  3. int? extra,
  4. 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.

Returns File

Implementation

GetRemoteFile