account.AutoDownloadSettings

class pyrogram.raw.types.account.AutoDownloadSettings

Media autodownload settings

Constructor of AutoDownloadSettings.

Details:
  • Layer: 223

  • ID: 63CACF26

Parameters:
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(
        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(
        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(
        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
    ),
)