MadelineProtoDocs/docs/API_docs/constructors/autoSaveSettings.md
2024-05-01 14:53:46 +02:00

952 B

title description nav_exclude image
autoSaveSettings Media autosave settings true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: autoSaveSettings

Back to constructors index

Media autosave settings

Attributes:

Name Type Required Description
photos Bool Optional Whether photos should be autosaved to the gallery.
videos Bool Optional Whether videos should be autosaved to the gallery.
video_max_size long Optional If set, specifies a size limit for autosavable videos

Type: AutoSaveSettings

Example:

$autoSaveSettings = ['_' => 'autoSaveSettings', 'photos' => Bool, 'videos' => Bool, 'video_max_size' => long];