Class TdApi.PaymentReceiptTypeStars

Enclosing class:
TdApi

public static class TdApi.PaymentReceiptTypeStars extends TdApi.PaymentReceiptType
The payment was done using Telegram Stars.
  • Field Details

    • starCount

      public long starCount
      Number of Telegram Stars that were paid.
    • transactionId

      public String transactionId
      Unique identifier of the transaction that can be used to dispute it.
    • CONSTRUCTOR

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

    • PaymentReceiptTypeStars

      public PaymentReceiptTypeStars()
      The payment was done using Telegram Stars.
    • PaymentReceiptTypeStars

      public PaymentReceiptTypeStars(long starCount, String transactionId)
      The payment was done using Telegram Stars.
      Parameters:
      starCount - Number of Telegram Stars that were paid.
      transactionId - Unique identifier of the transaction that can be used to dispute it.
  • 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