public static class TdApi.AutoDownloadSettingsPresets extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.AutoDownloadSettings |
high
Preset with highest settings; supposed to be used by default when connected on Wi-Fi.
|
TdApi.AutoDownloadSettings |
low
Preset with lowest settings; supposed to be used by default when roaming.
|
TdApi.AutoDownloadSettings |
medium
Preset with medium settings; supposed to be used by default when using mobile data.
|
Constructor and Description |
---|
AutoDownloadSettingsPresets()
Contains auto-download settings presets for the current user.
|
AutoDownloadSettingsPresets(TdApi.AutoDownloadSettings low,
TdApi.AutoDownloadSettings medium,
TdApi.AutoDownloadSettings high)
Contains auto-download settings presets for the current user.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.AutoDownloadSettings low
public TdApi.AutoDownloadSettings medium
public TdApi.AutoDownloadSettings high
public static final int CONSTRUCTOR
public AutoDownloadSettingsPresets()
public AutoDownloadSettingsPresets(TdApi.AutoDownloadSettings low, TdApi.AutoDownloadSettings medium, TdApi.AutoDownloadSettings high)
low
- Preset with lowest settings; supposed to be used by default when roaming.medium
- Preset with medium settings; supposed to be used by default when using mobile data.high
- Preset with highest settings; supposed to be used by default when connected on Wi-Fi.public int getConstructor()
getConstructor
in class TdApi.Object