Package org.drinkless.tdlib
Class TdApi.GiftsForCrafting
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.GiftsForCrafting
- Enclosing class:
TdApi
Represents a list of gifts received by a user or a chat.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe 4 objects that describe probabilities of the crafted gift to have the backdrop or symbol of one of the original gifts for the cases when 1, 2, 3 or 4 gifts are used in the craft correspondingly.static final intIdentifier uniquely determining type of the object.The list of gifts.The offset for the next request.intThe total number of received gifts. -
Constructor Summary
ConstructorsConstructorDescriptionRepresents a list of gifts received by a user or a chat.GiftsForCrafting(int totalCount, TdApi.ReceivedGift[] gifts, TdApi.AttributeCraftPersistenceProbability[] attributePersistenceProbabilities, String nextOffset) Represents a list of gifts received by a user or a chat. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
totalCount
public int totalCountThe total number of received gifts. -
gifts
The list of gifts. -
attributePersistenceProbabilities
The 4 objects that describe probabilities of the crafted gift to have the backdrop or symbol of one of the original gifts for the cases when 1, 2, 3 or 4 gifts are used in the craft correspondingly. -
nextOffset
The offset for the next request. If empty, then there are no more results. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GiftsForCrafting
public GiftsForCrafting()Represents a list of gifts received by a user or a chat. -
GiftsForCrafting
public GiftsForCrafting(int totalCount, TdApi.ReceivedGift[] gifts, TdApi.AttributeCraftPersistenceProbability[] attributePersistenceProbabilities, String nextOffset) Represents a list of gifts received by a user or a chat.- Parameters:
totalCount- The total number of received gifts.gifts- The list of gifts.attributePersistenceProbabilities- The 4 objects that describe probabilities of the crafted gift to have the backdrop or symbol of one of the original gifts for the cases when 1, 2, 3 or 4 gifts are used in the craft correspondingly.nextOffset- The offset for the next request. If empty, then there are no more results.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-