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
├── low → AutoDownloadSettings
│ └── 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 → int
├── medium → AutoDownloadSettings
│ └── 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 → int
└── high → 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 → int

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