Class TdApi.GetGiftsForCrafting

Enclosing class:
TdApi

public static class TdApi.GetGiftsForCrafting extends TdApi.Function<TdApi.GiftsForCrafting>
Returns upgraded gifts of the current user who can be used to craft another gifts.

Returns GiftsForCrafting

  • Nested Class Summary

    Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.Function

    TdApi.Function.Constructors
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    int
    The maximum number of gifts to be returned; must be positive and can't be greater than 100.
    Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results.
    long
    Identifier of the regular gift that will be used for crafting.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which returns upgraded gifts of the current user who can be used to craft another gifts.
    GetGiftsForCrafting(long regularGiftId, String offset, int limit)
    Creates a function, which returns upgraded gifts of the current user who can be used to craft another gifts.
  • 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

    • regularGiftId

      public long regularGiftId
      Identifier of the regular gift that will be used for crafting.
    • offset

      public String offset
      Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results.
    • limit

      public int limit
      The maximum number of gifts to be returned; must be positive and can't be greater than 100. For optimal performance, the number of returned objects is chosen by TDLib and can be smaller than the specified limit.
    • CONSTRUCTOR

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

    • GetGiftsForCrafting

      public GetGiftsForCrafting()
      Default constructor for a function, which returns upgraded gifts of the current user who can be used to craft another gifts.

      Returns GiftsForCrafting

    • GetGiftsForCrafting

      public GetGiftsForCrafting(long regularGiftId, String offset, int limit)
      Creates a function, which returns upgraded gifts of the current user who can be used to craft another gifts.

      Returns GiftsForCrafting

      Parameters:
      regularGiftId - Identifier of the regular gift that will be used for crafting.
      offset - Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results.
      limit - The maximum number of gifts to be returned; must be positive and can't be greater than 100. For optimal performance, the number of returned objects is chosen by TDLib and can be smaller than the specified limit.
  • Method Details