AutoSaveSettings

class pyrogram.raw.types.AutoSaveSettings

Media autosave settings

Constructor of AutoSaveSettings.

Details:
  • Layer: 223

  • ID: C84834CE

Parameters:
  • photos (bool, optional) – Whether photos should be autosaved to the gallery.

  • videos (bool, optional) – Whether videos should be autosaved to the gallery.

  • video_max_size (int 64-bit, optional) – If set, specifies a size limit for autosavable videos

TL Schema

autoSaveSettings#c84834ce
flags:#
photos:flags.0?true
videos:flags.1?true
video_max_size:flags.2?long

= AutoSaveSettings

Parameter Tree

AutoSaveSettings
├── photostrue (optional)
├── videostrue (optional)
└── video_max_sizelong (optional)

Example

AutoSaveSettings(
)