- Enclosing class:
- TdApi
Sets autosave settings for the given
scope. The method is guaranteed to
work only after at least one call to getAutosaveSettings.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Autosave settings scope.New autosave settings for the scope; pass null to set autosave settings to default. -
Constructor Summary
ConstructorDescriptionSets autosave settings for the given scope.SetAutosaveSettings
(TdApi.AutosaveSettingsScope scope, TdApi.ScopeAutosaveSettings settings) Sets autosave settings for the given scope.SetAutosaveSettings
(DataInput input) Sets autosave settings for the given scope. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
scope
Autosave settings scope. -
settings
New autosave settings for the scope; pass null to set autosave settings to default. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SetAutosaveSettings
public SetAutosaveSettings()Sets autosave settings for the given scope. The method is guaranteed to work only after at least one call to getAutosaveSettings. ReturnsOk
-
SetAutosaveSettings
Sets autosave settings for the given scope. The method is guaranteed to work only after at least one call to getAutosaveSettings. ReturnsOk
- Parameters:
scope
- AutosaveSettingsScope Autosave settings scope.settings
- ScopeAutosaveSettings New autosave settings for the scope; pass null to set autosave settings to default.
-
SetAutosaveSettings
Sets autosave settings for the given scope. The method is guaranteed to work only after at least one call to getAutosaveSettings. ReturnsOk
- 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()
-