class
TD::AutoDownloadSettings
- TD::AutoDownloadSettings
- TD::Base
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram/types/auto_download_settings.crConstructors
- .new(max_photo_file_size : Int32, max_video_file_size : Int32, max_other_file_size : Int32, video_upload_bitrate : Int32, is_auto_download_enabled : Bool = false, preload_large_videos : Bool = false, preload_next_audio : Bool = false, use_less_data_for_calls : Bool = false)
- .new(pull : JSON::PullParser)
- .new(__json : JSON::Any | Nil = nil)
Instance Method Summary
- #is_auto_download_enabled : Bool
- #is_auto_download_enabled=(is_auto_download_enabled : Bool)
- #max_other_file_size : Int32
- #max_other_file_size=(max_other_file_size : Int32)
- #max_photo_file_size : Int32
- #max_photo_file_size=(max_photo_file_size : Int32)
- #max_video_file_size : Int32
- #max_video_file_size=(max_video_file_size : Int32)
- #object_type : String
- #object_type=(object_type : String)
- #preload_large_videos : Bool
- #preload_large_videos=(preload_large_videos : Bool)
- #preload_next_audio : Bool
- #preload_next_audio=(preload_next_audio : Bool)
- #use_less_data_for_calls : Bool
- #use_less_data_for_calls=(use_less_data_for_calls : Bool)
- #video_upload_bitrate : Int32
- #video_upload_bitrate=(video_upload_bitrate : Int32)
Instance methods inherited from class TD::Base
extract_abstract_type(__json : JSON::Any)
extract_abstract_type,
extract_type(__json : JSON::Any, class_type : Class)
extract_type
Macros inherited from class TD::Base
object_attributes(type)
object_attributes,
object_type(type)
object_type
Constructor Detail
def self.new(max_photo_file_size : Int32, max_video_file_size : Int32, max_other_file_size : Int32, video_upload_bitrate : Int32, is_auto_download_enabled : Bool = false, preload_large_videos : Bool = false, preload_next_audio : Bool = false, use_less_data_for_calls : Bool = false)
#