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 Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    long
    Identifier of the erroneously deleted message from chatEventMessageDeleted.
    long
    Supergroup identifier.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default 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 Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Function

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • supergroupId

      public long supergroupId
      Supergroup identifier.
    • messageId

      public long messageId
      Identifier of the erroneously deleted message from chatEventMessageDeleted.
    • 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 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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR