Raw.AutoSaveSettings

Raw.AutoSaveSettings

Media autosave settings

autoSaveSettings#c84834ce flags:# photos:flags.0?true videos:flags.1?true video_max_size:flags.2?long = AutoSaveSettings;
export namespace Raw {
  export class AutoSaveSettings {
    constructor(params: { photos?: boolean; videos?: boolean; videoMaxSize?: bigint }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0xc84834ce

Property

  • photos : boolean or undefined

    Whether photos should be autosaved to the gallery.

  • videos : boolean or undefined

    Whether videos should be autosaved to the gallery.

  • videoMaxSize : bigint or undefined

    If set, specifies a size limit for autosavable videos