Class TdApi.SetAutoDownloadSettings
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.Ok>
dev.voroby.springframework.telegram.client.TdApi.SetAutoDownloadSettings
- Enclosing class:
- TdApi
Sets auto-download settings.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.New user auto-download settings.Type of the network for which the new settings are relevant. -
Constructor Summary
ConstructorDescriptionDefault 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
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
settings
New user auto-download settings. -
type
Type of the network for which the new settings are relevant. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SetAutoDownloadSettings
public SetAutoDownloadSettings()Default constructor for a function, which sets auto-download settings.Returns
Ok
-
SetAutoDownloadSettings
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 Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-