messages.Report#

class pyrogram.raw.functions.messages.Report#

Report a message in a chat for violation of telegram’s Terms of Service.

Details:
  • Layer: 158

  • ID: 8953AB4E

Parameters:
  • peer (InputPeer) – Peer.

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

  • reason (ReportReason) – Why are these messages being reported.

  • message (str) – Comment for report moderation.

Returns:

bool