channels.ReportAntiSpamFalsePositive

class pyrogram.raw.functions.channels.ReportAntiSpamFalsePositive

Report a native antispam false positive

Details:
  • Layer: 223

  • ID: A850A693

Parameters:
  • channel (InputChannel) – Supergroup ID

  • msg_id (int 32-bit) – Message ID that was mistakenly deleted by the native antispam system, taken from the admin log

Returns:

bool

TL Schema

channels.reportAntiSpamFalsePositive#a850a693
channel:InputChannel
msg_id:int

= Bool

Parameter Tree

ReportAntiSpamFalsePositive
├── channelInputChannel
│ ├── InputChannelEmpty
│ ├── InputChannel
│ │ ├── channel_idlong
│ │ └── access_hashlong
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── channel_idlong
└── msg_idint

Example

await app.invoke(
    ReportAntiSpamFalsePositive(
        channel=await app.resolve_channel(chat_id),
        msg_id=0,
    )
)