Link Search Menu Expand Document

Method: channels.reportAntiSpamFalsePositive

Back to methods index

Report a native antispam false positive


channelUsername, chat ID, Update, Message or InputChannelSupergroup IDOptional
msg_idintMessage ID that was mistakenly deleted by the native antispam system, taken from the admin logOptional

Return type: Bool

Can bots use this method: YES

MadelineProto Example (now async for huge speed and parallelism!):

if (!file_exists('madeline.php')) {
    copy('', 'madeline.php');
include 'madeline.php';

$MadelineProto = new \danog\MadelineProto\API('session.madeline');

$Bool = $MadelineProto->channels->reportAntiSpamFalsePositive(channel: $InputChannel, msg_id: $int, );