Class TdApi.StorePaymentPurposePremiumGiveaway

Enclosing class:
TdApi

public static class TdApi.StorePaymentPurposePremiumGiveaway extends TdApi.StorePaymentPurpose
The user creating a Telegram Premium giveaway.
  • Field Details

    • parameters

      Giveaway parameters.
    • 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

    • StorePaymentPurposePremiumGiveaway

      public StorePaymentPurposePremiumGiveaway()
      The user creating a Telegram Premium giveaway.
    • StorePaymentPurposePremiumGiveaway

      public StorePaymentPurposePremiumGiveaway(TdApi.PremiumGiveawayParameters parameters, String currency, long amount)
      The user creating a Telegram Premium giveaway.
      Parameters:
      parameters - Giveaway parameters.
      currency - ISO 4217 currency code of the payment currency.
      amount - Paid amount, in the smallest units of the currency.
  • 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