Package org.drinkless.tdlib
Class TdApi.SearchGiftsForResale
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.GiftsForResale>
org.drinkless.tdlib.TdApi.SearchGiftsForResale
- Enclosing class:
- TdApi
Returns upgraded gifts that can be bought from other owners.
Returns GiftsForResale
-
Field Summary
FieldsModifier and TypeFieldDescriptionAttributes used to filter received gifts.static final int
Identifier uniquely determining type of the object.long
Identifier of the regular gift that was upgraded to a unique gift.int
The maximum number of gifts to return.Offset of the first entry to return as received from the previous request with the same order and attributes; use empty string to get the first chunk of results.Order in which the results will be sorted. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which returns upgraded gifts that can be bought from other owners.SearchGiftsForResale
(long giftId, TdApi.GiftForResaleOrder order, TdApi.UpgradedGiftAttributeId[] attributes, String offset, int limit) Creates a function, which returns upgraded gifts that can be bought from other owners. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
giftId
public long giftIdIdentifier of the regular gift that was upgraded to a unique gift. -
order
Order in which the results will be sorted. -
attributes
Attributes used to filter received gifts. If multiple attributes of the same type are specified, then all of them are allowed. If none attributes of specific type are specified, then all values for this attribute type are allowed. -
offset
Offset of the first entry to return as received from the previous request with the same order and attributes; use empty string to get the first chunk of results. -
limit
public int limitThe maximum number of gifts to return. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SearchGiftsForResale
public SearchGiftsForResale()Default constructor for a function, which returns upgraded gifts that can be bought from other owners.Returns
GiftsForResale
-
SearchGiftsForResale
public SearchGiftsForResale(long giftId, TdApi.GiftForResaleOrder order, TdApi.UpgradedGiftAttributeId[] attributes, String offset, int limit) Creates a function, which returns upgraded gifts that can be bought from other owners.Returns
GiftsForResale
- Parameters:
giftId
- Identifier of the regular gift that was upgraded to a unique gift.order
- Order in which the results will be sorted.attributes
- Attributes used to filter received gifts. If multiple attributes of the same type are specified, then all of them are allowed. If none attributes of specific type are specified, then all values for this attribute type are allowed.offset
- Offset of the first entry to return as received from the previous request with the same order and attributes; use empty string to get the first chunk of results.limit
- The maximum number of gifts to return.
-
-
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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-