Package org.drinkless.tdlib
Class TdApi.SetAutoDownloadSettings
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.SetAutoDownloadSettings
-
- Enclosing class:
- TdApi
public static class TdApi.SetAutoDownloadSettings extends TdApi.Function
Sets auto-download settings.Returns
Ok
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.TdApi.AutoDownloadSettingssettingsNew user auto-download settings.TdApi.NetworkTypetypeType of the network for which the new settings are relevant.
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
settings
public TdApi.AutoDownloadSettings settings
New user auto-download settings.
-
type
public TdApi.NetworkType type
Type of the network for which the new settings are relevant.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SetAutoDownloadSettings
public SetAutoDownloadSettings()
Default constructor for a function, which sets auto-download settings.Returns
Ok
-
SetAutoDownloadSettings
public SetAutoDownloadSettings(TdApi.AutoDownloadSettings settings, TdApi.NetworkType type)
Creates a function, which sets auto-download settings.Returns
Ok- Parameters:
settings- New user auto-download settings.type- Type of the network for which the new settings are relevant.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-