Layer 220
AccountSaveAutoDownloadSettings
Change media autodownload settings
method
Users
account.saveAutoDownloadSettings#76f36233 flags:# low:flags.0?true high:flags.1?true settings:AutoDownloadSettings = Bool;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| Low | flags.0?true | Whether to save media in the low data usage preset |
| High | flags.1?true | Whether to save media in the high data usage preset |
| Settings | AutoDownloadSettings | Media autodownload settings |
Returns
BoolGogram Example
// AccountSaveAutoDownloadSettings - using Params struct result, err := client.AccountSaveAutoDownloadSettings(&tg.AccountSaveAutoDownloadSettingsParams{ Settings: &tg.AutoDownloadSettings{}, // Optional fields: // Low: true, // High: true, }) if err != nil { // handle error } // result is *tg.Bool