- 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
FieldsModifier and TypeFieldDescriptionstatic final intAutosave settings scope.New autosave settings for the scope; pass null to set autosave settings to default. -
Constructor Summary
ConstructorsConstructorDescriptionSets 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
toStringMethods 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:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-