Class TdApi.GiftResalePriceStar

Enclosing class:
TdApi

public static class TdApi.GiftResalePriceStar extends TdApi.GiftResalePrice
Describes price of a resold gift in Telegram Stars.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    long
    The amount of Telegram Stars expected to be paid for the gift.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Describes price of a resold gift in Telegram Stars.
    GiftResalePriceStar(long starCount)
    Describes price of a resold gift in 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 amount of Telegram Stars expected to be paid for the gift. Must be in the range getOption("gift_resale_star_count_min")-getOption("gift_resale_star_count_max") for gifts put for resale.
    • CONSTRUCTOR

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

    • GiftResalePriceStar

      public GiftResalePriceStar()
      Describes price of a resold gift in Telegram Stars.
    • GiftResalePriceStar

      public GiftResalePriceStar(long starCount)
      Describes price of a resold gift in Telegram Stars.
      Parameters:
      starCount - The amount of Telegram Stars expected to be paid for the gift. Must be in the range getOption("gift_resale_star_count_min")-getOption("gift_resale_star_count_max") for gifts put for resale.
  • 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