channels.ReportAntiSpamFalsePositive

class pyrogram.raw.functions.channels.ReportAntiSpamFalsePositive

Report a native antispam false positive

Details:
  • Layer: 227

  • 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
├── channel → InputChannel
│ ├── InputChannelEmpty
│ ├── InputChannel
│ │ ├── channel_id → long
│ │ └── access_hash → long
│ ├── peer → InputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_id → int
│ └── channel_id → long
└── msg_id → int

Example

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