ReadFilePart constructor

const ReadFilePart({
  1. required int fileId,
  2. required int offset,
  3. required int count,
})

Reads a part of a file from the TDLib file cache and returns read bytes. This method is intended to be used only if the application has no direct access to TDLib's file system, because it is usually slower than a direct read from the file

Implementation

const ReadFilePart({
  required this.fileId,
  required this.offset,
  required this.count,
});