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: 126

  • ID: 0xfe087810

Parameters
  • channel (InputChannel) – Supergroup.

  • user_id (InputUser) – ID of the user that sent the spam messages.

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

Returns

bool – Primitive type.