report_ephemeral_message()¶
- async Client.report_ephemeral_message()¶
Report an ephemeral message.
Usable by Users Bots- Parameters:
chat_id (
int|str) – Unique identifier (int) or username (str) of the target chat.message_id (
int) – Identifier of the ephemeral message to report.option (
bytes|str) – Report option identifier.message (
str, optional) – Comment or explanation for the report. Defaults to empty string.
- Returns:
ReportResult– Report result.
Example
result = await app.report_ephemeral_message(chat_id, message_id, b"spam", "Spam message")