account.saveAutoSaveSettings
Modify autosave settings
| Name | Type | Required | Description |
|---|---|---|---|
users | true | No | Whether the new settings should affect all private chats |
chats | true | No | Whether the new settings should affect all groups |
broadcasts | true | No | Whether the new settings should affect all [channels](https://core.telegram.org/api/channel.md) |
peer | InputPeer | No | Whether the new settings should affect a specific peer |
settings | AutoSaveSettings | Yes | The new autosave settings |
Responses
Bool
MTProto RPC
- 400 · PEER_ID_INVALID — The provided peer id is invalid.