messages.DeleteSavedHistory

class pyrogram.raw.functions.messages.DeleteSavedHistory

Deletes messages forwarded from a specific peer to saved messages ».

Details:
  • Layer: 194

  • ID: 6E98102B

Parameters:
  • peer (InputPeer) – Peer, whose messages will be deleted from saved messages »

  • max_id (int 32-bit) – Maximum ID of message to delete

  • min_date (int 32-bit, optional) – Delete all messages newer than this UNIX timestamp

  • max_date (int 32-bit, optional) – Delete all messages older than this UNIX timestamp

Returns:

messages.AffectedHistory