Class TdApi.GiftResalePriceGram

Enclosing class:
TdApi

public static class TdApi.GiftResalePriceGram extends TdApi.GiftResalePrice
Describes price of a resold gift in TON Grams.
  • Field Details

    • gramCentCount

      public long gramCentCount
      The amount of 1/100 of Gram expected to be paid for the gift. Must be in the range getOption("gift_resale_gram_cent_count_min")-getOption("gift_resale_gram_cent_count_max").
    • CONSTRUCTOR

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

    • GiftResalePriceGram

      public GiftResalePriceGram()
      Describes price of a resold gift in TON Grams.
    • GiftResalePriceGram

      public GiftResalePriceGram(long gramCentCount)
      Describes price of a resold gift in TON Grams.
      Parameters:
      gramCentCount - The amount of 1/100 of Gram expected to be paid for the gift. Must be in the range getOption("gift_resale_gram_cent_count_min")-getOption("gift_resale_gram_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