- Enclosing class:
- TdApi
public static final class TdApi.ReportSupergroupAntiSpamFalsePositive
extends TdApi.Function<TdApi.Ok>
Reports a false deletion of a message
by aggressive anti-spam checks; requires
administrator rights in the supergroup.
Can be called only for messages from
chatEventMessageDeleted with
canReportAntiSpamFalsePositive == true.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
long
Identifier of the erroneously deleted message.long
Supergroup identifier. -
Constructor Summary
ConstructorDescriptionReports a false deletion of a message by aggressive anti-spam checks; requires administrator rights in the supergroup.ReportSupergroupAntiSpamFalsePositive
(long supergroupId, long messageId) Reports a false deletion of a message by aggressive anti-spam checks; requires administrator rights in the supergroup.Reports a false deletion of a message by aggressive anti-spam checks; requires administrator rights in the supergroup. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
supergroupId
public long supergroupIdSupergroup identifier. -
messageId
public long messageIdIdentifier of the erroneously deleted message. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
ReportSupergroupAntiSpamFalsePositive
public ReportSupergroupAntiSpamFalsePositive()Reports a false deletion of a message by aggressive anti-spam checks; requires administrator rights in the supergroup. Can be called only for messages from chatEventMessageDeleted with canReportAntiSpamFalsePositive == true. ReturnsOk
-
ReportSupergroupAntiSpamFalsePositive
public ReportSupergroupAntiSpamFalsePositive(long supergroupId, long messageId) Reports a false deletion of a message by aggressive anti-spam checks; requires administrator rights in the supergroup. Can be called only for messages from chatEventMessageDeleted with canReportAntiSpamFalsePositive == true. ReturnsOk
- Parameters:
supergroupId
- long Supergroup identifier.messageId
- long Identifier of the erroneously deleted message.
-
ReportSupergroupAntiSpamFalsePositive
Reports a false deletion of a message by aggressive anti-spam checks; requires administrator rights in the supergroup. Can be called only for messages from chatEventMessageDeleted with canReportAntiSpamFalsePositive == true. ReturnsOk
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-