AddFileToDownloads
Object Hierarchy:
Description:
public class AddFileToDownloads :
TDObject
Adds a file from a message to the list of file downloads. Download progress and completion of the download will be notified through
updateFile updates. If message database is used, the list of file downloads is persistent across application restarts. The downloading is
independent of download using Client.download_file i.e. it continues if
Client.download_file is canceled or is used to download a part of the file
Content:
Properties:
- public int64 chat_id { get; set construct; }
Chat identifier of the message with the file
- public int32 file_id { get; set construct; }
Identifier of the file to download
- public int64 message_id { get; set construct; }
Message identifier
- public int32 priority { get; set construct; }
Priority of the download (1-32). The higher the priority, the earlier
the file will be downloaded. If the priorities of two files are equal, then the last one for which downloadFile/addFileToDownloads was
called will be downloaded first
Creation methods:
- public AddFileToDownloads (int32 file_id, int64 chat_id, int64 message_id, int32 priority)
Inherited Members:
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