Class TdApi.GiftResalePriceStar

Enclosing class:
TdApi

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

    • starCount

      public long starCount
      The Telegram Star amount 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 Telegram Star amount 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.GiftResalePrice
      Returns:
      this.CONSTRUCTOR