Class: TD::Types::AutoDownloadSettingsPresets

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/auto_download_settings_presets.rb

Overview

Contains auto-download settings presets for the user.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#highTD::Types::AutoDownloadSettings

Preset with highest settings; supposed to be used by default when connected on Wi-Fi.

Returns:



10
11
12
# File 'lib/tdlib/types/auto_download_settings_presets.rb', line 10

def high
  @high
end

#lowTD::Types::AutoDownloadSettings

Preset with lowest settings; supposed to be used by default when roaming.

Returns:



10
11
12
# File 'lib/tdlib/types/auto_download_settings_presets.rb', line 10

def low
  @low
end

#mediumTD::Types::AutoDownloadSettings

Preset with medium settings; supposed to be used by default when using mobile data.

Returns:



10
11
12
# File 'lib/tdlib/types/auto_download_settings_presets.rb', line 10

def medium
  @medium
end