Package org.drinkless.tdlib
Class TdApi.InternalLinkTypeGiftCollection
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.InternalLinkType
org.drinkless.tdlib.TdApi.InternalLinkTypeGiftCollection
- Enclosing class:
- TdApi
The link is a link to a gift collection. Call searchPublicChat with the given username, then call getReceivedGifts with the received gift owner identifier and the given collection identifier, then show the collection if received.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintGift collection identifier.static final intIdentifier uniquely determining type of the object.Username of the owner of the gift collection. -
Constructor Summary
ConstructorsConstructorDescriptionThe link is a link to a gift collection.InternalLinkTypeGiftCollection(String giftOwnerUsername, int collectionId) The link is a link to a gift collection. -
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
-
giftOwnerUsername
Username of the owner of the gift collection. -
collectionId
public int collectionIdGift collection identifier. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
InternalLinkTypeGiftCollection
public InternalLinkTypeGiftCollection()The link is a link to a gift collection. Call searchPublicChat with the given username, then call getReceivedGifts with the received gift owner identifier and the given collection identifier, then show the collection if received. -
InternalLinkTypeGiftCollection
The link is a link to a gift collection. Call searchPublicChat with the given username, then call getReceivedGifts with the received gift owner identifier and the given collection identifier, then show the collection if received.- Parameters:
giftOwnerUsername- Username of the owner of the gift collection.collectionId- Gift collection identifier.
-
-
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
-