Class TdApi.StorePaymentPurposeGiftedPremium

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.StorePaymentPurpose
org.drinkless.tdlib.TdApi.StorePaymentPurposeGiftedPremium
Enclosing class:
TdApi

public static class TdApi.StorePaymentPurposeGiftedPremium extends TdApi.StorePaymentPurpose
The user gifting Telegram Premium to another user.
  • Field Details

    • userId

      public long userId
      Identifier of the user to which Premium was gifted.
    • currency

      public String currency
      ISO 4217 currency code of the payment currency.
    • amount

      public long amount
      Paid amount, in the smallest units of the currency.
    • CONSTRUCTOR

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

    • StorePaymentPurposeGiftedPremium

      public StorePaymentPurposeGiftedPremium()
      The user gifting Telegram Premium to another user.
    • StorePaymentPurposeGiftedPremium

      public StorePaymentPurposeGiftedPremium(long userId, String currency, long amount)
      The user gifting Telegram Premium to another user.
      Parameters:
      userId - Identifier of the user to which Premium was gifted.
      currency - ISO 4217 currency code of the payment currency.
      amount - Paid amount, in the smallest units of the currency.
  • Method Details