Layer 227
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 |
|---|---|---|
| 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 - positional arguments result, err := client.AccountSaveAutoDownloadSettings(nil, nil, &tg.AutoDownloadSettings{}) if err != nil { // handle error } // result is *tg.Bool