AutoDownloadSettings constructor

const AutoDownloadSettings(
  1. {required bool isAutoDownloadEnabled,
  2. required int maxPhotoFileSize,
  3. required int maxVideoFileSize,
  4. required int maxOtherFileSize,
  5. required int videoUploadBitrate,
  6. required bool preloadLargeVideos,
  7. required bool preloadNextAudio,
  8. required bool preloadStories,
  9. required bool useLessDataForCalls}
)

Contains auto-download settings

Implementation

const AutoDownloadSettings({
  required this.isAutoDownloadEnabled,
  required this.maxPhotoFileSize,
  required this.maxVideoFileSize,
  required this.maxOtherFileSize,
  required this.videoUploadBitrate,
  required this.preloadLargeVideos,
  required this.preloadNextAudio,
  required this.preloadStories,
  required this.useLessDataForCalls,
});