AutoDownloadSettings

class pyrogram.raw.base.AutoDownloadSettings

Media autodownload settings

Constructors:

This base type has 1 constructor available.

AutoDownloadSettings

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
├── disabledtrue (optional)
├── video_preload_largetrue (optional)
├── audio_preload_nexttrue (optional)
├── phonecalls_less_datatrue (optional)
├── stories_preloadtrue (optional)
├── photo_size_maxint
├── video_size_maxlong
├── file_size_maxlong
├── video_upload_maxbitrateint
├── small_queue_active_operations_maxint
└── large_queue_active_operations_maxint

Example

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,
)