Class TdApi.ReportSupergroupAntiSpamFalsePositive
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.Ok>
dev.voroby.springframework.telegram.client.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
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.long
Identifier of the erroneously deleted message from chatEventMessageDeleted.long
Supergroup identifier. -
Constructor Summary
ConstructorDescriptionDefault 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 TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.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.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-