channels.reportAntiSpamFalsePositive
Report a native antispam false positive
func (c *Client) ChannelsReportAntiSpamFalsePositive(ctx context.Context, request *ChannelsReportAntiSpamFalsePositiveRequest) (bool, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.ChannelsReportAntiSpamFalsePositive(ctx, &tg.ChannelsReportAntiSpamFalsePositiveRequest{
// see Parameters
})
if err != nil {
return err
}
_ = res // bool
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Channel | InputChannelClass | yes | Supergroup ID |
MsgID | int | yes | Message ID that was mistakenly deleted by the native antispam system, taken from the admin log |
Returns
bool
Possible errors
| Code | Type | Description |
|---|---|---|
| 400 | CHANNEL_INVALID | The provided channel is invalid. |
References
- Official documentation
- Generated Go reference
- TL definition:
channels.reportAntiSpamFalsePositive#a850a693