Sha256: b01788667f79900234268d70f925167da4e19a2ed43dc4172a3e64a58ddc5cf2
Contents?: true
Size: 1.19 KB
Versions: 1
Compression:
Stored size: 1.19 KB
Contents
module TD::Types # Contains auto-download settings. # # @attr is_auto_download_enabled [Boolean] True, if the auto-download is enabled. # @attr max_photo_file_size [Integer] Maximum size of a photo file to be auto-downloaded. # @attr max_video_file_size [Integer] Maximum size of a video file to be auto-downloaded. # @attr max_other_file_size [Integer] Maximum size of other file types to be auto-downloaded. # @attr preload_large_videos [Boolean] True, if the beginning of videos needs to be preloaded for instant playback. # @attr preload_next_audio [Boolean] True, if the next audio track needs to be preloaded while the user is listening # to an audio file. # @attr use_less_data_for_calls [Boolean] True, if "use less data for calls" option needs to be enabled. class AutoDownloadSettings < Base attribute :is_auto_download_enabled, TD::Types::Bool attribute :max_photo_file_size, TD::Types::Integer attribute :max_video_file_size, TD::Types::Integer attribute :max_other_file_size, TD::Types::Integer attribute :preload_large_videos, TD::Types::Bool attribute :preload_next_audio, TD::Types::Bool attribute :use_less_data_for_calls, TD::Types::Bool end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tdlib-ruby-2.1.0 | lib/tdlib/types/auto_download_settings.rb |