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

1.1 KiB

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

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}