public static class TdApi.SetAutoDownloadSettings extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.AutoDownloadSettings |
settings
New user auto-download settings.
|
TdApi.NetworkType |
type
Type of the network for which the new settings are relevant.
|
| Constructor and Description |
|---|
SetAutoDownloadSettings()
Default constructor for a function, which sets auto-download settings.
|
SetAutoDownloadSettings(TdApi.AutoDownloadSettings settings,
TdApi.NetworkType type)
Creates a function, which sets auto-download settings.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.AutoDownloadSettings settings
public TdApi.NetworkType type
public static final int CONSTRUCTOR
public SetAutoDownloadSettings()
Returns Ok
public SetAutoDownloadSettings(TdApi.AutoDownloadSettings settings, TdApi.NetworkType type)
Returns Ok
settings - New user auto-download settings.type - Type of the network for which the new settings are relevant.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object