Link Search Menu Expand Document

Constructor: account.autoSaveSettings

Back to constructors index

Contains media autosave settings

Attributes:

NameTypeRequiredDescription
users_settingsAutoSaveSettingsYesDefault media autosave settings for private chats
chats_settingsAutoSaveSettingsYesDefault media autosave settings for groups and supergroups
broadcasts_settingsAutoSaveSettingsYesDefault media autosave settings for channels
exceptionsArray of AutoSaveExceptionYesPeer-specific granular autosave settings
chatsArray of ChatYesChats mentioned in the peer-specific granular autosave settings
usersArray of UserYesUsers mentioned in the peer-specific granular autosave settings

Type: account.AutoSaveSettings

Example:

$account_autoSaveSettings = ['_' => 'account.autoSaveSettings', 'users_settings' => AutoSaveSettings, 'chats_settings' => AutoSaveSettings, 'broadcasts_settings' => AutoSaveSettings, 'exceptions' => [AutoSaveException, AutoSaveException], 'chats' => [Chat, Chat], 'users' => [User, User]];