Package org.drinkless.tdlib
Class TdApi.ReportSupergroupAntiSpamFalsePositive
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.Ok>
org.drinkless.tdlib.TdApi.ReportSupergroupAntiSpamFalsePositive
- Enclosing class:
- TdApi
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
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.longIdentifier of the erroneously deleted message from chatEventMessageDeleted.longSupergroup identifier. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which reports a false deletion of a message by aggressive anti-spam checks; requires administrator rights in the supergroup.ReportSupergroupAntiSpamFalsePositive(long supergroupId, long messageId) Creates a function, which reports a false deletion of a message by aggressive anti-spam checks; requires administrator rights in the supergroup. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
supergroupId
public long supergroupIdSupergroup identifier. -
messageId
public long messageIdIdentifier of the erroneously deleted message from chatEventMessageDeleted. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ReportSupergroupAntiSpamFalsePositive
public ReportSupergroupAntiSpamFalsePositive()Default constructor for a function, which 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 -
ReportSupergroupAntiSpamFalsePositive
public ReportSupergroupAntiSpamFalsePositive(long supergroupId, long messageId) Creates a function, which 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- Parameters:
supergroupId- Supergroup identifier.messageId- Identifier of the erroneously deleted message from chatEventMessageDeleted.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-