Class TdApi.GiftUpgradePreview

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

public static class TdApi.GiftUpgradePreview extends TdApi.Object
Contains examples of possible upgraded gifts for the given regular gift.
  • Field Details

    • models

      public TdApi.UpgradedGiftModel[] models
      Examples of possible models that can be chosen for the gift after upgrade.
    • symbols

      public TdApi.UpgradedGiftSymbol[] symbols
      Examples of possible symbols that can be chosen for the gift after upgrade.
    • backdrops

      public TdApi.UpgradedGiftBackdrop[] backdrops
      Examples of possible backdrops that can be chosen for the gift after upgrade.
    • CONSTRUCTOR

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

    • GiftUpgradePreview

      public GiftUpgradePreview()
      Contains examples of possible upgraded gifts for the given regular gift.
    • GiftUpgradePreview

      public GiftUpgradePreview(TdApi.UpgradedGiftModel[] models, TdApi.UpgradedGiftSymbol[] symbols, TdApi.UpgradedGiftBackdrop[] backdrops)
      Contains examples of possible upgraded gifts for the given regular gift.
      Parameters:
      models - Examples of possible models that can be chosen for the gift after upgrade.
      symbols - Examples of possible symbols that can be chosen for the gift after upgrade.
      backdrops - Examples of possible backdrops that can be chosen for the gift after upgrade.
  • 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