account.SaveAutoSaveSettings#

class pyrogram.raw.functions.account.SaveAutoSaveSettings#

Modify autosave settings.

Details:
  • Layer: 158

  • ID: D69B8361

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 (InputPeer, optional) – Whether the new settings should affect a specific peer.

Returns:

bool