Class TdApi.TelegramPaymentPurposeStars

Enclosing class:
TdApi

public static class TdApi.TelegramPaymentPurposeStars extends TdApi.TelegramPaymentPurpose
The user buying Telegram stars.
  • Field Details

    • 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.
    • starCount

      public long starCount
      Number of bought stars.
    • CONSTRUCTOR

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

    • TelegramPaymentPurposeStars

      public TelegramPaymentPurposeStars()
      The user buying Telegram stars.
    • TelegramPaymentPurposeStars

      public TelegramPaymentPurposeStars(String currency, long amount, long starCount)
      The user buying Telegram stars.
      Parameters:
      currency - ISO 4217 currency code of the payment currency.
      amount - Paid amount, in the smallest units of the currency.
      starCount - Number of bought stars.
  • Method Details