account.saveAutoSaveSettings

Modify autosave settings

 Method schema is available as of layer 152. Switch ยป

Parameters

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

Result

Bool

Possible errors

Code Type Description
400 PEER_ID_INVALID The provided peer id is invalid.

Bots can use this method

Related pages

Channels, supergroups, gigagroups and basic groups

How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.