Package it.tdlight.jni
Class TdApi.SetAutoDownloadSettings
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.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 int
CONSTRUCTOR
TdApi.AutoDownloadSettings
settings
New user auto-download settings.TdApi.NetworkType
type
Type of the network for which the new settings are relevant. -
Constructor Summary
Constructors Constructor Description SetAutoDownloadSettings()
Sets auto-download settings.SetAutoDownloadSettings(TdApi.AutoDownloadSettings settings, TdApi.NetworkType type)
Sets auto-download settings.SetAutoDownloadSettings(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
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 CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
SetAutoDownloadSettings
public SetAutoDownloadSettings()Sets auto-download settings.Returns
Ok
-
SetAutoDownloadSettings
Sets auto-download settings.Returns
Ok
- Parameters:
settings
- AutoDownloadSettings New user auto-download settings.type
- NetworkType Type of the network for which the new settings are relevant.
-
SetAutoDownloadSettings
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-