Class TdApi.GiftForResale

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

public static class TdApi.GiftForResale extends TdApi.Object
Describes a gift available for resale.
  • Field Details

    • gift

      public TdApi.UpgradedGift gift
      The gift.
    • receivedGiftId

      public String receivedGiftId
      Unique identifier of the received gift for the current user; only for the gifts owned by the current user.
    • CONSTRUCTOR

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

    • GiftForResale

      public GiftForResale()
      Describes a gift available for resale.
    • GiftForResale

      public GiftForResale(TdApi.UpgradedGift gift, String receivedGiftId)
      Describes a gift available for resale.
      Parameters:
      gift - The gift.
      receivedGiftId - Unique identifier of the received gift for the current user; only for the gifts owned by the current user.
  • 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