Class TdApi.ViewPremiumFeature

Enclosing class:
TdApi

public static class TdApi.ViewPremiumFeature extends TdApi.Function<TdApi.Ok>
Informs TDLib that the user viewed detailed information about a Premium feature on the Premium features screen.

Returns Ok

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    The viewed premium feature.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which informs TDLib that the user viewed detailed information about a Premium feature on the Premium features screen.
    Creates a function, which informs TDLib that the user viewed detailed information about a Premium feature on the Premium features screen.
  • 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

    • feature

      public TdApi.PremiumFeature feature
      The viewed premium feature.
    • CONSTRUCTOR

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

    • ViewPremiumFeature

      public ViewPremiumFeature()
      Default constructor for a function, which informs TDLib that the user viewed detailed information about a Premium feature on the Premium features screen.

      Returns Ok

    • ViewPremiumFeature

      public ViewPremiumFeature(TdApi.PremiumFeature feature)
      Creates a function, which informs TDLib that the user viewed detailed information about a Premium feature on the Premium features screen.

      Returns Ok

      Parameters:
      feature - The viewed premium feature.
  • 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