Layer 220
AutoSaveSettings
Media autosave settings
constructor
autoSaveSettings#c84834ce flags:# photos:flags.0?true videos:flags.1?true video_max_size:flags.2?long = AutoSaveSettings;
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. |
| VideoMaxSize | flags.2?long | If set, specifies a size limit for autosavable videos |
Returns
AutoSaveSettingsGogram Example
// Creating AutoSaveSettings constructor obj := &tg.AutoSaveSettings{ // Optional fields: // Photos: true, // Videos: true, // VideoMaxSize: int64(0), }