Class TdApi.PaymentFormTypeStars

Enclosing class:
TdApi

public static class TdApi.PaymentFormTypeStars extends TdApi.PaymentFormType
The payment form is for a payment in Telegram Stars.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    long
    Number of Telegram Stars that will be paid.
  • Constructor Summary

    Constructors
    Constructor
    Description
    The payment form is for a payment in Telegram Stars.
    PaymentFormTypeStars(long starCount)
    The payment form is for a payment in Telegram Stars.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • starCount

      public long starCount
      Number of Telegram Stars that will be paid.
    • CONSTRUCTOR

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

    • PaymentFormTypeStars

      public PaymentFormTypeStars()
      The payment form is for a payment in Telegram Stars.
    • PaymentFormTypeStars

      public PaymentFormTypeStars(long starCount)
      The payment form is for a payment in Telegram Stars.
      Parameters:
      starCount - Number of Telegram Stars that will be paid.
  • 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