Class TdApi.SetAutosaveSettings

Enclosing class:
TdApi

public static class TdApi.SetAutosaveSettings extends TdApi.Function<TdApi.Ok>
Sets autosave settings for the given scope. The method is guaranteed to work only after at least one call to getAutosaveSettings.

Returns Ok

  • Field Details

  • 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

      public SetAutosaveSettings(TdApi.AutosaveSettingsScope scope, TdApi.ScopeAutosaveSettings settings)
      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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR