PreliminaryUploadFile constructor

PreliminaryUploadFile(
  1. {required InputFile file,
  2. FileType? file_type,
  3. required int priority,
  4. int? extra,
  5. int? clientId}
)

Preliminary uploads a file to the cloud before sending it in a message, which can be useful for uploading of being recorded voice and video notes. Updates updateFile will be used

Returns File

Implementation

PreliminaryUploadFile