Class TdApi.SetAutoDownloadSettings

  • Enclosing class:
    TdApi

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

    Returns Ok

    • Constructor Detail

      • 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.