Skip to main content

autoSaveSettings

Media autosave settings

type tg.AutoSaveSettings struct { /* ... */ }

Fields​

NameTypeRequiredDescription
Photosbool—Whether photos should be autosaved to the gallery.
Videosbool—Whether videos should be autosaved to the gallery.
VideoMaxSizeint64—If set, specifies a size limit for autosavable videos

References​