Class TdApi.InternalLinkTypeGiftCollection

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.InternalLinkType
org.drinkless.tdlib.TdApi.InternalLinkTypeGiftCollection
Enclosing class:
TdApi

public static class TdApi.InternalLinkTypeGiftCollection extends TdApi.InternalLinkType
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 Details

    • giftOwnerUsername

      public String giftOwnerUsername
      Username of the owner of the gift collection.
    • collectionId

      public int collectionId
      Gift collection identifier.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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

      public InternalLinkTypeGiftCollection(String giftOwnerUsername, int collectionId)
      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.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR