MadelineProtoDocs/old_docs/API_docs_v103/constructors/account.autoDownloadSettings.md
2019-12-27 18:46:25 +01:00

1.2 KiB

title description image redirect_from
account.autoDownloadSettings Media autodownload settings https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/constructors/account_autoDownloadSettings.html

Constructor: account.autoDownloadSettings

Back to constructors index

Media autodownload settings

Attributes:

Name Type Required Description
low AutoDownloadSettings Yes Low data usage preset
medium AutoDownloadSettings Yes Medium data usage preset
high AutoDownloadSettings Yes High data usage preset

Type: account.AutoDownloadSettings

Example:

$account.autoDownloadSettings = ['_' => 'account.autoDownloadSettings', 'low' => AutoDownloadSettings, 'medium' => AutoDownloadSettings, 'high' => AutoDownloadSettings];

Or, if you're into Lua:

account.autoDownloadSettings={_='account.autoDownloadSettings', low=AutoDownloadSettings, medium=AutoDownloadSettings, high=AutoDownloadSettings}