report_ephemeral_message()

Client.report_ephemeral_message()

Report an ephemeral message.

Usable by Users Bots
Parameters:
  • chat_id (int | str) – The peer context of the ephemeral message.

  • message_id (int) – The ephemeral message ID.

  • option (bytes) – Report option bytes.

  • message (str, optional) – Additional report comment. Defaults to empty string.

Returns:

ReportResult – The report result.

Example

await app.report_ephemeral_message(chat_id, 123, b"\x00", "spam")