account.saveAutoSaveSettings #

Modify autosave settings

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
account.saveAutoSaveSettings#d69b8361 flags:# users:flags.0?true chats:flags.1?true broadcasts:flags.2?true peer:flags.3?InputPeer settings:AutoSaveSettings = Bool;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
usersflags.0?trueWhether the new settings should affect all private chats
chatsflags.1?trueWhether the new settings should affect all groups
broadcastsflags.2?trueWhether the new settings should affect all channels
peerflags.3?InputPeerWhether the new settings should affect a specific peer
settingsAutoSaveSettingsThe new autosave settings

Result #

Bool

Only users can use this method #

Possible errors #

CodeTypeDescription
400PEER_ID_INVALIDThe provided peer id is invalid.

Channels, supergroups, gigagroups and basic groups #

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