Class TdApi.GetGiftUpgradeVariants

Enclosing class:
TdApi

public static class TdApi.GetGiftUpgradeVariants extends TdApi.Function<TdApi.GiftUpgradeVariants>
Returns all possible variants of upgraded gifts for a regular gift.

Returns GiftUpgradeVariants

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    long
    Identifier of the gift.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which returns all possible variants of upgraded gifts for a regular gift.
    Creates a function, which returns all possible variants of upgraded gifts for a regular gift.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Function

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • giftId

      public long giftId
      Identifier of the gift.
    • CONSTRUCTOR

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

    • GetGiftUpgradeVariants

      public GetGiftUpgradeVariants()
      Default constructor for a function, which returns all possible variants of upgraded gifts for a regular gift.

      Returns GiftUpgradeVariants

    • GetGiftUpgradeVariants

      public GetGiftUpgradeVariants(long giftId)
      Creates a function, which returns all possible variants of upgraded gifts for a regular gift.

      Returns GiftUpgradeVariants

      Parameters:
      giftId - Identifier of the gift.
  • 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