CancelDownloadFile constructor

CancelDownloadFile(
  1. {required int file_id,
  2. required bool only_if_pending,
  3. int? extra,
  4. int? clientId}
)

Stops the downloading of a file. If a file has already been downloaded, does nothing

Returns Ok

Implementation

CancelDownloadFile