Class TdApi.SetAutoDownloadSettings

Enclosing class:
TdApi

public static class TdApi.SetAutoDownloadSettings extends TdApi.Function<TdApi.Ok>
Sets auto-download settings.

Returns Ok

  • Field Details

    • settings

      public TdApi.AutoDownloadSettings settings
      New user auto-download settings.
    • type

      public TdApi.NetworkType type
      Type of the network for which the new settings are relevant.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • SetAutoDownloadSettings

      public SetAutoDownloadSettings()
      Default constructor for a function, which sets auto-download settings.

      Returns Ok

    • SetAutoDownloadSettings

      public SetAutoDownloadSettings(TdApi.AutoDownloadSettings settings, TdApi.NetworkType type)
      Creates a function, which sets auto-download settings.

      Returns Ok

      Parameters:
      settings - New user auto-download settings.
      type - Type of the network for which the new settings are relevant.
  • 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