AutoDownloadSettings
- class pyrogram.raw.base.AutoDownloadSettings
Media autodownload settings
- Constructors:
This base type has 1 constructor available.
Autodownload settings
TL Schema
autoDownloadSettings#baa57628
flags:#
disabled:flags.0?true
video_preload_large:flags.1?true
audio_preload_next:flags.2?true
phonecalls_less_data:flags.3?true
stories_preload:flags.4?true
photo_size_max:int
video_size_max:long
file_size_max:long
video_upload_maxbitrate:int
small_queue_active_operations_max:int
large_queue_active_operations_max:int
= AutoDownloadSettings
Parameter Tree
AutoDownloadSettings
├── disabled →
true (optional)├── video_preload_large →
true (optional)├── audio_preload_next →
true (optional)├── phonecalls_less_data →
true (optional)├── stories_preload →
true (optional)├── photo_size_max →
int├── video_size_max →
long├── file_size_max →
long├── video_upload_maxbitrate →
int├── small_queue_active_operations_max →
int└── large_queue_active_operations_max →
intExample
AutoDownloadSettings(
disabled=None,
video_preload_large=None,
audio_preload_next=None,
phonecalls_less_data=None,
stories_preload=None,
photo_size_max=0,
video_size_max=0,
file_size_max=0,
video_upload_maxbitrate=0,
small_queue_active_operations_max=0,
large_queue_active_operations_max=0,
)