channels.DeleteMessages#

class pyrogram.raw.functions.channels.DeleteMessages#

Delete messages in a channel/supergroup.

Details:
  • Layer: 158

  • ID: 84C1FD4E

Parameters:
  • channel (InputChannel) – Channel/supergroup.

  • id (List of int 32-bit) – IDs of messages to delete.

Returns:

messages.AffectedMessages