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

public static 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 Details

    • supergroupId

      public long supergroupId
      Supergroup identifier.
    • messageId

      public long messageId
      Identifier of the erroneously deleted message.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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.
  • 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 class TdApi.Function<TdApi.Ok>
      Returns:
      this.CONSTRUCTOR