mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-03 10:08:28 +01:00
952 B
952 B
title | description | nav_exclude | image |
---|---|---|---|
autoSaveSettings | Media autosave settings | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: autoSaveSettings
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];