Class TdApi.StarAmount

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.StarAmount
Enclosing class:
TdApi

public static class TdApi.StarAmount extends TdApi.Object
Describes a possibly non-integer amount of Telegram Stars.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    int
    The number of 1/1000000000 shares of Telegram Stars; from -999999999 to 999999999.
    long
    The integer amount of Telegram Stars rounded to 0.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Describes a possibly non-integer amount of Telegram Stars.
    StarAmount(long starCount, int nanostarCount)
    Describes a possibly non-integer amount of Telegram Stars.
  • Method Summary

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

    Methods inherited from class org.drinkless.tdlib.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
      The integer amount of Telegram Stars rounded to 0.
    • nanostarCount

      public int nanostarCount
      The number of 1/1000000000 shares of Telegram Stars; from -999999999 to 999999999.
    • CONSTRUCTOR

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

    • StarAmount

      public StarAmount()
      Describes a possibly non-integer amount of Telegram Stars.
    • StarAmount

      public StarAmount(long starCount, int nanostarCount)
      Describes a possibly non-integer amount of Telegram Stars.
      Parameters:
      starCount - The integer amount of Telegram Stars rounded to 0.
      nanostarCount - The number of 1/1000000000 shares of Telegram Stars; from -999999999 to 999999999.
  • 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