save_auto_save_settings()¶
- async Client.save_auto_save_settings()¶
Modify autosave settings.
Usable by Users Bots- Parameters:
settings (
AutoSaveSettings) – The new autosave settings.users (
bool, optional) – Whether the new settings should affect all private chats.chats (
bool, optional) – Whether the new settings should affect all groups.broadcasts (
bool, optional) – Whether the new settings should affect all channels.peer (
int|str|InputPeer, optional) – Whether the new settings should affect a specific peer.
- Returns:
bool– On success, True is returned.