channels.DeleteHistory#

class pyrogram.raw.functions.channels.DeleteHistory#

Delete the history of a supergroup.

Details:
  • Layer: 158

  • ID: 9BAA9647

Parameters:
  • channel (InputChannel) – Supergroup whose history must be deleted.

  • max_id (int 32-bit) – ID of message up to which the history must be deleted.

  • for_everyone (bool, optional) – Whether the history should be deleted for everyone.

Returns:

Updates