RemoteFile
Object Hierarchy:
Description:
public class RemoteFile :
Error
Content:
Properties:
- public string id_ { get; set construct; }
Remote file identifier; may be empty. Can be used by the current user
across application restarts or even from other devices. Uniquely identifies a file, but a file can have a lot of different valid
identifiers. If the identifier starts with "http://" or "
https://", it represents the HTTP URL of the file. TDLib is currently unable to download files if only their URL is known. If
downloadFile/addFileToDownloads is called on such a file or if it is sent to a secret chat, TDLib starts a file generation process by
sending updateFileGenerationStart to the application with the HTTP URL in the original_path and "#url#" as the conversion string.
Application must generate the file by downloading it to the specified location
- public bool is_uploading_active { get; set construct; }
True, if the file is currently being uploaded (or a remote copy is
being generated by some other means)
- public bool is_uploading_completed { get; set construct; }
True, if a remote copy is fully available
- public string unique_id { get; set construct; }
Unique file identifier; may be empty if unknown. The unique file
identifier which is the same for the same file even for different users and is persistent over time
- public int64 uploaded_size { get; set construct; }
Size of the remote available part of the file, in bytes; 0 if unknown
Creation methods:
- public RemoteFile (string id_, string unique_id, bool is_uploading_active, bool is_uploading_completed, int64 uploaded_size)
Inherited Members:
All known members inherited from class TDLib.Error
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref