report_anti_spam_false_positive()

async Client.report_anti_spam_false_positive()

Report a false positive action by Telegram’s native automated anti-spam system in a supergroup.

Usable by Users Bots
Parameters:
  • chat_id (int | str) – Unique identifier (int) or username (str) of the target channel/supergroup.

  • message_id (int) – Unique identifier of the incorrectly flagged message.

Returns:

bool – True on success.

Example

# Report a false positive
await app.report_anti_spam_false_positive(chat_id, message_id)