Class TdApi.ReportSponsoredResultOptionRequired

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.ReportSponsoredResult
org.drinkless.tdlib.TdApi.ReportSponsoredResultOptionRequired
Enclosing class:
TdApi

public static class TdApi.ReportSponsoredResultOptionRequired extends TdApi.ReportSponsoredResult
The user must choose an option to report the message and repeat request with the chosen option.
  • Field Details

    • title

      public String title
      Title for the option choice.
    • options

      public TdApi.ReportOption[] options
      List of available options.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • ReportSponsoredResultOptionRequired

      public ReportSponsoredResultOptionRequired()
      The user must choose an option to report the message and repeat request with the chosen option.
    • ReportSponsoredResultOptionRequired

      public ReportSponsoredResultOptionRequired(String title, TdApi.ReportOption[] options)
      The user must choose an option to report the message and repeat request with the chosen option.
      Parameters:
      title - Title for the option choice.
      options - List of available options.
  • 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