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 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.Function<TdApi.Ok>
      Returns:
      this.CONSTRUCTOR