channels.ReportSpam

class pyrogram.raw.functions.channels.ReportSpam

Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup

Details:
  • Layer: 187

  • ID: F44A8315

Parameters:
  • channel (InputChannel) – Supergroup

  • participant (InputPeer) – Participant whose messages should be reported

  • id (List of int 32-bit) – IDs of spam messages

Returns:

bool