AddFileToDownloads constructor

AddFileToDownloads(
  1. {required int file_id,
  2. required int chat_id,
  3. required int message_id,
  4. required int priority,
  5. int? extra,
  6. int? clientId}
)

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.

Returns File

Implementation

AddFileToDownloads