account.AutoDownloadSettings

class pyrogram.raw.base.account.AutoDownloadSettings

Media autodownload settings

Constructors:

This base type has 1 constructor available.

account.AutoDownloadSettings

Media autodownload settings

Functions:

This object can be returned by 1 function.

account.GetAutoDownloadSettings

Get media autodownload settings

TL Schema

account.autoDownloadSettings#63cacf26
low:AutoDownloadSettings
medium:AutoDownloadSettings
high:AutoDownloadSettings

= account.AutoDownloadSettings

Parameter Tree

AutoDownloadSettings
├── lowAutoDownloadSettings
│ └── 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
├── mediumAutoDownloadSettings
│ └── 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
└── highAutoDownloadSettings
├── 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(
    low=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
    ),
    medium=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
    ),
    high=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
    ),
)