Machine-readable version of this page: //core.telegram.org/constructor/autoSaveSettings.md.

autoSaveSettings

Media autosave settings

Constructor schema is available as of layer 152. Switch »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
photos flags.0?true Whether photos should be autosaved to the gallery.
videos flags.1?true Whether videos should be autosaved to the gallery.
video_max_size flags.2?long If set, specifies a size limit for autosavable videos

Type

AutoSaveSettings