MadelineProtoDocs/old_docs/API_docs_v105/constructors/account_autoDownloadSettings.md
2019-12-27 17:48:04 +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}