Modify autosave settings
Method schema is available as of layer 152. Switch »
| Name | Type | Description |
|---|---|---|
| flags | # | Flags, see TL conditional fields |
| users | flags.0?true | Whether the new settings should affect all private chats |
| chats | flags.1?true | Whether the new settings should affect all groups |
| broadcasts | flags.2?true | Whether the new settings should affect all channels |
| peer | flags.3?InputPeer | Whether the new settings should affect a specific peer |
| settings | AutoSaveSettings | The new autosave settings |
| Code | Type | Description |
|---|---|---|
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.