channels.DeleteParticipantHistory#

class pyrogram.raw.functions.channels.DeleteParticipantHistory#

Delete all messages sent by a specific participant of a given supergroup.

Details:
  • Layer: 158

  • ID: 367544DB

Parameters:
  • channel (InputChannel) – Supergroup.

  • participant (InputPeer) – The participant whose messages should be deleted.

Returns:

messages.AffectedHistory