pub async fn get_remote_file(
remote_file_id: String,
file_type: Option<FileType>,
client_id: i32,
) -> Result<File, Error>Expand description
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. For example, if the file is from a message, then the message must be not deleted and accessible to the user. If the file database is disabled, then the corresponding object with the file must be preloaded by the application
ยงArguments
remote_file_id- Remote identifier of the file to getfile_type- File type; pass null if unknownclient_id- The client id to send the request to