Package org.drinkless.tdlib
Class TdApi.GiftCollection
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.GiftCollection
- Enclosing class:
- TdApi
Describes collection of gifts.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intTotal number of gifts in the collection.Icon of the collection; may be null if none.intUnique identifier of the collection.Name of the collection. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes collection of gifts.GiftCollection(int id, String name, TdApi.Sticker icon, int giftCount) Describes collection of gifts. -
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
-
id
public int idUnique identifier of the collection. -
name
Name of the collection. -
icon
Icon of the collection; may be null if none. -
giftCount
public int giftCountTotal number of gifts in the collection. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GiftCollection
public GiftCollection()Describes collection of gifts. -
GiftCollection
Describes collection of gifts.- Parameters:
id- Unique identifier of the collection.name- Name of the collection.icon- Icon of the collection; may be null if none.giftCount- Total number of gifts in the collection.
-
-
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
-