Module tdlight.api

Class TdApi.SetAutosaveSettings

Enclosing class:
TdApi

public static final 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()
      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)
      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 - AutosaveSettingsScope Autosave settings scope.
      settings - ScopeAutosaveSettings New autosave settings for the scope; pass null to set autosave settings to default.
    • SetAutosaveSettings

      public SetAutosaveSettings(DataInput input) throws IOException
      Sets autosave settings for the given scope. The method is guaranteed to work only after at least one call to getAutosaveSettings. Returns Ok
      Throws:
      IOException
  • Method Details