Class TdApi.PremiumState

java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.PremiumState
Enclosing class:
TdApi

public static class TdApi.PremiumState extends TdApi.Object
Contains state of Telegram Premium subscription and promotion videos for Premium features.
  • Field Details

  • Constructor Details

    • PremiumState

      public PremiumState()
      Contains state of Telegram Premium subscription and promotion videos for Premium features.
    • PremiumState

      public PremiumState(TdApi.FormattedText state, TdApi.PremiumStatePaymentOption[] paymentOptions, TdApi.PremiumFeaturePromotionAnimation[] animations, TdApi.BusinessFeaturePromotionAnimation[] businessAnimations)
      Contains state of Telegram Premium subscription and promotion videos for Premium features.
      Parameters:
      state - Text description of the state of the current Premium subscription; may be empty if the current user has no Telegram Premium subscription.
      paymentOptions - The list of available options for buying Telegram Premium.
      animations - The list of available promotion animations for Premium features.
      businessAnimations - The list of available promotion animations for Business features.
  • 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