Class TdApi.GiftResalePriceTon

Enclosing class:
TdApi

public static class TdApi.GiftResalePriceTon extends TdApi.GiftResalePrice
Describes price of a resold gift in Toncoins.
  • Field Details

    • toncoinCentCount

      public long toncoinCentCount
      The amount of 1/100 of Toncoin expected to be paid for the gift. Must be in the range getOption("gift_resale_toncoin_cent_count_min")-getOption("gift_resale_toncoin_cent_count_max").
    • CONSTRUCTOR

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

    • GiftResalePriceTon

      public GiftResalePriceTon()
      Describes price of a resold gift in Toncoins.
    • GiftResalePriceTon

      public GiftResalePriceTon(long toncoinCentCount)
      Describes price of a resold gift in Toncoins.
      Parameters:
      toncoinCentCount - The amount of 1/100 of Toncoin expected to be paid for the gift. Must be in the range getOption("gift_resale_toncoin_cent_count_min")-getOption("gift_resale_toncoin_cent_count_max").
  • 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