Link Search Menu Expand Document

danog\MadelineProto\Settings\Files

Back to index

Author: Daniil Gentili daniil@daniil.it

File management settings.

Method list:

  • getAllowAutomaticUpload()
  • setAllowAutomaticUpload(bool $allowAutomaticUpload)
  • getUploadParallelChunks()
  • setUploadParallelChunks(int $uploadParallelChunks)
  • getDownloadParallelChunks()
  • setDownloadParallelChunks(int $downloadParallelChunks)
  • getReportBrokenMedia()
  • setReportBrokenMedia(bool $reportBrokenMedia)

Methods:

getAllowAutomaticUpload()

Get allow automatic upload of files from file paths present in constructors?

setAllowAutomaticUpload(bool $allowAutomaticUpload)

Set allow automatic upload of files from file paths present in constructors?

Parameters:

  • $allowAutomaticUpload: bool Allow automatic upload of files from file paths present in constructors?

getUploadParallelChunks()

Get upload parallel chunk count.

setUploadParallelChunks(int $uploadParallelChunks)

Set upload parallel chunk count.

Parameters:

  • $uploadParallelChunks: int Upload parallel chunk count

getDownloadParallelChunks()

Get download parallel chunk count.

setDownloadParallelChunks(int $downloadParallelChunks)

Set download parallel chunk count.

Parameters:

  • $downloadParallelChunks: int Download parallel chunk count

getReportBrokenMedia()

Get whether to report undownloadable media to TSF.

setReportBrokenMedia(bool $reportBrokenMedia)

Set whether to report undownloadable media to TSF.

Parameters:

  • $reportBrokenMedia: bool Whether to report undownloadable media to TSF

Generated by danog/phpdoc