Class TdApi.GetGiftUpgradePreview

Enclosing class:
TdApi

public static class TdApi.GetGiftUpgradePreview extends TdApi.Function<TdApi.GiftUpgradePreview>
Returns examples of possible upgraded gifts for a regular gift.

Returns GiftUpgradePreview

  • Field Details

    • regularGiftId

      public long regularGiftId
      Identifier of the regular gift.
    • CONSTRUCTOR

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

    • GetGiftUpgradePreview

      public GetGiftUpgradePreview()
      Default constructor for a function, which returns examples of possible upgraded gifts for a regular gift.

      Returns GiftUpgradePreview

    • GetGiftUpgradePreview

      public GetGiftUpgradePreview(long regularGiftId)
      Creates a function, which returns examples of possible upgraded gifts for a regular gift.

      Returns GiftUpgradePreview

      Parameters:
      regularGiftId - Identifier of the regular gift.
  • Method Details