Class TdApi.SetAutosaveSettings
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.SetAutosaveSettings
- 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
Identifier uniquely determining type of the object.Autosave settings scope.New autosave settings for the scope; pass null to set autosave settings to default. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which sets autosave settings for the given scope.SetAutosaveSettings
(TdApi.AutosaveSettingsScope scope, TdApi.ScopeAutosaveSettings settings) Creates a function, which sets autosave settings for the given scope. -
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
-
scope
Autosave settings scope. -
settings
New autosave settings for the scope; pass null to set autosave settings to default. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SetAutosaveSettings
public SetAutosaveSettings()Default constructor for a function, which sets autosave settings for the given scope. The method is guaranteed to work only after at least one call to getAutosaveSettings.Returns
Ok
-
SetAutosaveSettings
Creates a function, which sets autosave settings for the given scope. The method is guaranteed to work only after at least one call to getAutosaveSettings.Returns
Ok
- Parameters:
scope
- Autosave settings scope.settings
- New autosave settings for the scope; pass null to set autosave settings to default.
-
-
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
-