Layer 227
constructor
autoSaveSettings#c84834ce flags:# photos:flags.0?true videos:flags.1?true video_max_size:flags.2?long = AutoSaveSettings;

Parameters

Name Type Description
Photos flags .0? true Whether photos should be autosaved to the gallery.
Videos flags .1? true Whether videos should be autosaved to the gallery.
VideoMaxSize flags .2? long If set, specifies a size limit for autosavable videos

Gogram Example

// Creating AutoSaveSettingsObj constructor
obj := &tg.AutoSaveSettingsObj{
    Photos: nil,
    Videos: nil,
    VideoMaxSize: nil,
}